Commit Graph

6193 Commits

Author SHA1 Message Date
Pinyao Ting 5c2f1a6fa4 Merging from ub-launcher3-rvc-dev @ build 6577335 am: 8020bf2f4b am: e0a0876062 am: af957e82c4 am: cd902c0fc0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11828234

Change-Id: I7def4bc74da0e4bf8ce19bd281d90945f45a6a3d
2020-06-11 09:58:01 +00:00
TreeHugger Robot 3c5d03a044 Merge "Remove unused HomeRotatedPageHandler" into ub-launcher3-rvc-dev am: bb58efabc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11827371

Change-Id: Idaabda0d77f364e7de91085d12478b2890b79a7e
2020-06-11 03:23:19 +00:00
TreeHugger Robot bb58efabc8 Merge "Remove unused HomeRotatedPageHandler" into ub-launcher3-rvc-dev 2020-06-11 03:10:13 +00:00
Sunny Goyal de52876a2b Fixing sysui visibility changing multiple times on startup
> During startup shelftop is updated after all-apps, causing all-apps to
set the sysuiVisibility according to it's own UI

Bug: 156422012
Change-Id: Idee06249ad45946ed0a9dc84702510ad90a305f4
2020-06-10 19:13:36 -07:00
vadimt 45564c831b Removing debug requests from non-debug test info handlers
Bug: 152629799
Bug: 153670015
Change-Id: I02776be811d1d3325b35880d19d25a6638f904ef
2020-06-10 18:48:37 -07:00
Vinit Nayak 84f30b213a Remove unused HomeRotatedPageHandler
Transfer functionality of choosing
task menu layout to PortraitPageHandler,
which is what it should have been to
begin with.

Fixes: 158484000
Change-Id: Iadda53e7e1f796c063a111823f7f6278f3fdbf58
2020-06-10 18:47:05 -07:00
TreeHugger Robot ee67acfc3c Merge "Show discovery tip for hybrid hotseat" into ub-launcher3-rvc-dev am: 743e25e2d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11638182

Change-Id: I3cc06fc4989a636139bcce2d8c22c9136ee419ad
2020-06-10 23:23:56 +00:00
TreeHugger Robot 3c6fa04c4f Merge "Notify SysUi on device rotation for back gesture" into ub-launcher3-rvc-dev am: ca5e9cb7ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11396771

Change-Id: Iededa386593fc6ea6875e3fc61c3c6abe67a9e22
2020-06-10 23:23:50 +00:00
TreeHugger Robot 77dec4aaa9 Merge "[Overview Actions] Add actions to the task menu for in-place landscape." into ub-launcher3-rvc-dev am: 97c399aa9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11727201

Change-Id: I860cb5bc5292f559a8b8809853151bec649255a3
2020-06-10 23:23:41 +00:00
TreeHugger Robot 743e25e2d2 Merge "Show discovery tip for hybrid hotseat" into ub-launcher3-rvc-dev 2020-06-10 23:22:14 +00:00
TreeHugger Robot ca5e9cb7ef Merge "Notify SysUi on device rotation for back gesture" into ub-launcher3-rvc-dev 2020-06-10 23:14:06 +00:00
TreeHugger Robot 97c399aa9f Merge "[Overview Actions] Add actions to the task menu for in-place landscape." into ub-launcher3-rvc-dev 2020-06-10 23:08:36 +00:00
Sreyas Rangaraju 3095961669 Merge "Fix Task Icon menu behavior." into ub-launcher3-rvc-dev am: 9a391afbf1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11818459

Change-Id: I22a864faf78b933ef9cd580d215ea6f3ed25dcb2
2020-06-10 23:00:51 +00:00
thiruram 3d80f0335a Log folder open event into WW. am: ba0a6b61a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11814164

Change-Id: Id2ef24f9b8452be0cac97dca860288344700e336
2020-06-10 23:00:44 +00:00
Sreyas Rangaraju 9a391afbf1 Merge "Fix Task Icon menu behavior." into ub-launcher3-rvc-dev 2020-06-10 22:47:28 +00:00
Andy Wickham 690543f159 Removes Sandbox from launcher task.
Instead, adds it to the gesture-exclusion activities
to prevent normal gesture handling.

Bug: 148542211
Change-Id: Ie04d2e71346a0c039e73fcc386cedc1b74fadadb
2020-06-10 15:41:37 -07:00
Samuel Fufa 5b2da14e72 Show discovery tip for hybrid hotseat
Doc: go/hybrid-hotseat-tips

Issue 157683315: for fully populated hotseat, count returns to home screen and show discovery tip if Tip action was not tapped.
Issue 158301717: Don't use cached items if client has predicted items.

Test: Manual
Change-Id: I4747a1148caa62a6262fb6592d5185bdf216ede6
2020-06-10 15:12:55 -07:00
TreeHugger Robot d0e98a1f7b Merge "Set qsb fade interpolator same as workspace for home <-> overview" into ub-launcher3-rvc-dev am: 16823c2c03
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11795730

