Commit Graph

34630 Commits

Author SHA1 Message Date
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
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
Jon Miranda 544eb0893c Merge branch 'ub-launcher3-master' into master
Test: flashed img
Change-Id: Ida66cfde3952a4a924f38811823474ca448a7dc0
2017-11-16 16:49:04 -05: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 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 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 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 3e4d95d33d Merge "Fixing wrong velocity being used for fling" into ub-launcher3-master 2017-11-15 18:41:37 +00:00
TreeHugger Robot 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 77f7b66822 Merge "Simplifying workspace layout" into ub-launcher3-master 2017-11-15 01:12:30 +00:00
TreeHugger Robot 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 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 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 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 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
android-build-team Robot 9cc2a45b16 Snap for 4439972 from 43b0436f1d to pi-release
Change-Id: I6aff5274a6d8fdc4d865d6807cf73747160b0ab4
2017-11-08 08:27:08 +00:00
Jon Miranda 43b0436f1d Merge branch 'ub-launcher3-master' into master
Test: flashed img
Change-Id: Ia7798bb4be28fd0e76eb36c26683e3ca4faeccee
2017-11-07 19:53:18 -05: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 ba9609d35c Merge "Rearranging the code structure to allow replacing state logic." into ub-launcher3-master 2017-11-07 02:08:25 +00:00
Sunny Goyal 85525173ce Rearranging the code structure to allow replacing state logic.
Change-Id: I6f83d0f77045ba189f02dd465bf70ffc2a239aa1
2017-11-06 14:57:50 -08:00
TreeHugger Robot de6188ff03 Merge "Deleting sample code demonstrating how to extend Launcher3" into ub-launcher3-master 2017-11-06 17:58:00 +00:00
TreeHugger Robot 4dcc2617f5 Merge "Updating the systemUI lib" into ub-launcher3-master 2017-11-03 21:17:21 +00:00
Sunny Goyal 416fc0b328 Updating the systemUI lib
Change-Id: Ie945325ea5c436188c79a8f79082d5098357de6d
2017-11-03 14:04:17 -07:00
Sunny Goyal ce4fa5f33b Fixing wrong packageName being used for loading icons
Bug: 68796720
Change-Id: I9b0da050ead0fe5bf40de0e0d87949bda50be699
2017-11-03 11:44:16 -07:00
Sunny Goyal 73133391e5 Adding a placeholder recents activity
Change-Id: Idde86b4008559cde8bcf13fba90a8c72c3f1f591
2017-11-02 11:23:31 -07:00
Android Build Merger (Role) 31a07c9340 [automerger] Also reset mBadgeScale to 0 when recycling view. am: 48043ee0d6
Change-Id: I45edb03913e7cad7f670be5e5331896c30662bcc
2017-11-01 23:01:31 +00:00