MCPcopy Create free account

hub / github.com/andelf/picc / functions

Functions700 in github.com/andelf/picc

↓ 2 callersFunctionresolve_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 callersMethodresolve_one
Resolve a locator to exactly one element.
src/actions.rs:36
↓ 2 callersFunctionresolve_repo_sensevoice_paths
( base_dir: &Path, requested_model_dir: Option<&str>, model_file_name: &str, )
crates/picc-speech/src/models.rs:109
↓ 2 callersFunctionrole
Convenience: build a query matching a role.
src/accessibility.rs:390
↓ 2 callersFunctionrun
(cli: Cli)
src/bin/axcli.rs:325
↓ 2 callersFunctionrun_menubar
()
src/bin/claude_menubar.rs:632
↓ 2 callersFunctionrun_ocr
(image: &CGImage)
src/bin/axcli.rs:813
↓ 2 callersFunctionsave_png
Save a CGImage as PNG to the given file path. Returns true on success.
src/screenshot.rs:34
↓ 2 callersMethodsave_to_path
(&self, path: impl AsRef<Path>)
crates/homophone-replacer/src/compiled.rs:145
↓ 2 callersFunctionscreenshot
(rect: core_graphics::CGRect)
src/lib.rs:16
↓ 2 callersFunctionsearch_next
Search for the next node matching the query across multiple AX attributes.
src/bin/ax_tui.rs:1308
↓ 2 callersFunctionset_button_icon
(button: &objc2_app_kit::NSStatusBarButton, name: &str)
src/bin/standup.rs:412
↓ 2 callersFunctionset_button_monospaced_title
用等宽数字字体设置 button title,避免数字变化时宽度晃动
src/bin/standup.rs:383
↓ 2 callersFunctionshould_skip_ax_read_for_bundle
(bundle: Option<&str>)
crates/picc-speech/src/text_sink.rs:25
↓ 2 callersFunctionshould_use_clipboard_for_bundle
(bundle: Option<&str>)
crates/picc-speech/src/text_sink.rs:29
↓ 2 callersFunctionshow_snap_windows
显示所有屏幕的截图窗口
src/main.rs:471
↓ 2 callersFunctionsort_classes
Sort class names: meaningful ones first, noisy ones (numeric, `-` or `_` prefixed) last.
src/tree_fmt.rs:8
↓ 2 callersFunctionsort_classes
Sort class names: meaningful ones first, noisy ones (numeric, `-` or `_` prefixed) last.
src/bin/ax_print.rs:29
↓ 2 callersFunctionstart_menubar_timer
()
src/bin/standup.rs:540
↓ 2 callersMethodstart_request_capture
( &self, request: Retained<SFSpeechAudioBufferRecognitionRequest>, config: AudioCaptur
crates/picc-speech/src/audio.rs:150
↓ 2 callersMethodstart_sample_capture
( &self, samples: Arc<Mutex<Vec<f32>>>, native_sample_rate: &Cell<u32>, config
crates/picc-speech/src/audio.rs:85
↓ 2 callersFunctionstrip_tones
(pronunciation: &str)
crates/homophone-replacer/src/replacer.rs:80
↓ 2 callersMethodtake_config_changed
(&self)
crates/picc-speech/src/audio.rs:68
↓ 2 callersFunctiontake_stop_while_recording
(signals: &SessionSignals, is_recording: &Cell<bool>)
crates/picc-speech/src/session.rs:114
↓ 2 callersMethodtexts
Collect all AXStaticText values from descendants up to `max_depth`.
src/accessibility.rs:602
↓ 2 callersFunctiontick_countdown
()
src/bin/standup.rs:656
↓ 2 callersMethodtitle
(mut self, t: &str)
src/accessibility.rs:258
↓ 2 callersFunctiontranscribe_all
( recognizer: &mut sherpa_rs::sense_voice::SenseVoiceRecognizer, native_rate: u32, samples: &[f32]
src/bin/dictation_pause.rs:329
↓ 2 callersFunctionutf16_to_byte_index
(text: &str, utf16_offset: usize)
src/bin/dictation_pause.rs:183
↓ 2 callersFunctionwindows_for_pid
Filter windows belonging to the given PID (layer 0, non-tiny).
src/screen_capture.rs:60
↓ 2 callersFunctionwith_status_item
(f: impl FnOnce(&NSStatusItem))
src/bin/standup.rs:280
↓ 1 callersFunctionaction_names
List available action names on an element.
src/accessibility.rs:91
↓ 1 callersFunctionanim_tick
()
src/bin/claude_menubar.rs:366
↓ 1 callersFunctionapply_step
(step: &LocatorStep, candidates: Vec<AXNode>)
src/locator.rs:390
↓ 1 callersFunctionapply_step_typed
Apply a typed pipeline step (descendant or direct child).
src/accessibility.rs:1526
↓ 1 callersFunctionapply_sync_rules
(hb: &Heartbeat)
src/bin/standup.rs:972
↓ 1 callersFunctionapply_term_correction_if_enabled
(text: &str, correction: Option<&TermCorrection>)
src/bin/voice_correct_v2.rs:156
↓ 1 callersFunctionattr_names
List all attribute names on an element.
src/accessibility.rs:66
↓ 1 callersMethodattr_names
(&self)
src/accessibility.rs:499
↓ 1 callersFunctionax_value_as_cfrange
(value: &CFRetained<CFType>)
src/bin/dictation_pause.rs:149
↓ 1 callersFunctionax_value_as_cfrange
(value: &CFRetained<CFType>)
crates/picc-speech/src/focus.rs:95
↓ 1 callersMethodbottom_height
(&self, width: u16)
src/bin/ax_tui.rs:487
↓ 1 callersFunctionbuild_online_config
(model_dir: &Path, args: &Args)
src/bin/dictation_streaming/main.rs:72
↓ 1 callersFunctionbuild_term_correction
( terms_path: &PathBuf, lexicon_path: &PathBuf, )
src/bin/voice_correct_v2.rs:119
↓ 1 callersFunctioncall_kimi
(system_prompt: &str, user_input: &str)
src/bin/english_refiner.rs:125
↓ 1 callersFunctioncall_llm
(original_text: &str, instruction: &str)
src/bin/voice_correct.rs:442
↓ 1 callersFunctioncall_llm
(original_text: &str, instruction: &str)
src/bin/voice_correct_v2.rs:618
↓ 1 callersFunctioncf_type_as_ax_elements
(value: &CFType)
src/accessibility.rs:142
↓ 1 callersFunctioncfnum
(val: i32)
examples/ambient-light.rs:124
↓ 1 callersFunctionchain_check_inner
( root: &AXUIElement, ancestor_sel: &str, target_sel: &str, target: &AXUIElement, depth: u
src/accessibility.rs:1405
↓ 1 callersFunctionchain_is_unique
Check if `ancestor_sel >> target_sel` uniquely identifies the target.
src/accessibility.rs:1385
↓ 1 callersMethodchild_matching
Find the first direct child matching `query`.
src/accessibility.rs:518
↓ 1 callersFunctionclassify
(s: &str)
src/bin/english_refiner.rs:83
↓ 1 callersFunctioncleanup_stale_peers
()
src/bin/standup.rs:952
↓ 1 callersFunctioncmd_click
(ctx: &ExecutionContext, locator: &str)
src/bin/axcli.rs:658
↓ 1 callersFunctioncmd_dblclick
(ctx: &ExecutionContext, locator: &str)
src/bin/axcli.rs:679
↓ 1 callersFunctioncmd_debug
(what: &str)
src/bin/axcli.rs:565
↓ 1 callersFunctioncmd_fill
(ctx: &ExecutionContext, locator: &str, text: &str)
src/bin/axcli.rs:703
↓ 1 callersFunctioncmd_focus
(ctx: &ExecutionContext, locator: &str)
src/bin/axcli.rs:742
↓ 1 callersFunctioncmd_get
( ctx: &ExecutionContext, attr: &GetAttr, locator: &str, all: bool, )
src/bin/axcli.rs:1102
↓ 1 callersFunctioncmd_hover
(ctx: &ExecutionContext, locator: &str)
src/bin/axcli.rs:731
↓ 1 callersFunctioncmd_input
(ctx: &ExecutionContext, locator: &str, text: &str)
src/bin/axcli.rs:692
↓ 1 callersFunctioncmd_list_apps
()
src/bin/axcli.rs:528
↓ 1 callersFunctioncmd_press
(ctx: &ExecutionContext, key: &str)
src/bin/axcli.rs:722
↓ 1 callersFunctioncmd_screenshot
( ctx: &ExecutionContext, locator: Option<&str>, output: Option<&str>, ocr: bool, legacy:
src/bin/axcli.rs:841
↓ 1 callersFunctioncmd_scroll
( ctx: &ExecutionContext, locator: &str, direction: &str, pixels: i32, )
src/bin/axcli.rs:763
↓ 1 callersFunctioncmd_scroll_to
(ctx: &ExecutionContext, locator: &str)
src/bin/axcli.rs:751
↓ 1 callersFunctioncmd_snapshot
( ctx: &ExecutionContext, locator: Option<&str>, depth: usize, all: bool, max_text_len: us
src/bin/axcli.rs:607
↓ 1 callersFunctioncmd_wait
(ctx: &ExecutionContext, target: &str)
src/bin/axcli.rs:994
↓ 1 callersFunctioncollect_direct_children_matching
Collect direct children matching a selector (no recursion).
src/accessibility.rs:1584
↓ 1 callersFunctioncollect_text
Collect text from a subtree, inserting newlines at group boundaries.
src/bin/axcli.rs:1013
↓ 1 callersFunctioncollect_text_inner
(node: &AXNode, max_depth: usize, parts: &mut Vec<String>)
src/bin/axcli.rs:1019
↓ 1 callersFunctioncompose_session_text
(session: &FocusSession, inserted: &str)
src/bin/dictation_pause.rs:197
↓ 1 callersFunctionconfigure_native_build
(include_dir: &Path, lib_dir: &Path, header: &Path)
crates/dictation-ng/build.rs:49
↓ 1 callersFunctioncorrection_overlay_text
(instruction: &str)
src/bin/voice_correct.rs:859
↓ 1 callersFunctioncount_descendants
Count descendants up to a shallow depth, capped at 100 for speed.
src/tree_fmt.rs:262
↓ 1 callersFunctioncount_descendants
Count descendants up to a shallow depth, capped at 100 for speed.
src/bin/ax_print.rs:436
↓ 1 callersFunctioncount_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 callersFunctioncreate_and_show_windows
为每个屏幕创建窗口并显示
src/bin/standup.rs:313
↓ 1 callersFunctioncreate_capsule_overlay
(mtm: MainThreadMarker)
src/bin/voice_correct.rs:599
↓ 1 callersFunctioncreate_udp_socket
(port: u16)
src/bin/standup.rs:1117
↓ 1 callersFunctiondestroy_all_windows
隐藏并销毁所有窗口
src/bin/standup.rs:368
↓ 1 callersFunctiondetect_broadcast_addrs
获取所有活跃网络接口的子网广播地址 (假设 /24)
src/bin/standup.rs:1090
↓ 1 callersFunctiondetect_model_kind
( model_dir: &Path, requested: &str, )
src/bin/dictation_streaming/main.rs:44
↓ 1 callersFunctiondispatch_async_main
dispatch_async 到主线程执行闭包
src/bin/standup.rs:845
↓ 1 callersFunctiondisplay_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 callersMethoddom_class
Match elements whose AXDOMClassList contains the given class.
src/accessibility.rs:291
↓ 1 callersMethoddraw_attrs
(&mut self, frame: &mut Frame, area: Rect)
src/bin/ax_tui.rs:541
↓ 1 callersMethoddraw_bottom
(&self, frame: &mut Frame, area: Rect)
src/bin/ax_tui.rs:689
↓ 1 callersMethoddraw_tree
(&mut self, frame: &mut Frame, area: Rect)
src/bin/ax_tui.rs:520
↓ 1 callersFunctionelement_is_visible
Check if an element has non-zero size (visible).
src/accessibility.rs:1004
↓ 1 callersFunctionelement_matches_base_selector
(el: &AXUIElement, selector: &str)
src/accessibility.rs:1153
↓ 1 callersFunctionensure_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 callersFunctionensure_countdown_timer
()
src/bin/standup.rs:767
↓ 1 callersFunctionensure_daemon
hook 模式下确保 daemon 在运行
src/bin/claude_menubar.rs:271
↓ 1 callersFunctionensure_menubar_timer
()
src/bin/standup.rs:758
↓ 1 callersFunctionensure_model
(base_dir: &Path)
crates/dictation-ng/src/real.rs:95
↓ 1 callersFunctionensure_sensevoice_model
(base_dir: &Path)
src/bin/dictation.rs:209
↓ 1 callersMethodenter_action_mode
Enter action mode for the currently selected node.
src/bin/ax_tui.rs:380
↓ 1 callersMethodexecute_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
← previousnext →201–300 of 700, ranked by callers