Commit Graph
13629 Commits
Author SHA1 Message Date
Abhilasha Chahal 6f1862f494 Merge "Use numAllAppsColumns to calculate height of all apps icons" into tm-dev am: a35179d4ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17183243

Change-Id: I332a8ceca7eb060487b140eee8f33f135e221c0a
2022-03-24 11:20:52 +00:00
Abhilasha Chahal a35179d4ea Merge "Use numAllAppsColumns to calculate height of all apps icons" into tm-dev 2022-03-24 11:02:31 +00:00
TreeHugger Robot b8e0d2c052 Merge "Aligning Hotseat and Workspace icons in vertical bar mode" into tm-dev 2022-03-24 09:23:50 +00:00
Abhilasha Chahal dfd154f18d Use numAllAppsColumns to calculate height of all apps icons
Additionally opens up access of some fields to allow them to be overridden.

Test: Manually verified that Launcher3 layout does not change

Launcher3 APKs: https://drive.google.com/drive/folders/1hBcZU9xou4tZJxbTmkya_LyBbD2oYuwV?resourcekey=0-R0I1IQ2rSUIEfPjW8S_ppA&usp=sharing

Bug: 216150572

Change-Id: I4b97a7e9e15973fc5aa70a4b98f0b73dd5bf3c17
2022-03-23 21:09:54 +00:00
Sihua Ma 00663101b6 [automerge] Aligning Hotseat and Workspace icons in vertical bar mode 2p: 38bb3b0c5c 2p: 677d9c5aac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17314347

Change-Id: I0b978d16596e72ea3b7e9ffe988cd6a251bed9c7
2022-03-23 18:27:56 +00:00
Sihua Ma 677d9c5aac [automerge] Aligning Hotseat and Workspace icons in vertical bar mode 2p: 38bb3b0c5c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17314347

Change-Id: I90c98cbbcdfeb455785bb0dd3d364b62a2284e72
2022-03-23 18:27:50 +00:00
Sihua Ma 38bb3b0c5c Aligning Hotseat and Workspace icons in vertical bar mode
Changing the padding of the Hotseat Bar to align the hotseat icons with the Workspace icons.

Test: Manual
Fix: 223553482
Change-Id: I7939c3a900dfe22d2ce3f71d408f1d2778a0af2a
2022-03-23 18:27:41 +00:00
Pat Manning 03551ae794 Merge "Add workspace page translations for edit state." into tm-dev am: 85eeb4e62e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17140103

Change-Id: Idae64b16ee4545a144513d437a4c25ac97391318
2022-03-23 11:54:31 +00:00
Pat Manning 85eeb4e62e Merge "Add workspace page translations for edit state." into tm-dev 2022-03-23 11:35:20 +00:00
Luca Zuccarini 08124d4b8b Merge "[Toast] Flip the QSB motion flag to true by default." into tm-dev am: 6f962f9357
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17319415

Change-Id: I78646656bc5290361dfaef10037e5cb8d0f5ff2f
2022-03-23 10:43:59 +00:00
Luca Zuccarini 6f962f9357 Merge "[Toast] Flip the QSB motion flag to true by default." into tm-dev 2022-03-23 10:27:05 +00:00
Tracy Zhou 69d3477b96 Merge "Update initial staged split UX." into tm-dev am: 8d06bb8991
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17251578

Change-Id: Id2caa24f746921861d8b79fc297bb440588bde1c
2022-03-22 23:19:04 +00:00
Tracy Zhou 8d06bb8991 Merge "Update initial staged split UX." into tm-dev 2022-03-22 22:44:33 +00:00
Schneider Victor-tulias 2fbf6fa9f5 Merge "Reset the home settings activity when launching it" into tm-dev am: c741210bb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17224594

Change-Id: Ie8e802aa0a3fcc0aff40bc1c2c7f95be029d027c
2022-03-22 18:46:18 +00:00
Schneider Victor-tulias c741210bb1 Merge "Reset the home settings activity when launching it" into tm-dev 2022-03-22 18:23:41 +00:00
Pat Manning b04dd608bf Add workspace page translations for edit state.
Bug: 202971709
Test: manual
Change-Id: Ic807d380053b8cc5aaf521513c308854e1b14a43
2022-03-22 17:58:19 +00:00
Brian Isganitis 7aa64493db Merge changes from topics "presubmit-am-08ca1fad1fe94bf3ace5a708c5584d55", "presubmit-am-3c6c58a0fa374b92b1a5f8d5f5788871", "presubmit-am-6939eac1469540108813bd4ed4c60a9b" into tm-dev am: 98214d072c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17223907

