Commit Graph

6193 Commits

Author SHA1 Message Date
TreeHugger Robot caae815e48 Merge "Remove debug logs for b/153821199" into ub-launcher3-rvc-dev am: 1a14978809
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11800450

Change-Id: I68937c785859d69023e43d0b06e8cceba731d12c
2020-06-09 17:14:18 +00:00
TreeHugger Robot fd4e7a8907 Merge "Fix bug where scrim did not fade in during staggered workspace animation." into ub-launcher3-rvc-dev 2020-06-09 17:13:50 +00:00
TreeHugger Robot 1a14978809 Merge "Remove debug logs for b/153821199" into ub-launcher3-rvc-dev 2020-06-09 17:00:35 +00:00
Vadim Tryshev 15bb902f82 Merge "Workaround for an activity leak" into ub-launcher3-rvc-dev am: 694e27a413
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11795728

Change-Id: I15a840e8f07fac4ea06522bb85e1f3dd7f7aa75d
2020-06-09 16:51:35 +00:00
Vadim Tryshev 694e27a413 Merge "Workaround for an activity leak" into ub-launcher3-rvc-dev 2020-06-09 16:35:18 +00:00
Jon Miranda f42fe856a6 Remove debug logs for b/153821199
Bug: 153821199
Change-Id: If8996162d1ab48147abd97a27c2ad163696822d7
2020-06-09 08:14:19 -07:00
TreeHugger Robot e0117dbe21 Merge "Fix Task Icon menu behavior." into ub-launcher3-rvc-dev am: 726c781625
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11800446

Change-Id: I834aa8ad8c46a4ea071a586db82726746cbab9d3
2020-06-09 07:27:58 +00:00
TreeHugger Robot 726c781625 Merge "Fix Task Icon menu behavior." into ub-launcher3-rvc-dev 2020-06-09 07:17:47 +00:00
Jon Miranda 36918c3e12 Fix bug where scrim did not fade in during staggered workspace animation.
The problem is that in prepareToAnimate, we set the scrim sysUiProgress to 1.

When we call setScrim(Background) we create an animator to set sysUiProgress
to 0 with a duration of 0. We expect this to set sysUiProgress to 0 prior
to the next animation setScrirm(Normal).

