Sunny Goyal
e15e2a8267
Adding an empty page in Recents view corresponding to workspace
...
The page is aligned to the workspace card and shows a widgets button
in the empty region
Change-Id: I479c47a2fbac4b3ef1aaf833d9fe82b5d7e10ddc
2017-12-19 10:06:15 -08:00
Winson Chung
50f85e04f0
Temporarily disable HW bitmaps
...
- Causes crash due to sampling bitmap for badge color.
Change-Id: I5c9186fb22769c5b7dcf88d9820aabae5ce486f5
2017-12-15 11:43:29 -08:00
TreeHugger Robot
e7794795a0
Merge "First pass at using hardware bitmaps" into ub-launcher3-master
2017-12-14 00:46:25 +00:00
Tony Wickham
5f7335741d
Merge "Swipe from nav bar to enter overview in landscape" into ub-launcher3-master
2017-12-13 21:46:19 +00:00
Sunny Goyal
9d32323cac
First pass at using hardware bitmaps
...
Bug: 35428783
Change-Id: Ife67b85f6e7e268826597ed9bccd9659841f67de
2017-12-13 13:36:36 -08:00
Tony Wickham
30d276cb92
Merge "Animate recent app icon in after activity transition" into ub-launcher3-master
2017-12-13 17:45:16 +00:00
Tony Wickham
b744a67785
Swipe from nav bar to enter overview in landscape
...
Previously there was hard coded logic for portrait mode, such as
always assuming Y velocity and the upward swipe direction.
Bug: 70179916
Change-Id: Id08ae849632d766b01d67da1c6c67d4e24c697d7
2017-12-13 09:40:36 -08:00
Tony Wickham
0349b6c01c
Animate recent app icon in after activity transition
...
This prevents the icon from being eclipsed by the drag view
as it scales down.
Change-Id: I6d06414bf58ddbc95e51827358e8845897ee554d
2017-12-12 17:23:26 -08:00
TreeHugger Robot
3526729354
Merge "Restricting the overview state trigger logic to a limited swipe range" into ub-launcher3-master
2017-12-13 00:15:00 +00:00
TreeHugger Robot
4aa4c5a911
Merge "Hide hotseat in landscape overview" into ub-launcher3-master
2017-12-12 23:10:56 +00:00
Tony Wickham
a447bd884b
Hide hotseat in landscape overview
...
Bug: 70179916
Change-Id: Ib277a054cf16233ab9156a4448c41952e3295fae
2017-12-12 14:58:50 -08:00
Sunny Goyal
0c723353a6
Enabling swipe up from overview to all-apps
...
> Fixing wrong alpha interpolator when swiping down from all-apps
Change-Id: I7d4200c89797e5609fd7c4aa8681dea2ffd00bf7
2017-12-12 12:20:23 -08:00
Sunny Goyal
f5f6fc3898
Restricting the overview state trigger logic to a limited swipe range
...
Change-Id: I68714b064dcc62e1837005e0d25b48ac48aa62ca
2017-12-12 10:25:11 -08:00
Sunny Goyal
de5535a1ec
Initial interaction for two state swipe to overview
...
> Currently swipe only works from NORMAL and ALL_APPS state
> All interpolation is spread linearly
On pausing the drag for some time, the workspace moves to overview state,
and all other transitions interpolate linearly from there over the
remaining swipe range
Change-Id: Ic79f9d0f446c9bfff11e4af4d31ddc1c86c45ab2
2017-12-11 09:56:17 -08:00
Tony Wickham
fcb1dd183c
Merge "Implement swipe to dismiss recent tasks" into ub-launcher3-master
2017-12-08 19:12:42 +00:00
Sunny Goyal
a3e0350329
Creating a copy of vertical swipe detector for quickstep
...
Change-Id: Ie38e0c11e8ea9aa476e450f074295358623c6942
2017-12-07 16:28:21 -08:00
Tony Wickham
8643cd4ef4
Implement swipe to dismiss recent tasks
...
Bug: 69166452
Change-Id: I6ccb77dbc6e55c5076ecb9808ee8283e0c72eea7
2017-12-07 15:36:56 -08:00
Sunny Goyal
3c585ddbf7
Removing view layer support during state animation.
...
View layer was only being used when fading in/out hotseat in overview.
From API 21+, android automatically create layers when animating alpha
The current support for view layers does not work properly when cancelling
animations and controlling partial animations
Change-Id: I2d5785471af9819575beefe65f1f2bdd28c76bd5
2017-12-07 14:18:16 -08:00
Sunny Goyal
e3c6d58b71
Adding support for tagging animations per controller, so that they can be controlled independently
...
Change-Id: I6f360362aa16f7e02fe5fe84976b23663f228030
2017-12-07 12:46:26 -08:00
Sunny Goyal
bc683e9d06
Separating various UI properties into state variables
...
> Using workspace scale and translation for all-apps
> Without quickstep, workspace has the parallex effect as before
> With quickstep, workspace scales down to match the recents card width
> Using a single animator for recents views in case of state transtion and
controlled transition to prevent going into inconsistant state.
Change-Id: I1864de6892052ca771f4d0062e3d60c28840a72d
2017-12-06 14:29:33 -08:00
Tony Wickham
53370678ce
Allow hotseat items to be clicked in overview
...
Bug: 70179573
Change-Id: Ib2cbd7b12e5e1287d652d703e95c15ca6ea12a4e
2017-12-05 11:40:21 -08:00
Sunny Goyal
e6af6318cf
Merge "Forwarding touch events from TouchInteractionService to Launcher when launcher window is visible" into ub-launcher3-master
2017-12-04 19:23:09 +00:00
Tony Wickham
7df64b3dbf
Dim non-forefront recent pages
...
Also move updateCurveProperties to computeScroll instead of scrollTo.
Change-Id: Ibb380f0122185b7fe93541daf58d5bda916c89c0
2017-12-01 16:00:59 -08:00
TreeHugger Robot
413e7d44fd
Merge "Subtracting the touchSlop when dragging the window, to prevent initial jump" into ub-launcher3-master
2017-11-30 07:55:56 +00:00
TreeHugger Robot
0c2d9b0f3e
Merge "Fix bug where long press menu text is white on gray for dark backgrounds." into ub-launcher3-master
2017-11-27 22:45:21 +00:00
Jon Miranda
b1b2b45a69
Fix bug where long press menu text is white on gray for dark backgrounds.
...
Bug: 69723025
Change-Id: Iba9704b3f07b2156d449734b8fd750f4238da8e7
2017-11-27 14:23:32 -08:00
Sunny Goyal
0607cf03ea
Forwarding touch events from TouchInteractionService to Launcher
...
when launcher window is visible
Change-Id: I418994c2e2a5559c28c36875ac7aff589a15fac5
2017-11-20 18:03:57 -08:00
Tony Wickham
635329a5ab
Merge "Add carousel curve effect to RecentsView." into ub-launcher3-master
2017-11-17 18:43:12 +00:00
Tony Wickham
1c9bf6a19c
Add carousel curve effect to RecentsView.
...
Pages scale down and tuck underneath the centermost page.
Change-Id: I12686cd72634f758ef71828033eb4e22339ef185
2017-11-17 10:25:27 -08:00
Sunny Goyal
27887b2c64
Adding some tracing for touch interaction
...
Change-Id: Ibbd54b5a0d397312e8f83bdcc2b7d93f309f8f7a
2017-11-16 17:02:40 -08:00
Sunny Goyal
1c22aa1370
Subtracting the touchSlop when dragging the window, to prevent initial jump
...
Change-Id: I26a79076312d4641693a9610c17cf925d5d104ea
2017-11-16 16:11:18 -08:00
Sunny Goyal
1dc8a1f3ca
Batching MotionEvents and processing them on the UI thread
...
Change-Id: I2dc972af8360e719db743740074893bac0213ded
2017-11-16 15:12:42 -08:00
Winson Chung
047dea9e66
Merge changes Iaeeca788,I305b659d into ub-launcher3-master
...
* changes:
Fetching graphic buffer instead of bitmap for current screenshot.
Add option to not preload titles.
2017-11-16 20:41:17 +00:00
TreeHugger Robot
af3a327779
Merge "Temorarily changing the long press action on the homescreen to show a popup menu" into ub-launcher3-master
2017-11-16 18:26:20 +00:00
Winson Chung
0485e357db
Fetching graphic buffer instead of bitmap for current screenshot.
...
Bug: 69166452
Change-Id: Iaeeca788c9afadb1ce6f7ee3056dddf9b2e339b2
2017-11-16 09:46:16 -08:00
Winson Chung
117386c9b7
Add option to not preload titles.
...
Bug: 3236757
Change-Id: I305b659d8ce35ee9c269b25b88558fd29de79ba0
2017-11-15 18:14:42 -08:00
Sunny Goyal
a5ace71d91
Temorarily changing the long press action on the homescreen to show a popup menu
...
Change-Id: If160a2e4d0f73e2e1ecb424a0625d642b8775ada
2017-11-15 17:13:14 -08:00
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