Commit Graph

49925 Commits

Author SHA1 Message Date
Bill Yi 43293e124e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I535422d9812c77c7fc4040c2a356336b7cf22da0
2021-06-24 19:51:08 +00:00
Bill Yi cf23447c4b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I43e629bb30b7e66f0e956d88fbb7d157730176e6
2021-06-24 19:50:29 +00:00
Bill Yi ce114e05f3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib7e8679556fb83c611f7fccbf7bf2d7664cd9621
2021-06-24 19:50:04 +00:00
Bill Yi df620a32cd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie4bdc25f85dcf0e3981113e1636ada6787f78611
2021-06-24 19:49:18 +00:00
Bill Yi ea83be4e99 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id3e8879bd00e1943eab357a11e7f8e36c48250c2
2021-06-24 19:48:45 +00:00
TreeHugger Robot 2674b84677 Merge "Measure WidgetsBottomPicker again when the number of spans changes" into sc-dev am: 6604eb54bf am: d692a79b91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15095550

Change-Id: I2c9c7e171d1698ded2dcd3a04d7f90521c9258c8
2021-06-24 19:37:56 +00:00
TreeHugger Robot fac119da49 Merge "Measure WidgetsBottomPicker again when the number of spans changes" into sc-dev am: 6604eb54bf am: 55bdce183e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15095550

Change-Id: I7210577b677f1012509a52828e6c2366e25389a8
2021-06-24 19:37:26 +00:00
TreeHugger Robot abb5f8f189 Merge "Measure WidgetsBottomPicker again when the number of spans changes" into sc-dev am: 6604eb54bf am: 3ad039a6c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15095550

Change-Id: I11e8a3851184059c70c30e26c49686b2f6e3fadf
2021-06-24 19:36:46 +00:00
Winson Chung 46319004c1 Tweak live tile rotation handling
- With ag/15023409, the system will screenshot and cancel the recents
  animation based on the hint provided by launcher when there is a
  global config change. As such, we can remove extra handling of the
  configuration change on the launcher side, and handle the cancel
  with the provided snapshot.

  To handle the snapshot, we need to hook into the gesture state
  recents animation callbacks (which actually are of the lifecycle of
  the animation and not just the gesture).

Bug: 189843542
Test: With live-tile enabled, swipe up to overview and rotate
Change-Id: If74f3fc5d47c327f9f5cca8f1f5d23b48cd3c954
2021-06-24 12:35:53 -07:00
Alina Zaidi e92c63f45b Remove scrim from navigation bar from full widget picker.
Bug: 191926325
Test: Manually tested
Change-Id: Idc5fded9e8227a6aa9cf58c9e2cce146dc52a2c6
2021-06-24 20:20:05 +01:00
TreeHugger Robot 55bdce183e Merge "Measure WidgetsBottomPicker again when the number of spans changes" into sc-dev am: 6604eb54bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15095550

Change-Id: I5b5bf85f123ecc1423b74f52a7b33328e1bb4e6e
2021-06-24 19:13:32 +00:00
TreeHugger Robot d692a79b91 Merge "Measure WidgetsBottomPicker again when the number of spans changes" into sc-dev am: 6604eb54bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15095550

Change-Id: If37075bd25233778d5ff41adb464055b8980b618
2021-06-24 19:12:46 +00:00
TreeHugger Robot 3ad039a6c7 Merge "Measure WidgetsBottomPicker again when the number of spans changes" into sc-dev am: 6604eb54bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15095550

Change-Id: I8264341fad13c66f343c042a7046377ac97124ba
2021-06-24 19:12:40 +00:00
Jon Miranda 8bdb222a18 Move qsb according to spec.
Bug: 175329686
Test: visual test
      checked 5x5 and confirmed no visual change
      checked 4x5 and confirmed visual change
      - tested various display sizes to ensure no overlapping is caused

