Commit Graph

78507 Commits

Author SHA1 Message Date
Mario Bertschler 6dcc6d4242 Turn on feature flags to eanble all apps personal/work tabs.
Bug: 69966601
Change-Id: I642db678dc711cb4dc5a1eceea7e38eaa71ca189
2017-12-01 13:24:49 -08:00
Mario Bertschler 527fa71adc Enables searching when using work tabs together with fallback search.
Bug: 69966634
Bug: 68713881
Change-Id: I972696575b7559b5baf80b949437dcb2dc885f66
2017-12-01 10:57:05 -08:00
Mario Bertschler 4d9d4542e0 Merge "Fixes the new search anim + worktabs/prediction row if the floating header is in collapsed state." into ub-launcher3-master 2017-12-01 17:57:32 +00:00
Bill Yi a11d66d4c0 Import translations. DO NOT MERGE
Change-Id: I750e9a7d7c51e1092679cdda9874fb01ccb6a824
Auto-generated-cl: translation import
2017-11-30 16:24:38 -08:00
Mario Bertschler a5f5483cb0 PredictionRowView: handling the case where no predictions are populated.
Bug: 68713881
Change-Id: I63efd5631f5ad3cb3028c02fd83deca00096b00a
2017-11-30 08:51:50 -08:00
Mario Bertschler 2f768cb5d9 Merge "Fixes rebinding worktab layout vs single recycler view (on workprofile change)" into ub-launcher3-master 2017-11-30 16:35:57 +00:00
Mario Bertschler 8a63a587c0 Merge "Fixes a bug when using the prediction row view and changing screen orientation." into ub-launcher3-master 2017-11-30 16:35:46 +00: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 30cd59a76d Merge "Add work profile footer in work tab" into ub-launcher3-master 2017-11-29 20:46:19 +00:00
Tony Mak 6ffe4e0eee Add work profile footer in work tab
Screenshot(work mode is on): https://hsv.googleplex.com/6279751685636096
Screenshot (work mode is off): https://hsv.googleplex.com/6279751685636096

TODO:
It is just the UX bit, once the platform change is in, we should then
consume the new API to
1. Turn on / off work mode
2. Get the organization name and set the textview accordingly.

BUG=69905244

Change-Id: Id94ae57625d6b629dac89c1c28f8d65f395fff6c
2017-11-29 20:37:11 +00:00
Mario Bertschler 44607301e2 Fixes a bug when using the prediction row view and changing screen orientation.
Bug: 68713881
Change-Id: I9740eee8425d42af87c8c788aefff9a99ae48d2f
2017-11-28 13:36:03 -08:00
Mario Bertschler a4dedf426f Fixes rebinding worktab layout vs single recycler view (on workprofile change)
Bug: 68713881
Change-Id: I37bcc800ebeec54157eb1d342666d1695e46aaab
2017-11-28 12:27:29 -08:00
Mario Bertschler 6f4e499f22 Fixes the new search anim + worktabs/prediction row if the floating header
is in collapsed state.

Bug: 68713881
Change-Id: I76ca010e36987fbe7659ee1787c7482af151aef2
2017-11-28 11:59:18 -08:00
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 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
TreeHugger Robot 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
android-build-team Robot 3deb27cab5 Snap for 4459973 from 0a08f55f8e to pi-release
Change-Id: Ic2143946941c206650f54181e102bf55af0c0b1c
2017-11-19 08:34:30 +00: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
Mario Bertschler 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
TreeHugger Robot 0a08f55f8e Merge "Merge branch 'ub-launcher3-master' into master" 2017-11-17 01:05:42 +00:00
Sunny Goyal 27887b2c64 Adding some tracing for touch interaction
Change-Id: Ibbd54b5a0d397312e8f83bdcc2b7d93f309f8f7a
2017-11-16 17:02:40 -08:00
Hyunyoung Song 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
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