Commit Graph

32519 Commits

Author SHA1 Message Date
Evan Rosky f78ba72379 Revert "Fix a bug in TouchInteractionService for fixed-display input rotation"
This reverts commit 04fb7ee44c.

Reason for revert: This wasn't the right fix.

Bug: 179274888
Change-Id: Ic9aaf2b43252533837206cc82ac5fd1f2d7297f8
2021-05-12 02:09:00 +00:00
Jon Spivack 9e0189bac6 Default screen context permissions for NIU Actions
This updates the checks for ASSIST_STRUCTURE_ENABLED and ASSIST_SCREENSHOT_ENABLED to return 1 if the settings do not exist. This matches the logic in the Settings app iself, which has the toggle boxes on by default but does not actually initialize those values until they are toggled for the first time.

Bug: 187868947
Test: Manual (tested on Pixel 3A)
Change-Id: I4ef067dcf21b40eea71199e057d7a00d1d8fb2b3
2021-05-11 19:02:58 -07:00
Jonathan Miranda d75f89c6c0 Merge "Fix contrast issue with folder background and text colors." into sc-dev 2021-05-12 01:49:26 +00:00
Schneider Victor-tulias e3af6c6513 Update gesture navigation tutorial.
- Updated gesture navigation feedback videos.
- Added feedback motion loop videos.
- Updated strings.
- Added alternate strings for when the user launches tutorial steps from the Tips app.

Test: manual
bug: 169687177
Change-Id: I87d475e1510a25ffefea14dbd0b224a063e7cad8
2021-05-11 18:14:29 -07:00
TreeHugger Robot 5f7e2cc7ea Merge "Use SP for folder text size." into sc-dev am: 3e0c115196
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14460335

Change-Id: If2742031c135fabdcb11c3062513a77d0a11fe2d
2021-05-12 00:58:58 +00:00
Jon Miranda 35c5477d5c Remove color extraction from popup arrow, add shadows.
Bug: 175329686
Bug: 187014675
Test: manual

Change-Id: I84a3f23b7a9ceef004a2b1b66e5f8a10585bd113
2021-05-11 17:35:01 -07:00
TreeHugger Robot 3e0c115196 Merge "Use SP for folder text size." into sc-dev 2021-05-12 00:30:36 +00:00
Jon Miranda 7bbd03160f Fix contrast issue with folder background and text colors.
Bug: 187797251
Test: dark wallpaper, light wallpaper, toggle dark theme on both
Change-Id: I57ddfc91878d68735d5ae5ec5ab78222fda101ca
2021-05-11 17:01:53 -07:00
Tracy Zhou 38588dc23a Finish the recents animation upon home rotation
Fixes: 184054813
Test: manual
Change-Id: I32eba85563b83ee9738696c526a1546008cd3a5d
2021-05-11 16:52:48 -07:00
Shan Huang 43db9a1533 Merge "Update smartspace and workspace text color always use black or white." into sc-dev am: 9d16d7f192
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14494141

Change-Id: I551727f4e760d7ad1c3da0b3c6669bcaa090afa5
2021-05-11 23:49:19 +00:00
Hongwei Wang 6fc623d0b9 Skip setShelfHeight if Launcher is not started
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/gIqsb2WlagwQ8ly3q3RHI0
Bug: 184797356
Test: atest WMShellFlickerTests:PipShelfHeightTest
Test: manual, see video
Change-Id: Ia02b2da110b05341dfbf92b9d8d7fca4bbf6bdb3
2021-05-11 16:42:42 -07:00
Shan Huang 9d16d7f192 Merge "Update smartspace and workspace text color always use black or white." into sc-dev 2021-05-11 23:38:29 +00:00
Tracy Zhou 1d4f7d893a Merge "Do not pip when ending live tile in Overview" into sc-dev am: 6dce7b6366
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14506716

Change-Id: If109bbff09e76a0d4162dbb3439530dfcb7ae6bd
2021-05-11 23:26:04 +00:00
Hyunyoung Song 39f2f486e1 Merge "Revert "Don't crash on dialer app target search results"" into sc-dev am: 1553f4dfae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14456868

Change-Id: I9a5fccb103d1a135015dc6dd6aefd81dbc283e68
2021-05-11 23:25:25 +00:00
TreeHugger Robot 3527407946 Merge "hide keyboard onStop and onNewIntent" into sc-dev am: d30f4ce528
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14506218

