Commit Graph

47928 Commits

Author SHA1 Message Date
Jerry Chang ffe3f4aed5 Merge "Prevent wallpaper flicker while entering split screen from overview" into tm-dev am: 0b944f6a4d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18797269

Change-Id: I3563f65eea46fe1acc311f82673f717ee1efd095
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-09 00:53:32 +00:00
Jerry Chang 0b944f6a4d Merge "Prevent wallpaper flicker while entering split screen from overview" into tm-dev 2022-06-09 00:32:49 +00:00
Becky Qiu 40059b55cc Merge "[Toast] Add query_length for launcher latency logging." into tm-dev am: fe83fce489
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18783028

Change-Id: Ibecd39ae00198dbf352a5d7cdfe450320fe7d1f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 18:25:08 +00:00
Becky Qiu fe83fce489 Merge "[Toast] Add query_length for launcher latency logging." into tm-dev 2022-06-08 18:02:07 +00:00
Jerry Chang c04af333f5 Prevent wallpaper flicker while entering split screen from overview
When launching a pair of apps from overview panel, it will perform
cross-fade animations to transit from overview to the split pair. But
wallpaper might be visible for a while when both overveiw and split pair
is transparent during the transition. This updates to not fade-out
overview until the split pair is finishing showing in foregorund to
prevent the flicker of wallpaper.

Bug: 235137249
Test: swipe to home and enter overview panel, select and swipe down to
      enter a split pair, verified there's no flicker.
Change-Id: Iec1dc49e260f6e46640d47295d7f65dad5c24ab5
2022-06-08 15:26:25 +00:00
Winson Chung 76863f9602 Merge "Revert changes waiting for launcher to resume when transitioning to home" into tm-dev am: 46c9c66048
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18764661

Change-Id: I0d24651cff26d9a7030c0ad8742b01f21ba52a0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 03:19:07 +00:00
Winson Chung 46c9c66048 Merge "Revert changes waiting for launcher to resume when transitioning to home" into tm-dev 2022-06-08 03:11:16 +00:00
TreeHugger Robot 195734cd26 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: df4ac7549c -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id6c63bbc8162a8da9cc264da69d23a9c84f5ee39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 02:46:43 +00:00
Bill Yi 9286b45ad0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 774a541d61 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I31c75bec2e416198395bb03aae735210a5da43b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 02:46:25 +00:00
TreeHugger Robot df4ac7549c Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-06-08 02:31:19 +00:00
TreeHugger Robot 67a964ec96 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 26cdb26369 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6f18f0762c786a554674020be574698aedc6a5ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 00:38:19 +00:00
Bill Yi a0168e0919 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b01161606f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I39fc594c0112f6118e4a42aefd1b7e2aeb579cf1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 00:38:15 +00:00
Jon Miranda 2f753f10d3 Merge "Pause expensive view updates before setting hw/sw layers." into tm-dev am: 2dac4f7f4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18673700

Change-Id: I1049ce2cd2ac6974aa2e412796ae4a005e69b6c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 00:38:05 +00:00
Jon Miranda f3af49fb68 Merge "Play fallback animation if icon in All Apps is covered by header." into tm-dev am: 6d3d7b1a2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18719804

Change-Id: Ie1d80f88b162b233a6a2ea18a0811e81fd1e59cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 00:37:40 +00:00
TreeHugger Robot 26cdb26369 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-06-08 00:32:21 +00:00
Jon Miranda 2dac4f7f4c Merge "Pause expensive view updates before setting hw/sw layers." into tm-dev 2022-06-08 00:15:35 +00:00
Jon Miranda 6d3d7b1a2e Merge "Play fallback animation if icon in All Apps is covered by header." into tm-dev 2022-06-08 00:14:45 +00:00
James O'Leary 05e31e6af9 Merge "Update notification dot from T90 to T80" into tm-dev am: 7bbf0b5e42
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18760367

Change-Id: I39eee18ba516d1c74561efbd7cf72aa6dddd949e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-07 22:59:28 +00:00
James O'Leary 7bbf0b5e42 Merge "Update notification dot from T90 to T80" into tm-dev 2022-06-07 22:39:46 +00:00
Becky Qiu a61a2cc962 [Toast] Add query_length for launcher latency logging.
Bug: 235249335
Test: no test needed.
Change-Id: Ia16c241a2eb3cb50a17713216182192f7902be9e
2022-06-07 14:20:52 -07:00
Bill Yi b01161606f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibc4e348adb39b393690be0b1a1ecd341a58a5542
2022-06-07 13:56:51 -07:00
Bill Yi 774a541d61 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6b3c69716125ca572ccb9b5cbd35831c60620519
2022-06-07 13:55:30 -07:00
Winson Chung 29c68e73dc Revert changes waiting for launcher to resume when transitioning to home
- This was added for Go when they had their own recents implementation
  and isn't necessary for the default implementation

