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
↓ 1 callers
Function
execute_external_action
Execute an action that requires switching to the target app (Move to / Click).
src/bin/ax_tui.rs:1240
↓ 1 callers
Function
extract_json
(s: &str)
src/bin/english_refiner.rs:111
↓ 1 callers
Method
finalize_wav
(&self)
examples/app-audio.rs:176
↓ 1 callers
Function
find_all_inner
( root: &AXUIElement, query: &AXQuery, max_depth: usize, results: &mut Vec<CFRetained<AXUIElem
src/accessibility.rs:434
↓ 1 callers
Function
find_by_description
( root: &AXUIElement, desc: &str, max_depth: usize, results: &mut Vec<AXNode>, )
src/locator.rs:462
↓ 1 callers
Function
find_by_dom_id
(root: &AXUIElement, id: &str, max_depth: usize, results: &mut Vec<AXNode>)
src/locator.rs:479
↓ 1 callers
Function
find_first_ax_window
Find the first visible AXWindow of the app.
src/bin/axcli.rs:806
↓ 1 callers
Function
find_largest_window
Find the largest window from a list.
src/screen_capture.rs:113
↓ 1 callers
Function
find_owning_window
Walk up the AX tree from a node to find its owning AXWindow.
src/bin/axcli.rs:794
↓ 1 callers
Function
find_window_by_frame
Find the SCK window that best matches an AX window frame (position + size). Tolerance is used because AX and SCK may report slightly different coordin
src/screen_capture.rs:83
↓ 1 callers
Method
focus_node
Try to focus an element via AXFocused, falling back to click.
src/actions.rs:107
↓ 1 callers
Function
focused_ax_element
()
src/bin/dictation_pause.rs:143
↓ 1 callers
Function
format_attr_value
(node: &AXNode, name: &str)
src/bin/ax_tui.rs:837
↓ 1 callers
Function
format_node_line
Format a one-line summary of a node (no trailing newline).
src/bin/ax_print.rs:263
↓ 1 callers
Method
format_node_line
Format a one-line summary of a node (no trailing newline).
src/tree_fmt.rs:59
↓ 1 callers
Function
fullwidth_to_halfwidth
(s: &str)
crates/picc-speech/src/postprocess.rs:26
↓ 1 callers
Function
get_mouse_position
Get current mouse cursor position.
crates/picc-macos-input/src/lib.rs:26
↓ 1 callers
Function
get_peer_count
()
src/bin/standup.rs:881
↓ 1 callers
Function
handle_action_key
Handle key events in Action mode. Returns (needs_redraw, optional ActionRequest for external execution).
src/bin/ax_tui.rs:1212
↓ 1 callers
Function
handle_locator_key
(app: &mut App, code: KeyCode)
src/bin/ax_tui.rs:1187
↓ 1 callers
Function
handle_normal_key
Returns None to signal quit, Some(bool) for whether to redraw.
src/bin/ax_tui.rs:1069
↓ 1 callers
Function
handle_search_key
(app: &mut App, code: KeyCode)
src/bin/ax_tui.rs:1162
↓ 1 callers
Function
handle_wake
()
src/bin/standup.rs:783
↓ 1 callers
Method
has
Require that a sub-locator matches at least one descendant.
src/locator.rs:95
↓ 1 callers
Function
has_content
Check whether a node or its subtree has any visible content (title, desc, value, or text).
src/tree_fmt.rs:234
↓ 1 callers
Method
has_not
Require that a sub-locator does NOT match any descendant.
src/locator.rs:101
↓ 1 callers
Method
has_not_text
Require that the element's subtree does NOT contain the given text.
src/locator.rs:89
↓ 1 callers
Function
hotkey_state
()
src/bin/voice_correct.rs:146
↓ 1 callers
Function
hotkey_state
()
src/bin/dictation.rs:48
↓ 1 callers
Method
input_finished
Signal that no more audio will be sent.
src/bin/dictation_streaming/recognizer.rs:167
↓ 1 callers
Function
invalidate_timer
(cell: &RefCell<Option<Retained<NSTimer>>>)
src/bin/claude_menubar.rs:167
↓ 1 callers
Function
is_candidate_end
(candidate: &str)
crates/homophone-replacer/src/phrase_matcher.rs:79
↓ 1 callers
Function
is_candidate_start
(token: &str)
crates/homophone-replacer/src/phrase_matcher.rs:71
↓ 1 callers
Function
is_cjk
(c: char)
crates/picc-speech/src/postprocess.rs:73
↓ 1 callers
Function
is_cjk_boundary
(left: CharKind, right: CharKind)
crates/picc-speech/src/postprocess.rs:87
↓ 1 callers
Method
is_endpoint
Check if an endpoint (silence after speech) was detected.
src/bin/dictation_streaming/recognizer.rs:152
↓ 1 callers
Function
is_menu_role
(role: &str)
src/actions.rs:118
↓ 1 callers
Function
is_menu_role
(role: &str)
src/bin/axcli.rs:509
↓ 1 callers
Function
is_nth_child
Check if an element is the Nth child (0-based) among all its parent's children.
src/accessibility.rs:1025
↓ 1 callers
Function
is_punct_space
(left: CharKind, right: CharKind)
crates/picc-speech/src/postprocess.rs:95
↓ 1 callers
Function
is_punctuation
(ch: char)
crates/homophone-replacer/src/phrase_matcher.rs:87
↓ 1 callers
Function
is_punctuation
(ch: char)
crates/homophone-replacer/src/replacer.rs:188
↓ 1 callers
Function
is_replaceable_phrase
(phrase: &str)
crates/homophone-replacer/src/replacer.rs:180
↓ 1 callers
Function
load_terms
(path: &PathBuf)
src/bin/voice_correct_v2.rs:101
↓ 1 callers
Function
make_text_attrs
创建文字绘制属性字典,返回 (dict, font) 保持 font 存活
src/bin/statusline.rs:120
↓ 1 callers
Function
match_phrases
(lexicon: &Lexicon, text: &str)
crates/homophone-replacer/src/phrase_matcher.rs:5
↓ 1 callers
Function
matches_bundle_list
(bundle: &str, list: &[&str])
src/bin/dictation_pause.rs:218
↓ 1 callers
Function
matches_filter
(node: &AXNode, criteria: &FilterCriteria)
src/locator.rs:491
↓ 1 callers
Function
measure_text
计算文字在指定宽度内的 bounding size
src/bin/statusline.rs:138
↓ 1 callers
Function
mouse_dblclick
Double left-click at `(x, y)` screen coordinates.
crates/picc-macos-input/src/lib.rs:84
↓ 1 callers
Function
new_handler_with_url
(url: &NSURL)
src/vision.rs:28
↓ 1 callers
Function
new_menu_item
( mtm: MainThreadMarker, title: &str, action: Option<Sel>, key: &str, )
crates/picc-macos-app/src/lib.rs:46
↓ 1 callers
Function
now_ms
()
src/bin/voice_correct.rs:139
↓ 1 callers
Function
parse_locator_steps
Parse a locator string into steps, respecting both `>>` and `>` operators. ` >> ` splits as descendant, ` > ` splits as direct child. We first split
src/accessibility.rs:1469
↓ 1 callers
Function
parse_pseudo_classes
Extract pseudo-classes from the end of a selector string. Supported pseudo-classes: - `:has-text("text")` — subtree contains text - `:has(selector)`
src/accessibility.rs:928
↓ 1 callers
Function
parse_report
()
examples/ambient-light.rs:179
↓ 1 callers
Function
play_start_sound
()
src/bin/voice_correct.rs:98
↓ 1 callers
Function
play_start_sound
()
src/bin/voice_correct_v2.rs:182
↓ 1 callers
Method
poll_locator_results
Drain completed locator results from the background thread. Returns true if any new results were received (needs redraw).
src/bin/ax_tui.rs:367
↓ 1 callers
Method
predicate
Require a custom predicate to return true.
src/locator.rs:107
↓ 1 callers
Function
print_hook_config
()
src/bin/claude_menubar.rs:580
↓ 1 callers
Function
print_tree
(node: &AXNode, depth: usize, max_depth: usize, interactive: &mut usize)
src/bin/ax_print.rs:332
↓ 1 callers
Method
print_tree
Print the accessibility tree starting from `node`.
src/tree_fmt.rs:123
↓ 1 callers
Function
print_with_ancestors
Print a matched node with up to 3 ancestor levels for context.
src/bin/ax_print.rs:294
↓ 1 callers
Function
read_all_sessions
()
src/bin/claude_menubar.rs:175
↓ 1 callers
Function
read_focus_session
()
src/bin/dictation_pause.rs:166
↓ 1 callers
Method
refresh_tree
Refresh the entire tree and try to relocate to the previously selected node.
src/bin/ax_tui.rs:274
↓ 1 callers
Function
relayout
根据当前文字内容重新计算窗口大小并更新位置
src/bin/statusline.rs:153
↓ 1 callers
Function
remove_pid_file
()
src/bin/claude_menubar.rs:235
↓ 1 callers
Function
remove_session
(session_id: &str)
src/bin/claude_menubar.rs:219
↓ 1 callers
Function
resample_to_16k
(samples: &[f32], source_rate: u32)
src/bin/dictation_pause.rs:311
↓ 1 callers
Function
resolve_app
(cli: &Cli)
src/bin/axcli.rs:374
↓ 1 callers
Method
resolve_locator_query
Resolve a locator query: find the element via AX API, then navigate the tree to it.
src/bin/ax_tui.rs:563
↓ 1 callers
Function
resolve_repo_parakeet_de_paths
( base_dir: &Path, requested_model_dir: Option<&str>, )
crates/picc-speech/src/models.rs:157
↓ 1 callers
Function
resolve_silero_vad_model_path
Resolve (and auto-download) the Silero VAD model path. Returns the full path to `silero_vad.onnx` under `base_dir`.
crates/picc-speech/src/models.rs:202
↓ 1 callers
Function
rms_energy
(samples: &[f32])
src/bin/dictation_pause.rs:300
↓ 1 callers
Function
run_app
(terminal: &mut Terminal<CrosstermBackend<io::Stdout>>, app: &mut App)
src/bin/ax_tui.rs:1017
↓ 1 callers
Function
run_hook
()
src/bin/claude_menubar.rs:279
↓ 1 callers
Function
save_cgimage
(image: &CGImage, path: &str)
src/bin/ax_print.rs:463
↓ 1 callers
Function
scroll_wheel
Scroll the mouse wheel at screen position `(x, y)` by `(dx, dy)` pixels.
crates/picc-macos-input/src/lib.rs:282
↓ 1 callers
Function
search_prev
Search for the previous node matching the query.
src/bin/ax_tui.rs:1342
↓ 1 callers
Method
selected_attrs
(&self)
src/bin/ax_tui.rs:169
↓ 1 callers
Function
set_status_icon_name
(item: &NSStatusItem, name: &str, mtm: MainThreadMarker)
src/bin/voice_correct.rs:324
↓ 1 callers
Function
set_status_icon_name
(item: &NSStatusItem, name: &str, mtm: MainThreadMarker)
src/bin/voice_correct_v2.rs:500
↓ 1 callers
Function
setup_audio_engine
( sample_buf: Arc<Mutex<Vec<f32>>>, )
src/bin/dictation_streaming/main.rs:105
↓ 1 callers
Function
setup_menubar
(mtm: MainThreadMarker)
src/bin/claude_menubar.rs:532
↓ 1 callers
Function
setup_menubar
(mtm: MainThreadMarker)
src/bin/standup.rs:418
↓ 1 callers
Function
setup_signal_handler
(running: Arc<AtomicBool>)
examples/app-audio.rs:364
↓ 1 callers
Function
should_use_clipboard
()
src/bin/dictation_pause.rs:242
↓ 1 callers
Function
show_capsule
(overlay: &CapsuleOverlay, mode: SessionMode, mtm: MainThreadMarker)
src/bin/voice_correct.rs:714
↓ 1 callers
Function
show_countdown
()
src/bin/standup.rs:569
↓ 1 callers
Function
spawn_daemon
以 daemon 模式启动自身
src/bin/claude_menubar.rs:258
↓ 1 callers
Function
split_utf8_like_sherpa
(text: &str)
crates/homophone-replacer/src/phrase_matcher.rs:49
↓ 1 callers
Function
start_anim_timer
()
src/bin/claude_menubar.rs:346
↓ 1 callers
Function
start_heartbeat_timer
()
src/bin/standup.rs:1078
↓ 1 callers
Function
start_lan_sync
(port: u16)
src/bin/standup.rs:1123
↓ 1 callers
Function
start_poll_timer
()
src/bin/claude_menubar.rs:568
↓ 1 callers
Function
stop_anim_timer
()
src/bin/claude_menubar.rs:361
↓ 1 callers
Method
stop_pending
(&self)
crates/picc-speech/src/session.rs:76
↓ 1 callers
Function
strip_pseudo_classes
Strip known pseudo-class suffixes from a segment for validation.
src/bin/axcli.rs:395
← previous
next →
301–400 of 700, ranked by callers