Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentQQGYLab/AppAgent
/ functions
Functions
31 in github.com/TencentQQGYLab/AppAgent
⨍
Functions
31
◇
Types & classes
5
↓ 121 callers
Function
print_with_color
(text: str, color="")
scripts/utils.py:8
↓ 12 callers
Function
execute_adb
(adb_command)
scripts/and_controller.py:19
↓ 6 callers
Function
traverse_tree
(xml_path, elem_list, attrib, add_index=False)
scripts/and_controller.py:56
↓ 5 callers
Function
load_config
(config_path="./config.yaml")
scripts/config.py:5
↓ 4 callers
Function
draw_bbox_multi
(img_path, output_path, elem_list, record_mode=False, dark_mode=False)
scripts/utils.py:30
↓ 4 callers
Method
get_device_size
(self)
scripts/and_controller.py:97
↓ 4 callers
Method
get_model_response
(self, prompt: str, images: List[str])
scripts/model.py:17
↓ 4 callers
Method
get_screenshot
(self, prefix, save_dir)
scripts/and_controller.py:104
↓ 4 callers
Method
long_press
(self, x, y, duration=1000)
scripts/and_controller.py:149
↓ 4 callers
Method
tap
(self, x, y)
scripts/and_controller.py:137
↓ 3 callers
Function
area_to_xy
(area, subarea)
scripts/task_executor.py:117
↓ 3 callers
Method
get_xml
(self, prefix, save_dir)
scripts/and_controller.py:118
↓ 3 callers
Function
list_all_devices
()
scripts/and_controller.py:29
↓ 3 callers
Method
swipe
(self, x, y, direction, dist="medium", quick=False)
scripts/and_controller.py:154
↓ 3 callers
Method
text
(self, input_str)
scripts/and_controller.py:142
↓ 2 callers
Method
__init__
(self)
scripts/model.py:13
↓ 2 callers
Function
get_id_from_element
(elem)
scripts/and_controller.py:41
↓ 2 callers
Function
get_unit_len
(n)
scripts/utils.py:64
↓ 2 callers
Function
parse_explore_rsp
(rsp)
scripts/model.py:101
↓ 1 callers
Method
back
(self)
scripts/and_controller.py:132
↓ 1 callers
Function
draw_grid
(img_path, output_path)
scripts/utils.py:63
↓ 1 callers
Function
encode_image
(image_path)
scripts/utils.py:98
↓ 1 callers
Function
parse_grid_rsp
(rsp)
scripts/model.py:145
↓ 1 callers
Function
parse_reflect_rsp
(rsp)
scripts/model.py:190
↓ 1 callers
Method
swipe_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
Method
get_model_response
(self, prompt: str, images: List[str])
scripts/model.py:30
Method
get_model_response
(self, prompt: str, images: List[str])
scripts/model.py:79