Bug: 229668039
Test: Follow steps using test apk from the bug
Change-Id: I0c36f98683e1bf9a3dc11cde2d1113ed1c4d6448
2022-06-06 22:28:09 +00:00
Andy Wickham 3800130f83 Merge "Enables keyboard option by default." into tm-dev am: 2d5bda75fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18687151

Change-Id: I80671e87d5497b747892f6cfd363bf885e65c30e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-06 22:07:33 +00:00
Andy Wickham 2d5bda75fc Merge "Enables keyboard option by default." into tm-dev 2022-06-06 21:45:17 +00:00
James O'Leary ede514f275 Update notification dot from T90 to T80
Bug: 213314628
Test: work with UX to pick something darker than T80, present options
from T70 to T90, get feedback to use T80, verify at runtime via
screenshot dot is T80.

Change-Id: Ic5b47a419eb7697c22c4dd9ab849b8a00d73be9f
2022-06-06 16:01:45 -04:00
Hyunyoung Song e153da358c Merge "Fix IME hiding animation being delayed after unlocking the device" into tm-dev am: d4a79eb99b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18725729

Change-Id: I36f8b364ee330c683d27bdea2a57c430ee4ab0c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-04 05:27:08 +00:00
Hyunyoung Song d4a79eb99b Merge "Fix IME hiding animation being delayed after unlocking the device" into tm-dev 2022-06-04 05:10:48 +00:00
TreeHugger Robot abbb482160 Merge "Don't allow swiping to HintState if we're already in HintState" into tm-dev am: c012085c6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18521352

Change-Id: I7abe815c7ca7801d7172663ff8370a84ff8cc973
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-04 02:00:37 +00:00
TreeHugger Robot c012085c6c Merge "Don't allow swiping to HintState if we're already in HintState" into tm-dev 2022-06-04 01:38:29 +00:00
TreeHugger Robot ddf7dfff31 Merge "Adds helper methods in SearchUiManager and OnboardingPrefs." into tm-dev am: dd053e79e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18631233

Change-Id: Idc6425c6d68f85828caa5ebb7dad7b950db4b45f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-04 00:19:29 +00:00
Tony Wickham 8d72018a87 Don't allow swiping to HintState if we're already in HintState
Context: there was a bug where you could get stuck in HintState if you
did the following (timing is critical):
1. Short swipe from nav region towards HintState, but not far enough or
   fast enough to commit before letting go; this cancels the state
   animation, returning towards Normal (but, crucially, StateManager
   still has state set as Hint)
2. While previous animation is animating back to Normal, swipe up again,
   but this time faster/farther to actually reach Hint; this time, the
   animation does go towards Hint, but gets stuck there. The reason it
   gets stuck is because StateManager thinks we're already in Hint from
   step 1, so doesn't call onStateTransitionEnd(Hint) in step 2. Thus,
   we never get QuickstepLauncher#onStateSetEnd(Hint), which is what we
   rely on to return to Normal.

The simple fix is to prevent the second swipe in the first place.

Test: short swipe followed immediately by fast fling from nav region on home successfully stays in Normal state intead of getting stuck in HintState
Test:
NexusLauncherOutOfProcTests: com.google.android.apps.nexuslauncher.TaplTestsNexus
Fixes: 228276181
Change-Id: I54c371c8518a9a220e75c98003331b552d8bf8af
2022-06-03 14:56:04 -07:00
hyunyoungs d7a02ec7ae Fix IME hiding animation being delayed after unlocking the device
Hide keyboard with WindowInsetsController if could. In case
hideSoftInputFromWindow may ignored by input connection being finished
when the screen is off.

Bug: 233158645
Test: manual as steps:
  1.  Launch AllApps.
  2.  Tap search bar to invoke IME.
  3.  Screen off.
  4.  Screen on.
And all other keyboard hide cases such as back gesture, swipe down, etc.

