Commit Graph

4863 Commits

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

Change-Id: Iaa94d52bfbc5bb4be8de0ec0a79b1e8951e0ce02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-10 17:27:44 +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 3c0a7097d2 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: I03747f8051556c7bdc006b7c9f1cd28624ad9daa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 01:57:41 +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 8ffee245be 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: I73d4ceaa27def3f885febf87e000d39e8baf6e70
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-27 20:04:05 +00:00
James O'Leary 2b6700a94c Merge "Update app icon shadows" into tm-dev 2022-05-27 19:44:39 +00:00
Andy Wickham f79a5cf7da 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: Id20e41c851fcfd3ebbeb80d1f7013da8cc9ddfe4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 21:59:18 +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 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 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 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 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 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 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
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 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
Bill Yi 27e7b1ca41 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iee29f1c8bc34c269aa8f8d0c6283286ba8dd188d
2022-05-17 00:28:51 -07:00
Brandon Dayauon 303b4e8aae Fix issue when preference screen title won't change depending on the device..
previously it defaults to just "Search your phone"
Now it correctly displays Phone/Tablet

Before: https://screenshot.googleplex.com/3PJrsP9mGvwMr98
After: https://screenshot.googleplex.com/B2nnUQHeHmEXXPd

Bug: 231611501
Change-Id: I49eab7e827ce4bb31a2722fbf21c244f98145907
2022-05-16 10:25:12 -07:00
Hyunyoung Song 558a2ab034 Merge "App row padding is now consistent for all grid sizes. Also fix when 2x2 allApp icons get super big." into tm-dev am: 8536fb78c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17989576

Change-Id: I8804f9d075e9648b2a41e0b6aaa8a9ab0597780d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-15 08:15:38 +00:00
Hyunyoung Song 8536fb78c7 Merge "App row padding is now consistent for all grid sizes. Also fix when 2x2 allApp icons get super big." into tm-dev 2022-05-15 06:08:18 +00:00
Brandon Dayauon 07ca884eea App row padding is now consistent for all grid sizes. Also fix when 2x2 allApp icons get super big.
Added consistent padding to each app row.

Bug: 229789736
Bug: 229791507
Bug: 228320417
Bug: 230870213
Test: Manual on Raven

Change-Id: Ice1c8be361f009994a8e0960a30da04fc1c0c218
2022-05-13 17:10:15 -07:00
Alex Chau f0b4091d72 Merge "Fix slow page animations on large devices" into tm-dev am: 8a7617f168
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17504361

Change-Id: Ia7102198ea9e024b2321afb5dc4ea5cc8beae559
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 19:48:45 +00:00
Pat Manning 6328c7b95b Merge "Update drop target button alignment across devices." into tm-dev am: 8909fc2dcb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17940799

Change-Id: I33abc3ce15a022031f4e8d887e9308fa8aed758e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 19:48:00 +00:00
Alex Chau 8a7617f168 Merge "Fix slow page animations on large devices" into tm-dev 2022-05-12 19:08:41 +00:00
Pat Manning 8909fc2dcb Merge "Update drop target button alignment across devices." into tm-dev 2022-05-12 18:41:54 +00:00
James O'Leary fe435ad44e Update app icon shadows
Allow use of white shadow, set radius to 1.0 and offset to 0.
Use 100% and 20% alpha, instead of 70% and 50%.
(nets out to same effect)
Make ambient and key shadows equivalent: there are deterministic
formulas for what contrast a shadow will create, and those formulas
were used for the spec. Ad-hoc attempts to try to increase visibility
are no longer needed and don't align with design intent

Bug: 213314628
Test: Manual inspection at runtime
Change-Id: Ie12d3d05488e16fea94e91be16c25448f450a44d
2022-05-12 18:28:39 +00:00
TreeHugger Robot 74211e4093 Merge "Add Developer Options string to xml." into tm-dev am: 566c676dda
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17826466

Change-Id: I01673cc147e1f4c56fa5381156c5720d1cbc3069
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 15:09:06 +00:00
TreeHugger Robot 566c676dda Merge "Add Developer Options string to xml." into tm-dev 2022-05-12 14:49:49 +00:00
Pat Manning 27bfcaa651 Update drop target button alignment across devices.
Fix: 229789612
Fix: 231711806
Fix: 231706480
Fix: 232063941
Fix: 232283628
Test: manual.
Change-Id: I75d649b953ad1607dbba87a8f758884ff938b6dc
2022-05-12 13:49:58 +00:00
Andras Kloczl c2bd15fd2a Fix slow page animations on large devices
- Change non-fling page snap animation duration
- Change fling gesture related minVelocity

Test: Scroll between home pages, allapps, folder pages
Bug: 229073876
Change-Id: Ib39187ec9c832e65dd0b71f8f4a00e1b636423a4
Merge "Hide web settings, if web suggestions is disabled" into tm-dev

Change-Id: Ib39187ec9c832e65dd0b71f8f4a00e1b636423a4
2022-05-12 12:56:41 +01:00
Thales Lima 73a875eecb Merge "Fix hotseat width to span a number of columns" into tm-dev am: a04ddba562
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18283700

Change-Id: Idc77ccd30f7dc6706d62863ba9e430e7ab1d66ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-11 21:32:12 +00:00