MCPcopy Create free account

hub / github.com/andelf/picc / functions

Functions700 in github.com/andelf/picc

↓ 110 callersMethoditer
(&self)
crates/homophone-replacer/src/lexicon.rs:74
↓ 95 callersMethodget
(&self, pronunciation: &str)
crates/homophone-replacer/src/replacer.rs:64
↓ 56 callersFunctionattr_string
Get a string attribute value.
src/accessibility.rs:40
↓ 34 callersMethodcontains
(&self, word: &str)
crates/homophone-replacer/src/lexicon.rs:70
↓ 22 callersMethodposition
Get the position (x, y) of this element on screen.
src/accessibility.rs:643
↓ 20 callersMethodrole
(mut self, r: &str)
src/accessibility.rs:253
↓ 19 callersMethodsize
Get the size (width, height) of this element.
src/accessibility.rs:663
↓ 18 callersFunctionchildren
Get child elements.
src/accessibility.rs:130
↓ 18 callersFunctionnew_menu_item
( mtm: MainThreadMarker, title: &str, action: Option<objc2::runtime::Sel>, key: &str, )
src/bin/standup.rs:403
↓ 18 callersFunctionparse_key_combo
Parse a key combo string like `Control+a`, `Command+Shift+v`, or `Enter`.
crates/picc-macos-input/src/lib.rs:157
↓ 18 callersFunctiontype_text
Type text using CGEvent unicode input.
crates/picc-macos-input/src/lib.rs:133
↓ 17 callersFunctionset_status_icon
(item: &NSStatusItem, state: AppState, mtm: MainThreadMarker)
src/bin/voice_correct_v2.rs:490
↓ 16 callersFunctionset_status_icon
(item: &NSStatusItem, state: AppState, mtm: MainThreadMarker)
src/bin/voice_correct.rs:314
↓ 16 callersMethodtitle
Get AXTitle of the first match.
src/locator.rs:344
↓ 15 callersFunctionattr_value
Get a raw attribute value from an element.
src/accessibility.rs:23
↓ 14 callersMethodactivate
Activate (bring to front) the target application and wait.
src/actions.rs:30
↓ 14 callersMethodchildren
(&self)
src/accessibility.rs:503
↓ 14 callersFunctionparse_attr_bracket
Parse the content between `[` and `]` into attr, operator, value. Finds the first unquoted `=` to split attr from value, then checks the preceding ch
src/accessibility.rs:1117
↓ 14 callersMethodstop
(&self)
crates/picc-speech/src/audio.rs:199
↓ 13 callersMethodcount
Count matching elements.
src/locator.rs:323
↓ 13 callersMethodfilter
Filter candidates using `FilterCriteria`. ```ignore app.get_by_role("AXGroup", "") .filter(|f| f.has_text("Mary")) ```
src/locator.rs:253
↓ 13 callersFunctionreplace_text
( lexicon: &Lexicon, rules: &ReplaceRuleSet, config: &ReplacerConfig, text: &str, )
crates/homophone-replacer/src/replacer.rs:92
↓ 12 callersMethodlast
Select the last candidate.
src/locator.rs:273
↓ 12 callersMethodreplace
(&self, config: &ReplacerConfig, text: &str)
crates/homophone-replacer/src/compiled.rs:78
↓ 12 callersMethodtranscribe
(&mut self, sample_rate: u32, samples: &[f32])
crates/dictation-ng/src/sherpa.rs:51
↓ 12 callersMethodvalue
Get AXValue of the first match.
src/locator.rs:349
↓ 11 callersFunctionmouse_move
Move the mouse cursor to `(x, y)` screen coordinates.
crates/picc-macos-input/src/lib.rs:39
↓ 10 callersFunctionclone_step
Clone a LocatorStep (needed because AXQuery doesn't derive Clone for predicate fn ptrs, but we've already derived Clone on AXQuery).
src/locator.rs:533
↓ 10 callersFunctionpress_key_combo
Press a key combo (keycode + modifier flags).
crates/picc-macos-input/src/lib.rs:263
↓ 9 callersFunctionhide_capsule
(overlay: &CapsuleOverlay)
src/bin/voice_correct.rs:755
↓ 9 callersFunctionresample_linear
(samples: &[f32], source_rate: u32, target_rate: u32)
crates/picc-speech/src/audio.rs:221
↓ 9 callersFunctionresolve_one
Resolve a locator to a single node.
src/bin/axcli.rs:498
↓ 8 callersFunctionconfigure_accessory_app
(mtm: MainThreadMarker)
crates/picc-macos-app/src/lib.rs:11
↓ 8 callersMethoddom_classes
Read AXDOMClassList (Electron/web apps).
src/accessibility.rs:486
↓ 8 callersMethodfind
Find the first descendant matching `query` (max depth 20).
src/accessibility.rs:535
↓ 8 callersFunctionnew_status_item
(length: f64)
crates/picc-macos-app/src/lib.rs:17
↓ 8 callersFunctionread_focused_text
()
crates/picc-speech/src/focus.rs:25
↓ 8 callersMethodresolve
Resolve the first matching element.
src/locator.rs:302
↓ 8 callersMethodtext
Concatenate all descendant text into one string.
src/accessibility.rs:611
↓ 7 callersFunctionclear_recording_state
(signals: &SessionSignals, is_recording: &Cell<bool>)
crates/picc-speech/src/session.rs:138
↓ 7 callersMethoddescription
(&self)
src/accessibility.rs:481
↓ 7 callersMethodelement_center
Get the center screen coordinates of an element. Returns `Err(ElementZeroSize)` if the element has zero size and `allow_zero` is false.
src/actions.rs:50
↓ 7 callersMethodhandle_flags_changed
( &mut self, device_flags: u64, now_ms: u64, runtime: HotkeyRuntime, p
crates/picc-speech/src/hotkey.rs:67
↓ 7 callersFunctionmouse_click
Single left-click at `(x, y)` screen coordinates.
crates/picc-macos-input/src/lib.rs:59
↓ 7 callersFunctionnew_menu_item
( mtm: MainThreadMarker, title: &str, action: Option<objc2::runtime::Sel>, key: &str, )
src/bin/claude_menubar.rs:135
↓ 7 callersMethodrequest_start
(&self, mode: SessionMode)
crates/picc-speech/src/session.rs:41
↓ 7 callersMethodresolve_all
Resolve all matching elements.
src/locator.rs:287
↓ 7 callersFunctionsample_lexicon
()
crates/homophone-replacer/tests/baselines.rs:30
↓ 7 callersMethodselect
Navigate a path of queries: at each step, find the first descendant matching the query (DFS), then continue from that node. Like XPath: `//step1//ste
src/accessibility.rs:582
↓ 7 callersFunctionsend_heartbeat
()
src/bin/standup.rs:889
↓ 7 callersFunctionstate_dir
()
src/bin/claude_menubar.rs:123
↓ 6 callersFunctionapply_dictation_transforms
Apply user-configured text transforms before text goes on screen.
crates/picc-speech/src/postprocess.rs:10
↓ 6 callersFunctionis_trusted
Check if the current process is a trusted accessibility client.
src/accessibility.rs:18
↓ 6 callersMethodlocate_all
Find all elements matching a locator string (supports `>>` chains).
src/accessibility.rs:559
↓ 6 callersMethodmatches
Check if a list of DOM classes matches this selector.
src/accessibility.rs:225
↓ 6 callersFunctionperform_action
Perform an action on an element.
src/accessibility.rs:116
↓ 6 callersFunctionpick_existing_file
(model_dir: &Path, candidates: &[&str])
src/bin/dictation_streaming/main.rs:36
↓ 6 callersFunctionsample_config
()
crates/homophone-replacer/tests/baselines.rs:45
↓ 6 callersMethodselected_id
(&self)
src/bin/ax_tui.rs:157
↓ 6 callersFunctionset_attr_value
Set an attribute value on an element. Returns true on success.
src/accessibility.rs:123
↓ 6 callersFunctionset_status_icon
(item: &NSStatusItem, state: &str, mtm: MainThreadMarker)
src/bin/dictation_pause.rs:126
↓ 6 callersFunctionset_text
(s: &str)
src/bin/statusline.rs:196
↓ 6 callersFunctionupdate_capsule_text
Update capsule text label and animate width change.
src/bin/voice_correct.rs:816
↓ 6 callersFunctionvalidate_locator
Validate an entire locator string.
src/bin/axcli.rs:484
↓ 5 callersMethodactions
List available actions on this element.
src/accessibility.rs:633
↓ 5 callersMethoddraw
(&mut self, frame: &mut Frame)
src/bin/ax_tui.rs:500
↓ 5 callersFunctionelement_matches_selector
Check if an element matches a selector string. Supports pseudo-classes: `:has-text("text")`, `:has(selector)`, `:visible`, `:nth-child(N)`. Supports
src/accessibility.rs:1038
↓ 5 callersMethodfirst
Select the first candidate.
src/locator.rs:267
↓ 5 callersFunctionfrontmost_bundle_id
()
src/bin/dictation_pause.rs:210
↓ 5 callersMethodparent
Get the parent element.
src/accessibility.rs:621
↓ 5 callersMethodparse
Parse a CSS-class selector string.
src/accessibility.rs:191
↓ 5 callersFunctionrebuild_tree_items
Rebuild the Vec<TreeItem> from the nodes HashMap for a given parent id.
src/bin/ax_tui.rs:914
↓ 5 callersMethodreset
Reset the stream for the next utterance (call after endpoint).
src/bin/dictation_streaming/recognizer.rs:160
↓ 5 callersFunctionrole_matches
Check if `el_role` (e.g. "AXButton") matches `selector_role` (e.g. "button", "AXButton", "text"). "text" is a special alias matching AXStaticText, AXT
src/accessibility.rs:897
↓ 5 callersFunctionsearch_descendants
(candidates: Vec<AXNode>, q: &AXQuery)
src/locator.rs:453
↓ 5 callersMethodselected_node_info
(&self)
src/bin/ax_tui.rs:161
↓ 5 callersFunctionset_button_icon
(button: &objc2_app_kit::NSStatusBarButton, name: &str)
src/bin/claude_menubar.rs:144
↓ 5 callersFunctionset_button_monospaced_title
(button: &NSObject, title: &str)
src/bin/claude_menubar.rs:148
↓ 5 callersMethodset_focused
Set AXFocused on this element.
src/accessibility.rs:698
↓ 5 callersMethodset_recording
(&self, recording: bool)
crates/picc-speech/src/session.rs:88
↓ 5 callersFunctionset_status_icon
(item: &NSStatusItem, recording: bool, mtm: MainThreadMarker)
src/bin/dictation.rs:119
↓ 5 callersFunctionupdate_menubar_title
()
src/bin/standup.rs:465
↓ 4 callersMethodaccept_waveform
Feed audio samples (f32, 16kHz) to the recognizer.
src/bin/dictation_streaming/recognizer.rs:115
↓ 4 callersFunctionactivate_app
Bring an application to the foreground by PID.
crates/picc-macos-input/src/lib.rs:15
↓ 4 callersFunctionattr_string_list
Read a CFArray-of-CFString attribute (e.g. AXDOMClassList) as Vec<String>.
src/accessibility.rs:46
↓ 4 callersFunctionauto_insert_spaces
(s: &str, punct: bool, cjk: bool)
crates/picc-speech/src/postprocess.rs:104
↓ 4 callersFunctionbuild_rules_from_terms
( lexicon: &Lexicon, terms: impl IntoIterator<Item = &'a str>, )
crates/homophone-replacer/src/replacer.rs:157
↓ 4 callersFunctioncapture
(rect: CGRect)
src/screenshot.rs:24
↓ 4 callersFunctionclipboard_replace_is_safe
(original_text: &str, current_text: Option<&str>)
crates/picc-speech/src/text_sink.rs:33
↓ 4 callersFunctiondismiss_countdown
()
src/bin/standup.rs:697
↓ 4 callersFunctiondispatch_after_ms
dispatch_after 延迟执行(毫秒),必须在主线程调用
src/bin/standup.rs:857
↓ 4 callersMethodensure_children_loaded
Ensure children are loaded for the currently selected node. If the selected node is a "..." placeholder, load its parent's children instead. Returns t
src/bin/ax_tui.rs:204
↓ 4 callersFunctionfind_all
Find all elements matching `query`, searching up to `max_depth` levels.
src/accessibility.rs:424
↓ 4 callersFunctionis_same_element
Compare two AXUIElement references for identity using CFEqual.
src/accessibility.rs:747
↓ 4 callersMethodperform_action
Perform an action on this element (e.g. "AXPress", "AXScrollToVisible").
src/accessibility.rs:638
↓ 4 callersFunctionperform_requests
( handler: &VNImageRequestHandler, requests: &NSArray<VNRequest>, )
src/vision.rs:35
↓ 4 callersFunctionpick_existing_file
(model_dir: &Path, names: &[&str])
crates/picc-speech/src/models.rs:227
↓ 4 callersFunctionplay_error_sound
()
src/bin/voice_correct.rs:104
↓ 4 callersFunctionplay_error_sound
()
src/bin/voice_correct_v2.rs:188
↓ 4 callersFunctionpronounce_phrase
(lexicon: &Lexicon, phrase: &str)
crates/homophone-replacer/src/pronunciation.rs:3
next →1–100 of 700, ranked by callers