Change-Id: I8ed9a3e44227365e2c08347e322621dd42888428
2020-06-10 22:06:36 +00:00
Becky Qiu 849622f6cb [Overview Actions] Add actions to the task menu for in-place landscape.
Test: local
Bug: 153736749
Change-Id: I9ba5a089e434e75de7d9cc29ebd303f7a1388324
2020-06-10 15:04:56 -07:00
thiruram ba0a6b61a3 Log folder open event into WW.
Bug: 158597506

Sample Log: https://paste.googleplex.com/5351626992779264

Change-Id: Ifb2f061924035abc84472a9a03d1b4212588428b
2020-06-10 15:00:19 -07:00
Pinyao Ting 8020bf2f4b Merging from ub-launcher3-rvc-dev @ build 6577335
Bug: 150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_6577335.html

Change-Id: Ie1f44dd646088759fef66251fe9e5f584b804d73
2020-06-10 21:54:11 +00:00
TreeHugger Robot 16823c2c03 Merge "Set qsb fade interpolator same as workspace for home <-> overview" into ub-launcher3-rvc-dev 2020-06-10 21:45:41 +00:00
thiruram 5e204ff61a Adds PredictedHotseatContainer to launcher_atom.proto am: 18c2495b8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11825364

Change-Id: I4094d1a5efc572806acb0f3f257fc7497be06446
2020-06-10 18:47:41 +00:00
thiruram 18c2495b8f Adds PredictedHotseatContainer to launcher_atom.proto
Used for differentiating logs from normal hotseat and predicted hotseat.

Bug: 158218197
Change-Id: I011ff724ea0916b32f680dc24e8d6090d3df766d
2020-06-10 10:44:58 -07:00
TreeHugger Robot 71eb5a54ea Merge "Decrease predicted icon outline size" into ub-launcher3-rvc-dev am: 4e975109bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11813851

Change-Id: I0dc914c6dad3de94faae94d3392d296100fd2e0e
2020-06-10 17:21:00 +00:00
TreeHugger Robot 4e975109bb Merge "Decrease predicted icon outline size" into ub-launcher3-rvc-dev 2020-06-10 17:06:48 +00:00
Jerry Chang dd3eb7d075 Hook one-handed gesture to expand notification panel by default
Notify to expand notification panel through SystemUiProxy when
one-handed mode disabled and one-handed gesture detected.

Bug: 154080211
Test: make and install
Test: manual disable one handed mode and swipe down to trigger
Test: verified the gesture works even outside of home page
Change-Id: Iacc0e506ccd04dd81f6182759c8af7d686a7b77b
2020-06-10 23:26:03 +08:00
TreeHugger Robot c3d56527e1 Merge "Relaunch app that is restarted mid-gesture" into ub-launcher3-rvc-dev am: 179880c0f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11758170

Change-Id: I357e0cd687aef73031416beb515f5d91eb2e1be4
2020-06-10 07:02:43 +00:00
TreeHugger Robot 179880c0f6 Merge "Relaunch app that is restarted mid-gesture" into ub-launcher3-rvc-dev 2020-06-10 06:53:50 +00:00
Winson Chung 7d7864e89a Relaunch app that is restarted mid-gesture
Bug: 156692295
Test: Swipe up from an app that has a HUN and ensure tapping on the
      HUN (or anything that can restart the activity) will start the
      activity while the recents animation is still running
Change-Id: Ia1fbd9cfb21aa64b3c8a0d431ba2d9824ee4c0a1
2020-06-09 23:10:13 -07:00
Vinit Nayak b210bac680 Remove rotation flag check am: 2b515c7058 am: 158cbbfeab am: f413b5f861 am: 5e99335b98
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: Idc4b440b0b686d0068666de7aef3f693eaf0c1b4
2020-06-10 05:40:57 +00:00
Sreyas b64b59d025 Fix Task Icon menu behavior.
Tapping task icon will now show the scrim for rest of thumbnail and not snap to page that is already snapped to.
Pressing task icon from clear all will scroll to the page.
Link: https://drive.google.com/file/d/1I90rd6ELPZNIje2_VZ3CamWWeFN8ywhL/view?usp=sharing

Bug: 158004853
Change-Id: I9ac8229a603190ea09a74e1cfb70a6bb6e1e65b7
2020-06-09 21:10:46 -07:00
thiruram 713fbec475 Update StatsLogManager to support ranking related events. am: 236f40d97e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11816368

Change-Id: I552001afd96df55cfa28ec492c6db3e4248d0bff
2020-06-10 03:08:18 +00:00
thiruram 236f40d97e Update StatsLogManager to support ranking related events.
Change-Id: I238f00a782a620f704005d37c8972b5e25610c75
2020-06-10 02:47:58 +00:00
Becky Qiu 03113c5d7a Revert "Fix Task Icon menu behavior." am: 23986e9a84
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815826