Change-Id: I8eb6ab48c4740a355dfebfd2eab0bdb503e89a62
2021-05-11 23:24:54 +00:00
Tracy Zhou 6dce7b6366 Merge "Do not pip when ending live tile in Overview" into sc-dev 2021-05-11 23:23:35 +00:00
Jon Miranda af3aed0c4a Use SP for folder text size.
Bug: 156141463
Test: change font size, verify folder text size changes
Change-Id: I7e479d76c9f16c5b42cabfbae63494ef98b6dc27
2021-05-11 16:14:09 -07:00
Hyunyoung Song 1553f4dfae Merge "Revert "Don't crash on dialer app target search results"" into sc-dev 2021-05-11 23:13:13 +00:00
TreeHugger Robot d30f4ce528 Merge "hide keyboard onStop and onNewIntent" into sc-dev 2021-05-11 23:08:53 +00:00
Jon Spivack 392f34c000 Merge "Rework NIU Actions buttons UI" into sc-dev am: 4ff2f7697c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14491469

Change-Id: I79d0c4cf13a077c2faf5bf3993e1230f270879e2
2021-05-11 22:41:23 +00:00
TreeHugger Robot 0566f1698c Merge "Exposing AnimatorListeners in StateManager to receive both success and failure callback" into sc-dev am: d7c6e44ba9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14506717

Change-Id: Ib1baa27604fa5f61bb78556a8b9c1e275e5e1e9d
2021-05-11 22:40:30 +00:00
Jon Spivack 4ff2f7697c Merge "Rework NIU Actions buttons UI" into sc-dev 2021-05-11 22:29:12 +00:00
TreeHugger Robot d7c6e44ba9 Merge "Exposing AnimatorListeners in StateManager to receive both success and failure callback" into sc-dev 2021-05-11 22:21:42 +00:00
Winson Chung 3ecbdbc2c2 Merge "End scroller if it has already reached the final position" into sc-dev am: 76e27f6d5d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14491456

Change-Id: I5d71daba444396b11cbb3555b446def20789bb0f
2021-05-11 22:14:38 +00:00
Winson Chung 76e27f6d5d Merge "End scroller if it has already reached the final position" into sc-dev 2021-05-11 21:52:45 +00:00
Winson Chung f0f32a9203 Merge "Revert "Invalidate when switching to new consumer"" into sc-dev am: 3956b3ea84
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14495064

Change-Id: Ibad69dfa3eaf79af57135404b51566a5882f7d26
2021-05-11 21:44:36 +00:00
Tracy Zhou 9c4dafcbd6 Merge "Check if mRecentsAnimationController is null before switching to screenshot" into sc-dev am: 5465527e16
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14490316

Change-Id: I684e57c21cf3772f6d8988396a7048a54fa1019b
2021-05-11 21:44:23 +00:00
Winson Chung 3956b3ea84 Merge "Revert "Invalidate when switching to new consumer"" into sc-dev 2021-05-11 21:21:18 +00:00
Hyunyoung Song 5ee7c13c60 hide keyboard onStop and onNewIntent
Bug: 183062683
Test: manual

Change-Id: I4c69c8ff87d827552e6b77424ce4b17edfb22966
2021-05-11 14:03:05 -07:00
Sunny Goyal a75f576890 Exposing AnimatorListeners in StateManager to receive both success and failure callback
Updating various callers to use onSuccess or onEnd appropriately

Test: Manual
Bug: 185554764
Change-Id: I357dd1fdbe111e7a30d4c8dee520fbd7d9956b7d
2021-05-11 13:53:14 -07:00
Hyunyoung Song 222a59e79a Implement overshoot and squish motion in all apps open
Bug: 187475924
Bug: 183062683
Test: manual

Change-Id: I33b6c647c45ff467c6d49cf3796f92ca366ab3f1
2021-05-11 13:49:45 -07:00
Tracy Zhou 5465527e16 Merge "Check if mRecentsAnimationController is null before switching to screenshot" into sc-dev 2021-05-11 20:44:17 +00:00
Tracy Zhou be0bb572da Do not pip when ending live tile in Overview
Test: manual
Fixes: 187855255
Change-Id: Iadf808d41692c7dd37de28388b689f01bf045ea9
2021-05-11 13:23:16 -07:00
Winson Chung 8542541b2b End scroller if it has already reached the final position
- The system overscroller seems to take a long time to settle even
  after the final position has been reached, so if that has already
  happened and there is no edge effect, then just end the scroller.
