Repository navigation
2.20.0: the touch-only actions on a D-pad remote (#263) - #264
compot-dev wants to merge 3 commits into
Conversation
With the menu closed the remote now does what the gestures do: - a held OK, or Menu, is the long press: a screenshot in the single view, the selected cell's sound on or off in multi-view; OK opens the menu on release, so that it can be held; - single view: hold Up / Down to zoom in and out (down to 1x resets it), a short arrow pans the zoomed picture; zoom, channel and page keys and + / - zoom in steps of 1.25x, about the centre of the screen; - multi-view: the arrows move a yellow selection frame over the cells (the first arrow shows it on the cell whose sound plays, or the first); it goes away after 4 s. RemoteKeys holds the key mapping and the zoom, pan and grid arithmetic, with unit tests. docs/usage.md and the three READMEs describe the keys. Checked with D-pad input only on an Android TV 16 emulator (single view and a 2x2 grid) and the key handling on Android 5.0.
PR Summary by QodoAdd D-pad access to zoom, screenshots, and multi-view audio
AI Description
Diagram
High-Level Assessment
Files changed (9)
|
Code Review by Qodo
1.
|
… Down release does not pan (Qodo on #264)
|
Both findings fixed in 2d57ead:
Local build in Docker as in CI: |
|
/review |
|
Code review by qodo was updated up to the latest commit 2d57ead |
…t gets no sound from the remote (Qodo on #264)
|
Both new findings fixed in c6719a0:
Local build in Docker as in CI: |
|
/review |
|
Code review by qodo was updated up to the latest commit c6719a0 |
Closes #263.
Four actions existed only as touch gestures, so a box with a D-pad remote could not reach them. With the menu closed the remote now does what the gestures do.
Keys (menu closed)
onKeyLongPressneeds the press tracked. An OK that closed the menu, or was pressed in it, opens nothing on release (the Save report: stats.json and the log as one file, from the app and from the debug page #207 case).RemoteKeysholds the key mapping and the zoom, pan and grid arithmetic (RemoteKeysTest).docs/usage.md("Gestures and keys", "Remote control", multi-view audio, screenshots), the three READMEs and the CHANGELOG describe it. Version 2.20.0 (a feature).Checks
compot/android), as in CI:testDebugUnitTest,lintDebug(no new findings),assembleRelease. APK +0.8 KB.input keyevent), a lab camera in the single view and a 2×2 grid:Pictures/OpenIPC/Screenshot_….pngand opens no menu;input keyeventand remain for a check on a box with a real remote.