Tony Mak
41bccc244e
Preserve tab position
...
To reproduce the issue:
1. Swipe to work tab
2. Tap Home
3. Swipe up to show all apps, you can see the personal tab is
highlighted while the view pager is showing work apps.
We cleared the state whenever onLayout is called, we should
make use of mSelectedPosition.
Change-Id: I621b3c9ada0eb608280fe5e4ea8715f3a341820d
2017-11-28 11:50:03 +00:00
TreeHugger Robot and Android (Google) Code Review
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
TreeHugger Robot and Android (Google) Code Review
12b4c4ba58
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master
2017-11-20 20:53:43 +00:00
Bill Yi
6383659bab
Import translations. DO NOT MERGE
...
Change-Id: I9b52987bd708c5b2b955b0446f42db329ba02ec8
Auto-generated-cl: translation import
2017-11-20 12:44:23 -08:00
Tony Wickham and Android (Google) Code Review
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
Mario Bertschler and Android (Google) Code Review
86a8fde10b
Merge "Implementation of PredictionRowView. > Enable to use floating for prediction row even without tabs. > Behind ALL_APPS_PREDICTION_ROW_VIEW feature flag. > Expand/Collapse personal/work tabs in stopped intermediate state." into ub-launcher3-master
2017-11-17 01:20:54 +00:00
Mario Bertschler
2153e1c814
Implementation of PredictionRowView.
...
> Enable to use floating for prediction row even without tabs.
> Behind ALL_APPS_PREDICTION_ROW_VIEW feature flag.
> Expand/Collapse personal/work tabs in stopped intermediate state.
Bug: 68713881
Change-Id: I7817e7b7c6f572358f2b9a7a347339a9081708ee
2017-11-16 17:07:44 -08:00
Sunny Goyal
27887b2c64
Adding some tracing for touch interaction
...
Change-Id: Ibbd54b5a0d397312e8f83bdcc2b7d93f309f8f7a
2017-11-16 17:02:40 -08:00
Hyunyoung Song and Android (Google) Code Review
a3921c7ba8
Merge "dump method should accept --proto and --debug flag regardless of the order Bug:69006241" into ub-launcher3-master
2017-11-17 00:37:34 +00:00
Hyunyoung Song
8fe56a6a7d
dump method should accept --proto and --debug flag regardless of the order
...
Bug:69006241
Change-Id: Idca9c65fbd1842c6bee7999ee9921cf4806c4328
2017-11-16 16:07:14 -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 and Android (Google) Code Review
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 and Android (Google) Code Review
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 and Android (Google) Code Review
7149889dc0
Merge "Simplifying app icon popup" into ub-launcher3-master
2017-11-16 01:15:37 +00: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 and Android (Google) Code Review
bcca71116d
Merge "Various swipe up animation optimizations" into ub-launcher3-master
2017-11-16 00:48:39 +00:00
Sunny Goyal
00ac920241
Simplifying app icon popup
...
> Using a single linearLayout instead of multiple nested views
> Using clipToOutline for rounded corners instead of using canvas.saveLayer
> Removing nested view elevations and overdraw
> Using LayoutTransition for animating layout changes, instead of manually creating animators
Change-Id: I8e57092f52ca5a032a2756594fdd39788acc5a0d
2017-11-15 16:43:20 -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 and Android (Google) Code Review
0c1893e6cc
Merge "Adding a sliding tab strip to the custom tab layout." into ub-launcher3-master
2017-11-16 00:35:03 +00:00
Mario Bertschler
510a64d099
Adding a sliding tab strip to the custom tab layout.
...
Bug: 68713881
Change-Id: Ib0873482f80903611f183ccf430185f40a292f8e
2017-11-15 16:19:34 -08:00
TreeHugger Robot and Android (Google) Code Review
3e4d95d33d
Merge "Fixing wrong velocity being used for fling" into ub-launcher3-master
2017-11-15 18:41:37 +00:00
TreeHugger Robot and Android (Google) Code Review
15a78d2a65
Merge "Fixing double state changes when using an InternalStateHandler" into ub-launcher3-master
2017-11-15 18:37:13 +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
Sunny Goyal
67419a1512
Defering AppWidgetHost updates if Launcher resumes in an non-NORMAL state
...
Change-Id: Ib0ef587de7207a3bd1bb5051fe8599293dfb4d59
2017-11-14 18:49:43 -08:00
TreeHugger Robot and Android (Google) Code Review
77f7b66822
Merge "Simplifying workspace layout" into ub-launcher3-master
2017-11-15 01:12:30 +00:00
TreeHugger Robot and Android (Google) Code Review
014d1c0b76
Merge "Refactor InsettableFrameLayout/DragLayer and add StateListener interface." into ub-launcher3-master
2017-11-15 01:01:22 +00:00
Winson Chung
ee849a5199
Minor optimization when starting quickstep.
...
Change-Id: I339c414d500a14407041189828838f35d2e63cf4
2017-11-14 14:33:34 -08:00
Mario Bertschler
ac9408a5cd
Enable work profile tab in all apps.
...
This CL will bring two tabs to all apps: Personal and Work,
currently only if the user has a workfile set up and
behind a feature flag defaulting to disabled.
Bug: 68713881
Change-Id: Ib5a558281ef3593359db3ad593ee1d0cf279f547
2017-11-14 10:28:54 -08:00
TreeHugger Robot and Android (Google) Code Review
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 and Android (Google) Code Review
96f4961d97
Merge "Fixing wrong xml refenrece when the packageName is changed" into ub-launcher3-master
2017-11-13 22:10:23 +00: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 and Android (Google) Code Review
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
Jon Miranda
758d5047be
Refactor InsettableFrameLayout/DragLayer and add StateListener interface.
...
Bug: 65387919
Change-Id: I5eb94c0f3962d44f63af3efc92d852e019bba711
2017-11-09 11:23:07 -08:00
Sunny Goyal
ea529083bd
Using view elevation for shadow during click feedback instead of
...
creating a shadow bitmap
Change-Id: I331186664c3c448596af3172e0e080921a6a1908
2017-11-08 15:13:10 -08:00
TreeHugger Robot and Android (Google) Code Review
4d52411cea
Merge "Changing the state UI logic for normal build and quickStep build" into ub-launcher3-master
2017-11-08 17:43:12 +00:00
Sunny Goyal
a783400823
Fixing quickstep build
...
Change-Id: I1db1ce636c52cb02dd248dd843de8c886ad34604
2017-11-07 16:43:24 -08:00
Sunny Goyal
3cf2d5093f
Fixing wrong xml refenrece when the packageName is changed
...
Change-Id: I276d22e82dbef65eaa0f6c3331d7990292a62bc9
2017-11-07 15:41:16 -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
8b0a647a11
Removing dependency on deprecated android.test.** package
...
Change-Id: Ib1065e26fff3c193d12531c8bca944693ea6137c
2017-11-06 21:10:09 -08:00
Sunny Goyal and Android (Google) Code Review
ba9609d35c
Merge "Rearranging the code structure to allow replacing state logic." into ub-launcher3-master
2017-11-07 02:08:25 +00:00