Change-Id: I95a80b484516f634fa13347534810c7a51cecc8d
Merged-In: I95a80b484516f634fa13347534810c7a51cecc8d
2021-06-24 18:51:46 +00:00
Jonathan Miranda 8200aa9f26 Merge "Move qsb according to spec." 2021-06-24 18:51:28 +00:00
vadimt ca383ffdf5 Postponing CUJ start by 1 frame
for CUJ_APP_LAUNCH_FROM_ICON, CUJ_APP_CLOSE_TO_HOME,
CUJ_APP_LAUNCH_FROM_WIDGET and CUJ_APP_LAUNCH_FROM_RECENTS

Test: Local perfetto run
Bug: 190858586
Change-Id: I7a26d91c44a0a4c767bde3230d39a096a26d7b75
2021-06-24 11:44:57 -07:00
TreeHugger Robot 6604eb54bf Merge "Measure WidgetsBottomPicker again when the number of spans changes" into sc-dev 2021-06-24 18:43:32 +00:00
Zak Cohen 95d23f9a4d Revert "Fix some touch issues during gesture nav transition"
This reverts commit 1351c2214d.

Reason for revert: Suspect causing test failures: https://b.corp.google.com/issues/191946109

Change-Id: Ib1b5545b3a612e89923ea06a890e4a07be9fa857
2021-06-24 18:11:36 +00:00
Jon Miranda 6a936e3ec4 Update colors for non-v31 devices.
Also renamed to popup color to popup shade to better differentiate
between the primary/secondary/tertirary popup colors.

Bug: 191496301
Test: Removed v31 colors to verify the non-v31 colors, that the shades are as expected
      Tested on wallpapaper with light text, again with dark mode
      Tested on wallpaper with dark text, and then again with dark mode

Change-Id: I3ec9ee7f85696ee48224740a1ec7f4abe42348ee
2021-06-24 11:07:52 -07:00
Jon Miranda f762dc3270 Move qsb according to spec.
Bug: 175329686
Test: visual test
      checked 5x5 and confirmed no visual change
      checked 4x5 and confirmed visual change
      - tested various display sizes to ensure no overlapping is caused

Change-Id: I95a80b484516f634fa13347534810c7a51cecc8d
2021-06-24 17:16:13 +00:00
Steven Ng 53e8b46f66 Measure WidgetsBottomPicker again when the number of spans changes
Bug: In onMeasure, we calculate the number of spans that can be fit
horizontally. If the number of spans has changed, we re-organize
widgets shown in the table. However, after that, we didn't measure
WidgetsBottomPicker and its children again. As a result, the newly
added widget previews' dimensions are never measured.

Test: Long press clock app and then click widgets. Rotates the screen
      and observe widgets correctly shown.
Fix: 191644950
Change-Id: Iae94fba5b137807483e061d785b18d59defb013e
2021-06-24 18:16:05 +01:00
Alex Chau 7a9972289f Add touch event of on taskbar for various cases
- Temporarily disable leak detection on tablets until b/191449914 is resolved
- Add touch event on taskbar when interacting with navigation buttons
- Added TaplTestsLauncher3.initialize to StartLauncherViaGestureTests which is present in TaplTestQuickstep to solve LauncherInstrumentation being null problem on tablets

Bug: 191344757, 191449914
Test: TaplTestQuickstep and StartLauncherViaGestureTests
Change-Id: I49accc458d133717f290140abe80aae8a683f6c0
2021-06-24 18:00:12 +01:00
Pat Manning 99191fdf3f Hide overview on fold/unfold when live tile is active.
Test: manual
Fix: 184846394
Change-Id: I97ae328234bf0932712c7cf3ca97813cae7c46a7
2021-06-24 16:18:03 +00:00
Tony Wickham bfc32cdfb0 Merge "Fix some touch issues during gesture nav transition" into sc-dev am: 8db306f3c5 am: 0a53f8e4f7 am: cd7766aec5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15081302