- Remove unused code related to SmoothPageView

Bug: 184983443
Test: Quickswitch and ensure we finish the recents animation after it settles
Change-Id: I9fa72ddd6b6e0d38b6f622c776a2ac5f5b055760
2021-05-11 12:59:14 -07:00
TreeHugger Robot 9a3963ebc9 Merge "Enable smartspace card dismissals" into sc-dev am: a7cc2cbdb5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14456867

Change-Id: I01cf447d58a85a3ef98385ed02f2d1693d0a00ea
2021-05-11 19:53:38 +00:00
Winson Chung ff67905f89 Revert "Invalidate when switching to new consumer"
This reverts commit 4df3b23225
and Id0a6a1c5301c66a515cefcab58b77495081c6190, as we have another
change to try and address the original issue.

Bug: 185909226
Change-Id: Ic2c08833e066090a43b989f2f470de298174e84d
2021-05-11 19:51:52 +00:00
TreeHugger Robot a7cc2cbdb5 Merge "Enable smartspace card dismissals" into sc-dev 2021-05-11 19:39:28 +00:00
Alina Zaidi 042249ff59 Update colors in pin widget dialog, to be similar to widget bottom sheet.
Bug: 187374499
Test: Visually tested. Also tested using accessibility scanner.
Change-Id: I3be84dc394d312d03b97fe66b7e8214c4d8bef71
2021-05-11 17:47:48 +01:00
TreeHugger Robot 25e6958e75 Merge "Update workspace text shadow according to new specs." into sc-dev am: b1754bfc06
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14494140

Change-Id: If07bc0b10e85f6435710603fd98b62282e620150
2021-05-11 16:17:49 +00:00
TreeHugger Robot b1754bfc06 Merge "Update workspace text shadow according to new specs." into sc-dev 2021-05-11 15:59:57 +00:00
Shan Huang 4cbe517801 Update workspace text shadow according to new specs.
Test: Manual
Bug: 185890335, 187796297

Change-Id: Iba455544cdba86ddab7f1cfcc6c30c074e55ab84
2021-05-11 22:35:27 +08:00
TreeHugger Robot b8991cc1fc Merge "Handle config changes in Launcher" into sc-dev am: 95ff5cf63e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14234761

Change-Id: Ic71f8c2c6f595ae6c968466b19228f6506f132f1
2021-05-11 11:17:58 +00:00
TreeHugger Robot 95ff5cf63e Merge "Handle config changes in Launcher" into sc-dev 2021-05-11 10:58:48 +00:00
András Klöczl e03bff853b Merge "Fix launcher navigation issue when using a controller" into sc-dev am: 45e72a1ed3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425542

Change-Id: I62300ff660d66fd06be206bdbd6e3e2641a29962
2021-05-11 10:25:51 +00:00
András Klöczl 45e72a1ed3 Merge "Fix launcher navigation issue when using a controller" into sc-dev 2021-05-11 10:01:43 +00:00
Shan Huang f444db50aa Update smartspace and workspace text color always use black or white.
This change updates the color of texts in launcher workspace as well as smartspace.

Bug: 185890335
Test: Visual inspection after setting different wallpapers for LS and
homescreen.

Change-Id: I77b870b8f7068103d687d39da01989b93d642b3b
2021-05-11 08:46:45 +00:00
Andras Kloczl 359d1aedae Fix launcher navigation issue when using a controller
When navigating in Launcher home using a controller,
the mCurrentPage variable isn't updated properly which
results in out of order navigation.

Test: manual
Before: http://shortn/_c8A8mKiplN
After: http://shortn/_ctxIaweqZY
Bug: 187205980
Change-Id: I9ff4019b608e999749c4d0835cc3ceb35be93a3f
2021-05-11 09:52:24 +02:00
TreeHugger Robot 74492d44d8 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 6328f34f32 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9f26e16703b57ac902773bd2516b59e85175866b
2021-05-11 05:43:35 +00:00
TreeHugger Robot 4b23b2d2fe [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b117c44b91 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5a8e77ae37efba7ce71ce3061812d48299568040
2021-05-11 05:43:31 +00:00
TreeHugger Robot dc8153769e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 09fac32a00 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I51fc297340e9c0eb6822f33a230487de309ca782
2021-05-11 05:43:04 +00:00