Commit Graph

4922 Commits

Author SHA1 Message Date
Andy Wickham 57698a6546 Merge "Fixes Search bar padding when work profile not present." into tm-dev am: 34e8c3364a am: ef4136ad4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18789522

Change-Id: I6fbda54f1e160eebe9561bbe5ad6b09c9df71155
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-10 19:42:10 +00:00
Andy Wickham 34e8c3364a Merge "Fixes Search bar padding when work profile not present." into tm-dev 2022-06-10 17:07:43 +00:00
Bill Yi 13d38f34e3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4010e9fb1b609b0bfb001f333b3e0c15f2f9de81
2022-06-09 13:47:10 -07:00
Andy Wickham 5a476da75c Fixes Search bar padding when work profile not present.
The full padding was accounted for between the search bar and the
work/personal tabs, but only part of it was there when the tabs
were not shown.

Screenshot: https://screenshot.googleplex.com/8axV9QQ5Qy8MaUn.png

Test: Manually with and without work profile added. In the latter
case, nothing changed. The screenshot reflects the former case.
Fix: 233010483

Change-Id: I11b3c8cc814be48c25cbd9f454c3e122fff96fa0
2022-06-08 13:32:41 -07:00
Bill Yi b01161606f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibc4e348adb39b393690be0b1a1ecd341a58a5542
2022-06-07 13:56:51 -07:00
James O'Leary 518db5eb30 Merge "Revert "Update app icon shadows"" into tm-dev am: 202ac414bf am: b2919ce557
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18675016

Change-Id: I0f06ac2988f265f1ba31aed40937f3e19ec68784
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 01:52:28 +00:00
James O'Leary b2919ce557 Merge "Revert "Update app icon shadows"" into tm-dev am: 202ac414bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18675016

Change-Id: I98e3165ccc5e02228020e4c45386045c4cf1df12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 01:34:00 +00:00
James O'Leary 202ac414bf Merge "Revert "Update app icon shadows"" into tm-dev 2022-06-01 01:29:34 +00:00
James O'Leary dac75aef3b Revert "Update app icon shadows"
Revert submission 17935777-lightDarkDetection

Reason for revert: Talked with Adam Cohen, white shadows are controverstial and we'd need to escalate to senior UX if we want to ship. James would rather do it in U timeframe, will flag to UXers we work with that the opportunity to escalate is available if needed.
Reverted Changes:
Ia91221427:Update light/dark detection.
Ie12d3d054:Update app icon shadows
Icc88c3496:Update smartspace shadow

Change-Id: I8bc90e79073b8e088f2912fef2af4c6c99a33553
2022-05-31 21:12:38 +00:00
James O'Leary 5b56d72d03 Merge "Update app icon shadows" into tm-dev am: 2b6700a94c am: 5131a1a203
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17937870

Change-Id: I8c0149d616dd4fd7430b07ab127fb50951a08a65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-27 20:29:41 +00:00
James O'Leary 5131a1a203 Merge "Update app icon shadows" into tm-dev am: 2b6700a94c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17937870

Change-Id: Ie4eaa9e8cd699849487bfe99bb37eeab10dcce40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-27 20:05:31 +00:00
James O'Leary 2b6700a94c Merge "Update app icon shadows" into tm-dev 2022-05-27 19:44:39 +00:00
Andy Wickham 9fe363f16d Merge "Moves Search results into a separate RV (take 2)." into tm-dev am: 4ca247a6bb am: 15dc59f8b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18420827

Change-Id: I97bef5b17f15cf500e545cc1d1ccd3e6031abadd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 22:16:09 +00:00
Andy Wickham 15dc59f8b1 Merge "Moves Search results into a separate RV (take 2)." into tm-dev am: 4ca247a6bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18420827

Change-Id: Ibcc128ec5f74a96978e0c65af79283997ac1db50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 22:00:44 +00:00
Andy Wickham 4ca247a6bb Merge "Moves Search results into a separate RV (take 2)." into tm-dev 2022-05-26 21:41:55 +00:00
TreeHugger Robot e3bbcaa7de Merge "Allows work apps to be dragged down while work edu is showing." into tm-dev am: c907fd0a17 am: 1bdcde8920
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18605850

Change-Id: I8b7274d6a7cedfbf617a1f2d40236c497c4f614c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 02:40:30 +00:00
TreeHugger Robot bf3e735e9e Merge "Allows work apps to be dragged down while work edu is showing." into tm-dev am: c907fd0a17
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18605850