Change-Id: Ie59a2025d45fe3210ff3126f53f11cec6cd5326c
2021-06-24 01:44:22 +00:00
TreeHugger Robot e59340fd0f Merge "Ensure InputConsumer is non-null in remaining cases" into sc-dev am: 862224f913 am: 4601153fd5 am: 248385336e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084524

Change-Id: I9931bb192bf7f12db89ad0fa5e815c3e06dec82e
2021-06-24 01:44:17 +00:00
Tony Wickham 1a664370dc Merge "Fix some touch issues during gesture nav transition" into sc-dev am: 8db306f3c5 am: 9f7eae758f am: 47e185fca8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15081302

Change-Id: Ic7baf055114f5564c3d61dd9e5b95a4e7688f66f
2021-06-24 01:44:11 +00:00
TreeHugger Robot 660efc4347 Merge "Ensure InputConsumer is non-null in remaining cases" into sc-dev am: 862224f913 am: bd80a07da1 am: 6057ff99ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084524

Change-Id: I75a1f4e7a49edd484cd201c9bd348ee704838a1c
2021-06-24 01:44:04 +00:00
Tony Wickham cd7766aec5 Merge "Fix some touch issues during gesture nav transition" into sc-dev am: 8db306f3c5 am: 0a53f8e4f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15081302

Change-Id: Icc67d5b0acb5a793d07d7b990c2b1d975e67a988
2021-06-24 01:32:47 +00:00
TreeHugger Robot 248385336e Merge "Ensure InputConsumer is non-null in remaining cases" into sc-dev am: 862224f913 am: 4601153fd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084524

Change-Id: I22aa158bfac35d0e80850e89ee1ba3f79283abb2
2021-06-24 01:32:43 +00:00
Tony Wickham 47e185fca8 Merge "Fix some touch issues during gesture nav transition" into sc-dev am: 8db306f3c5 am: 9f7eae758f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15081302

Change-Id: I946b5904be09620c4519b69f20e453d234491b6d
2021-06-24 01:32:35 +00:00
TreeHugger Robot 6057ff99ca Merge "Ensure InputConsumer is non-null in remaining cases" into sc-dev am: 862224f913 am: bd80a07da1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084524

Change-Id: I1342bd134c27fc2926743794c821ec19556fad35
2021-06-24 01:32:21 +00:00
Tony Wickham 5435eb27c1 Merge "Fix some touch issues during gesture nav transition" into sc-dev am: 8db306f3c5 am: f8bfb7ab90
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15081302

Change-Id: Ie85cb113acf36b1bb8f343d15aadb92a9e7f4d16
2021-06-24 01:32:04 +00:00
TreeHugger Robot 3a7d29e6c0 Merge "Ensure InputConsumer is non-null in remaining cases" into sc-dev am: 862224f913 am: 89d1c77669
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084524

Change-Id: I9694ce0382950baed5e7237e936d41830e9364ce
2021-06-24 01:31:57 +00:00
Tony Wickham 9f7eae758f Merge "Fix some touch issues during gesture nav transition" into sc-dev am: 8db306f3c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15081302

Change-Id: I95ef73ae3b9352e70d16ff3a97ae74abf0b69656
2021-06-24 01:18:10 +00:00
TreeHugger Robot bd80a07da1 Merge "Ensure InputConsumer is non-null in remaining cases" into sc-dev am: 862224f913
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084524

Change-Id: If699c0ba7e4ef2e1bcb8026de6a16ed5fc599c6d
2021-06-24 01:18:03 +00:00
Tony Wickham f8bfb7ab90 Merge "Fix some touch issues during gesture nav transition" into sc-dev am: 8db306f3c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15081302

Change-Id: I05ad4be267241a33c405f510116bb53a29a0af72
2021-06-24 01:17:15 +00:00
TreeHugger Robot 89d1c77669 Merge "Ensure InputConsumer is non-null in remaining cases" into sc-dev am: 862224f913
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084524

