In some cases, we prematurely clear the force invisible flag before composing
the launcher animation, causing us to skip the animation.
Bug: 77205145
Change-Id: I4224741649a4fef34e255abac7b66bcf919c042f
Disabling accessibility of Workspace (not Recents!) while in Overview,
thus removing strange box appearing while navigating with Switch Access
though Overview. See discussing in the bug.
Bug: 78464518
Change-Id: I86b10e3e435af6e45a94c867e7efcdb5553d32d2
Testing: Manual
In multi-window, we only have the correct availableWidth and not the correct width.
Use availableWidth for setting padding instead of fullWidth
Change-Id: Id437088eea49ab5ad103ded6eed904d776e728c9
This cleans up the code and ensures that the current state animation
is always initialized when we get drag events.
Also log when we pass through states.
Bug: 78017680
Change-Id: I54ab42923ed539940ea708973ad65f5793669c11
- Launcher uses the same consumer to handle task launch failure and
animation-cancel, so only show the notification when it is an
actual launch failure.
Bug: 79209142
Change-Id: I6b708ac9888673056f2c6de1d5aee4a281c61027
- This scrolls the recents view, which affects the empty recents icon
position.
Bug: 79170402
Test: Clear all tasks, then quickscrub
Change-Id: I316805c0083d4ad65a8df0fafd88545859054405
We decrease the the durations for the downward app launch animations (by 80%)
except for the scale animation.
We do this because we want the window to reach the center faster so that the
window never goes off screen as it scales up.
Bug: 78891245
Change-Id: I6ece6ee1f01d32f2fcee42bba6a99c72b82f9023
Quickstep introduces swipe up gesture to open Overview and removes the
Recents button. We still want to show shelf bounce animation for Android
N & O users with Recents button because Overview is updated and swiping
up from there takes users to All Apps.
Test: manual test
Change-Id: I917c91564c47c78d2dc3883b8a7bf7824b5f5bc8
Fixes: 78647939
Per UX feedback, alpha changes from the central position of the last
task and its overscrolled position. Button location is not used.
Bug: 72222505
Test: Manual
Change-Id: Ifc22c935940eaeb1b1ec6e4a5f2709ac7ae8253b
- Switch to normal overview if task fails to launch in onQuickScrubEnd()
- Stop auto-advancing if recents isn't visible
- Wait until transition to quick scrub completes before launching
Bug: 77521777
Bug: 78557737
Change-Id: I5206c0d3c52bf792f52cf3e7adcf03f8a2de18bb
Previously, user-controlled animations weren't properly being canceled when a
non-user-controlled animation started, e.g. when hitting home. Thus, we could
end in the wrong or inconsistent state because the user-controlled animation's
end runnable was still used. Now we add a cleanup callback for when we reset
the user-controlled animation for one that isn't user-controlled.
Also fixed a couple typos.
Tests (easier with animation durations extended):
- Swipe up and hit home before reaching overview -> land on home
- Go to overview, swipe down slightly (before threshold to go to workspace)
and let go -> return to overview without flash (recents was resetting)
- Swipe up, press home while swiping -> goes home, stops responding to drag
- Start dismissing task and hit home before it finishes (or while dragging)
-> goes home, stops responding to drag
Bug: 78249220
Change-Id: If11d8999e3fadba38c987b25af67cd2304cd859b
Making it visible to accessibility even when it’s completely hidden
behind a task. I had to mark it visible as a view. Now it’s invisible
only when there are no tasks in RecensView, to hide it from
accessibility.
Focusing on the button completely reveals it.
Bug: 72222505
Test: Manual
Change-Id: Ia31a1136e07faed93b4a44d5be69483d3b88364d