Change-Id: I8f5648da9e85f10219e93803d7d6f5f5e8124a51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 02:21:49 +00:00
TreeHugger Robot 1bdcde8920 Merge "Allows work apps to be dragged down while work edu is showing." into tm-dev am: c907fd0a17
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18605850

Change-Id: Ic20dc9a52263e4892c2731f364eedbe90d10b3ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 02:11:40 +00:00
TreeHugger Robot c907fd0a17 Merge "Allows work apps to be dragged down while work edu is showing." into tm-dev 2022-05-26 00:06:08 +00:00
Andy Wickham ff3721fe96 Allows work apps to be dragged down while work edu is showing.
Also fixes jumpiness of the personal/work tabs while scrolling
with this card showing.

Cause: AllAppsRecyclerView#getCurrentScrollY() calculates the
current scroll based on the top of the first item in the view.
This is used to determine if pulling down should move the
container (if you are scrolled to the top), and it is also used
to align the personal/work tabs as you scroll down (they stop
moving when the top item reaches their bottom).

Fix: The top of the Work Edu card was lower than the top of the
recycler view because it was offset by a top margin. Switching
this to padding in the card's container fixes the associated
calculations while keeping the visual positioning from before.

Fix: 233836148
Test: Manually tried dragging down and scrolling. Tried it with
and without my refactor.

Change-Id: Idaf4b3801174c1dfeceda5c0f112e405908e856d
2022-05-25 14:55:39 -07:00
Bill Yi 06d2238892 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-25 18:43:37 +00:00
Alex Chau b21fcdd423 Merge "Center drop target button alignment across devices" into tm-dev am: 179c289a6c am: 7ca1b38d7e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18580267

Change-Id: Ia3de7157c7230c0a892a2052fda7af614ddd4db1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 13:24:04 +00:00
Alex Chau d740490fe4 Merge "Center drop target button alignment across devices" into tm-dev am: 179c289a6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18580267

Change-Id: I38e2fe0b317980661df1e7ee67b3a08cf440eb42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 13:03:30 +00:00
Alex Chau 179c289a6c Merge "Center drop target button alignment across devices" into tm-dev 2022-05-25 12:38:11 +00:00
Andy Wickham 2ba7797edb Moves Search results into a separate RV (take 2).
Bug: 206905515
Test: Manually verified b/230648542 did not resurface. Tested
on phone and tablet with and without work profile.

Change-Id: If724f635286b9dff2c64255f9ece3568a5cb4ea9
2022-05-24 17:10:24 -07:00
Bill Yi 16026ae9f9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1d33db6f290ae068d29aea6a405cd0436c3d5341
2022-05-24 14:51:03 -07:00
Stefan Andonian 506456cc7a Merge "Fix folder app icon truncation after rotating to landscape." into tm-dev am: af8b7d3313 am: 2e8f2e192b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18090271

Change-Id: I880515e684db4389c5ed0848c12d8c10e0229e8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 18:35:14 +00:00
Stefan Andonian e0770eb4fd Merge "Fix folder app icon truncation after rotating to landscape." into tm-dev am: af8b7d3313
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18090271

Change-Id: I22de25f8e8d439eb5e18c96b0036f66caa5bd8aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 18:23:45 +00:00
Stefan Andonian af8b7d3313 Merge "Fix folder app icon truncation after rotating to landscape." into tm-dev 2022-05-24 18:19:03 +00:00
Alex Chau 5b0193026a Center drop target button alignment across devices
- Partial re-land of http://ag/18520765

Fix: 229789612
Fix: 231711806
Test: manual
Change-Id: I0630c19901435a30379596378e9c0cd4beb2e764
2022-05-24 18:31:57 +01:00
TreeHugger Robot 6112a28b0b Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-24 00:38:21 +00:00
Stefan Andonian 28f61b5177 Fix folder app icon truncation after rotating to landscape.
The folder bubble text views were being recycled after the launcher's
cache was cleared. This caused the new orientation's folders to re-use
the old views with their stale configuration. After this change, the
cache won't recycle views whose cache entry has been recreated,
implying that their environment might have changed and new setup is
required.

Bug: 230304658
Test: Verified erroneous UX on device was no longer reproducible after fix.
Change-Id: Ib01cf5792d83df752e05534e5aa08ab8e8763bdc
2022-05-23 23:42:04 +00:00
Alex Chau 99e9b07486 Merge "Update drop target button alignment across devices" into tm-dev am: 618047355d am: 53cc41a036
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18557384