Change-Id: I4534763ad0cdb1d51328d1b77523c878711882a2
2021-06-24 01:17:10 +00:00
Tony Wickham 0a53f8e4f7 Merge "Fix some touch issues during gesture nav transition" into sc-dev am: 8db306f3c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15081302

Change-Id: I6d3469f46d2bf98e12f9e2078a21d550b96e7435
2021-06-24 01:17:09 +00:00
TreeHugger Robot 4601153fd5 Merge "Ensure InputConsumer is non-null in remaining cases" into sc-dev am: 862224f913
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084524

Change-Id: I8b2dfea5178e8f5a40279aaaf1137dff00350e32
2021-06-24 01:17:04 +00:00
Android Build Coastguard Worker a2b1904978 Snap for 7487213 from dc01385cc2 to sc-v2-release
Change-Id: I54ed501e33a49c6d4b3fad9762f0b8a97144c8e1
2021-06-24 01:13:59 +00:00
Android Build Coastguard Worker 5291b17711 Snap for 7486544 from fa9f70be03 to sc-release
Change-Id: I31be493299a98caec677ae568f508f174ac0329d
2021-06-24 01:08:59 +00:00
Tony Wickham 8db306f3c5 Merge "Fix some touch issues during gesture nav transition" into sc-dev 2021-06-24 01:08:43 +00:00
TreeHugger Robot 862224f913 Merge "Ensure InputConsumer is non-null in remaining cases" into sc-dev 2021-06-24 01:04:18 +00:00
Tony Wickham f64f9a14d8 Ensure InputConsumer is non-null in remaining cases
Anywhere that was using mResetGestureInputConsumer now uses getDefaultInputConsumer, which returns NO_OP if mResetGestureInputConsumer is null.

Test: none
Bug: 191684742
Change-Id: I1ae02b01a9629fa0830955dfe4d83c95a4759c14
2021-06-23 16:39:44 -07:00
Jonathan Miranda 7de7a1dd87 Merge "Update popup colors. Add local color extraction behind a flag." into sc-dev am: bd51e6e3f3 am: dc01385cc2 am: 1d23485128
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15065087

Change-Id: Icad094d1fd4e304edc0f3715707e3ac82600ffe9
2021-06-23 23:33:35 +00:00
Jonathan Miranda 33884afd5a Merge "Update popup colors. Add local color extraction behind a flag." into sc-dev am: bd51e6e3f3 am: c2545652da am: 730c775c09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15065087

Change-Id: I5c6877c9bdfbba51b6e0d1b4e7c827a8f0192da5
2021-06-23 23:33:29 +00:00
Jonathan Miranda 1d23485128 Merge "Update popup colors. Add local color extraction behind a flag." into sc-dev am: bd51e6e3f3 am: dc01385cc2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15065087

Change-Id: Ib7007091b5b60c08d887b19c0eb815b68d6ecf80
2021-06-23 23:24:55 +00:00
Jonathan Miranda 730c775c09 Merge "Update popup colors. Add local color extraction behind a flag." into sc-dev am: bd51e6e3f3 am: c2545652da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15065087

Change-Id: I2f638f3bac92f3d17b7a59a68f902354274a2288
2021-06-23 23:21:29 +00:00
Jonathan Miranda aa4b1ee9e6 Merge "Update popup colors. Add local color extraction behind a flag." into sc-dev am: bd51e6e3f3 am: 4e767a9591
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15065087

Change-Id: I70956da783206b92609b9ce2b87be68833710367
2021-06-23 23:20:40 +00:00
Vinit Nayak d86a9948f9 Add rounded corners to TaskMenu Items
Bug: 188168717
Test: Manual
Change-Id: I7cce42fb08f03a9689b4c5d56ed8208d6f60f7d7
2021-06-23 23:16:01 +00:00