Add the wave alphabet, swipe up and hold, and the transparent fading drawer
PRD M3 (AD-4 to AD-6, AD-17), plus three look changes the owner asked for. Wave alphabet - WaveAlphabetView (flexera/src): a strip of letters on the drawer's end edge showing only letters that have apps. Touching it jumps the list to that letter with a haptic tick; the letters near the finger bulge away from the edge and reach further the further in the finger moves; the selected letter is enlarged. - The strip reserves the edge from the system back gesture and tells the drawer not to drag closed under a scrub. - Launcher3's scroll bar is hidden by default and no longer takes touches while hidden. Swipe up and hold - NoButtonNavbarToOverviewTouchController reuses its motion-pause detector on an ordinary swipe up from the home screen: a pause finishes opening the drawer and hands the same touch to the alphabet. Swipes that start on the navigation bar keep their stock meaning. Look - The drawer fades in over the home screen instead of sliding up from the bottom. - No background panel or drag handle (drawer opacity default 0); the wallpaper keeps Lawnchair's blur and scrim. - App names, letter headers and alphabet letters are white with a soft shadow. Tested on the Android 17 emulator: quick swipe opens the drawer, edge scrub jumps the list, swipe up and hold opens the drawer and scrubs from mid-screen, Back closes it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
76c3603693
commit
9f66d06f4d
12 files changed
+569
-8
No files matched your search
@@ -372,6 +372,9 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
|
||||
|
||||
updateBackgroundVisibility(mActivityContext.getDeviceProfile());
|
||||
mSearchUiManager.initializeSearch(this);
|
||||
|
||||
// Flexera Launcher: the wave alphabet on the drawer's edge.
|
||||
app.flexera.drawer.FlexeraDrawer.attachWaveAlphabet(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -515,6 +518,11 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
|
||||
|
||||
public boolean shouldContainerScroll(MotionEvent ev) {
|
||||
BaseDragLayer dragLayer = mActivityContext.getDragLayer();
|
||||
// Flexera Launcher: a touch on the wave alphabet scrubs the list; it must not drag the
|
||||
// whole drawer closed.
|
||||
if (app.flexera.drawer.FlexeraDrawer.isOverWaveAlphabet(this, dragLayer, ev)) {
|
||||
return false;
|
||||
}
|
||||
// If the MotionEvent is inside the search box, and the container keeps on receiving touch
|
||||
// input, container should move down.
|
||||
if (dragLayer.isEventOverView(mSearchContainer, ev)) {
|
||||
|
||||
Reference in new issue
Block a user