Commit Graph
20743 Commits
Author SHA1 Message Date
Pun Butrachandcoderabbitai[bot] 5cb2e99626 fix: Reimplement legacy shortcut path (#7027)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-08-08 16:48:49 +00:00
Pun Butrach a9d0bac2b5 feat: Richer haptic feedback (#7121)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-08-08 22:30:20 +07:00
John Andrew Camu 99a4e77713 feat: implementation scroll dock page (#7120)
- Closes: #3491
2026-08-08 18:04:55 +08: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
Pun Butrach 6bcfd31a70 feat: Allow creation of item outside of workspace (#7110)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-08-05 23:50:54 +07:00
Pun Butrach 8cb7ea8ec4 revert: fix: Align widget visually to the icon (#7095) 2026-08-05 17:54:07 +07:00
Pun Butrach 2de2036f4d fix: Avoid calling file related to Protolog under S (#7090)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-08-01 16:28:19 +07: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
Pun Butrach beeb036ff7 fix: Align widget visually to the icon (#7047)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-07-22 22:46:06 +07:00
Pavel VolkovandCursor de5da81463 fix: Close drawer folders when dismissing All Apps via sheet edge (#6999)
Tapping the upper edge of the All Apps bottom sheet goes to NORMAL
without FLAG_CLOSE_POPUPS, so folders opened from the drawer stayed
visible on the workspace.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 09:31:48 +08:00
Pavel VolkovandCursor c32af3c8c5 fix: Clear stuck workspace blur after drawer/folder close (#6998)
Depth blur could leave RenderEffect on workspace/hotseat when SurfaceControl apply returned early, then setDepth(0) skipped re-apply. Always sync view blur with depth and force re-apply when settling to NORMAL; also clear leftover effects on folder dismiss.

blurWorkspaceDepthTargets can run on API 30; setRenderEffect and
createBlurEffect require API 31 and would throw on R.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 09:26:23 +08:00
Pavel VolkovandCursor f2897a16b4 fix: Respect folder color preference in spring folder animations (#6994)
Expressive folder animations ignored folderColor and always used the theme charcoal background. Resolve preview/open colors from prefs in both animation paths, and return after applying a custom color.

Reveal the first-page preview before showing the folder icon again, instead of sliding page previews for ~400ms after close.

Address CodeRabbit nit: the field was never populated after dropping the post-close slide animation.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 19:10:48 +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
Pavel VolkovandCursor 2b24fe9966 fix: Apply icon packs to work/private profile apps (#6990)
* fix: Apply icon packs to work/private profile apps

Resolve components via ActivityInfo/LauncherApps instead of
getLaunchIntentForPackage, and harden icon customization for
non-current users. Also restore work badges when themed icons are off.

Fixes #5202
Fixes #4988

Co-authored-by: Cursor <cursoragent@cursor.com>

* refactor: Cache getActivityList result in SelectIconPreference

Avoid a redundant LauncherApps IPC when resolving work/private app labels.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 13:47:14 +08:00
John Andrew Camu 6741c3416d feat: Add option to have two-row dock (#6979)
- Closes: #3216
2026-07-11 16:58:57 +08:00
John Andrew Camu 0677ba2420 fix: crashes on android 8 (#6978) 2026-07-11 14:26:02 +08:00
Pun Butrach c32bd9f605 fix: Guard wallpaper hint with API check to prevent crash (#6976)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-07-10 18:09:59 +07:00
Pun Butrach c3d1ba01f9 fix: Compose QSB does not relinquish space when it's disabled (#6960)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-07-09 15:25:54 +00:00
TheSuperDragon e01c47efcf feat: Animate icon swipe gestures (#6964)
This commit improves the feedback of the icon swipe gestures by providing visual animations on swipe, similar to Lawnchair Legacy.
2026-07-06 19:26:51 +00:00
Pun Butrach 1e240d94e4 feat: Vertical icon swipe gesture (#6958)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-07-05 12:25:18 +00:00
266c07c808 feat: Improve Lawnchair grid specifications (#6583)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: TheSuperDragon <70206496+superdragonxd@users.noreply.github.com>
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-06-28 08:37:50 +00:00
Branden GhenaandPun Butrach 61fb6decdf fix: align home screen icons based on text size (#6921)
* Align icons based on text size

* chore: Apply suggestions

---------

Co-authored-by: Pun Butrach <pun.butrach@gmail.com>
2026-06-28 05:40:53 +00:00
x-JOCandClaude Opus 4.8 3e1013188f fix: preserve item positions and widget sizes on grid resize (#6873)
When the workspace/hotseat grid changes, the migration re-flowed every item
from the top-left and shrank widgets to their min span. This keeps the user's
layout intact:

- Items are deferred to their original screen instead of being packed onto the
  earliest screens.
- Each item stays at its original cell and size when it still fits in the new
  grid and the spot is free.
- Only items that no longer fit fall back to automatic placement.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 19:17:22 +07: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
John Andrew Camu 564a4d74b1 fix: address double tap gesture (#6905)
- Closes: #6889
2026-06-20 12:34:25 +08: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
x-JOCandClaude Opus 4.8 5de4bb09fa feat: Nova-style padding controls (#6872)
Adds user-configurable spacing controls (similar to Nova Launcher):

- Workspace padding: horizontal & vertical sliders (Home screen > Layout).
  Horizontal factor is applied to the source margin so cells fill the
  freed space; vertical factor preserves the dock reservation so the last
  row never overlaps the hotseat.
- Widget padding: slider (Home screen > Widgets), 0% removes the forced
  padding, up to 200%.
- App drawer top padding slider (App drawer > Grid).
- Widget resize: respect the overridden resize mode so force/unlimited
  resize shows handles even for widgets whose provider limits resizing.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 01:51:23 +08:00
Pun Butrach 8e75b4bd73 feat: Promote icon swipe gesture to stable (#6821)
* fix: Reimplement and only handle touch target on configured app

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

* feat: Promote to stable

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

* fix: Prevent app icons from conflicting with edit mode state

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

* fix: Address reviewer

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

* refactor: Make icon swipe settings enable by mandatory default

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

---------

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-06-09 12:26:14 +07:00
Pun Butrach 2d5fd2b7cd fix: Custom notification dot colour not being applied (#6851)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-06-07 20:21:57 +07:00
Pun Butrach 653f362baf fix: Find the correct folder size depending on which parent owned them (#6850)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-06-07 19:35:34 +07: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
John Andrew Camu 6b1b8c863a fix(bug) folder dismissing during screenshot gesture (#6792) 2026-05-29 13:10:10 +08:00
John Andrew Camu 8f09ab7e78 feat(workspace): edit-mode page reorder, default home, and page strip (#6809)
* feat: initial implementation reorder of workspace

* fix(edit-mode): page strip 48dp touch target and label refresh on reorder
2026-05-29 11:23:54 +08:00
Pun Butrach 08e7f6ef44 fix: Hide destructive popup from locked home screen (#6774)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-05-20 15:32:38 +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
Pun Butrach 957568db28 fix: Use EdgeEffectCompat for fling effect (#6691) 2026-04-25 15:40:54 +00:00
Pun Butrach 3acaf1d806 fix: Don't call archive status check on low APIs (#6687) 2026-04-24 19:12:45 +07:00
Pun Butrach c5746e7922 refactor: Remove workaround under legacy TODO comment (#6645) 2026-04-16 12:22:42 +00:00
Mattwmaster58 37c13f7974 fix: Extend LawnchairApp with LauncherApplication (#6629) 2026-04-16 19:04:28 +07:00
wellorbetter 85088c9a50 fix: Reimplement folder label in dock toggle (#6642) 2026-04-16 18:30:32 +07:00
SuperDragonXD b7c9511cad feat: Port shortcut support for triggering gestures (#6485) 2026-04-13 12:53:33 +08:00
SuperDragonXD b57b1e21f9 feat: Display Lawnchair at the top of the widget list (#6628) 2026-04-13 10:33:20 +08:00
MrSluffy 64e20c90cc fix: clear pressed icon state on focus/launch
Add handling to fully clear press visuals when focus returns or a launch transition ends. BubbleTextView now overrides onWindowFocusChanged to call a new clearPressedIconState() method, which clears framework pressed/stay-pressed state and resets the icon tap scale. Launcher was updated to call the new method reference instead of only clearing stay-pressed, ensuring icons match neighbors and covering ordering gaps when resume callbacks run before window focus is restored.
2026-04-03 09:32:56 +08:00
MrSluffy 657f388368 fix: reset icon scale and press state in BubbleTextView
Clear touch/pressed background and reset icon scale when recycling BubbleTextView instances to prevent inconsistent icon sizes (e.g. in All Apps) — references issue #6575. Replace setScaleY(1) with setReorderBounceScale(1f) to restore the bounce scale, and call FastBitmapDrawable.resetScale() when assigning an icon so drawable-specific scale is cleared before setting bounds.

- Closes: #6575
2026-04-03 00:26:05 +08:00
MrSluffy 4e617999ff fix(folder): Restore scrim and workspace scale on folder dismiss
Ensure scrim alpha/color and workspace/hotseat scale are reset when a folder is dismissed without running the close animation (e.g. launching an app). Adds restoreLauncherAfterFolderDismissed() and calls it during folder close to restore the ScrimView alpha/colors and set SCALE_PROPERTY to 1 on the workspace and hotseat. Also imports SCALE_PROPERTY and ScrimView.
2026-04-03 00:07:46 +08:00
MrSluffy dfe60b6729 fix(folder): Adjust folder height and scrim handling
Compute folder height from occupied rows and ensure scrim is correctly restored after close. Added CellLayout.getDesiredHeightForOccupiedRows and updated FolderPagedView.getDesiredHeight to use per-page occupied-row heights so folders don't leave empty space above the footer. Set footer translationY to 0 in FolderOpenCloseAnimationListener. Refactored FolderScrimAnimationListener to restore scrim via setScrimColors using the Launcher state (avoids lingering black dim layer) and pass Launcher into the listener. Added an ALL_APPS guard in FolderSpringAnimatorSet to avoid replacing the drawer scrim (fixes disappearing list background)

- Closes: #6551
2026-04-02 23:28:47 +08:00
wellorbetter 892bff907a fix: apply themed icons to app drawer folder preview items (#6568) 2026-03-30 16:05:06 +07:00
Max! cfc529d3ea fix(widget): handle IllegalStateException when fetching widget previews for locked profiles (#6531) 2026-03-28 20:46:16 +08:00