feat: backport HeliBoard QoL features — HCESAR, edge-scroll, swipe-to-hide, HW-keyboard toolbar (#74)#79
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the cheap, isolated HeliBoard QoL backports from the #74 deep-dive. 4 commits, one per feature.
Features
6c026a1e) — addsassets/layouts/main/hcesar.json+ registers it indonottranslate.xml(predefined_layouts+ display nameHCÉSAR; MAIN Latin layouts consult that registry, not just folder auto-discovery).e38a323a) —PREF_TOUCHPAD_EDGE_SCROLL(default off). Holding a finger in the outer 10% of the touchpad auto-repeats cursor movement with acceleration (HeliBoard'sEDGE_THRESHOLD_PERCENTAGE/TOUCHPAD_ACCELERATION_FACTORported into the fork'sTouchpadView.java, using view dims since the fork has no keyboard-coordinate touchpad).29519ede) —PREF_TOOLBAR_SWIPE_DOWN_TO_HIDE(default off). Swipe down on the strip/toolbar hides the keyboard (requestHideSelf); threshold dy>50dp & |dy|>|dx|, matching HeliBoard.683427a6) —PREF_SHOW_ONLY_TOOLBAR_WITH_HARDWARE_KEYBOARD(default off). With a HW keyboard attached, hides the on-screen key grid (mMainKeyboardFrame→ GONE inKeyboardSwitcher) while keeping the toolbar/strip.Each new pref follows the 5-file settings pattern + a
SettingsContainerTestcase.Verification
:app:testOfflineDebugUnitTest --tests "*SettingsContainerTest"→ BUILD SUCCESSFUL (compiles clean; all 3 new prefs registered).All defaults are off, so nothing changes for existing users unless toggled.