Change-Id: I4154f38f94b6760a430f7510a650422020d8f59a
2022-06-03 14:19:45 -07:00
TreeHugger Robot dd053e79e2 Merge "Adds helper methods in SearchUiManager and OnboardingPrefs." into tm-dev 2022-06-03 20:10:27 +00:00
Andy Wickham 9899468884 Enables keyboard option by default.
This just enables the setting for this feature. The default
value of the setting itself is still false.

Bug: 231433168
Test: Manually verified the option worked as expected, including
showing the user education when typing directly in All Apps
without tapping the QSB. Also verified previous features like
the snackbar to enable keyboard by default worked as before.

Change-Id: If423ae49436d1bf71579d52a99aea5ca3f2407dc
2022-06-02 16:51:01 -07:00
Andy Wickham e20a35c7a3 Adds helper methods in SearchUiManager and OnboardingPrefs.
Bug: 233656600
Test: With topic change.
Change-Id: I9ddb910e94d389ec682617ce874fff6a2ce703c8
2022-06-02 16:44:16 -07:00
Jon Miranda f58db150af Play fallback animation if icon in All Apps is covered by header.
Bug: 230707341
Test: enter all apps
      scroll so icon is covered by header
      open app, swipe back to return to all apps
      confirm fallback animation plays

      repeat but scroll so icon is not covered by header
      confirm normal animation plays

Change-Id: I56cda07f3eccc11e8909f7fb28210f65cc6e0f1d
2022-06-02 16:06:37 -07:00
Jon Miranda 46ecc0ca08 Pause expensive view updates before setting hw/sw layers.
Prevents widgets from updating mid animation.
Also pauses view updates during app close animation.

Bug: 220939231
Bug: 230617085
Bug: 226171754
Test: manual

Change-Id: I0138d57e6a7b2c22fd9a029e971b3e27c7e9f22e
2022-06-02 12:21:01 -07:00
Sunny Goyal 004fecba55 Merge "Fixing wrong diffing logic in AdapterItem" into tm-dev am: c2c1fdad54
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18701868

Change-Id: Ib45871e138168b7cdc35946a4b50cbede596e576
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-02 17:01:09 +00:00
Sunny Goyal c2c1fdad54 Merge "Fixing wrong diffing logic in AdapterItem" into tm-dev 2022-06-02 16:45:31 +00:00
Stefan Andonian 195683ac79 Merge "Give FloatingIconView a copy of, rather than, the original icon." into tm-dev am: 0c809bbe67
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18673699

Change-Id: Ic0fc920027a8873ad758febb6728b2f6912071c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-02 15:52:56 +00:00
Stefan Andonian 0c809bbe67 Merge "Give FloatingIconView a copy of, rather than, the original icon." into tm-dev 2022-06-02 15:33:45 +00:00
Bill Yi 790076b838 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1a9044d1ad -s ours am: 7b4d1d6133 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I661776899eb2b492a97a52a2d2e529a4d7a9f90c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-02 00:16:05 +00:00
Bill Yi 7b4d1d6133 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1a9044d1ad -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1cc02c6befd54dc7f98bdb4ca87e0a9ba42aa38c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 23:50:36 +00:00
Winson Chung 9f5d1568bc Merge "Ignore pinned tasks for purposes of gesture nav" into tm-dev am: 238f380853
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18638308

Change-Id: I8afff3488f55a2bd94b1d6adbf412aab9a63cf2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 22:23:34 +00:00
Winson Chung 238f380853 Merge "Ignore pinned tasks for purposes of gesture nav" into tm-dev 2022-06-01 22:06:48 +00:00
Sunny Goyal 959a9f5444 Fixing wrong diffing logic in AdapterItem
Bug: 232932442
Test: Verified on device
Change-Id: I87eae4c238a7b2d9749859307d253822916bb31c
2022-06-01 15:02:39 -07:00
Luca Zuccarini 03a470116b Merge "Update the workspace and background scale interpolators." into tm-dev am: a6c36eb4d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18660446

Change-Id: I0a434f8c17f3d82cd61cd5ebd1d482d2ee62c791
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 17:16:37 +00:00
Luca Zuccarini a6c36eb4d0 Merge "Update the workspace and background scale interpolators." into tm-dev 2022-06-01 16:51:42 +00:00
Luca Zuccarini f518ba7289 Merge "Remove workspace fade from ALL_APPS > NORMAL transition." into tm-dev am: 46338b09e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18670230

Change-Id: I3369902633ced33389b31f04916222cfe714c7d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 09:53:14 +00:00