Commit Graph
1762 Commits
Author SHA1 Message Date
TMCandClaude Fable 5.2 3cb262617c Search field scrolls with the list; magnifier on the alphabet; a chosen letter's group goes to the middle
Three more requests from the owner on 12 November 2026.

Search field
- The field scrolls away with the list and comes back at the list's top, so the list has
  the whole height once it is scrolled. The field is not turned into a list row. The list
  now starts at the top of the drawer instead of under the field and keeps the field's room
  as top padding (ActivityAllAppsContainerView.replaceAppsRVContainer and
  AdapterHolder.applyPadding); FlexeraDrawer.moveSearchFieldWithList shifts the field by as
  much as the list has scrolled, measured from the first row, and cuts it at the same line
  the rows are cut at, the lower edge of the status bar.
- With work tabs, a hidden or a floating search field, and during a search, nothing changes.

Alphabet
- A magnifier above the letters stands for the search field. Scrubbing to it jumps the list
  to its top; the bubble shows the magnifier. The stretch of edge kept for the strip grows
  by one place for it.
- The strip measures its room from where the list's rows start, not from the list's top.

Chosen letter
- A scrub brings the letter's group to the middle of the screen, where the thumb is,
  instead of to the top: the group's middle on the list's middle, a long group's header no
  higher than 22% of the height. At either end of the list the list stops at its end, so
  the first groups stay at the top and the last ones rest at the bottom.

Checked on the Android 17 emulator: scrolling by hand, scrubs to a middle letter, the last
letter and the magnifier, typing a search and leaving it, reopening after a scrub, the hold
and edge gestures, and a row's long-press menu.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 09:25:48 +01:00
TMCandClaude Fable 5.2 9f66d06f4d 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>
2026-11-11 22:12:40 +01:00
TMCandClaude Fable 5.2 76c3603693 Turn the app drawer into a one-column list with letter headers
PRD M2 (AD-1 to AD-3, AD-7, AD-8, HS-7). The drawer keeps Launcher3's adapter, sorting,
live updates, click, long-press menu and drag; only what differs from the grid is new.

- FlexeraDrawer (flexera/src): column count, row styling, and a letter-header adapter item
- flexera/res/layout/all_apps_icon.xml overrides Launcher3's grid cell with a horizontal
  row (46dp icon, name beside it, 64dp tall)
- AlphabeticalAppsList adds a header item at the start of each letter group and points
  the fast-scroll section at it; Private Space keeps its own framing
- BaseAllAppsAdapter creates and binds the header view type and styles rows
- DeviceProfileOverrides forces one drawer column
- DeviceProfile.getAllAppsIconStartMargin returns the row padding for a one-column
  drawer, which keeps the search bar full width
- Suggested apps row above the list is off by default

