Commit Graph

3716 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
f6858198b9 Merge "Set overview orientation for all nav modes" into ub-launcher3-rvc-dev 2020-06-07 01:56:19 +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
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
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
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
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
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
651f0b3eb1 Merge "Fixing jump when swiping up/down in landspace rotation" into ub-launcher3-rvc-dev 2020-06-05 02:19:51 +00:00
Sunny Goyal
1d756513ea Fixing jump when swiping up/down in landspace rotation
FullscreenDrawParams.scale is caculated relative to TaskView matrix, but drawnInsets is
based on Thumbnail matix calculation, so the scale should be applied first, such that
dranInsets and other TaskView translations have the same base matrix

Bug: 157626483
Bug: 156268804
Change-Id: Id33c7db9a71dd001a41c66ddf07834791d0bd382
2020-06-04 18:28:40 -07:00
TreeHugger Robot
7d2011bfe0 Merge "Ensure view translationY is set back to 0 on staggered animation end." into ub-launcher3-rvc-dev 2020-06-05 01:27:44 +00:00
thiruram
11cb2e469b Log task pinning.
Bug: 158222725
Screencast: http://go/recall/-/fuZYA4w9pUEvRlF811dY61/YB77yNwmKGXX0LPqpcARD
Sample Log: https://paste.googleplex.com/5486164561625088

Change-Id: I2ba8732369a1fd01b046d2bf89e465c7287b599a
2020-06-04 16:22:45 -07:00
Jon Miranda
0ba331273c Ensure view translationY is set back to 0 on staggered animation end.
Bug: 158104319
Change-Id: I2f15ad0604afe5cd6b458b5faf70e7873cd65717
2020-06-04 16:07:08 -07:00
thiruram
76d719143e Populate FromState, ToState, EditText, Cardinality in LauncherUiChanged.
Bug: 155410872
Change-Id: Ibe8af752fc37aa8358468a37ade36569342f7661
2020-06-04 22:54:47 +00:00
TreeHugger Robot
42d16d758a Merge "Update TaskView fullscreen params when updating the thumbnail matrix" into ub-launcher3-rvc-dev 2020-06-04 21:23:27 +00:00
Samuel Fufa
07e2b4b6e7 Merge "Allow hotseat edu in landscape mode" into ub-launcher3-rvc-dev 2020-06-04 19:42:11 +00:00
TreeHugger Robot
7a41d1e909 Merge "Log tap on app info within task menu." into ub-launcher3-rvc-dev 2020-06-04 19:09:05 +00:00
Zak Cohen
e4ad2ce1e2 Screenshots - move to new api that uses image bundle.
Bug: 157380566
Bug: 156757117
Test: local
Change-Id: I5d688abc87a89ae93e2e2f9a0e13410c511cc15e
2020-06-04 11:32:10 -07:00
TreeHugger Robot
fb4fa0c4c7 Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-06-04 16:41:44 +00:00
Andy Wickham
ad6a4dceea Merge "Adds Assistant Sandbox tutorial." into ub-launcher3-rvc-dev 2020-06-04 01:30:22 +00:00
Bill Yi
f2d2d1e084 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I0322065edda96559d79a8fbda5d05354b8460fda
2020-06-04 00:08:26 +00:00
Zak Cohen
f2a6d5b70f Revert "Shared Lib - add stub for handleImageBundleAsScreenshot."
This reverts commit 1e60bb54ca.

Reason for revert: Stub not needed

Change-Id: I71e5bb38e37042addaaff75423bc47209d56a20b
2020-06-03 23:29:20 +00:00
TreeHugger Robot
2191b49f03 Merge "[Overview Actions] UI update for Landscape." into ub-launcher3-rvc-dev 2020-06-03 22:31:45 +00:00
TreeHugger Robot
41bafc8660 Merge "Additional logging for swiping to home not working" into ub-launcher3-rvc-dev 2020-06-03 21:59:26 +00:00
TreeHugger Robot
55a758253b Merge "Adds Dark mode support to Sandbox." into ub-launcher3-rvc-dev 2020-06-03 21:52:35 +00:00