Commit Graph

58436 Commits

Author SHA1 Message Date
TreeHugger Robot 2b7663d704 Merge "Update widget manipulation colors." 2021-06-24 21:23:41 +00:00
Jonathan Miranda a754e678a7 Merge "Move qsb according to spec." into sc-dev 2021-06-24 21:14:11 +00:00
Schneider Victor-tulias f0c2158a5f Update gesture navigation intent tutorial steps handling
Updated gesture navigation to use either a comma-separated string or a string array for defining tutorial steps.

Fixes: 184002732
Test: manual
Change-Id: Ib2f8f78ccd57100d978db799b785fd9dffe9fb7f
2021-06-24 14:05:44 -07:00
Vinit Nayak 3125def4fd Merge "Add rounded corners to TaskMenu Items" into sc-dev am: 646fdb802e am: 3d17b57eaf am: 118f3cfc0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084517

Change-Id: I0ef6ae316c6f21829f299f59cddb8cc5b7f43daa
2021-06-24 20:56:56 +00:00
Vinit Nayak c43eb3f0d7 Merge "Add rounded corners to TaskMenu Items" into sc-dev am: 646fdb802e am: 69a7768ea6 am: 736eb84d13
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084517

Change-Id: Ie08fa6817a7d054b6aa5bf257c31f3401ad5776e
2021-06-24 20:56:34 +00:00
Vinit Nayak 118f3cfc0a Merge "Add rounded corners to TaskMenu Items" into sc-dev am: 646fdb802e am: 3d17b57eaf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084517

Change-Id: Id03a8cd90ef91b225c0652c850d23a8b4a2f56a0
2021-06-24 20:42:58 +00:00
Vinit Nayak 736eb84d13 Merge "Add rounded corners to TaskMenu Items" into sc-dev am: 646fdb802e am: 69a7768ea6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084517

Change-Id: I8a9df14959935a4f0c1f067bf750c33c485e70a7
2021-06-24 20:42:47 +00:00
Vinit Nayak 5744a5a7ab Merge "Add rounded corners to TaskMenu Items" into sc-dev am: 646fdb802e am: 61bfe33e12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084517

Change-Id: I7a32898d29961ed392042065d4af968aae24bb3c
2021-06-24 20:41:48 +00:00
Vinit Nayak 69a7768ea6 Merge "Add rounded corners to TaskMenu Items" into sc-dev am: 646fdb802e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084517

Change-Id: Ida241e8f5d6293ccd7e2dec7524b27c9aaa94bdb
2021-06-24 20:24:17 +00:00
Vinit Nayak 3d17b57eaf Merge "Add rounded corners to TaskMenu Items" into sc-dev am: 646fdb802e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084517

Change-Id: I61e69bf0e4af8b3e3c784c8832e9a4ba74211d2d
2021-06-24 20:23:46 +00:00
Vinit Nayak 61bfe33e12 Merge "Add rounded corners to TaskMenu Items" into sc-dev am: 646fdb802e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084517

Change-Id: I8653affe62c07a1d8c86c5b0c72ee4a6752423bc
2021-06-24 20:23:28 +00:00
Steven Ng 3ff0ee1a95 Fix rounded corners for shortcut & generated preview shadow box
Test: Open the widgets picker and locate shortcuts. Rounded corners are
      rendered on the rectangular box of a shortcut
Fix: 191948061
Change-Id: I24e4dc4c4a9c9c7e875444db5294f6c33f50db85
2021-06-24 21:17:13 +01:00
Vinit Nayak 646fdb802e Merge "Add rounded corners to TaskMenu Items" into sc-dev 2021-06-24 20:13:40 +00:00
Yogisha Dixit 3cbd7e3c33 Update widget manipulation colors.
Spec:
* Resize frame: https://docs.google.com/presentation/d/1UxdDh8EFhPbdRWRwzjbpgL-j02ew4Ew3eG3XBCeoYdo/edit#slide=id.OeO4S0j
* Drop target bar: https://docs.google.com/presentation/d/1UxdDh8EFhPbdRWRwzjbpgL-j02ew4Ew3eG3XBCeoYdo/edit#slide=id.vXfwHn8

Test: manual
Bug: 187910396
Change-Id: I6fd433796970c428841ee96e45ee4fca1ded3665
2021-06-24 21:02:08 +01:00
Bill Yi 251568d152 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib4f294657718131cf2dd46972e5f24538ad0f33f
2021-06-24 19:53:31 +00:00
TreeHugger Robot d04cca1a78 Merge "Measure WidgetsBottomPicker again when the number of spans changes" into sc-dev am: 6604eb54bf am: d692a79b91 am: 2674b84677
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15095550

Change-Id: Idd58102628abe60690397a83251329cd6619e735
2021-06-24 19:52:58 +00:00
Bill Yi f7ae5338a2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iaaa12594b95afa443e7bcc3de6aa927f48ba1716
2021-06-24 19:52:49 +00:00
Bill Yi 4febf9d14c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9342af23507004f0a9aa00db75c579f171ae00d5
2021-06-24 19:52:22 +00:00
TreeHugger Robot 0e74169ed3 Merge "Measure WidgetsBottomPicker again when the number of spans changes" into sc-dev am: 6604eb54bf am: 55bdce183e am: fac119da49
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15095550

Change-Id: Ibe4b8854d29fe81539942a6773613bf43774357d
2021-06-24 19:52:06 +00:00
Bill Yi d81d27a08f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I299d142391fb418d082010406c088a176d6ea044
2021-06-24 19:51:47 +00:00
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
Android Build Coastguard Worker 393cae0f4a Snap for 7487129 from 7de7a1dd87 to tm-release
Change-Id: I3fa899cf127d20211b0f1658af8c546449fc47d9
2021-06-24 03:08:00 +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