Removed the workaround we had for animating sysui scrim based on SCREEN_OFF
and USER_PRESENT, since it is now properly handled via the unlock animation.
Bug: 65162781
Change-Id: I5341cc1d3b4f0761b8cf58fdc9fc1b895f2a128e
- Punch a hole (by erasing part of launcher where current task is rendered) to reveal app surface drawn underneath using surface transform. We use LauncherLayoutListener before reaching OVERVIEW threshold, and TaskView after threshold due to layering constraint (it's above Overview but below All Apps)
- Render live tile following user-trigger scrolling (horizontal and vertical) by tracking the task view rect.
- When user launches the current running app (through the live tile or icon in the app drawer), finish recents animation to app.
- When user launches another app (through Overview or other entry points where user opens an app), take a screenshot of the current running app, switch to screenshot mode and launch the other app.
- Refactor ClipAnimationController#ApplyTransform to consolidate transforming by progress and by getting the current rect of the app on the screen.
Bug: 111697218
Test: manual test
Change-Id: I0ad764399e872f181a9d65dc453f0175f2b58dd1
Split out overview_panel from recents and override it with IconRecents
version to replace the recents view entirely.
Currently, on the IconRecents build variant, as expected, this hits a
class cast exception since many quickstep classes assume the overview
panel is an instance of RecentsView. All other variants build and push
fine.
Bug: 114136250
Test: Build + push NexusLauncherDebug, Launcher3Go,
Launcher3GoQuickstep, Launcher3GoQuickstepIconRecents
Change-Id: I3ac7331772e53ee81cb1735a709b4fb7b3bdb78c
Add the secondary launcher activity in Launcher3QuickStep to support
secondary display.
Bug: 118206886
Test: Manual test on cf_x86_phone-userdebug
Change-Id: I4787f92fe32bb89f5f4c4fc3f93a4d3f27d5d2e6
> Using that task stach changes for maintaining the task order instead of
using the UI load signals.
> On fast task switches, temporary task changes do not contribute to the task
order. Only the final task is braught to the top of the list
> Removing and add tasks do not reset the order
Change-Id: I576cb4ffeec66e115acd327d58c59920c149aaca
This CL sets up the source directories to build a Go version of
quickstep recents/icon recents. This is accomplished by splitting the
quickstep resources/sources into two groups: the base source and
sources that should be overridden (recents_ui_overrides). The new Go
recents variant then takes the base and combines it with the sources
in go/quickstep which should replace the ones in recents_ui_overrides.
As of now, no classes have been moved yet, so there
are only placeholder files.
In addition, this modifies the make and gradle files to reflect the new
sources.
Bug: 114136250
Test: build all targets via tapas, build all APKs from IDE
Change-Id: I6d0a4d93ab1c38d4ffc28fd21823caadd96d23f7
- Swiping straight up and down works the same as before.
- We dispatch the MotionEvents to RecentsView so that it scrolls if you
swipe side to side as you swipe up.
- As RecentsView scrolls, we offset the window to match the position of
the first task
- If you scroll or fling towards the previous app, it will settle on it
and launch it.
Bug: 111699315
Change-Id: I1ff160cfc3ca66302a2506d18a4788015de75b94
Instead of maintaining a workspace screen array, calculating it from
the current set of items as needed.
Bug: 122262946
Bug: 119500058
Change-Id: I85bb0e55a4442ab9bcac390a601da0cb2583c26a
This adds a dimension for having quickstep/not having quickstep and
consequently adds l3gowithQuickstep as a build variant on the Launcher3
gradle file.
Test: Built all apks
Change-Id: I634e7e458847ca10e5ad165ea47b968ba38a5029
* changes:
SyncRtTransactionApplier -> SyncRtTransactionApplierCompat
Track when plugins are disabled due to crashes.
Updating shared lib for context wrapper.
src_plugins was not being pulled in as a source preventing building
any launcher variant APK from the IDE. This fixes that.
Test: Build APK for all variants w/ other fixes included
Change-Id: Ifc23d15492de0ac9dad37fda621958eb64046b0e
The launcher_protos.jar library was not being used which prevented the
quickstep launcher variant from building. This fixes the issue.
Test: Build quickstep APK w/ other fixes in topic included
Change-Id: I4d91616aa8f52026ceec235b2adec8c13f7c6dc8
This fixes an issue with l3go variant not building due to duplicate
classes. This ensures that l3go does not pull the
src_shortcuts_overrides src as it overrides it.
Test: Build APK for l3go variant in IDE
Change-Id: Id2b10035b30eaf8f677913c85e384569ecc78359
> Using the scroll of the current page instead of page 0
> Starting switch from current page instead of page 0
> Disable task flip animation accordingly
Change-Id: I29b9c6dafca1e856e634f471aa2b1b667158a790
This bug made it hard to create folders in landscape mode because since the
visual center was off, placing the drag view directly in the center of the
cell caused the underlying item to move since the distance calculation placed
the drag view outside of the folder creation range.
Bug: 111939693
Change-Id: Id0bccb87a87ff1be188def61e697319381f725e1
Added new SpringObjectAnimator class that wraps an ObjectAnimator so the
Object can be controlled via the Animator or via a SpringAnimation. It extends
ValueAnimator so that it remains compatible with AnimatorPlaybackController.
Code is behind feature flag toggle QUICKSTEP_SPRINGS.
Bug: 111698021
Change-Id: I1b20179ede37e89a6a6bb2a45d407cc74c99ac4e