MCPcopy Create free account

hub / github.com/TencentQQGYLab/AppAgent / functions

Functions31 in github.com/TencentQQGYLab/AppAgent

↓ 121 callersFunctionprint_with_color
(text: str, color="")
scripts/utils.py:8
↓ 12 callersFunctionexecute_adb
(adb_command)
scripts/and_controller.py:19
↓ 6 callersFunctiontraverse_tree
(xml_path, elem_list, attrib, add_index=False)
scripts/and_controller.py:56
↓ 5 callersFunctionload_config
(config_path="./config.yaml")
scripts/config.py:5
↓ 4 callersFunctiondraw_bbox_multi
(img_path, output_path, elem_list, record_mode=False, dark_mode=False)
scripts/utils.py:30
↓ 4 callersMethodget_device_size
(self)
scripts/and_controller.py:97
↓ 4 callersMethodget_model_response
(self, prompt: str, images: List[str])
scripts/model.py:17
↓ 4 callersMethodget_screenshot
(self, prefix, save_dir)
scripts/and_controller.py:104
↓ 4 callersMethodlong_press
(self, x, y, duration=1000)
scripts/and_controller.py:149
↓ 4 callersMethodtap
(self, x, y)
scripts/and_controller.py:137
↓ 3 callersFunctionarea_to_xy
(area, subarea)
scripts/task_executor.py:117
↓ 3 callersMethodget_xml
(self, prefix, save_dir)
scripts/and_controller.py:118
↓ 3 callersFunctionlist_all_devices
()
scripts/and_controller.py:29
↓ 3 callersMethodswipe
(self, x, y, direction, dist="medium", quick=False)
scripts/and_controller.py:154
↓ 3 callersMethodtext
(self, input_str)
scripts/and_controller.py:142
↓ 2 callersMethod__init__
(self)
scripts/model.py:13
↓ 2 callersFunctionget_id_from_element
(elem)
scripts/and_controller.py:41
↓ 2 callersFunctionget_unit_len
(n)
scripts/utils.py:64
↓ 2 callersFunctionparse_explore_rsp
(rsp)
scripts/model.py:101
↓ 1 callersMethodback
(self)
scripts/and_controller.py:132
↓ 1 callersFunctiondraw_grid
(img_path, output_path)
scripts/utils.py:63
↓ 1 callersFunctionencode_image
(image_path)
scripts/utils.py:98
↓ 1 callersFunctionparse_grid_rsp
(rsp)
scripts/model.py:145
↓ 1 callersFunctionparse_reflect_rsp
(rsp)
scripts/model.py:190
↓ 1 callersMethodswipe_precise
(self, start, end, duration=400)
scripts/and_controller.py:175
Method__init__
(self, uid, bbox, attrib)
scripts/and_controller.py:13
Method__init__
(self, device)
scripts/and_controller.py:90
Method__init__
(self, base_url: str, api_key: str, model: str, temperature: float, max_tokens: int)
scripts/model.py:22
Method__init__
(self, api_key: str, model: str)
scripts/model.py:74
Methodget_model_response
(self, prompt: str, images: List[str])
scripts/model.py:30
Methodget_model_response
(self, prompt: str, images: List[str])
scripts/model.py:79