Change-Id: Id7b94165fd4cdff20efe73cb7ffdfba413d9930f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 19:34:13 +00:00
Brandon Dayauon 8bb4a3839a Merge "Label is no longer Unlabeled. Now says "closed"" into tm-dev am: 3e4d9c79d5 am: d2a0279b11
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18458656

Change-Id: Ifb5fcb2de7cf07cc462a0762fb19005091237599
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 19:31:34 +00:00
Alex Chau 53cc41a036 Merge "Update drop target button alignment across devices" into tm-dev am: 618047355d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18557384

Change-Id: I02ca7d5196ed01b4082a115e6e1ab9187b6f62cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 19:29:19 +00:00
Alex Chau 618047355d Merge "Update drop target button alignment across devices" into tm-dev 2022-05-23 18:49:55 +00:00
Brandon Dayauon d2a0279b11 Merge "Label is no longer Unlabeled. Now says "closed"" into tm-dev am: 3e4d9c79d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18458656

Change-Id: Ifc0aa6f90ef621ebdfef6bcc6785bf6a3b32fe11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 18:43:32 +00:00
Brandon Dayauon 21261e1682 Merge "Label is no longer Unlabeled. Now says "closed"" into tm-dev am: 3e4d9c79d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18458656

Change-Id: I58b9acfb5b31bcae87e883c867cce9b0b5e6f217
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 18:42:01 +00:00
Brandon Dayauon 3e4d9c79d5 Merge "Label is no longer Unlabeled. Now says "closed"" into tm-dev 2022-05-23 18:21:26 +00:00
Alex Chau 906d882f91 Update drop target button alignment across devices
- Partial re-land of http://ag/18520765
- Layout the buttons from center of screen for two panels, or from center of workspace for all other cases

Bug: 229789612
Fix: 231706480
Fix: 232063941
Fix: 232283628
Test: manual
Change-Id: Icbc9e2a19140ce3127d5dfe9f798a8ada336cea8
2022-05-23 15:08:52 +00:00
Pat Manning 62b7686c10 Revert "Update drop target button alignment across devices." am: b29dabce18 am: 6f6b319609
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18520765

Change-Id: I8fb1a0076d157db5eca5b0648874ef5f74969d4a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 19:43:52 +00:00
Pat Manning bb846ab675 Revert "Update drop target button alignment across devices." am: b29dabce18
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18520765

Change-Id: I03d29bb7285c56622f5f7b186289a360ce9c88f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 19:23:27 +00:00
Pat Manning 6f6b319609 Revert "Update drop target button alignment across devices." am: b29dabce18
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18520765

Change-Id: I871e02d64bfc8ff13122f895baacd4bafb89bc8c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 19:21:46 +00:00
Pat Manning b29dabce18 Revert "Update drop target button alignment across devices."
This reverts commit 27bfcaa651.

Reason for revert: b/232636570

Bug: 229789612
Bug: 231711806
Bug: 231706480
Bug: 232063941
Bug: 232283628
Change-Id: Ic83515173f4a64228a80f63d75db938243cbf625
2022-05-20 18:20:26 +00:00
Bill Yi 3c8c47778f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I32a0e75c040f0938a9addfe3f13d21eb576dd77e
2022-05-20 05:08:53 -07:00
Bill Yi 672ea34078 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev 2022-05-19 00:41:40 +00:00
Brandon Dayauon dee5fc561f Label is no longer Unlabeled. Now says "closed"
Bug: 230624621
Test: Manual
Change-Id: I1fbdffdcaf36aaebff89bb5f4a608d5c2dc94502
2022-05-18 15:39:35 -07:00
Brandon Dayauon 1aa8ef2249 Merge "Fix issue when preference screen title won't change depending on the device.." into tm-dev am: 1460a6a0fb am: cb406595ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18235011

Change-Id: I3789dee04656657005f542039e36f3ed91cfacb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 21:34:47 +00:00
Brandon Dayauon cb406595ac Merge "Fix issue when preference screen title won't change depending on the device.." into tm-dev am: 1460a6a0fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18235011

Change-Id: I6593b1611c9a982664f7672f5e936f1995f7ecc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 20:56:54 +00:00
Brandon Dayauon c73cb9f870 Merge "Fix issue when preference screen title won't change depending on the device.." into tm-dev am: 1460a6a0fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18235011

Change-Id: I09163394a7981e602cadef06fd7ea3f143301674
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 20:47:54 +00:00