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
↓ 4 callers
Method
read_string
(&mut self)
crates/homophone-replacer/src/compiled.rs:194
↓ 4 callers
Method
read_u32
(&mut self)
crates/homophone-replacer/src/compiled.rs:187
↓ 4 callers
Method
request_cancel
(&self)
crates/picc-speech/src/session.rs:54
↓ 4 callers
Method
request_stop
(&self)
crates/picc-speech/src/session.rs:50
↓ 4 callers
Function
resample
Linear interpolation downsample from `src_rate` to `dst_rate`. Returns new sample vector at target rate.
src/bin/dictation_streaming/resample.rs:3
↓ 4 callers
Function
set_status_button_symbol
( button: &objc2_app_kit::NSStatusBarButton, symbol_name: &str, accessibility_label: &str, )
crates/picc-macos-app/src/lib.rs:32
↓ 4 callers
Function
set_status_icon
(item: &NSStatusItem, recording: bool, mtm: MainThreadMarker)
crates/dictation-ng/src/real.rs:90
↓ 4 callers
Function
set_status_item_symbol
( item: &NSStatusItem, mtm: MainThreadMarker, symbol_name: &str, accessibility_label: &str, )
crates/picc-macos-app/src/lib.rs:21
↓ 4 callers
Function
start_work_timer_with
(secs: f64)
src/bin/standup.rs:740
↓ 4 callers
Function
write_string
(out: &mut Vec<u8>, value: &str)
crates/homophone-replacer/src/compiled.rs:159
↓ 3 callers
Method
all
Alias for `resolve_all`.
src/locator.rs:318
↓ 3 callers
Function
attr_string
(element: &AXUIElement, attribute: &str)
crates/picc-speech/src/focus.rs:90
↓ 3 callers
Function
attr_value
(element: &AXUIElement, attribute: &str)
crates/picc-speech/src/focus.rs:75
↓ 3 callers
Method
cancel_pending
(&self)
crates/picc-speech/src/session.rs:80
↓ 3 callers
Function
cfstr
(s: &str)
examples/lid-angle.rs:91
↓ 3 callers
Method
child_count
Number of direct children.
src/accessibility.rs:513
↓ 3 callers
Function
classify
(c: char)
crates/picc-speech/src/postprocess.rs:60
↓ 3 callers
Function
ensure_focused
Try AXFocused, fall back to clicking element center.
src/bin/axcli.rs:514
↓ 3 callers
Function
ensure_tar_bz2_model
(base_dir: &Path, spec: ModelArchiveSpec<'_>)
crates/picc-speech/src/models.rs:32
↓ 3 callers
Function
exit_code
Map an AxError to a CLI exit code.
src/error.rs:62
↓ 3 callers
Function
find_app_by_name
Find a running application by name (partial match on bundle ID or localized name). Returns `(pid, localized_name)` if found.
src/accessibility.rs:714
↓ 3 callers
Function
find_first
Find the first element matching `query`, searching up to `max_depth` levels.
src/accessibility.rs:404
↓ 3 callers
Function
for_each_snap_window
遍历所有 SnapWindow 并执行操作
src/main.rs:63
↓ 3 callers
Function
invalidate_timer
(cell: &RefCell<Option<Retained<NSTimer>>>)
src/bin/standup.rs:296
↓ 3 callers
Method
iter
(&self)
crates/homophone-replacer/src/replacer.rs:73
↓ 3 callers
Function
new_handler_with_cgimage
(image: &CGImage)
src/vision.rs:17
↓ 3 callers
Function
official_test_hr_assets
()
crates/homophone-replacer/src/official_examples.rs:19
↓ 3 callers
Function
pid_file
()
src/bin/claude_menubar.rs:226
↓ 3 callers
Function
position_capsule
(panel: &NSPanel, width: f64, mtm: MainThreadMarker)
src/bin/voice_correct.rs:699
↓ 3 callers
Function
process_lan_queue
()
src/bin/standup.rs:1064
↓ 3 callers
Method
recreate_engine
(&self)
crates/picc-speech/src/audio.rs:72
↓ 3 callers
Method
resolve_one
Resolve exactly one element. Panics if count != 1.
src/locator.rs:307
↓ 3 callers
Function
sample_rules
()
crates/homophone-replacer/tests/baselines.rs:34
↓ 3 callers
Method
selected_locator
Get the cached locator for the current selection, or "..." if still computing.
src/bin/ax_tui.rs:315
↓ 3 callers
Method
selected_path_string
(&self)
src/bin/ax_tui.rs:187
↓ 3 callers
Function
show_countdown_with
显示 break 倒计时。override_remaining > 0 时用该值作为倒计时,否则用 break_secs。
src/bin/standup.rs:574
↓ 3 callers
Function
start_work_timer
()
src/bin/standup.rs:730
↓ 3 callers
Method
stop_and_reset
(&self)
crates/picc-speech/src/audio.rs:209
↓ 3 callers
Method
take_exact
(&mut self, len: usize)
crates/homophone-replacer/src/compiled.rs:174
↓ 3 callers
Method
to_bytes
(&self)
crates/homophone-replacer/src/compiled.rs:82
↓ 3 callers
Method
value
(&self)
src/accessibility.rs:477
↓ 3 callers
Function
write_session_result
(session: &FocusSession, inserted: &str)
src/bin/dictation_pause.rs:290
↓ 3 callers
Function
write_u32
(out: &mut Vec<u8>, value: u32)
crates/homophone-replacer/src/compiled.rs:155
↓ 3 callers
Method
yank_to_clipboard
Copy text to clipboard via pbcopy.
src/bin/ax_tui.rs:465
↓ 2 callers
Function
apply_step_inner
Apply a single pipeline step to a set of elements. If `direct_only` is true, only search direct children (not descendants).
src/accessibility.rs:1538
↓ 2 callers
Function
begin_requested_session
( signals: &SessionSignals, is_recording: &Cell<bool>, )
crates/picc-speech/src/session.rs:101
↓ 2 callers
Function
build_search_haystack
Build a search haystack from a node, querying multiple AX attributes live. Searches: AXRole, AXTitle, AXDescription, AXValue, AXRoleDescription, AXDOM
src/bin/ax_tui.rs:1280
↓ 2 callers
Function
candidate_tokens
Generate candidate tokens for an element, sorted by score (ascending).
src/accessibility.rs:759
↓ 2 callers
Function
capture_window
Capture a window image using ScreenCaptureKit's `SCScreenshotManager`. The window does NOT need to be in the foreground.
src/screen_capture.rs:164
↓ 2 callers
Function
capture_window_by_frame
Capture a specific window identified by PID + AX frame (position and size). This ensures we capture the correct window when an app has multiple window
src/screen_capture.rs:209
↓ 2 callers
Function
capture_window_by_pid
Capture the largest window of the given PID. Fallback when no specific window frame is known.
src/screen_capture.rs:224
↓ 2 callers
Function
cfnum
(val: i32)
examples/lid-angle.rs:98
↓ 2 callers
Function
cfstr
(s: &str)
examples/ambient-light.rs:117
↓ 2 callers
Function
char_before_cursor
()
crates/picc-speech/src/focus.rs:42
↓ 2 callers
Method
clear_pending_start
(&self)
crates/picc-speech/src/session.rs:46
↓ 2 callers
Function
collect_matching
Collect all elements matching a selector string (DFS).
src/accessibility.rs:1595
↓ 2 callers
Function
collect_matching_inner
( root: &AXUIElement, selector: &str, depth: usize, results: &mut Vec<CFRetained<AXUIElement>>
src/accessibility.rs:1605
↓ 2 callers
Function
count_matches_inner
( root: &AXUIElement, selector: &str, target: &AXUIElement, depth: usize, found_target: &m
src/accessibility.rs:860
↓ 2 callers
Method
decode_and_get_text
Decode all available frames and return current partial text.
src/bin/dictation_streaming/recognizer.rs:127
↓ 2 callers
Function
download_with_progress
(url: &str, dest: &Path, label: &str)
src/bin/dictation.rs:132
↓ 2 callers
Function
dummy_element
Helper: create a dummy AXUIElement (system-wide) for constructing Locators.
src/locator.rs:585
↓ 2 callers
Method
ensure_element_in_tree
Ensure an AXUIElement is present in the loaded tree. Walks up via AXParent to find the path from root, loading children as needed. Returns the tree Id
src/bin/ax_tui.rs:591
↓ 2 callers
Method
filter
Match with a custom predicate function.
src/accessibility.rs:308
↓ 2 callers
Function
focused_ax_element
()
crates/picc-speech/src/focus.rs:69
↓ 2 callers
Function
generate_locator
Generate a Playwright-style locator that uniquely identifies `target` within `root`. Returns a string like `#id`, `AXButton[title="Send"]`, or `AXWin
src/accessibility.rs:1308
↓ 2 callers
Function
get_attr_value
(node: &AXNode, attr: &GetAttr)
src/bin/axcli.rs:1062
↓ 2 callers
Function
get_my_secs_to_break
()
src/bin/standup.rs:867
↓ 2 callers
Function
get_shareable_content
Get all shareable content (windows, displays, applications). Bridges the async ObjC callback to a synchronous call.
src/screen_capture.rs:31
↓ 2 callers
Method
has_text
Require that the element's subtree contains the given text.
src/locator.rs:83
↓ 2 callers
Function
is_daemon_running
检查 daemon 是否在运行(通过 PID 文件 + kill -0 验证进程存活)
src/bin/claude_menubar.rs:240
↓ 2 callers
Function
is_hotkey
检测是否为 Ctrl+Cmd+A 快捷键
src/main.rs:462
↓ 2 callers
Method
is_recording
(&self)
crates/picc-speech/src/session.rs:84
↓ 2 callers
Function
is_snap_window
判断窗口是否为 SnapWindow
src/main.rs:57
↓ 2 callers
Method
load_children_at
Load children for the node at `id`.
src/bin/ax_tui.rs:233
↓ 2 callers
Function
load_terms
(path: &PathBuf)
crates/homophone-replacer/src/bin/hrcli.rs:131
↓ 2 callers
Function
match_phrases_with_limit
( lexicon: &Lexicon, text: &str, max_phrase_len: usize, )
crates/homophone-replacer/src/phrase_matcher.rs:9
↓ 2 callers
Function
matches_bundle_list
(bundle: &str, list: &[&str])
crates/picc-speech/src/text_sink.rs:37
↓ 2 callers
Function
node_label
(node: &AXNode)
src/bin/ax_tui.rs:787
↓ 2 callers
Function
now_ms
()
src/bin/voice_correct_v2.rs:241
↓ 2 callers
Function
now_ts
()
src/bin/claude_menubar.rs:128
↓ 2 callers
Method
nth
Select the nth candidate (0-indexed).
src/locator.rs:261
↓ 2 callers
Function
nth_among_siblings
Find the nth-among-siblings index (0-based) for the element among siblings with the same role.
src/accessibility.rs:1287
↓ 2 callers
Function
official_non_streaming_sense_voice_hr_config
()
crates/homophone-replacer/src/official_examples.rs:29
↓ 2 callers
Function
play_stop_sound
()
src/bin/voice_correct.rs:101
↓ 2 callers
Function
play_stop_sound
()
src/bin/voice_correct_v2.rs:185
↓ 2 callers
Function
poll_and_update
()
src/bin/claude_menubar.rs:396
↓ 2 callers
Function
populate_nodes
Recursively populate the nodes HashMap by preloading `max_depth` levels.
src/bin/ax_tui.rs:874
↓ 2 callers
Function
print_tree_inner
( node: &AXNode, depth: usize, max_depth: usize, interactive: &mut usize, is_root: bool, )
src/bin/ax_print.rs:336
↓ 2 callers
Method
print_tree_inner
(&mut self, node: &AXNode, depth: usize, max_depth: usize, is_root: bool)
src/tree_fmt.rs:127
↓ 2 callers
Method
print_with_ancestors
Print a matched node with up to 3 ancestor levels for context.
src/tree_fmt.rs:94
↓ 2 callers
Method
pronunciation
(&self, word: &str)
crates/homophone-replacer/src/lexicon.rs:66
↓ 2 callers
Function
prop_int
(entry: u32, key: &str)
examples/ambient-light.rs:134
↓ 2 callers
Function
refresh_all_views
()
src/bin/standup.rs:378
↓ 2 callers
Function
refresh_view
(window: &StandupWindow)
src/bin/standup.rs:304
↓ 2 callers
Function
replace_text_from_files
( lexicon_path: impl AsRef<Path>, rules_path: impl AsRef<Path>, config: &ReplacerConfig, text:
crates/homophone-replacer/src/replacer.rs:146
↓ 2 callers
Function
replace_via_clipboard
Replace all text in the focused field via clipboard round-trip. Uses NSPasteboard API: save → set → Cmd+A → Cmd+V → restore.
src/bin/voice_correct.rs:376
↓ 2 callers
Function
replace_via_clipboard
(text: &str)
src/bin/dictation_pause.rs:248
↓ 2 callers
Function
replace_via_clipboard
Replace all text in the focused field via clipboard round-trip. Uses NSPasteboard API: save → set → Cmd+A → Cmd+V → restore.
src/bin/voice_correct_v2.rs:552
↓ 2 callers
Method
request_locator
Request locator computation for the current selection if not cached.
src/bin/ax_tui.rs:327
↓ 2 callers
Function
resolve_locator
Resolve a locator string to the first matching element under `root`. Supports selector chains separated by ` >> `: - `#id` - `AXButton[title="Send"]`
src/accessibility.rs:1453
← previous
next →
101–200 of 700, ranked by callers