Tested on the Android 17 emulator: scrolling, tap to launch, long-press menu, drag to the
home screen, and live removal and return of an app all work. The right-edge fast
scroller did not respond to scripted drags and still needs a hand test.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 21:25:41 +01:00
B Vishal ChandrakanthandCopilot ce82ac1248 feat: add tilt to swipe pages for home screen rearrangement and fix app drawer gap (#7500)
* feat and fix : Add Tilt to swipe pages setting

Replace the multi-level Motion controls with a single Home screen toggle named “Tilt to swipe pages,” positioned below Infinite scrolling. Update the description to explain that tilting the phone moves between pages while rearranging apps or widgets, and make the pan controller use the toggle directly while retaining the existing preference key for compatibility. Fix for "[BUG] Large empty gap between app drawer search bar and app grid when app suggestions are disabled
 #7490"

* EDITS : Coderabbit suggested edits for PR #7500

* Coderabbit suggested changes (2) #7500

* Update gradle-daemon-jvm.properties

* Remove unrelated Gradle toolchain changes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Add docstrings for pan-to-move and all apps header changes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Add a tilt sensitivity control

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-09 20:59:50 +08:00
zamyatinmn 43a21b43d7 fix: keyboard closing when clearing app search (#7353) 2026-10-02 09:12:03 +08:00
John Andrew Camu 494399a699 fix: address intermittent unresponsive drawer search and stale results (#7347)
- closes #7325

* chore: apply suggestions
2026-09-27 10:57:33 +08:00
Pun Butrach 44950791f3 fix: Inconsistent L3 theming around work pfp and widget selector (#7185) 2026-08-20 14:13:08 +00:00
Pun Butrach 142cbea797 feat: Folder allapps shortcut popup (#7113)
* feat: Record folder entry ID

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

* feat: Show allapps folder popup

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

* chore: Update comment

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

---------

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-08-08 12:40:27 +08:00
TheSuperDragon 83a1bd1a3f feat: Improve drawer search animations and state (#7054)
This commit improves the app drawer search state system to do the following things to match Pixel Launcher:

* Activate zero state only if these conditions are met:
  - The drawer search bar is tapped
  - The dock search bar is tapped, and matchHotseatQsbStyle is on or AppSearch is the current provider
  - The query is cleared
* Improves the search bar animation state to only remove the background and padding when the search bar has focus or has query
* Fixes the search bar end icon animation on tap
* Adds a back state handler in LawnchairLauncher so when back button is pressed, it exits search instead of exiting the app drawer, matching the intention of shouldBackExitSearch.
2026-07-30 13:19:58 +08:00
Pavel VolkovandCursor 713b2661fa fix(allapps): Hide work/private badges on their drawer tabs (#6992)
User badges are redundant when the Work tab or Private Space section
already establishes the profile context. Keep badges on home and search.

Guard skipUserBadge with hasSearchResults() so work/private badges
remain visible when search results are shown.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 13:51:30 +08:00
Pavel VolkovandCursor b0adb1d918 fix: Tighten app drawer spacing around search and tabs (#6991)
Remove the double status-bar inset and leftover AOSP header padding so
search, personal/work tabs, and the app grid sit at even gaps. Also
collapse reserved space when the drawer search bar is hidden.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 13:49:52 +08:00
Pun Butrach 66a7941dac feat: Show clone profile app on allapps (#6909)
* feat: Show clone profile app on allapps

Change-Id: 6a37d0c8b05c9e9fe912401e
Change-Summary: Show cloned app in launcher
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

* chore: Add Lawnchair comment to AOSP file

Change-Id: 6a37d0c8b05c9e9fe912401e
Change-Summary: Show cloned app in launcher
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

* chore: Apply suggestions

Change-Id: 6a37d0c8b05c9e9fe912401e
Change-Summary: Show cloned app in launcher
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

---------

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-06-22 21:17:41 +07:00
Pun Butrach 83658ce7eb perf: Cache PreferenceManager2 in memory (#6897)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-06-19 18:21:55 +00:00
Pun Butrach 3e52c8a5ab fix: Clear two layers stale state from highlight decorator (#6819)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-05-31 13:58:13 +00:00
Pun Butrach 0bd70f3bd0 fix: Link app drawer background opacity to correct colors (#6636)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-05-10 20:05:50 +08:00
SARRAF 7aa385b7e3 fix: Make folders in app drawer follow row height setting (#6713) 2026-05-01 11:21:55 +08:00
Mattwmaster58 b4b8f2461a fix: Trim whitespace in app drawer search query (#6538) 2026-03-28 20:45:17 +08:00
Pun Butrach 076b1ea0de fix: Missing search result and focus decorator
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-03-12 16:12:42 +07:00
Pun Butrach 265fa565f8 fix: Consistent haptic across every Android version
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-03-12 14:29:38 +07:00
Yasan Glass 4d022f9bd2 feat: App drawer haptic feedback toggle (#3439) (#6436)
* Fix `SuggestionsPreference` item being added with no content

* Add toggle for drawer haptic feedback (#3439)
2026-02-28 08:50:09 +01:00
42b39904f9 feat: Add work profile customization and fix issues (#6167)
* Fix work profile unpause authentication prompt

Skip credential challenge when enabling/disabling work profile by passing null Intent parameter to requestQuietModeEnabled(). This prevents password/biometric prompts for secure folders when toggling work profile state.

- Use 3-parameter requestQuietModeEnabled() with null Intent on Android P+
- Fallback to 2-parameter version for older Android versions
- Resolves authentication prompt issue when unpausing work profile

* Fix work profile pause/unpause without authentication prompts

* Fix work profile state detection on initial load

Fixed bug where work profile quiet mode flag was not set correctly on initial app load when multiple user profiles exist. Changed direct assignment (=) to OR assignment (|=) to preserve quiet state across all work profiles.

This ensures FLAG_WORK_PROFILE_QUIET_MODE_ENABLED is set properly both on initial load (LoaderTask) and during runtime pause/unpause events (PackageUpdatedTask).

* Add work profile tab customization features

- Add workProfileTabBackgroundColor preference for selected tab color
- Add workProfileTabContainerBackground toggle for scroll protection
- Update DrawableTokens to use custom colors from preferences
- Add UI controls in App Drawer preferences
- Control tab background visibility on scroll

Features:
1. Custom color picker for selected work/personal tab button
2. Toggle to show/hide background protection when scrolling

* Fix work profile state detection bug

- Query UserManager.isQuietModeEnabled() directly for real-time state
- Call updateUserQuietMode() to keep cached state synchronized
- Fixes stale quiet mode state causing incorrect UI display

Root cause: LoaderTask was using cached UserManagerState values that
could become stale if work profile state changed between initialization
and app loading.

* Fix work profile unpause authentication prompt

Skip credential challenge when enabling/disabling work profile by passing null Intent parameter to requestQuietModeEnabled(). This prevents password/biometric prompts for secure folders when toggling work profile state.

- Use 3-parameter requestQuietModeEnabled() with null Intent on Android P+
- Fallback to 2-parameter version for older Android versions
- Resolves authentication prompt issue when unpausing work profile

* Fix work profile pause/unpause without authentication prompts

* Fix work profile state detection on initial load

Fixed bug where work profile quiet mode flag was not set correctly on initial app load when multiple user profiles exist. Changed direct assignment (=) to OR assignment (|=) to preserve quiet state across all work profiles.

This ensures FLAG_WORK_PROFILE_QUIET_MODE_ENABLED is set properly both on initial load (LoaderTask) and during runtime pause/unpause events (PackageUpdatedTask).

* Add work profile tab customization features

- Add workProfileTabBackgroundColor preference for selected tab color
- Add workProfileTabContainerBackground toggle for scroll protection
- Update DrawableTokens to use custom colors from preferences
- Add UI controls in App Drawer preferences
- Control tab background visibility on scroll

Features:
1. Custom color picker for selected work/personal tab button
2. Toggle to show/hide background protection when scrolling

* Fix work profile state detection bug

- Query UserManager.isQuietModeEnabled() directly for real-time state
- Call updateUserQuietMode() to keep cached state synchronized
- Fixes stale quiet mode state causing incorrect UI display

Root cause: LoaderTask was using cached UserManagerState values that
could become stale if work profile state changed between initialization
and app loading.

* Fix spotless formatting in DrawableTokens.kt

* fix: cleanup

---------

Co-authored-by: Ankit Kushwaha <ankkushwaha@microsoft.com>
Co-authored-by: Pun Butrach <pun.butrach@gmail.com>
2026-02-03 23:10:45 +07:00
Pun Butrach 270030e5b1 fix(post-clean): Cleanup mixed branch status
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 22:36:39 +07:00
Pun Butrach 9b90822395 fix: Disable material expressive folder expansion animations 2026-01-10 20:51:07 +07:00
Abhishek Sharma 5f3a03f4fb feat: Add option to clear home screen in settings (#6125)
Signed-off-by: abhixv <abhi.sharma1@hotmail.com>
2026-01-10 20:51:01 +07:00
Pun Butrach 0e8b200bab fix: Just make submodule stay the same please intellj 2026-01-10 20:50:12 +07:00
Pun Butrach 150f7f341d fix: Use Lawnchair theming colour for allapps 2026-01-10 20:50:09 +07:00
Pun Butrach edfd0baad6 fix: Android 14/15 crash 2026-01-10 20:49:55 +07:00
Pun Butrach d36845897b feat: Better At-a-Glance perceptive wallpaper colour luminance detection 2026-01-10 20:49:46 +07:00
Pun Butrach 2e76c99dad fix: Conflict incoming changes from 15-dev 2026-01-10 20:49:12 +07:00
Pun Butrach f4c7dabae0 feat: Allow theming of Expressive allapps
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:48:43 +07:00
Pun Butrach d5c883e0c6 feat: Update Google Fonts listing to 25102025
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:48:41 +07:00
Pun Butrach 7085320f72 fix: Opacity being set at incorrect value
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:48:39 +07:00
Pun Butrach 5a2404b153 feat: Reimplement Allapps opacity configuration
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:48:39 +07:00
Pun Butrach accc3e8a10 feat: Reimplement Caddy and App drawer folder
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:48:39 +07:00
Pun Butrach 63db7f3218 revert: Don't update dependency to avoid cache invalidation and dagger (in)invalidation for now
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:48:37 +07:00
Pun Butrach 11f7abcb66 chore: Cleanup, and hidden feature logged
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:48:25 +07:00
Pun Butrach 69b334315b docs: Snapshot 10 2026-01-10 20:48:21 +07:00
Pun Butrach 7a5699e721 fix: A lot of stuff 2026-01-10 20:48:21 +07:00
Pun Butrach 0a446431eb build: SNAPSHOT 0 (Draft) 2026-01-10 20:47:59 +07:00
Pun Butrach 3399240799 fix: Assume flags enableMovingContentIntoPrivateSpace is false when NCDFE or CNFE on Android 16 devices
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:54 +07:00
Pun Butrach 99a3b91073 Improve Private Space implementation on A15
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:46 +07:00
Pun Butrach 18a63ffbf7 fix: Private Space crashes on first workspace launch
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:46 +07:00
Pun Butrach 76a8131262 Fix predictiveBack NSME
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:47 +07:00
Pun Butrach bfb2be39eb Fix bugs with A16/A15 devices
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:47 +07:00
Pun Butrach b67168f737 Allocate insane memory just for CI
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:44 +07:00
Pun Butrach dd4a08be61 Merge tag 'android-16.0.0_r3' into 16-dev
Android 16.0.0 Release 3 (BP3A.250905.014)

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:04 +07:00
SuperDragonXD dd786afa4b fix(allapps): Hide app drawer folders in work/private profiles (#6002)
Prevents app drawer folders from being displayed within the work or private space profiles to avoid state complexity.
2025-10-20 15:21:33 +08:00
Chaikew 5635846e0d feat(ui): Add toggle to disable search bar background in app drawer (#5934)
* feat(ui): Add toggle to disable search bar background in app drawer

* Fix double opacity on the Search Bar's background

- Before, the Search Bar added another -possibly transparent- layer on top of the already existing app drawer background.
- This adds a toggle to disable the double-opacity
- It is made so it is non regressive

Fixes #4158

* style(strings): Fixed inconsistency
2025-10-09 15:09:47 +08:00
SuperDragonXD 47cce0d7a3 feat(search): improve empty search results UX 2025-07-29 17:55:41 +08:00
Brandon Dayauon d0937610f9 Revert "Remove ScrimView's drawing controller when resetting All Apps."
This reverts commit 288006fe11bdaec4bd229999619dd7097806620a.

Reason for revert: b/428195031

Bug: 426397329
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f9c3fd3eba6150092e2b1867428e0e5744af00c3)
Merged-In: I58b58e35276a57ffe2e8d9a1f8c916e5d1be9eb0
Change-Id: I58b58e35276a57ffe2e8d9a1f8c916e5d1be9eb0
2025-07-01 20:10:32 -07:00