When we call setScrim(Normal) we want to animate sysUiProgress to 1, but it
is still 1 since we haven't actually run the setScrim(Background) animation
(we've only added it to the list of animators). Therefore we don't create an
animator at all since the target is already at the final value.

Bug: 158148281
Change-Id: I8ca7ef00fc8a7dad6813c285ead60f5db15939b6
2020-06-08 21:51:51 -07:00
Vinit Nayak 53785407f5 Fix display changed flag check optimization am: 655b47c614 am: 433d8ca00f am: 22a9c90303 am: d797785bdd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843

Change-Id: I47e437b8b3b3a4b1f30432e9838cbc33f3402a07
2020-06-09 03:08:12 +00:00
Sreyas 6df0148b07 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.

Bug: 158004853
Change-Id: I79d0a4ac5be3641c6bdf71c34dcbf136ddbbebd1
2020-06-08 18:55:52 -07:00
Hyunyoung Song 90c5873f50 Add FolderInfo label source / Add instance id to snapshot logging
Bug: 155719741
Change-Id: I6611d67bc7a940b6e7cf80ec788406c9f2499318
2020-06-08 17:48:51 -07:00
Zak Cohen 62c4711b0e Overview Actions - use scaled insets for screenshot transition.
The actual task insets aren't used for display, so to make the
transition line up, use scaled ones.

Bug: 154524544
Test: local

Change-Id: I0f484e6dbf13a558c042f84aa68f1d6e9c23b328
2020-06-09 00:07:54 +00:00
Tony Wickham ff85415865 Set qsb fade interpolator same as workspace for home <-> overview
Test: go to overview from home and vice versa in 0 and 3 button modes,
ensure QSB fades at the same rate as the rest of workspace

Bug: 154637581
Change-Id: I2f15aaf2ba59e6b1d4754060e7b3005bed5db9c7
2020-06-08 18:43:35 -05:00
TreeHugger Robot efa7ad9098 Merge "Fix display changed flag check optimization" into ub-launcher3-rvc-dev am: 4994b333d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11795726

Change-Id: I2c6c60ec2d198597a4532b2b15cb96e3e878d80a
2020-06-08 23:36:44 +00:00
TreeHugger Robot 4994b333d9 Merge "Fix display changed flag check optimization" into ub-launcher3-rvc-dev 2020-06-08 23:26:12 +00:00
Vinit Nayak 655b47c614 Fix display changed flag check optimization
Seeing bugs come in where display rotation value
is incorrect, correcting the check to only
exclude frame rate change flags since multiple
bits can be set.

Fixes: 158383147
Change-Id: If6cdd2c10bf80024ac655451b957034ed84684a7
2020-06-08 22:24:18 +00:00
Vinit Nayak 358a3bd2a2 Fix display changed flag check optimization
Seeing bugs come in where display rotation value
is incorrect, correcting the check to only
exclude frame rate change flags since multiple
bits can be set.

Fixes: 158383147
Change-Id: If6cdd2c10bf80024ac655451b957034ed84684a7
2020-06-08 22:23:51 +00:00
vadimt 454de304d0 Workaround for an activity leak
We were told that showing NexusLauncherActivity should suppress the
leak.

Bug: 157099707
Change-Id: I9988ac4a20609e5b25ddc4a90bedf891d45e69da
2020-06-08 15:16:15 -07:00
Becky Qiu a6ff363056 Revert "Revert "[Overview Actions] UI update for Landscape."" am: 70ff0c1144
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11790430

Change-Id: Ife0f7b6c3dacfb26949e0bc5510f687f08bf94c1
2020-06-08 22:05:15 +00:00
Becky Qiu 70ff0c1144 Revert "Revert "[Overview Actions] UI update for Landscape.""
This reverts commit 4dfcbec512.

Reason for revert: Fix the margin issue by handling the bottom
insets ourselves.

Change-Id: Ic01cadbbe847e419af8bb444ad57764e719152c3
2020-06-08 21:18:18 +00:00
Jonathan Miranda f1720661d6 Merge "Add westworld logging when user reaches All Apps education view." into ub-launcher3-rvc-dev am: ee4a2fe698
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11780340

Change-Id: Icda72d0eb79009355bf0aa9b408e3f92b3dadf1b
2020-06-08 21:03:43 +00:00
Jonathan Miranda ee4a2fe698 Merge "Add westworld logging when user reaches All Apps education view." into ub-launcher3-rvc-dev 2020-06-08 20:49:26 +00:00
Vinit Nayak 80303ac4b9 Notify SysUi on device rotation for back gesture
Whenever device rotates, we notify sysui to hide/show
the back gesture if the foreground app also rotates.
We also notify sysui when device rotates to match
the orientation of the current foreground app (this
is for apps with fixed rotations).

Fixes: 154580671
Test: Created test apps of different rotations
and ensured that back functionality was present when
attempting to go back.

Change-Id: I33a71698411d9bc2416b6660f8dbd53233628917
2020-06-08 12:32:32 -07:00
Jon Miranda 472b5d5298 Add westworld logging when user reaches All Apps education view.
Bug: 158333305
Change-Id: I324979640ead3670f4edc57fd61eba2585d33628
2020-06-08 10:27:54 -07:00
Winson Chung 33f46ab582 Merge "Ensure that the default fullscreen params have a corner radius" into ub-launcher3-rvc-dev am: db087d3c98
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11757640

Change-Id: Ief9964935f4d6024db04cf0870c41a420c3a9605
2020-06-08 17:02:06 +00:00
Winson Chung db087d3c98 Merge "Ensure that the default fullscreen params have a corner radius" into ub-launcher3-rvc-dev 2020-06-08 16:30:35 +00:00
Vinit Nayak aa5c4c39aa Merge "Set overview orientation for all nav modes" into ub-launcher3-rvc-dev am: f6858198b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11617524

Change-Id: If83e8d60cbd31f3be6b6e74c9919b2908449ca4e
2020-06-07 02:15:36 +00:00
Vinit Nayak f6858198b9 Merge "Set overview orientation for all nav modes" into ub-launcher3-rvc-dev 2020-06-07 01:56:19 +00:00
TreeHugger Robot f3547f5622 Merge "Disabled app icon Visuals" into ub-launcher3-rvc-dev am: f7c768c7db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11758163

Change-Id: If3ef29c7c32cdd2278e5292fd1c7668c31777635
2020-06-06 19:14:55 +00:00
TreeHugger Robot f7c768c7db Merge "Disabled app icon Visuals" into ub-launcher3-rvc-dev 2020-06-06 18:58:15 +00:00
Vinit Nayak e03ad7ede2 Set overview orientation for all nav modes
3 Button overview orientation wasn't
getting set, but working because of the sensor.
Now we set orientation when entering overview,
and reset to rotation 0 when exiting overview.
Also fix related bug in RecentsOriented state
where we weren't updating the current sensor
rotation with foreground app orientation.

Fixes: 157069195
Change-Id: Ide1b7dbeb68aeaf6a3c45f7260595f69f4813d94
2020-06-05 20:36:27 -07:00
Becky Qiu 5481a292fa Revert "[Overview Actions] UI update for Landscape." am: 4dfcbec512
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11758176

Change-Id: Ia5a58f5e69a1a06e142b66a5168f3cfe95cecf85
2020-06-06 00:49:21 +00:00
Samuel Fufa 61bc63a6a4 Disabled app icon Visuals
Bug: 154855908
Test: Manual
Change-Id: I58c75ed51426ceb4a09b608ee77636c803955025
2020-06-05 17:35:00 -07:00
Becky Qiu 4dfcbec512 Revert "[Overview Actions] UI update for Landscape."
This reverts commit 160ca4b8a2.

Reason for revert: Got issues like b/158318606 when switch nav modes, also the margin seems not set properly. And this doesn't work for 3 button mode too. Would switch to just use task menu for all.

Change-Id: I645f2a2a9032ae99799c75bcc6c983c1bbfd8df8
2020-06-06 00:04:47 +00:00
Winson Chung cb8a7fe742 Ensure that the default fullscreen params have a corner radius
- Until we update the fullscreen params, the tmp params have no radius
  so in cases where a new task is created while overview is open, or if
  we go to overview from home immediately after starting launcher for
  the first time, there would be no corners

Bug: 158050383
Test: Kill launcher, swipe up to overview, ensure tasks have corner
      radius (if device supports it)
Change-Id: I6b72c1a401b9203da3acffc88578c1ed743c8f68
2020-06-05 16:57:23 -07:00
Hyunyoung Song 8f697e0b55 Merge "Migrate QSB logging to WW" into ub-launcher3-rvc-dev am: e12baa4ba1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11727206

Change-Id: Ia9fef34e44014c4ad3c9f29d84ee7ef24b097fd0
2020-06-05 21:41:55 +00:00
Hyunyoung Song e12baa4ba1 Merge "Migrate QSB logging to WW" into ub-launcher3-rvc-dev 2020-06-05 21:23:47 +00:00
Hyunyoung Song c59d7df827 Migrate QSB logging to WW
Bug: 154717227
Change-Id: I175245c0ce9afd8187cec92e3ba80999ed87b1af
2020-06-05 11:36:10 -07:00
TreeHugger Robot 5192b29c41 Merge "Allow swipe up to dismiss global actions dialog" into ub-launcher3-rvc-dev am: 1bf23da79a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11746573

Change-Id: I109b13cfbbe16d1bef9b9d3d5641f22c7f221f98
2020-06-05 18:34:37 +00:00
TreeHugger Robot 1bf23da79a Merge "Allow swipe up to dismiss global actions dialog" into ub-launcher3-rvc-dev 2020-06-05 18:25:04 +00:00
TreeHugger Robot ad176ee5a3 Merge "Perform DB calls in MODEL thread" into ub-launcher3-rvc-dev am: ac6420b0d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11733170

Change-Id: I72c9fdb881cd755d371c7571c86815aadb88cab0
2020-06-05 18:03:48 +00:00
TreeHugger Robot ac6420b0d4 Merge "Perform DB calls in MODEL thread" into ub-launcher3-rvc-dev 2020-06-05 17:49:45 +00:00
Samuel Fufa 142ca65d78 Perform DB calls in MODEL thread
Bug: 158127067
Change-Id: Ic7820f1ff877b37da550d77e3e166734508b2622
2020-06-05 09:48:21 -07:00
Zak Cohen 9a63f7dbdf Merge "Screenshots - move to new api that uses image bundle." into ub-launcher3-rvc-dev am: 1b8f1cd220
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11722400

Change-Id: I0fad5516692f43aba00ba6bb12f1997596641656
2020-06-05 07:01:04 +00:00
Zak Cohen 1b8f1cd220 Merge "Screenshots - move to new api that uses image bundle." into ub-launcher3-rvc-dev 2020-06-05 06:36:16 +00:00
Winson Chung 14f234e567 Allow swipe up to dismiss global actions dialog
Bug: 155499313
Test: Show global actions while locked and unlocked and swipe up
      to dismiss
Change-Id: Id857712264abeba5bef5339e68a180298dbc250d
2020-06-04 21:41:03 -07:00
TreeHugger Robot 6cd9d18009 Merge "Fixing jump when swiping up/down in landspace rotation" into ub-launcher3-rvc-dev am: 651f0b3eb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11721063

Change-Id: Icb61ff340470e98848a62d903eb3c130113d5416
2020-06-05 02:32:24 +00:00
TreeHugger Robot 651f0b3eb1 Merge "Fixing jump when swiping up/down in landspace rotation" into ub-launcher3-rvc-dev 2020-06-05 02:19:51 +00:00
TreeHugger Robot 14c58bb77f Merge "Ensure view translationY is set back to 0 on staggered animation end." into ub-launcher3-rvc-dev am: 7d2011bfe0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11744258

Change-Id: Iddc0609c2123f4c86c8d690f6769282c1ebc1c99
2020-06-05 01:41:00 +00:00