Commit Graph

1669 Commits

Author SHA1 Message Date
Sunny Goyal 0874079c0e Various swipe up animation optimizations
> Tracking the touch from the start of the interaction, instead of when launcher is visible
> Animating the snapshot to the final posion after first draw
> Scheduling frame only when there are pending touch events
> Starting launcher before loading recents

Change-Id: Id9c3642ea235a1d35d31dbf28024c99dd4f47daa
2017-11-15 16:39:17 -08:00
TreeHugger Robot 3e4d95d33d Merge "Fixing wrong velocity being used for fling" into ub-launcher3-master 2017-11-15 18:41:37 +00:00
Sunny Goyal d3864fa630 Fixing double state changes when using an InternalStateHandler
> Removing duplicate state handling on onCreate and onNewInetnt when InternalStateHandler is active
> Changing PinItemDragListener to use IntenalStateHandler

Change-Id: I42dcf82d1180c49430c6cf0b85d47072c4498ecc
2017-11-15 10:24:10 -08:00
Sunny Goyal 6fc380def6 Fixing wrong velocity being used for fling
Change-Id: I0e8a9563d4148ed9f6035a441ab045c7f4f8a736
2017-11-15 10:02:16 -08:00
TreeHugger Robot 77f7b66822 Merge "Simplifying workspace layout" into ub-launcher3-master 2017-11-15 01:12:30 +00:00
Winson Chung ee849a5199 Minor optimization when starting quickstep.
Change-Id: I339c414d500a14407041189828838f35d2e63cf4
2017-11-14 14:33:34 -08:00
TreeHugger Robot f405f507b7 Merge "Load some recent tasks" into ub-launcher3-master 2017-11-14 18:13:08 +00:00
Winson Chung b63b44c3d5 Load some recent tasks
Bug: 69166452
Test: Build quickstep
Change-Id: Id4b0172256d6920616a6b9529d61abd1fe0c1a36
2017-11-13 18:02:44 -08:00
Sunny Goyal ac00cba35c Simplifying workspace layout
Instead of creating workspace view larger than the screen size (so that it can be
zoomed out), restricting the size to the parent size and bypassing the drag events
directly to Workspace (since the workspace is smaller when zoomed out, it might not
qualify for all events otherwise).

Change-Id: I45e213dd6d16bec5feb6e7cf90bc6f7de4c6d305
2017-11-13 16:00:06 -08:00
Sunny Goyal 6c2b3ef0f3 Adding volatile to various variables used on multple threads.
Change-Id: I143de4981461e6f07688a7ffda906fabbcc97948
2017-11-13 09:56:31 -08:00
Sunny Goyal f8088eecf1 Initial changes for handling touch events.
When the touch passes a threashold, we take a snapshot and start the launcher
activity. The launcher displays the snapshot on top of its UI.
As we get further touch events, we move this snapshot and the hotseat in reponse.

Change-Id: I4623676227000afd52805a414a4de499081feced
2017-11-10 18:06:33 -08:00
Sunny Goyal 3a052d413d Merge "Adding some task views." into ub-launcher3-master 2017-11-10 21:13:14 +00:00
Winson Chung 8ae4198a44 Adding some task views.
Bug: 69166452
Test: Build quickstep
Change-Id: Iee4cb0b9ac32716f588082a197a90ec1b2655047
2017-11-10 12:03:43 -08:00
Sunny Goyal c4fa8c312b Changing the state UI logic for normal build and quickStep build
> Creating ShareHandlers for managing UI
> In normal build, hotseat is hidden in overview, while in QuickStepBuild, it is visible

Change-Id: I5f8d35c75b861d912d93fce186b5dd74106184c3
2017-11-07 12:24:47 -08:00
Sunny Goyal 16764588c9 Separing the overview states for normal and quickstep builds
In QuickStep, adding a placeholder ScrollView and changing the state logic
appropriately to handle that

Change-Id: I10223c0692788d6e5dbf8c408c01cafb4e39bd2c
2017-11-07 09:46:20 -08:00
Sunny Goyal 85525173ce Rearranging the code structure to allow replacing state logic.
Change-Id: I6f83d0f77045ba189f02dd465bf70ffc2a239aa1
2017-11-06 14:57:50 -08:00
Sunny Goyal 416fc0b328 Updating the systemUI lib
Change-Id: Ie945325ea5c436188c79a8f79082d5098357de6d
2017-11-03 14:04:17 -07:00
Sunny Goyal 73133391e5 Adding a placeholder recents activity
Change-Id: Idde86b4008559cde8bcf13fba90a8c72c3f1f591
2017-11-02 11:23:31 -07:00
Sunny Goyal 9d341964a0 Setting up build rules and placeholder code for QuickStep
Change-Id: Ib4ad5c6082b293fc9f9455d70e2b21462b4ab76d
2017-10-30 10:04:24 -07:00