Commit Graph

49925 Commits

Author SHA1 Message Date
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 Miranda 2d35d4b97c Make BaseIcon.Workspace so that it can be overriden.
Bug: 188094809
Test: manual
Change-Id: Id31502e66d96806054e1cdd6549b226b2a22173e
2021-05-27 18:55:15 -07:00
Jon Spivack 7e9830c8b1 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: Id4662845c9031d2faef21d71d8770becd9a4f099
2021-05-28 01:44:32 +00:00
Jon Miranda de907805d1 Change folderFillColor to colorBackgroundFloating.
There seems to be some nuance that prevents me from defining it once in
the base theme, so just updated all of them individually to prevent
any edge case from slipping through.

Bug: 188095988
Test: manual
Change-Id: I1dea639f174fa4ec09bda93a6e2017993b2007a5
2021-05-28 01:21:21 +00: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
android-build-team Robot 8919ef12db Snap for 7405256 from 4bbd8623f9 to sc-v2-release
Change-Id: I8c1831d6fc0c015fc2994edaafe801b190bba9c0
2021-05-28 01:09:02 +00:00
android-build-team Robot c4e061f910 Snap for 7406169 from 0bb96c9168 to sc-release
Change-Id: I0f17e42076c370e8fd2155f7293203c626b411c5
2021-05-28 01:09:00 +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
Schneider Victor-tulias b8911296b7 resolve merge conflicts of af76459cc4 to sc-v2-dev-plus-aosp
Test: manual
Bug: none

Change-Id: I2dd82b1601bacab36cc589523780ca1166270223
2021-05-28 00:03:22 +00:00
Schneider Victor-tulias 3b6f781c73 resolve merge conflicts of 694b667138 to sc-mainline-prod
Test: manual
Bug: none

Change-Id: Id03c870b62f6a6a73ddc7669a1ec2eef6ba07460
2021-05-28 00:02:53 +00:00
Jon Spivack 1e1f85beff NIU Actions: Support Dark Mode and Landscape
This adds light and dark color variants for the UI elements on the Go Recents screen. Toggling Dark Mode will switch between the themes. Additionally, the button spacing definitions have been updated to better support Landscape orientation.

Bug: 187866121
Bug: 183714277
Test: Manual (Pixel 3A)
Change-Id: Ia2c0cbf372882aad87e4018d10d8f85bd92842e0
2021-05-27 16:23:51 -07:00
Brian Isganitis 08fdf4d269 Create settings activity layout with explicit toolbar
This layout will be overridden to have a collapsible toolbar on API 31.

Test: Settings layout unchanged
Bug: 187732263
Change-Id: I0c098dd0a09a1787a10035a3d3f35ecf461cfc20
2021-05-27 18:41:18 -04:00
Brian Isganitis a9a063294e 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: I058985cbd1edbdb9cf1487eed4a51f9863cda0e7
2021-05-27 22:32:56 +00:00
TreeHugger Robot 98fc06fcc2 [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: Icd40e6b891efdd289ff03ad280733d0abf1f62cb
2021-05-27 22:32:50 +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 Miranda 62769f10d7 Turn off app close flag, Revert back to R implementation.
Need more time to experiment with interpolated + springs based approach,
will aim for QPR instead.

Bug: 189120868
Bug: 173107751
Test: manual
Change-Id: I5698bd61c92b4fa719d82f2553125fc7f65b5969
2021-05-27 15:14:52 -07: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
Steven Ng 7a36ad396e Don't dismiss keyboard after clicking X button on the widgets search bar
Test: Enter some queries in the widgets search bar. Click X button. The
      keyboard is still opened after the search queries has been erased.
Bug: 189454318
Change-Id: Icb0501cf36cbf1517e2da24044da44101fa86ed9
2021-05-27 18:42:31 +01:00
Pierre Barbier de Reuille 4bbd8623f9 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: I88641547e683ca42b776cd300fc155e42761dddb
2021-05-27 12:32:00 +00: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 b53a58288a 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: Ic51e0fecefab7e8494d012ec4b082c2212550edc
2021-05-27 11:31:02 +00:00
Samuel Fufa bd883ea788 Merge "Remove AllApps prediction edu" into sc-dev 2021-05-27 11:02:49 +00:00
Jason Chang 0a79857e1d 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: Icf6393dd187c350aa144d421721a778f7a45bcf5
2021-05-27 06:00:07 +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
TreeHugger Robot 6b4fa91035 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-05-27 04:16:18 +00:00
Bill Yi 64543c0dad Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4e5ee682ed5b52d4c97164bb195934a3a03653b3
2021-05-27 02:30:30 +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
android-build-team Robot e705ddce64 Snap for 7402811 from a07c2efdf6 to sc-release
Change-Id: I8ef4b4dc32759c89e0109c2594b4cc6bc8741803
2021-05-27 01:09:15 +00:00
android-build-team Robot a71a44ace7 Snap for 7401515 from 5d9704b8bd to sc-v2-release
Change-Id: Ib25cf9a8d2d519df162839d296375535805309c4
2021-05-27 01:08:58 +00:00
Josh Tsuji b7735b450e 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: I4812a5728ec39d06aab9350780f86600133555fb
2021-05-27 00:49:58 +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 cfda5b44bf 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: I3035f8f9176c97e3b28d82d25969b9ddf3d74b33
2021-05-27 00:20:11 +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 3bc3f99052 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: I81fa5c0d7b9ab73d267e2e1083882854492fbaf1
2021-05-26 22:30:09 +00:00
Tony Wickham f8d731a808 Cleanup state properly when interacting during gesture nav transition
When the transition is canceled (e.g. when touching the nav bar during the transition), do the following:
- Abort the RecentsView scroll including the edge effects to ensure we get onSettledOnEndTarget() immediately.
- Jump to the current gesture end target state instead of the default rest state.

Test: Swipe up and to the left and hold to go to overview from an app, then swipe up to home during the transition; ensure that the touch down goes to overview rather than home, and subsequently that the swipe is respected and goes to home
Fixes: 189142339
Change-Id: Ie1d7dd05f45ab48968df7fdfd69fa1e1dda36d06
2021-05-26 15:28:38 -07:00
TreeHugger Robot a07c2efdf6 Merge "Enable unpausing apps from the workspace." into sc-dev 2021-05-26 22:24:40 +00:00
Stevie Kideckel 5bb331df92 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: I0766916ab75b02e9f83438a0de04db335daeb367
2021-05-26 22:22:45 +00:00