Commit Graph

32686 Commits

Author SHA1 Message Date
Bill Yi b71bb162ed [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a4adcbc8ed -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14772951

Change-Id: I4733b011ca9c4f87911779a477112fb96592fc46
2021-05-31 18:21:25 +00:00
Bill Yi a4adcbc8ed Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iaaa324a8b618f499da8f48f819efec176e124e85
2021-05-31 10:53:02 +00:00
Sunny Goyal 3725f08307 Merge "Enabling themed icon feature" into sc-dev am: 8a7f973264
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14738710

Change-Id: Ic9fc28ff92387180783c5f3492b78f65bbb88bf8
2021-05-28 19:13:40 +00:00
Sunny Goyal 8a7f973264 Merge "Enabling themed icon feature" into sc-dev 2021-05-28 18:53:40 +00:00
TreeHugger Robot 90e18156b5 Merge "Force initialize task stack callback for gesture modes on init" into sc-dev am: e1a5d6bb1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14754620

Change-Id: I85acd37000b5184c28377beb801619cff6672063
2021-05-28 05:51:22 +00:00
TreeHugger Robot e1a5d6bb1b Merge "Force initialize task stack callback for gesture modes on init" into sc-dev 2021-05-28 05:31:03 +00:00
Zak Cohen a64d6e1476 Merge "Remove overview feedback." into sc-dev am: 295ab38446
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14749512

Change-Id: I898b4133b2942f706680e584deb13b9c7fdb2446
2021-05-28 03:05:13 +00:00
TreeHugger Robot e162ec3d06 Merge "Adding more diags for WellbeingModel" into sc-dev am: db6b24a001
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14706421

Change-Id: I9322e8080e996cca74f7c22487293e0253717fbc
2021-05-28 03:05:06 +00:00
Jon Spivack d01f9d4817 Merge "NIU Actions: Do not send image URI when sending error code" into sc-dev am: 55cca920e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14752490

Change-Id: Ia2dfb89221febe58a8890569a373a6cf1adec444
2021-05-28 03:05:01 +00:00
Brian Isganitis 750a30eaad Merge "Give each preference screen its own activity and toolbar title" into sc-dev am: 8d6ca68786
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14709732

Change-Id: I356dea323fb1cae84d1ded21ec09b76e70f34643
2021-05-28 03:04:49 +00:00
TreeHugger Robot d81339d0a0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 30adb97c13 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14738713

Change-Id: I681cc93661bddef39a042c7ee0ae4f0780535a20
2021-05-28 03:03:57 +00:00
Pierre Barbier de Reuille 2c9f35dc40 Merge "Update the computation of the widget span from size" into sc-dev am: 0bb96c9168
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14736371

Change-Id: Iabf7bc9dbb2c868c6f1548491cb240a935860267
2021-05-28 02:53:32 +00:00
Samuel Fufa a86a6cc097 Merge "Remove AllApps prediction edu" into sc-dev am: bd883ea788
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14682074

Change-Id: If9da4e26a2d1b292f7b5952be9807d6df055398e
2021-05-28 02:53:27 +00:00
Jason Chang 92f45a5019 Merge "Migrate trigger logic to fullfill new UI changes for One-handed mode settings." into sc-dev am: 9bc712f267
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14527644

Change-Id: Ida84ecf49b830e34ac9b63183c2653dd7264dca0
2021-05-28 02:46:03 +00:00
Zak Cohen 295ab38446 Merge "Remove overview feedback." into sc-dev 2021-05-28 02:37:45 +00:00
Josh Tsuji 07bf81d6b1 Merge "Adds launcher-side support for the SmartSpace shared element transition." into sc-dev am: bdb4ed711c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14471950

Change-Id: I93e7a6948103cf0986ebbb9f8f3e0987905efd61
2021-05-28 02:22:20 +00:00
Winson Chung de43d21ebb Merge "Add missing call to finish the home animation" into sc-dev am: 9b45bce963
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14729812

Change-Id: Ie115cc2d9fb75d3c6c9437a2c8363bc5c1b75005
2021-05-28 02:22:10 +00:00
TreeHugger Robot 112ab6236f Merge "Enable unpausing apps from the workspace." into sc-dev am: a07c2efdf6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14704506

Change-Id: I69c797b5aa1f55c5f4b74a165a19862c4a7f59a1
2021-05-28 02:22:06 +00:00
Stevie Kideckel dfe6f44c05 Merge "Add the DefaultItemAnimator, without change animations" into sc-dev am: d9abe11b92
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14736372

Change-Id: If1ac0081afc217e1671a7284dc885f2da7d835a3
2021-05-28 02:22:01 +00:00
TreeHugger Robot e379d59e4f Merge "Update gesture nav colors and animation for dark/light theming" into sc-dev am: d50d21b602
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14722085

Change-Id: Ie7579c5e466d397709299dab5441cc4cac49a435
2021-05-28 02:21:57 +00:00
TreeHugger Robot d453c669c4 Merge "Adjust the widgets fitting algorithm to mitigate over packing issue" into sc-dev am: 96793bdfe1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14717701

Change-Id: I7c757d6684ba187a3995d854032311acfd0b7089
2021-05-28 02:21:52 +00:00
TreeHugger Robot 3c8f1056fd Merge "Update colors for Digital Wellbeing Toast." into sc-dev am: 3558f084f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14737897

Change-Id: Ibe1372b4d4bb172ace05f5b694d44a6c0ee0e737
2021-05-28 02:21:48 +00:00
TreeHugger Robot 9abd4fd726 Merge "Add haptic feedback to Launcher recent apps scrolling" into sc-dev am: b1858afaf2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14678275

Change-Id: I60e16620373ef8ef806ad18c750f3f6fd9d29158
2021-05-28 02:21:44 +00:00
Stevie Kideckel 9529ae3a5c Merge "Remove intrinsic padding from widget previews" into sc-dev am: fa7c98ee45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14719550

Change-Id: I4bb8594b419a6b94a9e4de9d20ad77acb3ed3844
2021-05-28 02:21:39 +00:00
TreeHugger Robot db6b24a001 Merge "Adding more diags for WellbeingModel" into sc-dev 2021-05-28 02:12:42 +00:00
Vinit Nayak 23aa129016 Force initialize task stack callback for gesture modes on init
This handles an edge case where RotationTouchHelper#mMode starts as 3 button (by default)
* then changes to gesture nav.
* then onDestroy called
* then on re-initialization mMode will be gesture nav instead of 3-button
(it maintains state because of it being singleton).

The check to register the callback won't happen because we register only if previous mode and
current mode differ.
Don't rely on default value of mMode being 3 button when initializing

Bug: 181928969
Test: Followed repo steps in bug.
Restarted phone in all 3 nav modes and verified
expected quickswitch behavior

Change-Id: I381eba7417c4cde593edf4b9a34da55b50774e98
2021-05-27 19:01:09 -07:00
Jon Spivack 55cca920e0 Merge "NIU Actions: Do not send image URI when sending error code" into sc-dev 2021-05-28 01:14:21 +00:00
Schneider Victor-tulias 1ba3704c5f resolve merge conflicts of 694b667138 to sc-dev-plus-aosp
Test: manual
Bug: none

Change-Id: I2264c2dd3e0152186b7b14f76fa52126cbefe984
2021-05-28 00:03:31 +00:00
Brian Isganitis 8d6ca68786 Merge "Give each preference screen its own activity and toolbar title" into sc-dev 2021-05-27 22:29:28 +00:00
TreeHugger Robot 30adb97c13 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-27 22:28:57 +00:00
Jon Spivack 6eb0186616 NIU Actions: Do not send image URI when sending error code
In the case of a permissions denial, we do not send a screenshot in the NIU Actions Intent. Previously, we sent a fake URI to fit with existing recipient Intent filters, but the recipients have been updated to no longer require this.

Bug: 186780965
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I7cf92a03946e1663150f963fcea7f6b92833da68
2021-05-27 14:39:16 -07:00
zakcohen cad022499c Remove overview feedback.
Bug: 189489289
Test: TAPL update
Change-Id: If531aed1b2e10de9b60f9929cbcdcb5e7ffd436b
2021-05-27 14:09:09 -07:00
Brian Isganitis 890d8d5a91 Give each preference screen its own activity and toolbar title
This change is in preparation for each preference screen having its own collapsible toolbar with its specific title.

Test: Subsettings open with activity transition and title changes
Bug: 187732263
Change-Id: Iac44d688539195ddb6c2aca0a96d737ce7727071
2021-05-27 16:08:22 -04:00
Pierre Barbier de Reuille 0bb96c9168 Merge "Update the computation of the widget span from size" into sc-dev 2021-05-27 12:11:27 +00:00
Samuel Fufa bd883ea788 Merge "Remove AllApps prediction edu" into sc-dev 2021-05-27 11:02:49 +00:00
Jason Chang 9bc712f267 Merge "Migrate trigger logic to fullfill new UI changes for One-handed mode settings." into sc-dev 2021-05-27 05:31:13 +00:00
Bill Yi 1817a5717f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6b5cd6be5d7f2b4519dc0fa589df88ea5e6b3139
2021-05-27 02:29:56 +00:00
Josh Tsuji bdb4ed711c Merge "Adds launcher-side support for the SmartSpace shared element transition." into sc-dev 2021-05-27 00:29:01 +00:00
Winson Chung 9b45bce963 Merge "Add missing call to finish the home animation" into sc-dev 2021-05-27 00:00:34 +00:00
Winson Chung 45ecd6aa7d Add missing call to finish the home animation
- This reset the task view's show-screenshot state to show the
  snapshot the next time the task view is visible

Fixes: 186143625
Test: Enter pip w/ autoenter pip app, swipe up to overview
Change-Id: I6a1ec3d0654a33b228f97a6009145450e72e8d48
2021-05-27 00:00:24 +00:00
TreeHugger Robot a07c2efdf6 Merge "Enable unpausing apps from the workspace." into sc-dev 2021-05-26 22:24:40 +00:00
Stevie Kideckel d9abe11b92 Merge "Add the DefaultItemAnimator, without change animations" into sc-dev 2021-05-26 22:21:03 +00:00
TreeHugger Robot d50d21b602 Merge "Update gesture nav colors and animation for dark/light theming" into sc-dev 2021-05-26 22:07:52 +00:00
Pierre Barbier de Reuille 295a402908 Update the computation of the widget span from size
The new computation takes into account the new cell layout border
spacing.

Change-Id: Ic20e0906bbbaaf1e53475585e2a6ca31c277e09b
Bug: 187461595
Test: Manual testing, varying the sizes in a widget
2021-05-26 22:44:58 +01:00
TreeHugger Robot 96793bdfe1 Merge "Adjust the widgets fitting algorithm to mitigate over packing issue" into sc-dev 2021-05-26 21:06:57 +00:00
TreeHugger Robot 3558f084f3 Merge "Update colors for Digital Wellbeing Toast." into sc-dev 2021-05-26 20:05:48 +00:00
Sunny Goyal e85dc514cd Enabling themed icon feature
Bug: 183641907
Test: Manual
Change-Id: I79643803bb50ab2f4b40122258cd1c8bf89b90ad
2021-05-26 12:40:35 -07:00
Schneider Victor-tulias 9909544c8a Update gesture nav colors and animation for dark/light theming
- Added light mode gesture feedback animations
- Added color resources for the fake launcher wallpaper. Also using these color resources in the feedback animations for consistency
- Using fake previous app task color in feedback animations for consistency

Bug: 169687177
Test: manual
Change-Id: I1d28212e02c2ae750ce6241b64aa90f52b827c76
2021-05-26 12:34:29 -07:00
Steven Ng b7773f93cf Adjust the widgets fitting algorithm to mitigate over packing issue
If we are fitting more than one widgets / shortcuts on the same row,
we will only allow the total width to be n - 1 cells, where n is the
grid width in cells.

Test: Run WidgetsTableUtils robolectric test.
Bug: 189103942
Change-Id: I2f23cb08fe95d68562188cc7b1852d99d7093dc0
2021-05-26 19:27:46 +01:00
zakcohen 14b6898126 Update colors for Digital Wellbeing Toast.
Bug: 179922117
Test: Local
Change-Id: Iec58238ba92218ab2a22027b9c821804fb0d9df2
2021-05-26 11:10:37 -07:00