Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/AdbAutoPlayer/AdbAutoPlayer
/ functions
Functions
1,693 in github.com/AdbAutoPlayer/AdbAutoPlayer
⨍
Functions
1,693
◇
Types & classes
357
↳
Endpoints
51
↓ 3 callers
Method
detect_text_blocks
Detect text blocks and return results with bounding boxes. Args: image: Input RGB image as numpy array min_confidence
src-tauri/src-python/adb_auto_player/ocr/tesseract_backend.py:215
↓ 3 callers
Method
distance_to
Calculate Euclidean distance to another point.
src-tauri/src-python/adb_auto_player/models/geometry/coordinates.py:23
↓ 3 callers
Method
game_find_template_match
(self, *args, **kwargs)
src-tauri/src-python/tests/games/afk_journey/mixins/test_afkj_mixins.py:64
↓ 3 callers
Function
get_color_match_percentage
Returns the percentage of pixels that match the color.
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/fishing.py:461
↓ 3 callers
Method
get_continue_fishing_button
(self)
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/fishing.py:392
↓ 3 callers
Function
get_game_tasks
Returns all Tasks for all Games.
src-tauri/src-python/adb_auto_player/task_loader.py:15
↓ 3 callers
Method
get_interact_options
( self, expected_number_of_options: int | None = None, min_amount_of_characters_per_op
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/blue_protocol_star_resonance.py:89
↓ 3 callers
Method
get_resource_dir
Get resource dir.
src-tauri/src-python/adb_auto_player/file_loader/settings_loader.py:38
↓ 3 callers
Method
handle_popup_messages
(self, navigate_to_homestead: bool = False)
src-tauri/src-python/tests/games/afk_journey/mixins/test_afkj_mixins.py:79
↓ 3 callers
Method
i_am_in_emberlight_festival_fishing_screen
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/minigames/fishing.py:61
↓ 3 callers
Method
is_grayscale
Check if an image is grayscale. An image is considered grayscale if it has only two dimensions, i.e., shape (height, width), without
src-tauri/src-python/adb_auto_player/image_manipulation/color.py:32
↓ 3 callers
Method
is_mac
Return True if the OS is macOS (Darwin).
src-tauri/src-python/adb_auto_player/util/runtime.py:80
↓ 3 callers
Method
navigate_to_battle_modes_screen
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_setup.py:47
↓ 3 callers
Method
navigate_to_resonating_hall
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/navigation.py:206
↓ 3 callers
Method
new
Creates a new log message with the current UTC timestamp.
src-tauri/src/log.rs:16
↓ 3 callers
Method
pp_ocr_v5_rec
PP-OCRv4 detection + PP-OCRv5 recognition for better name accuracy. Explicitly sets engine_type and model_type required by rapidocr>=3.9.0.
src-tauri/src-python/adb_auto_player/ocr/rapidocr_backend.py:34
↓ 3 callers
Method
press
Press and immediately release a key.
src-tauri/src-python/adb_auto_player/device/adb/blue_stacks_at_translated_set_2_keyboard.py:55
↓ 3 callers
Function
runCommand
(cmd)
scripts/pytauri-bootstrap.cjs:12
↓ 3 callers
Function
save_window_position
(app: &AppHandle)
src-tauri/src/window.rs:31
↓ 3 callers
Method
set_display_size
Set display size. Args: display_size: format width x height e.g. 1080x1920
src-tauri/src-python/adb_auto_player/device/adb/adb_controller.py:24
↓ 3 callers
Method
show_ui
(self)
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/blue_protocol_star_resonance.py:47
↓ 3 callers
Method
start_game
(self)
src-tauri/src-python/adb_auto_player/game/_base.py:227
↓ 3 callers
Method
stop_reeling
(self)
src-tauri/src-python/adb_auto_player/games/blue_protocol_star_resonance/fishing.py:326
↓ 3 callers
Method
swipe_left
(self, *args, **kwargs)
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_setup.py:40
↓ 3 callers
Method
system
Return the OS name (e.g., Windows, Linux, Darwin).
src-tauri/src-python/adb_auto_player/util/runtime.py:32
↓ 3 callers
Method
to_rgb
Convert a BGR image to RGB format. Args: image (np.ndarray): Input image in BGR color format. Returns: np.nd
src-tauri/src-python/adb_auto_player/image_manipulation/color.py:83
↓ 3 callers
Method
wait_until_template_disappears
Wait until the template is no longer visible on screen. Args: template (str | Path): Template to monitor. threshold (
src-tauri/src-python/adb_auto_player/game/_template_mixin.py:293
↓ 2 callers
Method
_activate_extras
Add the extras directory to sys.path and persist it via a .pth file.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_setup.py:147
↓ 2 callers
Method
_activate_skills
(self)
src-tauri/src-python/adb_auto_player/games/guitar_girl/guitar_girl.py:120
↓ 2 callers
Method
_add_keys_farmed
Logs the number of keys farmed. Args: keys (int): Number of keys.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/arcane_labyrinth.py:116
↓ 2 callers
Function
_agreement
(r: str)
src-tauri/src-python/scripts/test_activeness_ocr.py:767
↓ 2 callers
Method
_arcane_lab_start_battle
Start labyrinth battle.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/arcane_labyrinth.py:283
↓ 2 callers
Method
_bot
(self)
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:340
↓ 2 callers
Method
_bot
(self)
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:421
↓ 2 callers
Method
_check_for_popups
(self)
src-tauri/src-python/adb_auto_player/games/guitar_girl/guitar_girl.py:148
↓ 2 callers
Method
_claim_free_attempt
Claim free Arena attempts. Returns: bool: True if free attempt claimed, False not available.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/arena.py:167
↓ 2 callers
Method
_click_hero
Click a hero for affinity and go next.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/dailies.py:511
↓ 2 callers
Method
_click_skip
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/arcane_labyrinth.py:499
↓ 2 callers
Method
_close_treasure_found_popup
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/minigames/fishing.py:95
↓ 2 callers
Method
_confirm_notices
Close out weekly reward and weekly notice popups. Returns: bool: True if notices were closed, False otherwise.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/arena.py:76
↓ 2 callers
Method
_correct_names_with_guild_members
Replace OCR-misread names with the closest matching guild member name.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_names.py:358
↓ 2 callers
Method
_correct_single_name
Return the closest guild member name to `name`.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_names.py:426
↓ 2 callers
Method
_ensure_in_homestead
Enter homestead if not already there. Uses the stacked-coins icon (top-right) as the definitive signal that we are inside homestead.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/homestead_helper.py:144
↓ 2 callers
Method
_enter_arena
Enter Arena.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/arena.py:58
↓ 2 callers
Method
_extract_categories_from_game
Extract categories from game metadata, preserving order and uniqueness.
src-tauri/src-python/adb_auto_player/ipc_util/ipc_model_converter.py:58
↓ 2 callers
Method
_find_battle_screen
Locate the battle screen by looking for 'Records' or 'Battle' button.
src-tauri/src-python/adb_auto_player/games/afk_journey/base.py:204
↓ 2 callers
Method
_find_level_up_all_button
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/custom_routine/level_up_all.py:39
↓ 2 callers
Method
_flush_summary
Send summary via callback if available.
src-tauri/src-python/adb_auto_player/util/summary_generator.py:77
↓ 2 callers
Method
_get_bgr_image
Return test image. Returns: np.ndarray: Test image
src-tauri/src-python/tests/ocr/test_tesseract_backend/test_tesseract_backend_afkj_popup.py:29
↓ 2 callers
Method
_get_device
(self)
src-tauri/src-python/adb_auto_player/ocr/qwen2vl_backend.py:54
↓ 2 callers
Method
_get_fallback
(self)
src-tauri/src-python/adb_auto_player/ocr/qwen2vl_backend.py:47
↓ 2 callers
Method
_get_game_module
Return the game's module name (segment after 'games' in module path).
src-tauri/src-python/adb_auto_player/game/_base.py:244
↓ 2 callers
Method
_group_by_similarity
Cluster names into groups where each pair is fuzzy-similar.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_names.py:91
↓ 2 callers
Method
_handle_arcane_labyrinth
Handle Arcane Labyrinth.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/arcane_labyrinth.py:208
↓ 2 callers
Method
_handle_battle
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/sunlit_showdown.py:72
↓ 2 callers
Method
_handle_battle
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/frostfire_showdown.py:154
↓ 2 callers
Method
_handle_battle_screen_pass
Handles a single pass through formations. Args: use_suggested_formations: if True copy formations from Records skip_m
src-tauri/src-python/adb_auto_player/games/afk_journey/base.py:220
↓ 2 callers
Method
_handle_dura_screen
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/duras_trials.py:79
↓ 2 callers
Method
_handle_enter_button
Handle entering the labyrinth.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/arcane_labyrinth.py:334
↓ 2 callers
Method
_handle_gesture_quest
Open emote menu and click the appropriate quest gesture.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/quests.py:346
↓ 2 callers
Method
_handle_guide_popup
Close out of guide popups.
src-tauri/src-python/adb_auto_player/games/afk_journey/base.py:810
↓ 2 callers
Method
_handle_missing_ingredient_craft
Craft a missing ingredient via the grey action-button sub-flow. Flow: 1. Tap the grey action button -> a popup like the missing-r
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/homestead_helper.py:566
↓ 2 callers
Method
_handle_restart
(self, templates: list[str])
src-tauri/src-python/adb_auto_player/games/afk_journey/navigation.py:190
↓ 2 callers
Method
_handle_single_stage
Handles a single stage of a battle. Returns: bool: True if the battle was successful, False if not.
src-tauri/src-python/adb_auto_player/games/afk_journey/base.py:615
↓ 2 callers
Method
_i_am_in_the_fishing_screen
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/minigames/fishing.py:160
↓ 2 callers
Method
_is_guild_members_option
(self, text: str)
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_rankings.py:342
↓ 2 callers
Method
_is_on_legend_trial_select
Check if on Legend Trial tower select (Season or non-Season).
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/legend_trial.py:184
↓ 2 callers
Method
_is_valid_activeness_name
Return True only when `text` looks like a real player name.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_activeness.py:128
↓ 2 callers
Method
_level_up_guitar_girl
(self)
src-tauri/src-python/adb_auto_player/games/guitar_girl/guitar_girl.py:92
↓ 2 callers
Method
_load_synonyms
Load hero synonyms from disk (user-downloaded version preferred).
src-tauri/src-python/adb_auto_player/games/afk_journey/services/hero_scanner.py:1102
↓ 2 callers
Function
_make_screenshot
(height: int = 1920, width: int = 1080)
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:272
↓ 2 callers
Method
_make_sys_mocks
Return sys.modules patches for torch and transformers. Args: proc_cls: mock to use as Qwen2VLProcessor. model_cls: mo
src-tauri/src-python/tests/ocr/test_qwen2vl_backend.py:73
↓ 2 callers
Function
_model_gen_command_error
()
src-tauri/src-python/adb_auto_player/__main__.py:532
↓ 2 callers
Method
_navigate_to_guild_hall
Tap the Guild tab in the bottom nav and wait for the hall view to load. Returns True if the Guild Hall is reached, False if the tab is not fo
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_activeness.py:20
↓ 2 callers
Function
_normalize_numeric_value
Normalize numeric value to 0.0-1.0 range. Args: value: Numeric value Returns: Normalized value (0.0-1.0) Raises:
src-tauri/src-python/adb_auto_player/models/confidence_value.py:128
↓ 2 callers
Method
_open_guitar_girl_tab
(self)
src-tauri/src-python/adb_auto_player/games/guitar_girl/guitar_girl.py:140
↓ 2 callers
Method
_parse_rankings_bbox
Run the bounding-box OCR path. Returns (parsed_rows, debug_rows, ocr_results).
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_rankings.py:651
↓ 2 callers
Function
_pick_best
(names: list[str])
src-tauri/src-python/scripts/test_activeness_ocr.py:776
↓ 2 callers
Method
_pip_install
Install packages into an isolated extras directory. Uses ``--target`` instead of the main venv so that already-loaded .dll/.pyd files
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_setup.py:167
↓ 2 callers
Method
_preprocess_screenshot_for_popup
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/popup_message_handler.py:355
↓ 2 callers
Method
_re_enter_battle_for_duras
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/base.py:113
↓ 2 callers
Method
_release_hat
(self, axis)
src-tauri/src-python/adb_auto_player/device/adb/blue_stacks_virtual_gamepad.py:189
↓ 2 callers
Method
_release_hat
Release D-pad.
src-tauri/src-python/adb_auto_player/device/adb/xiaomi_joystick.py:237
↓ 2 callers
Method
_run_parse
( self, bot, is_supreme_arena: bool, is_first_frame: bool, qwen_rows, bbox_rows )
src-tauri/src-python/tests/games/afk_journey/mixins/test_guild_member_scan.py:343
↓ 2 callers
Method
_scale_x
(self, x: int)
src-tauri/src-python/adb_auto_player/device/adb/blue_stacks_virtual_touch.py:80
↓ 2 callers
Method
_scale_y
(self, y: int)
src-tauri/src-python/adb_auto_player/device/adb/blue_stacks_virtual_touch.py:83
↓ 2 callers
Method
_scan_guild_activeness
Navigate to the Guild Members screen and scan all member activeness.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_activeness.py:565
↓ 2 callers
Method
_scan_rankings_for_current_date
Collect all (rank, name) observations, then canonicalize.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_rankings.py:150
↓ 2 callers
Method
_scan_supreme_arena
Scan Supreme Arena rankings, filter by Guild Members, and export results.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_rankings.py:841
↓ 2 callers
Method
_select_legend_trials_floor
(self)
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/legend_trial.py:162
↓ 2 callers
Method
_set_guild_members_filter
(self, ocr_backend: OCRBackend)
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_rankings.py:350
↓ 2 callers
Method
_should_use_time_limit
Determine if chunked streaming should be used based on emulator brand.
src-tauri/src-python/adb_auto_player/device/adb/device_stream.py:108
↓ 2 callers
Method
_start_battle
Begin battle. Returns: bool: True if battle started, False otherwise.
src-tauri/src-python/adb_auto_player/games/afk_journey/base.py:481
↓ 2 callers
Method
_start_game_if_not_running
(self)
src-tauri/src-python/adb_auto_player/games/guitar_girl/guitar_girl.py:134
↓ 2 callers
Method
_strip_diacritics
Replace non-ASCII diacritics with their base ASCII equivalents.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_names.py:273
↓ 2 callers
Method
_to_visual_latin
Map Cyrillic characters to visually similar Latin homoglyphs.
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/_guild_scan_names.py:206
↓ 2 callers
Function
_validate_percentage_value
(value: float, original: str | int | float)
src-tauri/src-python/adb_auto_player/models/image_manipulation/crop_value.py:98
↓ 2 callers
Method
_wait_and_tap_template
Wait for template to appear and tap. Args: template: Template path description: Template description (for logging)
src-tauri/src-python/adb_auto_player/games/afk_journey/mixins/titan_reaver_proxy_battle.py:217
↓ 2 callers
Method
as_adb_shell_str
Return coordinates as a string formatted for adb shell commands.
src-tauri/src-python/adb_auto_player/models/geometry/coordinates.py:31
↓ 2 callers
Method
assert_frame_and_input_delay_below_threshold
Assert frame and input lag are below acceptable thresholds. Intended for bots that need fast input/reaction time. Args:
src-tauri/src-python/adb_auto_player/game/_lifecycle_mixin.py:68
← previous
next →
201–300 of 1,693, ranked by callers