> Adding a listener for device profile changes
> Updating various controllers instead of recreating them
> Clearing all-apps icon
Bug: 71709920
Change-Id: Ief7db199eb7494ebd8fb433198f333cd2e8e661d
- Make sure to use center pivot point
- Use correct curve for alpha
- No need for the layer hack anymore because framework issue
was fixed.
- End X should be 480dp for a 411dp device, so we need to scale
it with 1.16
Test: Close app
Change-Id: Ib4587e324aeeb11921de87da7c389b2e148dc913
Fixes: 72691044
If a system shortcut icon has a color other than white, then the
default tintMode (src_atop) will result in the wrong color. In
this case, ic_widget recently changed fillColor from white to
textColorPrimary, resulting in a darker color for light wallpapers.
Bug: 72383282
Change-Id: I167858ef3fcc5877e429c11aa9f68f94ba4b8f29
Previously we attempted to disable the app closing transition
in multi-window. However, that didn't work because the registered
remote animation was still registered on the ActivityRecord, even
if the activity was restarted, leading to passing a null handler
into post, and then the animation never started.
Enable it in multi-window and also fix the transition.
Test: Enter multi-window, go home
Change-Id: I4d5d46688310b61365ba954fb41811efa29e41a5
Fixes: 72525431
Derivative projects can extend the FloatingHeader to add support
to custom content in all-apps screen.
Change-Id: I4e29221a72e5a077a756713a6774cda7ecde8f1b
Also temporarily removing input consumer, as that might be causing event to getmissed
(similar to b/72715390)
Change-Id: I82918133d334fae5d3da267b0d03ff2af8f02e67
Animate the task window on the background thread, until the launcher UI is ready.
After the first frame of launcher is drawn, we switch the input handling to UI thread
and fade in the launcher UI.
Change-Id: Ia3d04b697530af3db441b14ad34827208b923137
- Workspace was translating while swiping from overview to all apps
- VerticalSwipeController progress jumped a bit backwards when
flinging because sign wasn't taken into account for velocity
Change-Id: Ife5e9d87ca9f0b3429dd9045c6569868a65eb0af
> We do not need hotseat protection of the gradient layer now that we
are using the card UI for all apps. The gradient layer in collapsed
state caused artifacts.
Bug: 67109038
Change-Id: Ia2b7da9d86729c211e49e2b87d28106077482566
* Add start delay when launcher resumes from all apps or landscape.
* Track the last app transition animator and cancel it before beginning a new one,
otherwise the animators can conflict with each other.
ie. Opening an app from all apps and then immediately pressing back to return to
all apps.
* Use class overrride instead of UiFactory.
Bug: 70220260
Change-Id: I4755d45d820f9d551e443d6c4a148e8789c5bc57
When the touch interaction service is disconnected, let's make sure
we cleanup so we don't get in a state where all touches are ignored.
Bug: 72444652
Change-Id: I089ad63f9f855651f305c4650c99743d3bde3a94
Now we directly set a static boolean as soon as we get the
onQuickScrubStart and end binder callbacks, instead of having
a member variable in QuickScrubController. Notably, QSC was
getting onQuickScrubStart() when doing quick switch, but not
onQuickScrubEnd(). This is a byproduct of some other unrelated
logic, which the new approach circumvents.
Bug: 72444652
Change-Id: I0a3d1ae2e9970cfffc38a25df0b8f04f26cb4cfa