Change-Id: I6119c7637a391a4d2bf89537e900c2c1940eec24
2022-03-22 16:27:21 +00:00
Brian Isganitis 98214d072c Merge changes from topics "presubmit-am-08ca1fad1fe94bf3ace5a708c5584d55", "presubmit-am-3c6c58a0fa374b92b1a5f8d5f5788871", "presubmit-am-6939eac1469540108813bd4ed4c60a9b" into tm-dev
* changes:
  Have taskbar all apps extend ActivityAllAppsContainerView.
  Refactor ActivityAllAppsContainerView to depend on ActivityContext.
  Refactor allapps.search package to depend on ActivityContext.
2022-03-22 16:11:35 +00:00
Luca Zuccarini b21fd239a9 [Toast] Flip the QSB motion flag to true by default.
Bug:225749858
Test: manual with soong build as well as server build image with this
change

Change-Id: I5658bae753a7112a64fc89ae54c10c5af3a09654
2022-03-22 15:45:07 +00:00
Thales Lima 2f284c67c7 Merge "Change size of All Apps bottom sheet" into tm-dev am: 042482e94c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17154983

Change-Id: I2a221957ada802aa531c834f197b7bd4e35c1808
2022-03-22 15:45:05 +00:00
Thales Lima 042482e94c Merge "Change size of All Apps bottom sheet" into tm-dev 2022-03-22 15:25:50 +00:00
Thales Lima b7ef569591 Change size of All Apps bottom sheet
This brings the size of the bottom sheet closer to the spec provided by UX. For that type of flexibility to be possible, more attributes are introduced and some calculations had to be changed.

This shouldn't affect phones.

Bug: 218638090
Test: visual, with dumpsys and HSV
Change-Id: Ieee7580d80d8e100837b1cdd7a1455c4d65612dc
2022-03-22 12:19:46 +00:00
Thales Lima ca571f20c0 Merge "Fix height of hotseat" into tm-dev am: 60dc19cb71
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17295527

Change-Id: I1221d5ea90ee4f2dd555913d40784f7f0c2a0daa
2022-03-22 11:56:50 +00:00
Thales Lima 60dc19cb71 Merge "Fix height of hotseat" into tm-dev 2022-03-22 11:43:13 +00:00
Thales Lima ce884b4050 Merge "Reset the size of hotseat cells" into tm-dev am: f49dce6961
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17198306

Change-Id: I05a2d1d82c70656e980974e9528da8f436e8450b
2022-03-22 10:25:02 +00:00
Thales Lima f49dce6961 Merge "Reset the size of hotseat cells" into tm-dev 2022-03-22 10:06:22 +00:00
Tracy Zhou 4ff3615b23 Update initial staged split UX.
- Introduce inset to the staged split view
- Update width of the staged split view
- Introduce rounded corners to staged split view. It's tricky to animate it in with smooth transition considering the rounded corners. The best way to handle it is to draw content as if part of it is off the screen, so that when it's animated in, the rounded corners can slide in onto the screen correctly.

Fixes: 219085340
Test: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/09a99b75-3614-4d20-b6d4-a78108f769d8

Change-Id: I24d90cc9e2695d822cb2de8b21e2d5519f2e344d
2022-03-21 21:21:42 -07:00
Becky Qiu 73a01b6ab6 Merge "[OneSearch] Add a flag to guard QSB animations." into tm-dev am: fd6b0d5617
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17295526

Change-Id: Ib6b8b5900eb9c4a99baee06ca8f239566192e5ca
2022-03-22 01:09:54 +00:00
Becky Qiu fd6b0d5617 Merge "[OneSearch] Add a flag to guard QSB animations." into tm-dev 2022-03-22 00:58:07 +00:00
Jeremy Sim c0422b8a48 Merge "Fix issue with split thumbnails overflowing during rotation" into tm-dev 2022-03-22 00:17:43 +00:00
Jeremy Sim 8746367f40 Merge "Fix paired icon placement in landscape/seascape" into tm-dev 2022-03-22 00:17:43 +00:00
Jeremy Sim cab1ef1a9d Merge "Fix small positioning bug with DWB banner in landscape" into tm-dev 2022-03-22 00:17:43 +00:00
TreeHugger Robot 1c15bf6a8f Merge "Fix overriden deep shortcut titles and icons" into tm-dev am: f8137e5ecb am: d415b66f23
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17241304

Change-Id: I6f4ef5014274d9dfdd9108361bda3a41b5213c33
2022-03-21 22:47:33 +00:00
Alex Chau f9174e82cb Merge "Update overview grid icon sizes and paddings" into tm-dev am: c9f3cc36bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17198305

Change-Id: I2afe9c5118132cae0f98fe39bb9a0002e5352ee3
2022-03-21 22:46:02 +00:00
TreeHugger Robot 98c8559f73 Merge "Adjust edit state drop targets, workspace scaling, and margins per device type and orientation." into tm-dev am: 016dd3656d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17002680

