Commit Graph
735 Commits
Author SHA1 Message Date
Pun Butrach 8cb7ea8ec4 revert: fix: Align widget visually to the icon (#7095) 2026-08-05 17:54:07 +07: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
John Andrew Camu 6741c3416d feat: Add option to have two-row dock (#6979)
- Closes: #3216
2026-07-11 16:58:57 +08: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
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
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 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 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
Pun Butrach 18bbd19315 chore: Resolve TODOs
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-02-13 20:21:00 +07:00
Pun Butrach 436b59f0d4 Milestone D3R3, continue to D4R1 2026-01-10 20:51:17 +07:00
Pun Butrach f12b88cb60 feat: Tablet support (ish) 2026-01-10 20:51:14 +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 5882812a04 feat: Google Sans Flex 2026-01-10 20:50:16 +07:00
Pun Butrach ba22b763e9 feat: Tablet support (ish) 2026-01-10 20:50:16 +07:00
Pun Butrach 0e8b200bab fix: Just make submodule stay the same please intellj 2026-01-10 20:50:12 +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 211f47c06c feat: Google Sans Flex 2026-01-10 20:49:19 +07:00
Pun Butrach 2e76c99dad fix: Conflict incoming changes from 15-dev 2026-01-10 20:49:12 +07:00
Pun Butrach 549597ca66 chore: Logging cleanup
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:48:44 +07:00
Pun Butrach bc989c1b68 fix: Qsb width sizing being incorrect due to zero dp
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:48:39 +07:00
Pun Butrach fdcd97fcd9 feat: Reimplement Hotseat, and Favorite application label toggle
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 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 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
Clément Gayot fb845d1460 fix: Revert "Align widget padding to icons" (#6135) 2025-12-01 06:15:44 +08:00
MrSluffy 11a4b09680 fixed: all app icons changes too when home icons is > 120
- Closes : #5943
2025-10-12 17:00:20 +08:00
Himanshu Garg a2545ee91e Fix app drawer icon scaling when home screen icons are resized (#5932)
* Fix foldable device layout issue on Pixel 9 Pro Fold

- Enable two-panel layout for all multi-display devices (foldables)
- Previously required both isTablet && isMultiDisplay conditions
- Foldable devices may not meet 600dp tablet width threshold when unfolded
- This ensures proper layout utilization of available screen space

Fixes #5920

* Fix app drawer icon scaling when home screen icons are resized

- Prevent home screen icon scale from affecting app drawer layout
- When mIsScalableGrid is true, use separate scaling for app drawer elements
- This fixes the 'zoomed out' appearance in app drawer when home screen
  icons are scaled to 120% or higher
- App drawer now maintains independent sizing from home screen

Fixes #5912

* Remove code comments from fixes

- Clean up code by removing explanatory comments
- Keep changes minimal and focused
2025-10-08 14:30:56 +08:00
Sebastian Franco 136295f62a Moving AllApps device profile variables to their own class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I6490422d04f9f0aeaadf8271d4d11172f344660a
2025-05-30 09:56:01 -07:00
Sebastian Franco 8244449a9f Moving taskbar variables in DeviceProfile to their own class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I05ec9e15ef02096326596af4835adb706473a736
2025-05-29 11:04:06 -07:00
Treehugger Robot 3893804a59 Merge "Moving hotseat variables in DeviceProfile to their own class" into main 2025-05-29 09:01:51 -07:00
Uwais Ashraf 478f07798e Moving hotseat variables in DeviceProfile to their own class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I377b33668c3ed330d362527f62226dd84a5773db
2025-05-29 13:16:05 +00:00
Sebastian Franco 6dcdd67e23 Moving bottom sheet variables to their own class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: Ibaee4e94e54dbeb2f79ea5c1b6e73415ae219251
2025-05-28 13:48:44 +00:00
Sebastian Franco 609df338cc Moving dropTarget variables in DeviceProfile to their own class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I8fc519ec8adcda6495ac7c9a9c747b6a80615547
2025-05-27 22:18:28 -07:00
Sebastian Franco 3bd77e2aae Moving Overview variables to OverviewProfile class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I01644a546a5ce867d1dced1521deb798d6fc3a19
2025-05-27 15:07:38 -07:00
Sebastián Franco e1d31e5406 Revert "Revert "Moving DeviceProfile properties into DevicePrope..."
Revert submission 33716851-revert-33672643-DataDeviceProfile1-XHYRAPLEBK

Reason for revert: Error is fixed

Reverted changes: /q/submissionid:33716851-revert-33672643-DataDeviceProfile1-XHYRAPLEBK

Change-Id: Ib86824134955903c11e51e52dbfd6368aba1cd50
2025-05-23 14:08:11 -07:00
Priyanka Advani (xWF) 7705e92d93 Revert "Moving DeviceProfile properties into DeviceProperties da..."
Revert submission 33672643-DataDeviceProfile1

Reason for revert: Droidmonitor created revert due to b/419867875. Will be verifying through ABTD before submission.

Fix: 419867875

Reverted changes: /q/submissionid:33672643-DataDeviceProfile1

Change-Id: Icb66aefbbcee24e05806b2139923e1f2ea1c65e3
2025-05-23 13:53:04 -07:00
Sebastian Franco e1111e28c2 Moving DeviceProfile properties into DeviceProperties data class
Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I638f88cd76b926917965dbf9e70b5bdfff5971e0
2025-05-23 10:42:26 -07:00
Toni Barzic 3bd1f20e3b Implement spec to configure all apps height
Adds AllAppsSpec support, that can configure all apps height so the
container top aligns with the top of a row in the workspace grid.

Bug: 30153091
Flag: com.android.launcher3.enable_scalability_for_desktop_experience
Test: Manual

Change-Id: Ia5c939c7d3b6fed29a9c2f47233348a5e55b570f
2025-05-21 22:04:33 +00:00
Toni Barzic 83b8cc19ca Support workspace cells with two-line labels
Adds `maxLineCount` attribute to CellSpec. The attribute indicates the max
number of lines of text the cell was speced to support. It's used to:
*   enable two-line labels in `BubbleTextViews` for workspace (including
    folder children) items
*   Update cell dimension calculation to inform cell vertical padding

When calculating cell content size the icon text size will be included
`maxLineCount` times, so the cell content gets centered as if it
contains `maxLineCount` lines of text. That way the icon position will
be consistent between cells with text that fits into one line, and cells
that contain two lines of text.

Adds `maxLineCountMatchesWorkspace` attribute to specify that the cell
should inherit `maxLineCount` from workspace cell spec.

Bug: 30153091
Flag: com.android.launcher3.enable_scalability_for_desktop_experience
Test: Manual

Change-Id: I150a62f427a0ad755a4746a736d9846d3bea4d2e
2025-05-21 22:04:33 +00:00
Brandon Dayauon 653b4b9b31 Make hotseatQsbShadowHeight public
This variable is used during layout of the psb in hotSeat.java. It is specifically
applied to calculate the qsbOffsetY()

bug: 413719316
Test: manually presubmit
Flag: com.google.android.apps.nexuslauncher.psb_aim_reskin
Change-Id: I9b4bd244a39de61e7ef23dbf477e1808f30f5401
2025-05-14 11:33:10 -07:00
Ajinkya Chalke f0ec71d325 Store startAlignTaskbar in DisplayInfoSpec
- CD grids should override startAlignTaskbar.
- The DP.toBuilder method should carry forward DisplayInfoSpec instead
  of always recalculating.

Fix: 416276424
Test: m
Flag: EXEMPT updating recently added logic
Change-Id: I7b1cb8eab5fedc09b29e96a765d1341655474e8a
2025-05-08 17:00:22 +00:00
Ajinkya Chalke bb3571806e Reparse all grids for secondary displays for DP
- This is required to show a half width all apps sheet on external
  monitor connected to the phone. Without this the apps sheet covers the
  full width of the external monitor in projected mode.
- Create a new class to hold all the properties that need to be
  overridden. Set this class as part of DP buider.
- Override all props that are overridden for isTwoPanels.
- Update isTwoPanels to override using the new class in DP constructor.

Flag: com.android.window.flags.enable_taskbar_connected_displays
Bug: 414342881
Test: m
Change-Id: Ia035620c96c5a8912b99314014d4b19a125c7c5c
2025-05-06 12:32:53 +00:00
Sebastian Franco ef2be673a0 Make hotseat icons match with Workspace in Fixed Landscape
Bug: 409784022
Test: Screenshot tests
Test: DumptTest
Flag: EXEMPT bug fix
Change-Id: I12b9699b1dc9ba597511be8e929cc8cf1bde7756
2025-04-10 10:33:06 -07:00