Commit Graph

34630 Commits

Author SHA1 Message Date
Samuel Fufa f0e704f741 Merge "Work profile visual polish" into ub-launcher3-rvc-dev am: 25afca44c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11811209

Change-Id: I27d730ea38833534d58972135dcc85ac350b2a5d
2020-06-09 21:34:58 +00:00
Samuel Fufa 25afca44c4 Merge "Work profile visual polish" into ub-launcher3-rvc-dev 2020-06-09 21:21:56 +00:00
Samuel Fufa 2e59b95024 Work profile visual polish
- Calculate work profile switch height and apply it as a padding to recyclerview instead of reading height from view.
- Add solid background to work_apps paused overlay for improved crossfade animation on pause/unpause
- Don't show work paused overlay text in landscape mode

Bug 151672365
Bug 153763804
Bug 151595687

Test: Manual
Change-Id: I6c14a8a1624455181d4998555bcc3ae2bb422efe
2020-06-09 14:17:47 -07: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 a8e8637b86 Merge "Guard logging behind a feature flag Bug: 158442037" into ub-launcher3-rvc-dev am: 58c936c1a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788171

Change-Id: I3e5efa45bc4d8878f46a0b69092c35386d09c019
2020-06-09 19:40:48 +00: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 58c936c1a2 Merge "Guard logging behind a feature flag Bug: 158442037" into ub-launcher3-rvc-dev 2020-06-09 18:47:29 +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 a99464348d Merge "Removing multiple system RPCs to packageMAnager and userManager from UI thread" into ub-launcher3-rvc-dev am: 81e651dba8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11800442

Change-Id: I027048e334c26e85ca6b593ba398f89bff1239e2
2020-06-09 17:24:59 +00:00
TreeHugger Robot 81e651dba8 Merge "Removing multiple system RPCs to packageMAnager and userManager from UI thread" into ub-launcher3-rvc-dev 2020-06-09 17:19:56 +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
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
android-build-team Robot a33ed92767 Snap for 6571063 from b1bb9e8dbd to mainline-release
Change-Id: I338a70d4877da28475a91549c724c89b819e5e35
2020-06-09 07:06:07 +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 db8ea380e4 Fix display changed flag check optimization am: 655b47c614 am: 564ae95e32 am: 6e963a2acc am: 0bebc8e85d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843

Change-Id: I72ebd8f1ebd9ed01ebbcd54b8737ea518d5eaeae
2020-06-09 03:10:04 +00:00
Vinit Nayak a93516a879 Fix display changed flag check optimization am: 655b47c614 am: 433d8ca00f am: 40fe910917 am: 3cb084262f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843

Change-Id: Ic48803773f1f5868b26ba8bc08a04e101eb51b69
2020-06-09 03:09:08 +00: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
Vinit Nayak 0bebc8e85d Fix display changed flag check optimization am: 655b47c614 am: 564ae95e32 am: 6e963a2acc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843

Change-Id: I2180d4cd79531b225537fb727a30c75be91a6780
2020-06-09 02:56:40 +00:00
Vinit Nayak 3cb084262f Fix display changed flag check optimization am: 655b47c614 am: 433d8ca00f am: 40fe910917
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843

Change-Id: Ia65688bd46790009a89ffad25228f52b2680130e
2020-06-09 02:54:58 +00:00
Vinit Nayak d797785bdd Fix display changed flag check optimization am: 655b47c614 am: 433d8ca00f am: 22a9c90303
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843

Change-Id: I665fe7d2a697891f1fa7b46df0233f4ccd2203dc
2020-06-09 02:54:40 +00:00
Vinit Nayak 6e963a2acc Fix display changed flag check optimization am: 655b47c614 am: 564ae95e32
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843

Change-Id: Id79b6b3c98960f617985883dd443c9aedd188112
2020-06-09 02:32:48 +00:00
Vinit Nayak 22a9c90303 Fix display changed flag check optimization am: 655b47c614 am: 433d8ca00f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843

Change-Id: Ice561e36577e6666757a02c8b7e6483841eb23ad
2020-06-09 02:32:35 +00:00
Vinit Nayak 40fe910917 Fix display changed flag check optimization am: 655b47c614 am: 433d8ca00f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843

Change-Id: I1a1f53bbbf2e48f81d73fcf582fcde17450f8ef2
2020-06-09 02:31:57 +00:00
Vinit Nayak b1bb9e8dbd Fix display changed flag check optimization am: 655b47c614
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843

Change-Id: I9e6cb880914614be8380cb0065a496c96377ebda
2020-06-09 02:19:58 +00:00
Vinit Nayak 564ae95e32 Fix display changed flag check optimization am: 655b47c614
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843

Change-Id: Iceb52a6c402597c7ae2bae2a81f82d9d7563c756
2020-06-09 02:19:43 +00:00
Vinit Nayak 433d8ca00f Fix display changed flag check optimization am: 655b47c614
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843

Change-Id: I1d479b574a4ce200633ac231bf3dbbcca73d0429
2020-06-09 02:19:43 +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
Sunny Goyal 28daf4a76f Removing multiple system RPCs to packageMAnager and userManager from UI thread
Bug: 158427348
Change-Id: Ibb1837fe932000b69cf5683bb01727fc32abca91
2020-06-08 17:56:36 -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