Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andelf/picc
/ functions
Functions
700 in github.com/andelf/picc
⨍
Functions
700
◇
Types & classes
102
↓ 2 callers
Function
resolve_locator_all
Resolve a locator string to all matching elements under `root`. Supports arbitrary-length ` >> ` and ` > ` chains. Each `>>` step searches descendant
src/accessibility.rs:1502
↓ 2 callers
Method
resolve_one
Resolve a locator to exactly one element.
src/actions.rs:36
↓ 2 callers
Function
resolve_repo_sensevoice_paths
( base_dir: &Path, requested_model_dir: Option<&str>, model_file_name: &str, )
crates/picc-speech/src/models.rs:109
↓ 2 callers
Function
role
Convenience: build a query matching a role.
src/accessibility.rs:390
↓ 2 callers
Function
run
(cli: Cli)
src/bin/axcli.rs:325
↓ 2 callers
Function
run_menubar
()
src/bin/claude_menubar.rs:632
↓ 2 callers
Function
run_ocr
(image: &CGImage)
src/bin/axcli.rs:813
↓ 2 callers
Function
save_png
Save a CGImage as PNG to the given file path. Returns true on success.
src/screenshot.rs:34
↓ 2 callers
Method
save_to_path
(&self, path: impl AsRef<Path>)
crates/homophone-replacer/src/compiled.rs:145
↓ 2 callers
Function
screenshot
(rect: core_graphics::CGRect)
src/lib.rs:16
↓ 2 callers
Function
search_next
Search for the next node matching the query across multiple AX attributes.
src/bin/ax_tui.rs:1308
↓ 2 callers
Function
set_button_icon
(button: &objc2_app_kit::NSStatusBarButton, name: &str)
src/bin/standup.rs:412
↓ 2 callers
Function
set_button_monospaced_title
用等宽数字字体设置 button title,避免数字变化时宽度晃动
src/bin/standup.rs:383
↓ 2 callers
Function
should_skip_ax_read_for_bundle
(bundle: Option<&str>)
crates/picc-speech/src/text_sink.rs:25
↓ 2 callers
Function
should_use_clipboard_for_bundle
(bundle: Option<&str>)
crates/picc-speech/src/text_sink.rs:29
↓ 2 callers
Function
show_snap_windows
显示所有屏幕的截图窗口
src/main.rs:471
↓ 2 callers
Function
sort_classes
Sort class names: meaningful ones first, noisy ones (numeric, `-` or `_` prefixed) last.
src/tree_fmt.rs:8
↓ 2 callers
Function
sort_classes
Sort class names: meaningful ones first, noisy ones (numeric, `-` or `_` prefixed) last.
src/bin/ax_print.rs:29
↓ 2 callers
Function
start_menubar_timer
()
src/bin/standup.rs:540
↓ 2 callers
Method
start_request_capture
( &self, request: Retained<SFSpeechAudioBufferRecognitionRequest>, config: AudioCaptur
crates/picc-speech/src/audio.rs:150
↓ 2 callers
Method
start_sample_capture
( &self, samples: Arc<Mutex<Vec<f32>>>, native_sample_rate: &Cell<u32>, config
crates/picc-speech/src/audio.rs:85
↓ 2 callers
Function
strip_tones
(pronunciation: &str)
crates/homophone-replacer/src/replacer.rs:80
↓ 2 callers
Method
take_config_changed
(&self)
crates/picc-speech/src/audio.rs:68
↓ 2 callers
Function
take_stop_while_recording
(signals: &SessionSignals, is_recording: &Cell<bool>)
crates/picc-speech/src/session.rs:114
↓ 2 callers
Method
texts
Collect all AXStaticText values from descendants up to `max_depth`.
src/accessibility.rs:602
↓ 2 callers
Function
tick_countdown
()
src/bin/standup.rs:656
↓ 2 callers
Method
title
(mut self, t: &str)
src/accessibility.rs:258
↓ 2 callers
Function
transcribe_all
( recognizer: &mut sherpa_rs::sense_voice::SenseVoiceRecognizer, native_rate: u32, samples: &[f32]
src/bin/dictation_pause.rs:329
↓ 2 callers
Function
utf16_to_byte_index
(text: &str, utf16_offset: usize)
src/bin/dictation_pause.rs:183
↓ 2 callers
Function
windows_for_pid
Filter windows belonging to the given PID (layer 0, non-tiny).
src/screen_capture.rs:60
↓ 2 callers
Function
with_status_item
(f: impl FnOnce(&NSStatusItem))
src/bin/standup.rs:280
↓ 1 callers
Function
action_names
List available action names on an element.
src/accessibility.rs:91
↓ 1 callers
Function
anim_tick
()
src/bin/claude_menubar.rs:366
↓ 1 callers
Function
apply_step
(step: &LocatorStep, candidates: Vec<AXNode>)
src/locator.rs:390
↓ 1 callers
Function
apply_step_typed
Apply a typed pipeline step (descendant or direct child).
src/accessibility.rs:1526
↓ 1 callers
Function
apply_sync_rules
(hb: &Heartbeat)
src/bin/standup.rs:972
↓ 1 callers
Function
apply_term_correction_if_enabled
(text: &str, correction: Option<&TermCorrection>)
src/bin/voice_correct_v2.rs:156
↓ 1 callers
Function
attr_names
List all attribute names on an element.
src/accessibility.rs:66
↓ 1 callers
Method
attr_names
(&self)
src/accessibility.rs:499
↓ 1 callers
Function
ax_value_as_cfrange
(value: &CFRetained<CFType>)
src/bin/dictation_pause.rs:149
↓ 1 callers
Function
ax_value_as_cfrange
(value: &CFRetained<CFType>)
crates/picc-speech/src/focus.rs:95
↓ 1 callers
Method
bottom_height
(&self, width: u16)
src/bin/ax_tui.rs:487
↓ 1 callers
Function
build_online_config
(model_dir: &Path, args: &Args)
src/bin/dictation_streaming/main.rs:72
↓ 1 callers
Function
build_term_correction
( terms_path: &PathBuf, lexicon_path: &PathBuf, )
src/bin/voice_correct_v2.rs:119
↓ 1 callers
Function
call_kimi
(system_prompt: &str, user_input: &str)
src/bin/english_refiner.rs:125
↓ 1 callers
Function
call_llm
(original_text: &str, instruction: &str)
src/bin/voice_correct.rs:442
↓ 1 callers
Function
call_llm
(original_text: &str, instruction: &str)
src/bin/voice_correct_v2.rs:618
↓ 1 callers
Function
cf_type_as_ax_elements
(value: &CFType)
src/accessibility.rs:142
↓ 1 callers
Function
cfnum
(val: i32)
examples/ambient-light.rs:124
↓ 1 callers
Function
chain_check_inner
( root: &AXUIElement, ancestor_sel: &str, target_sel: &str, target: &AXUIElement, depth: u
src/accessibility.rs:1405
↓ 1 callers
Function
chain_is_unique
Check if `ancestor_sel >> target_sel` uniquely identifies the target.
src/accessibility.rs:1385
↓ 1 callers
Method
child_matching
Find the first direct child matching `query`.
src/accessibility.rs:518
↓ 1 callers
Function
classify
(s: &str)
src/bin/english_refiner.rs:83
↓ 1 callers
Function
cleanup_stale_peers
()
src/bin/standup.rs:952
↓ 1 callers
Function
cmd_click
(ctx: &ExecutionContext, locator: &str)
src/bin/axcli.rs:658
↓ 1 callers
Function
cmd_dblclick
(ctx: &ExecutionContext, locator: &str)
src/bin/axcli.rs:679
↓ 1 callers
Function
cmd_debug
(what: &str)
src/bin/axcli.rs:565
↓ 1 callers
Function
cmd_fill
(ctx: &ExecutionContext, locator: &str, text: &str)
src/bin/axcli.rs:703
↓ 1 callers
Function
cmd_focus
(ctx: &ExecutionContext, locator: &str)
src/bin/axcli.rs:742
↓ 1 callers
Function
cmd_get
( ctx: &ExecutionContext, attr: &GetAttr, locator: &str, all: bool, )
src/bin/axcli.rs:1102
↓ 1 callers
Function
cmd_hover
(ctx: &ExecutionContext, locator: &str)
src/bin/axcli.rs:731
↓ 1 callers
Function
cmd_input
(ctx: &ExecutionContext, locator: &str, text: &str)
src/bin/axcli.rs:692
↓ 1 callers
Function
cmd_list_apps
()
src/bin/axcli.rs:528
↓ 1 callers
Function
cmd_press
(ctx: &ExecutionContext, key: &str)
src/bin/axcli.rs:722
↓ 1 callers
Function
cmd_screenshot
( ctx: &ExecutionContext, locator: Option<&str>, output: Option<&str>, ocr: bool, legacy:
src/bin/axcli.rs:841
↓ 1 callers
Function
cmd_scroll
( ctx: &ExecutionContext, locator: &str, direction: &str, pixels: i32, )
src/bin/axcli.rs:763
↓ 1 callers
Function
cmd_scroll_to
(ctx: &ExecutionContext, locator: &str)
src/bin/axcli.rs:751
↓ 1 callers
Function
cmd_snapshot
( ctx: &ExecutionContext, locator: Option<&str>, depth: usize, all: bool, max_text_len: us
src/bin/axcli.rs:607
↓ 1 callers
Function
cmd_wait
(ctx: &ExecutionContext, target: &str)
src/bin/axcli.rs:994
↓ 1 callers
Function
collect_direct_children_matching
Collect direct children matching a selector (no recursion).
src/accessibility.rs:1584
↓ 1 callers
Function
collect_text
Collect text from a subtree, inserting newlines at group boundaries.
src/bin/axcli.rs:1013
↓ 1 callers
Function
collect_text_inner
(node: &AXNode, max_depth: usize, parts: &mut Vec<String>)
src/bin/axcli.rs:1019
↓ 1 callers
Function
compose_session_text
(session: &FocusSession, inserted: &str)
src/bin/dictation_pause.rs:197
↓ 1 callers
Function
configure_native_build
(include_dir: &Path, lib_dir: &Path, header: &Path)
crates/dictation-ng/build.rs:49
↓ 1 callers
Function
correction_overlay_text
(instruction: &str)
src/bin/voice_correct.rs:859
↓ 1 callers
Function
count_descendants
Count descendants up to a shallow depth, capped at 100 for speed.
src/tree_fmt.rs:262
↓ 1 callers
Function
count_descendants
Count descendants up to a shallow depth, capped at 100 for speed.
src/bin/ax_print.rs:436
↓ 1 callers
Function
count_matches
DFS match count. A token "matches" an element if its generated candidate_tokens contain a selector equal to `selector`. Early-returns when >1 match fo
src/accessibility.rs:837
↓ 1 callers
Function
create_and_show_windows
为每个屏幕创建窗口并显示
src/bin/standup.rs:313
↓ 1 callers
Function
create_capsule_overlay
(mtm: MainThreadMarker)
src/bin/voice_correct.rs:599
↓ 1 callers
Function
create_udp_socket
(port: u16)
src/bin/standup.rs:1117
↓ 1 callers
Function
destroy_all_windows
隐藏并销毁所有窗口
src/bin/standup.rs:368
↓ 1 callers
Function
detect_broadcast_addrs
获取所有活跃网络接口的子网广播地址 (假设 /24)
src/bin/standup.rs:1090
↓ 1 callers
Function
detect_model_kind
( model_dir: &Path, requested: &str, )
src/bin/dictation_streaming/main.rs:44
↓ 1 callers
Function
dispatch_async_main
dispatch_async 到主线程执行闭包
src/bin/standup.rs:845
↓ 1 callers
Function
display_scale_for_frame
Determine the backing scale factor for the display containing a window. Uses CGDisplayMode to compare physical pixel width vs logical width.
src/screen_capture.rs:128
↓ 1 callers
Method
dom_class
Match elements whose AXDOMClassList contains the given class.
src/accessibility.rs:291
↓ 1 callers
Method
draw_attrs
(&mut self, frame: &mut Frame, area: Rect)
src/bin/ax_tui.rs:541
↓ 1 callers
Method
draw_bottom
(&self, frame: &mut Frame, area: Rect)
src/bin/ax_tui.rs:689
↓ 1 callers
Method
draw_tree
(&mut self, frame: &mut Frame, area: Rect)
src/bin/ax_tui.rs:520
↓ 1 callers
Function
element_is_visible
Check if an element has non-zero size (visible).
src/accessibility.rs:1004
↓ 1 callers
Function
element_matches_base_selector
(el: &AXUIElement, selector: &str)
src/accessibility.rs:1153
↓ 1 callers
Function
ensure_cg_init
Ensure the CoreGraphics window server connection is initialized. Must be called before any CGImage/ImageIO operations in a CLI context.
src/screenshot.rs:16
↓ 1 callers
Function
ensure_countdown_timer
()
src/bin/standup.rs:767
↓ 1 callers
Function
ensure_daemon
hook 模式下确保 daemon 在运行
src/bin/claude_menubar.rs:271
↓ 1 callers
Function
ensure_menubar_timer
()
src/bin/standup.rs:758
↓ 1 callers
Function
ensure_model
(base_dir: &Path)
crates/dictation-ng/src/real.rs:95
↓ 1 callers
Function
ensure_sensevoice_model
(base_dir: &Path)
src/bin/dictation.rs:209
↓ 1 callers
Method
enter_action_mode
Enter action mode for the currently selected node.
src/bin/ax_tui.rs:380
↓ 1 callers
Method
execute_action
Execute the selected action. Returns an ActionRequest for actions that need app switching, or None for in-place actions.
src/bin/ax_tui.rs:399
← previous
next →
201–300 of 700, ranked by callers