Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LYiHub/AR-Mahjong-Assistant-preview
/ functions
Functions
193 in github.com/LYiHub/AR-Mahjong-Assistant-preview
⨍
Functions
193
◇
Types & classes
42
↳
Endpoints
8
Method
onConfigured
app/src/main/java/com/example/ai_assist/MainActivity.kt:676
Method
onCreate
rayneo arsdk for android doc/Camera_sample_code/CameraActivity.kt:50
Method
onCreate
app/src/main/java/com/example/ai_assist/MainActivity.kt:104
Method
onCreate
app/src/main/java/com/example/ai_assist/MercuryApplication.kt:7
Method
onDestroy
app/src/main/java/com/example/ai_assist/MainActivity.kt:135
Method
onDisconnected
rayneo arsdk for android doc/Camera_sample_code/CameraActivity.kt:144
Method
onDisconnected
app/src/main/java/com/example/ai_assist/MainActivity.kt:569
Method
onError
rayneo arsdk for android doc/Camera_sample_code/CameraActivity.kt:150
Method
onError
app/src/main/java/com/example/ai_assist/MainActivity.kt:575
Method
onImageCaptured
app/src/main/java/com/example/ai_assist/viewmodel/ChatViewModel.kt:43
Method
onLooperPrepared
rayneo arsdk for android doc/Camera_sample_code/CameraActivity.kt:127
Method
onOpened
rayneo arsdk for android doc/Camera_sample_code/CameraActivity.kt:133
Method
onOpened
app/src/main/java/com/example/ai_assist/MainActivity.kt:559
Method
onPause
app/src/main/java/com/example/ai_assist/MainActivity.kt:130
Method
onResume
app/src/main/java/com/example/ai_assist/MainActivity.kt:123
Method
onStop
rayneo arsdk for android doc/Camera_sample_code/CameraActivity.kt:112
Method
onSurfaceReady
app/src/main/java/com/example/ai_assist/MainActivity.kt:414
Method
onSurfaceTextureAvailable
rayneo arsdk for android doc/Camera_sample_code/CameraActivity.kt:75
Method
onSurfaceTextureAvailable
app/src/main/java/com/example/ai_assist/MainActivity.kt:432
Method
onSurfaceTextureDestroyed
rayneo arsdk for android doc/Camera_sample_code/CameraActivity.kt:98
Method
onSurfaceTextureDestroyed
app/src/main/java/com/example/ai_assist/MainActivity.kt:439
Method
onSurfaceTextureSizeChanged
rayneo arsdk for android doc/Camera_sample_code/CameraActivity.kt:91
Method
onSurfaceTextureSizeChanged
app/src/main/java/com/example/ai_assist/MainActivity.kt:436
Method
onSurfaceTextureUpdated
rayneo arsdk for android doc/Camera_sample_code/CameraActivity.kt:103
Method
onSurfaceTextureUpdated
app/src/main/java/com/example/ai_assist/MainActivity.kt:440
Method
onTempleLongPress
app/src/main/java/com/example/ai_assist/service/RayNeoDeviceManager.kt:17
Method
onTempleLongPress
app/src/main/java/com/example/ai_assist/viewmodel/ChatViewModel.kt:48
Method
onTempleTouch
app/src/main/java/com/example/ai_assist/service/RayNeoDeviceManager.kt:16
Method
onTempleTouch
app/src/main/java/com/example/ai_assist/viewmodel/ChatViewModel.kt:47
Method
onVoiceResult
app/src/main/java/com/example/ai_assist/viewmodel/ChatViewModel.kt:39
Function
process_audio
( audio: UploadFile = File(...), session_id: str = Form(...) )
server/main.py:338
Method
readAudioLoop
app/src/main/java/com/example/ai_assist/utils/RayNeoAudioRecorder.kt:95
Function
read_root
()
server/main.py:137
Method
reset_visible_tiles
Reset the global visible tile counters to zero (for new round).
server/efficiency_engine.py:21
Method
setUp
(self)
tests/test_unstable_melds.py:12
Method
setUp
(self)
server/tests/test_tracker_integration.py:7
Method
setUp
(self)
server/tests/test_tracker_logic.py:5
Method
setUp
(self)
server/tests/test_chi_kan.py:11
Method
setUp
(self)
server/tests/test_mahjong_tracker.py:6
Method
setUp
(self)
server/tests/test_efficiency_simulation.py:15
Method
setUpImageReader
rayneo arsdk for android doc/Camera_sample_code/CameraActivity.kt:165
Method
setUpImageReader
app/src/main/java/com/example/ai_assist/MainActivity.kt:581
Method
setupCamera2
rayneo arsdk for android doc/Camera_sample_code/CameraActivity.kt:155
Method
setupCamera2
app/src/main/java/com/example/ai_assist/MainActivity.kt:488
Method
setupDependencies
app/src/main/java/com/example/ai_assist/MainActivity.kt:160
Method
setupUI
app/src/main/java/com/example/ai_assist/MainActivity.kt:183
Method
showCustomToast
app/src/main/java/com/example/ai_assist/MainActivity.kt:758
Method
showPhotoReview
app/src/main/java/com/example/ai_assist/MainActivity.kt:750
Method
sort_key
(item)
server/efficiency_engine.py:438
Method
startCamera
Camera2 Implementation
app/src/main/java/com/example/ai_assist/MainActivity.kt:410
Method
startSession
app/src/main/java/com/example/ai_assist/repository/ChatRepository.kt:20
Method
startVoiceRecording
app/src/main/java/com/example/ai_assist/service/RayNeoDeviceManager.kt:22
Function
start_session
(request: StartSessionRequest)
server/main.py:141
Function
startup_event
()
server/main.py:508
Method
stopVoiceRecording
app/src/main/java/com/example/ai_assist/service/RayNeoDeviceManager.kt:32
Method
takePhoto
app/src/main/java/com/example/ai_assist/MainActivity.kt:701
Method
takePhoto
app/src/main/java/com/example/ai_assist/service/RayNeoDeviceManager.kt:45
Method
takePhoto
app/src/main/java/com/example/ai_assist/viewmodel/ChatViewModel.kt:52
Method
test_ankan
(self)
server/tests/test_mahjong_tracker.py:95
Method
test_ankan_from_13_tiles
Test Ankan detection when transition is 13 tiles -> 11 tiles (Draw + Ankan combined). Delta H = -2.
server/tests/test_mahjong_tracker.py:109
Method
test_chi
(self)
server/tests/test_mahjong_tracker.py:62
Method
test_chi_ambiguity_resolution
(self)
server/tests/test_mahjong_tracker_advanced.py:9
Method
test_chi_ambiguity_resolution_other_side
(self)
server/tests/test_mahjong_tracker_advanced.py:67
Method
test_chi_opportunity
(self)
server/tests/test_chi_kan.py:14
Method
test_chi_sequence
(self)
server/tests/test_tracker_logic.py:36
Method
test_daiminkan
(self)
server/tests/test_mahjong_tracker.py:76
Method
test_discard
(self)
server/tests/test_tracker_logic.py:8
Method
test_discard
(self)
server/tests/test_mahjong_tracker.py:33
Method
test_draw
(self)
server/tests/test_mahjong_tracker.py:21
Method
test_full_game_flow
(self)
server/tests/test_tracker_integration.py:10
Method
test_fuzz_consistency
Fuzz Testing: Generate random hands and verify consistency between calculate_best_discard and _get_blind_ukeire.
server/tests/test_efficiency_simulation.py:86
Method
test_generate_lookup_with_melds
(self)
server/tests/test_integration_melds.py:67
Method
test_ghost_meld_rejection
Test Case 2: Ghost Meld Rejection (Too Many Tiles) Scenario: User has 13 tiles. Input: 13 hand + 3 meld (Ghost). Total 16.
tests/test_unstable_melds.py:47
Method
test_init_13
(self)
server/tests/test_mahjong_tracker.py:9
Method
test_init_14
(self)
server/tests/test_mahjong_tracker.py:16
Method
test_kakan
(self)
server/tests/test_mahjong_tracker.py:135
Method
test_kan
(self)
server/tests/test_tracker_logic.py:28
Method
test_kan_logic
(self)
server/tests/test_chi_kan.py:47
Method
test_missing_tiles_warning
Test Case 3: Missing Tiles (Occlusion) Scenario: User has 13 tiles. Input: 10 hand + 0 meld. Total 10. Expectation: W
tests/test_unstable_melds.py:69
Method
test_mixed
(self)
server/tests/test_tracker_logic.py:46
Method
test_partial_meld_rejection
Test Case 1: Partial Meld Detection Scenario: User has 13 tiles. Calls Pon (should have 10 hand + 3 meld). Input: 10 hand + 2
tests/test_unstable_melds.py:23
Method
test_pon
(self)
server/tests/test_tracker_logic.py:20
Method
test_pon
(self)
server/tests/test_mahjong_tracker.py:45
Method
test_pon_discard_integration
(self)
server/tests/test_integration_melds.py:7
Method
test_pon_with_incoming
(self)
server/tests/test_mahjong_tracker_advanced.py:86
Method
test_static_benchmarks_chinitsu
Test a known Chinitsu (Full Flush) shape.
server/tests/test_efficiency_simulation.py:27
Method
test_static_benchmarks_seven_pairs
Test Chiitoitsu (Seven Pairs).
server/tests/test_efficiency_simulation.py:58
Method
test_valid_pon
Test Case 4: Valid Pon (Control) Scenario: Hand 13 -> Hand 10 + Melds 3. Expectation: Success (PON).
tests/test_unstable_melds.py:89
Method
updateGameState
app/src/main/java/com/example/ai_assist/MainActivity.kt:205
Method
update_tile_count
Update the visible count for a specific tile index. Args: tile_idx: 0-33 index of the tile delta: Amount to c
server/efficiency_engine.py:25
Method
uploadAudio
app/src/main/java/com/example/ai_assist/repository/ChatRepository.kt:44
Method
useAppContext
app/src/androidTest/java/com/example/ai_assist/ExampleInstrumentedTest.kt:18
Method
writeWavHeader
app/src/main/java/com/example/ai_assist/utils/RayNeoAudioRecorder.kt:179
← previous
101–193 of 193, ranked by callers