Commit Graph

3949 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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