Change-Id: I3bd86ca9493b0937e0b71952119426957751fb52
2020-06-10 01:27:55 +00:00
Sunny Goyal f74f0c27bc Creating correct device profile when appContext and launcher context do not match
Bug: 156891776
Change-Id: If2df3a6719de4207fa15d8a416704eb8e7c136b9
2020-06-09 18:10:00 -07:00
TreeHugger Robot 92775d6353 Merge "Apply PendingAnimation#mDuration to all added anims" into ub-launcher3-rvc-dev am: 8984fea211
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815998

Change-Id: I8dda5a2887eca4d19678e92a4a59b358b16cbad2
2020-06-10 00:36:36 +00:00
Becky Qiu 23986e9a84 Revert "Fix Task Icon menu behavior."
This reverts commit 6df0148b07.

Reason for revert: breaks the task icon behavior.

Change-Id: I6f654478e0ffe7827efeca1553622dad2e02c5da
2020-06-10 00:20:49 +00:00
TreeHugger Robot 8984fea211 Merge "Apply PendingAnimation#mDuration to all added anims" into ub-launcher3-rvc-dev 2020-06-10 00:18:31 +00:00
TreeHugger Robot fc2398560e Merge "Remove rotation flag check" into ub-launcher3-rvc-dev am: ea928edc36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11812119

Change-Id: I6d1293d2f804bd19f5e3e68e73a6b6dae08af9e8
2020-06-09 23:59:06 +00:00
Vinit Nayak 2b515c7058 Remove rotation flag check
There's a race condition between when
the flag is read and when it gets set,
and not registering the listener that
the flag is gating can result in a lot
of bad rotation state.

Fixes: 158592847
Change-Id: Idd78e15669698bb0d057d0b6661ea69bfa5c8202
2020-06-09 23:43:17 +00:00
Tony Wickham fe54c36822 Apply PendingAnimation#mDuration to all added anims
Doing this at the root instead of individually for all added
animators ensures none fall through the cracks.

Fixes: shelf moving too quickly in 2 button mode
Change-Id: I0de1ba9cee3fb8f1d6161371625d97e4b2305129
2020-06-09 18:35:07 -05:00
Vinit Nayak 92364cdc74 Remove rotation flag check
There's a race condition between when
the flag is read and when it gets set,
and not registering the listener that
the flag is gating can result in a lot
of bad rotation state.

Fixes: 158592847
Change-Id: Idd78e15669698bb0d057d0b6661ea69bfa5c8202
2020-06-09 22:55:07 +00:00
Samuel Fufa 39912270e5 Decrease predicted icon outline size
Bug: 156781454
Change-Id: Id9e1fbb47dbb5c18a41f466b9f3963f93ab6f509
2020-06-09 14:02:48 -07:00
Zak Cohen 905e155e97 Merge "Overview Actions - use scaled insets for screenshot transition." into ub-launcher3-rvc-dev am: e246f191de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11578320

Change-Id: I97103e4ef17dd85b50e9ee1282bd4e8c1715c579
2020-06-09 20:59:55 +00:00
Zak Cohen e246f191de Merge "Overview Actions - use scaled insets for screenshot transition." into ub-launcher3-rvc-dev 2020-06-09 20:36:12 +00:00
Tony Wickham 5e957551be Fix quick switching to any task that already appeared
Previously we did this for the last task that appeared, but didn't
take into account cases where multiple tasks had appeared during
the same gesture state. We handle that now.

Test:
- Quick switch to delayed task A, start new gesture, return to the
  first app after onTaskAppeared(A)
- Quick switch to delayed task A, start new gesture, wait for
  onTaskAppeared(A), then switch to delayed task B, start new
  gesture, wait for onTaskAppeared(B), and switch back to A
- Quick switch to delayed task A, start new gesture, wait for
  onTaskAppeared(A), then switch to delayed task B, start new
  gesture, wait for onTaskAppeared(B), and switch back to A and
  quickly back to original app (before settling on A)
Ensure task starts/resumes and is interactable in all cases.

Bug: 158588954
Change-Id: I647a6d015baa1d9b6d613e6c0e584589f35da54a
2020-06-09 15:07:16 -05:00
Hyunyoung Song 4ef01a10ee Merge "Add FolderInfo label source / Add instance id to snapshot logging" into ub-launcher3-rvc-dev am: 3b1786ce77
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11780341

Change-Id: Ibb42efc4a1454dde6155d0f1422c2565ed4ce3c3
2020-06-09 19:40:33 +00:00
Hyunyoung Song 3b1786ce77 Merge "Add FolderInfo label source / Add instance id to snapshot logging" into ub-launcher3-rvc-dev 2020-06-09 18:26:07 +00:00
TreeHugger Robot 80138f6357 Merge "Fix bug where scrim did not fade in during staggered workspace animation." into ub-launcher3-rvc-dev am: fd4e7a8907
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11800441

Change-Id: I61b4bb31d9f87631f909f4e9ed02e99fdf0c61db
2020-06-09 17:14:25 +00:00