Commit Graph
20729 Commits
Author SHA1 Message Date
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
Mattwmaster58 b4b8f2461a fix: Trim whitespace in app drawer search query (#6538) 2026-03-28 20:45:17 +08:00
Pun Butrach c7eb6d6a09 feat: Reimpl icon gesture
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-03-22 18:51:52 +07:00
Pun Butrach 6e6c2527ee fix: Don't force device rotation prefs to false on phone
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-03-22 18:35:37 +07:00
Pun Butrach 71baf75f34 fix: Leave Lawnchair settings view alone
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-03-21 02:50:48 +07:00
Pun Butrach 0ee2d22f16 fix: Don't use workspace scale on allapps
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-03-21 00:42:32 +07:00
Pun Butrach f21ac6f1fd fix: Pass preview IDP to preview renderer
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-03-20 20:57:30 +07:00
Pun Butrach 44dc0b11f0 feat: Fully reimplement customisation in IDP/DP
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

fix: Apply workspace page indicator early

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

fix: initGrid respect DBGridInfo

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-03-20 20:39:39 +07:00
Charlie Anderson 44a74dcc3d Fix 5th folder preview item appearing out of bounds
Bug: 430954461
Flag: com.android.launcher3.enable_launcher_icon_shapes
Test: creating folder with 5 items
Change-Id: I5c5bf46fcdfdb66cb4142a6912283c1dcae99603
2026-03-12 17:49:54 +07: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
Pun Butrach 4e085b6ff3 fix: Don't run app archive on under Android 15
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-03-07 14:06:57 +07:00
Pun Butrach 9d3a0fb93d fix: Correct BGLaunch at least check
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-02-28 18:45:20 +07:00
Pun Butrach 0b54bc2564 fix: Don't infinite scroll left when feed enabled
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-02-28 18:45:12 +07:00
Pun Butrach eb93520e03 fix: Widget configuration activity fail to open due to BAL hardening
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-02-28 18:42:19 +07:00