Change-Id: I70db7ca7b51710fd4c7d9f869a6a9fb9b0e0dcea
2022-03-21 22:45:44 +00:00
Thales Lima 69cc2e059f Merge "Add more border space options" into tm-dev am: c307cd137f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17252662

Change-Id: Ie09dde59b68d3b453b92c50e0928c1976e239adf
2022-03-21 22:45:00 +00:00
TreeHugger Robot f8137e5ecb Merge "Fix overriden deep shortcut titles and icons" into tm-dev 2022-03-21 20:56:13 +00:00
Luca Zuccarini 24fab62d35 [OneSearch] Add a flag to guard QSB animations.
Bug: 225749858
Test: manual
Change-Id: Ib725b9bcec235d2e23cf93b2f86d0dc9cd0600cb
2022-03-21 19:00:23 +00:00
Thales Lima 7d14923195 Fix height of hotseat
Hotseat size was going behind workspace unnecessarily, causing some issues and also had the wrong hotseat height which was cutting the icons in folders.

Fixes: 224713923
Fixes: 221101290
Test: manual
Change-Id: I2646abc4a6aaa5bf2ea85e55e2f3618f8d7efd9b
2022-03-21 18:32:22 +00:00
Alex Chau c9f3cc36bb Merge "Update overview grid icon sizes and paddings" into tm-dev 2022-03-21 17:08:31 +00:00
TreeHugger Robot 016dd3656d Merge "Adjust edit state drop targets, workspace scaling, and margins per device type and orientation." into tm-dev 2022-03-21 17:07:10 +00:00
Thales Lima c307cd137f Merge "Add more border space options" into tm-dev 2022-03-21 15:14:18 +00:00
Thales Lima 8ac60f6508 Merge "Correct inline qsb for foldables" into tm-dev am: 2017ee0208
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17236874

Change-Id: I4b1b9e672004be8e1fa96e376f20b9b99aeafec7
2022-03-21 14:40:17 +00:00
Thales Lima 2017ee0208 Merge "Correct inline qsb for foldables" into tm-dev 2022-03-21 14:30:19 +00:00
kholoud mohamed af6641414c RESTRICT AUTOMERGE Fix newAPI lint error
Fixes: 225612636
Test: m -j out/soong/.intermediates/packages/apps/Launcher3/Launcher3/android_common/lint/lint-report.txt
Change-Id: Ib7f7df0010702b0f26d99bbd7b27ee38a6ed5e17
2022-03-21 10:50:29 +00:00
Kholoud Mohamed ac0574781c Merge "RESTRICT AUTOMERGE Moved enteprise resource updatability to Launcher3" into tm-dev 2022-03-19 06:30:09 +00:00
Jeremy Sim bf6f171f84 Fix issue with split thumbnails overflowing during rotation
Fixes a set of issues in Overview where you could cause split thumbnails to overflow their contents into each other by rotating the phone in certain ways.

The issue occurred because StagedSplitBounds objects have their height and width assigned differently depending on if they were created while the phone was in portrait or landscape.

Fixed by adding a conditional check in PortraitPagedViewHandler#setSplitTaskSwipeRect and LandscapePagedViewHandler#setSplitTaskSwipeRect.

Fixes: 218784856
Fixes: 218779313

Test: Manual on local devices
Change-Id: I04b4f4344250da34616ab1744af22fa41b9aba9b
(cherry picked from commit 1d6b7f2abf)
2022-03-19 00:10:54 +00:00
Jeremy Sim b42345273c Fix paired icon placement in landscape/seascape
In grouped task view, paired icons will now align better with task thumbnails.

Fixes: 218783211

Test: Extensive manual testing on local device(s).
Change-Id: I372d2ee90302a8d96ace048ff4f82126d9b2b363
(cherry picked from commit d6826c74a4)
2022-03-19 00:10:16 +00:00
Jeremy Sim 3b687a5092 Fix small positioning bug with DWB banner in landscape
The DWB banner is now positioned correctly when the task thumbnail is set as a secondary split view.

Fixes: 220637396
Test: Manual testing on local Pixel 6
Change-Id: I3bcb0eb09d2a607b2891bc9f63f3a0b03668f48e
(cherry picked from commit 87fad7b984)
2022-03-19 00:09:22 +00:00
Brian Isganitis d478f555cb Have taskbar all apps extend ActivityAllAppsContainerView.
This step is necessary to have taskbar support search in all apps.
Search is not ready yet, so a fallback search manager is included.

Test: Manual
Bug: 216683257
Change-Id: Id118388bc4baae4b63ef205295caf46cbd541bc8
2022-03-18 15:39:54 -07:00