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
↓ 110 callers
Method
iter
(&self)
crates/homophone-replacer/src/lexicon.rs:74
↓ 95 callers
Method
get
(&self, pronunciation: &str)
crates/homophone-replacer/src/replacer.rs:64
↓ 56 callers
Function
attr_string
Get a string attribute value.
src/accessibility.rs:40
↓ 34 callers
Method
contains
(&self, word: &str)
crates/homophone-replacer/src/lexicon.rs:70
↓ 22 callers
Method
position
Get the position (x, y) of this element on screen.
src/accessibility.rs:643
↓ 20 callers
Method
role
(mut self, r: &str)
src/accessibility.rs:253
↓ 19 callers
Method
size
Get the size (width, height) of this element.
src/accessibility.rs:663
↓ 18 callers
Function
children
Get child elements.
src/accessibility.rs:130
↓ 18 callers
Function
new_menu_item
( mtm: MainThreadMarker, title: &str, action: Option<objc2::runtime::Sel>, key: &str, )
src/bin/standup.rs:403
↓ 18 callers
Function
parse_key_combo
Parse a key combo string like `Control+a`, `Command+Shift+v`, or `Enter`.
crates/picc-macos-input/src/lib.rs:157
↓ 18 callers
Function
type_text
Type text using CGEvent unicode input.
crates/picc-macos-input/src/lib.rs:133
↓ 17 callers
Function
set_status_icon
(item: &NSStatusItem, state: AppState, mtm: MainThreadMarker)
src/bin/voice_correct_v2.rs:490
↓ 16 callers
Function
set_status_icon
(item: &NSStatusItem, state: AppState, mtm: MainThreadMarker)
src/bin/voice_correct.rs:314
↓ 16 callers
Method
title
Get AXTitle of the first match.
src/locator.rs:344
↓ 15 callers
Function
attr_value
Get a raw attribute value from an element.
src/accessibility.rs:23
↓ 14 callers
Method
activate
Activate (bring to front) the target application and wait.
src/actions.rs:30
↓ 14 callers
Method
children
(&self)
src/accessibility.rs:503
↓ 14 callers
Function
parse_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 callers
Method
stop
(&self)
crates/picc-speech/src/audio.rs:199
↓ 13 callers
Method
count
Count matching elements.
src/locator.rs:323
↓ 13 callers
Method
filter
Filter candidates using `FilterCriteria`. ```ignore app.get_by_role("AXGroup", "") .filter(|f| f.has_text("Mary")) ```
src/locator.rs:253
↓ 13 callers
Function
replace_text
( lexicon: &Lexicon, rules: &ReplaceRuleSet, config: &ReplacerConfig, text: &str, )
crates/homophone-replacer/src/replacer.rs:92
↓ 12 callers
Method
last
Select the last candidate.
src/locator.rs:273
↓ 12 callers
Method
replace
(&self, config: &ReplacerConfig, text: &str)
crates/homophone-replacer/src/compiled.rs:78
↓ 12 callers
Method
transcribe
(&mut self, sample_rate: u32, samples: &[f32])
crates/dictation-ng/src/sherpa.rs:51
↓ 12 callers
Method
value
Get AXValue of the first match.
src/locator.rs:349
↓ 11 callers
Function
mouse_move
Move the mouse cursor to `(x, y)` screen coordinates.
crates/picc-macos-input/src/lib.rs:39
↓ 10 callers
Function
clone_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 callers
Function
press_key_combo
Press a key combo (keycode + modifier flags).
crates/picc-macos-input/src/lib.rs:263
↓ 9 callers
Function
hide_capsule
(overlay: &CapsuleOverlay)
src/bin/voice_correct.rs:755
↓ 9 callers
Function
resample_linear
(samples: &[f32], source_rate: u32, target_rate: u32)
crates/picc-speech/src/audio.rs:221
↓ 9 callers
Function
resolve_one
Resolve a locator to a single node.
src/bin/axcli.rs:498
↓ 8 callers
Function
configure_accessory_app
(mtm: MainThreadMarker)
crates/picc-macos-app/src/lib.rs:11
↓ 8 callers
Method
dom_classes
Read AXDOMClassList (Electron/web apps).
src/accessibility.rs:486
↓ 8 callers
Method
find
Find the first descendant matching `query` (max depth 20).
src/accessibility.rs:535
↓ 8 callers
Function
new_status_item
(length: f64)
crates/picc-macos-app/src/lib.rs:17
↓ 8 callers
Function
read_focused_text
()
crates/picc-speech/src/focus.rs:25
↓ 8 callers
Method
resolve
Resolve the first matching element.
src/locator.rs:302
↓ 8 callers
Method
text
Concatenate all descendant text into one string.
src/accessibility.rs:611
↓ 7 callers
Function
clear_recording_state
(signals: &SessionSignals, is_recording: &Cell<bool>)
crates/picc-speech/src/session.rs:138
↓ 7 callers
Method
description
(&self)
src/accessibility.rs:481
↓ 7 callers
Method
element_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 callers
Method
handle_flags_changed
( &mut self, device_flags: u64, now_ms: u64, runtime: HotkeyRuntime, p
crates/picc-speech/src/hotkey.rs:67
↓ 7 callers
Function
mouse_click
Single left-click at `(x, y)` screen coordinates.
crates/picc-macos-input/src/lib.rs:59
↓ 7 callers
Function
new_menu_item
( mtm: MainThreadMarker, title: &str, action: Option<objc2::runtime::Sel>, key: &str, )
src/bin/claude_menubar.rs:135
↓ 7 callers
Method
request_start
(&self, mode: SessionMode)
crates/picc-speech/src/session.rs:41
↓ 7 callers
Method
resolve_all
Resolve all matching elements.
src/locator.rs:287
↓ 7 callers
Function
sample_lexicon
()
crates/homophone-replacer/tests/baselines.rs:30
↓ 7 callers
Method
select
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 callers
Function
send_heartbeat
()
src/bin/standup.rs:889
↓ 7 callers
Function
state_dir
()
src/bin/claude_menubar.rs:123
↓ 6 callers
Function
apply_dictation_transforms
Apply user-configured text transforms before text goes on screen.
crates/picc-speech/src/postprocess.rs:10
↓ 6 callers
Function
is_trusted
Check if the current process is a trusted accessibility client.
src/accessibility.rs:18
↓ 6 callers
Method
locate_all
Find all elements matching a locator string (supports `>>` chains).
src/accessibility.rs:559
↓ 6 callers
Method
matches
Check if a list of DOM classes matches this selector.
src/accessibility.rs:225
↓ 6 callers
Function
perform_action
Perform an action on an element.
src/accessibility.rs:116
↓ 6 callers
Function
pick_existing_file
(model_dir: &Path, candidates: &[&str])
src/bin/dictation_streaming/main.rs:36
↓ 6 callers
Function
sample_config
()
crates/homophone-replacer/tests/baselines.rs:45
↓ 6 callers
Method
selected_id
(&self)
src/bin/ax_tui.rs:157
↓ 6 callers
Function
set_attr_value
Set an attribute value on an element. Returns true on success.
src/accessibility.rs:123
↓ 6 callers
Function
set_status_icon
(item: &NSStatusItem, state: &str, mtm: MainThreadMarker)
src/bin/dictation_pause.rs:126
↓ 6 callers
Function
set_text
(s: &str)
src/bin/statusline.rs:196
↓ 6 callers
Function
update_capsule_text
Update capsule text label and animate width change.
src/bin/voice_correct.rs:816
↓ 6 callers
Function
validate_locator
Validate an entire locator string.
src/bin/axcli.rs:484
↓ 5 callers
Method
actions
List available actions on this element.
src/accessibility.rs:633
↓ 5 callers
Method
draw
(&mut self, frame: &mut Frame)
src/bin/ax_tui.rs:500
↓ 5 callers
Function
element_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 callers
Method
first
Select the first candidate.
src/locator.rs:267
↓ 5 callers
Function
frontmost_bundle_id
()
src/bin/dictation_pause.rs:210
↓ 5 callers
Method
parent
Get the parent element.
src/accessibility.rs:621
↓ 5 callers
Method
parse
Parse a CSS-class selector string.
src/accessibility.rs:191
↓ 5 callers
Function
rebuild_tree_items
Rebuild the Vec<TreeItem> from the nodes HashMap for a given parent id.
src/bin/ax_tui.rs:914
↓ 5 callers
Method
reset
Reset the stream for the next utterance (call after endpoint).
src/bin/dictation_streaming/recognizer.rs:160
↓ 5 callers
Function
role_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 callers
Function
search_descendants
(candidates: Vec<AXNode>, q: &AXQuery)
src/locator.rs:453
↓ 5 callers
Method
selected_node_info
(&self)
src/bin/ax_tui.rs:161
↓ 5 callers
Function
set_button_icon
(button: &objc2_app_kit::NSStatusBarButton, name: &str)
src/bin/claude_menubar.rs:144
↓ 5 callers
Function
set_button_monospaced_title
(button: &NSObject, title: &str)
src/bin/claude_menubar.rs:148
↓ 5 callers
Method
set_focused
Set AXFocused on this element.
src/accessibility.rs:698
↓ 5 callers
Method
set_recording
(&self, recording: bool)
crates/picc-speech/src/session.rs:88
↓ 5 callers
Function
set_status_icon
(item: &NSStatusItem, recording: bool, mtm: MainThreadMarker)
src/bin/dictation.rs:119
↓ 5 callers
Function
update_menubar_title
()
src/bin/standup.rs:465
↓ 4 callers
Method
accept_waveform
Feed audio samples (f32, 16kHz) to the recognizer.
src/bin/dictation_streaming/recognizer.rs:115
↓ 4 callers
Function
activate_app
Bring an application to the foreground by PID.
crates/picc-macos-input/src/lib.rs:15
↓ 4 callers
Function
attr_string_list
Read a CFArray-of-CFString attribute (e.g. AXDOMClassList) as Vec<String>.
src/accessibility.rs:46
↓ 4 callers
Function
auto_insert_spaces
(s: &str, punct: bool, cjk: bool)
crates/picc-speech/src/postprocess.rs:104
↓ 4 callers
Function
build_rules_from_terms
( lexicon: &Lexicon, terms: impl IntoIterator<Item = &'a str>, )
crates/homophone-replacer/src/replacer.rs:157
↓ 4 callers
Function
capture
(rect: CGRect)
src/screenshot.rs:24
↓ 4 callers
Function
clipboard_replace_is_safe
(original_text: &str, current_text: Option<&str>)
crates/picc-speech/src/text_sink.rs:33
↓ 4 callers
Function
dismiss_countdown
()
src/bin/standup.rs:697
↓ 4 callers
Function
dispatch_after_ms
dispatch_after 延迟执行(毫秒),必须在主线程调用
src/bin/standup.rs:857
↓ 4 callers
Method
ensure_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 callers
Function
find_all
Find all elements matching `query`, searching up to `max_depth` levels.
src/accessibility.rs:424
↓ 4 callers
Function
is_same_element
Compare two AXUIElement references for identity using CFEqual.
src/accessibility.rs:747
↓ 4 callers
Method
perform_action
Perform an action on this element (e.g. "AXPress", "AXScrollToVisible").
src/accessibility.rs:638
↓ 4 callers
Function
perform_requests
( handler: &VNImageRequestHandler, requests: &NSArray<VNRequest>, )
src/vision.rs:35
↓ 4 callers
Function
pick_existing_file
(model_dir: &Path, names: &[&str])
crates/picc-speech/src/models.rs:227
↓ 4 callers
Function
play_error_sound
()
src/bin/voice_correct.rs:104
↓ 4 callers
Function
play_error_sound
()
src/bin/voice_correct_v2.rs:188
↓ 4 callers
Function
pronounce_phrase
(lexicon: &Lexicon, phrase: &str)
crates/homophone-replacer/src/pronunciation.rs:3
next →
1–100 of 700, ranked by callers