Commit Graph

16456 Commits

Author SHA1 Message Date
Sunny Goyal 234b92d4ec Merge "Reapplying state UI when the insets change" into ub-launcher3-master 2018-01-18 23:05:51 +00:00
Jon Miranda de43a71b06 Move scrim from DragLayer to LauncherRootView.
This change will make opening/closing animations a lot cleaner.

Change-Id: I7f8ae301a9a126023833e282d6654bebd09bb306
2018-01-18 14:15:45 -08:00
Sunny Goyal ce8809a588 Reapplying state UI when the insets change
Change-Id: Ief9588400f332b2c5b084a8a11c3102b2c20c4ea
2018-01-18 14:03:19 -08:00
Jon Miranda 69057173a7 Synchronized opening app transition animations.
Bug: 70220260
Change-Id: I3c8e1c477266fb3bd7a39f74e3e1191e82ce58e9
2018-01-18 09:44:54 -08:00
Tony Mak cad08fb661 Highlight the tab for the first time
FIXES: 71748023

Change-Id: I051789172a1869ceb950eb5dbbf15e3eeb60ed64
2018-01-18 13:55:33 +00:00
TreeHugger Robot fddaaca841 Merge "Update apps icon in prediction apps row when apps are updated" into ub-launcher3-master 2018-01-18 10:45:12 +00:00
TreeHugger Robot 5a4b7a449c Merge "Added StatusBarNotificationsListener interface." into ub-launcher3-master 2018-01-17 19:10:57 +00:00
Tony Wickham 518406bbdd Merge "Fix regression with popup refactor" into ub-launcher3-master 2018-01-16 23:48:58 +00:00
Tony Wickham 49556b1f11 Fix regression with popup refactor
System shortcuts used to be a child of the popup, so we were
telling the parent to close; now the popup should just close
itself.

Bug: 71517074
Change-Id: I5c359f1169fee155790a30b6ed4a0464ef8fc043
2018-01-16 15:17:28 -08:00
TreeHugger Robot d811d99daf Merge "Fix for badge updates in PredictionRowView" into ub-launcher3-master 2018-01-16 23:01:12 +00:00
Mario Bertschler 62d2db1d60 Fix for badge updates in PredictionRowView
Bug: 72054359
Change-Id: I6d435c380d182ba99f9627c049f7f36ad331ee1d
2018-01-16 14:49:51 -08:00
Sunny Goyal 5d1acbbbf9 Merge "Removing some device profile dependencies in view contructors" into ub-launcher3-master 2018-01-16 22:46:30 +00:00
Sunny Goyal 12069e6cbf Removing some device profile dependencies in view contructors
Bug: 71709920
Change-Id: I13e33dceaeff71e3fb7bbb93f24be69c17d6da96
2018-01-16 14:17:47 -08:00
TreeHugger Robot 80dc2757ac Merge "Fix fast scrolling is not "enabled" in work tab" into ub-launcher3-master 2018-01-16 21:36:46 +00:00
Tony Mak b5950bbd6c Update label accordingly when work mode is changed
Also, updates the work related strings accordingly.

Fix: 71987096

Change-Id: Iedbf6ee04f3a165a392efdf2bd351817997817ca
2018-01-16 21:33:56 +00:00
TreeHugger Robot 1c24284508 Merge "Ensuring that Recents view is always loaded when going to Overview state" into ub-launcher3-master 2018-01-16 20:13:14 +00:00
Sunny Goyal 75c59acf5c Ensuring that Recents view is always loaded when going to Overview state
Change-Id: If2337a0be66f4ca68dd54954b7368f38d70a40d4
2018-01-16 12:01:57 -08:00
Tony Mak 5e48935344 Fix fast scrolling is not "enabled" in work tab
We should just take the ViewPager.getLeft() into account, but not the
recycler view itself.

Test: Fast scroll in both personal and work tab.

Fix: 71702218

Change-Id: Iaf508c852f197f93f8cd1d1e0c30d9f2fd7fa980
2018-01-16 20:01:38 +00:00
George Hodulik fc1c96bde8 Added StatusBarNotificationsListener interface.
Change-Id: I62da2da4169835edf043bc085583adfb027bebbe
2018-01-16 11:56:13 -08:00
Mario Bertschler 7662a3e917 Enabling to retrieve a badge-package as an extra in ShortcutInfoCompat for
whitelisted package.

> badging respects the badge-package extra

Change-Id: I4e06cd497dff91949f8b0a42c7f3d5aaa724c038
2018-01-16 11:29:34 -08:00
Tony Wickham cf9f8d71f5 Merge "Bound folders to overview panel instead of workspace" into ub-launcher3-master 2018-01-16 19:03:40 +00:00
Sunny Goyal 8d55f9858c Merge "Adding swipe gestures in overview screen" into ub-launcher3-master 2018-01-16 18:57:58 +00:00
Mario Bertschler 88126e44ba Merge "Setting PREDICTION as the containerType in PredictionRowView" into ub-launcher3-master 2018-01-16 18:45:17 +00:00
Sunny Goyal 05a3bbdef8 Adding swipe gestures in overview screen
> When on home time, swiping up goes to all_apps, and swiping down goes to normal
> When on a recents tile, swiping up the tile dismisses it, swiping down launches it
> When on a recents tile, swiping up on the hotseat opens allApps.

Change-Id: I59f8c02f5c5d9cb88c0585a083fbc33d33b1c806
2018-01-16 10:31:36 -08:00
Mario Bertschler fc6305aea1 Setting PREDICTION as the containerType in PredictionRowView
Bug: 71644433
Change-Id: Icf97cabb2a439b47ddcc751909e0425fd8343b48
2018-01-16 10:12:54 -08:00
Tony Mak faaf5a5399 Update apps icon in prediction apps row when apps are updated
Fix: 70717710

Change-Id: I89540893ca3c8c4eae3f47bc07c3deade135e5c3
2018-01-15 14:08:48 +00:00
Tony Mak 9f082604b0 Rename trySetQuietModeEnabled to requestQuietModeEnabled as per ...
the feedback from API council

Fix: 71818127

Test: Build
Change-Id: I4bfb0eecb281961e24a4f613485420e9e8b357ab
2018-01-13 16:10:33 +00:00
Tony Wickham b4b7e20ebc Bound folders to overview panel instead of workspace
Since the workspace is scaled down in overview, the folders
were moving too far from the hotseat.

Change-Id: I3e8810f918436fec3a646abda9c147b688cb803b
2018-01-12 17:59:25 -08:00
TreeHugger Robot 15dc35ce3f Merge "Fixes on updates on the PredictionRowView" into ub-launcher3-master 2018-01-13 01:06:06 +00:00
Mario Bertschler 94cb9e5288 Fixes on updates on the PredictionRowView
> resetup header if content switches from empty to non-empty
> scroll to top on reset

Change-Id: Idc523a94990e9a8f9d639485fa5c7ec60eb378de
2018-01-12 16:52:50 -08:00
TreeHugger Robot dfa46e1d62 Merge "Adding a back stack to go to overview from all-apps" into ub-launcher3-master 2018-01-12 23:27:52 +00:00
Tony 6d6fe041c7 Implement quick scrub and quick switch callbacks
Bug: 70180755
Change-Id: I011dd5b0435cea7ba493e83b973ce5be7d18c1f0
2018-01-11 17:20:35 -08:00
Sunny Goyal 1a52ef57c7 Removing some dependency on Launcher UI
Change-Id: Ic1c84880cfe4daa9398b8eb27c3afc0837c5a8ca
2018-01-11 15:33:23 -08:00
Sunny Goyal 49bcf34e81 Adding a back stack to go to overview from all-apps
Change-Id: I94e7c27aa505123ddbe40ffa29b1bbc9b2748293
2018-01-11 14:45:11 -08:00
Sunny Goyal 9bb0d72640 Adding feature to support two different swipe targets from all-apps and overview
Change-Id: I7e7b4abbcebcbd6de43805c57ee40b0edd5ba5aa
2018-01-11 14:13:44 -08:00
Sunny Goyal cc96aa1fd4 Running state animations if launcher is visible
Change-Id: Ibc522edec4f86375ea75ac645b748fec43fceb31
2018-01-11 09:56:23 -08:00
Tony Mak 7ccbefcc56 Fix work tab is gone when leaving search mode
1. onSearchResultsChanged is not called if the query is empty.
   Introduce onClearSearchResult and restore the tab there
2. rebindAdapters should only perform the actual logic
   if showTabs != mShowTabs, except the first time when we init the
   layout in onFinishInflate.

Fix: 71737947
Change-Id: I5485d6be0fc33b73aa6e0709be66cef8d43b4dbd
2018-01-11 15:55:24 +00:00
TreeHugger Robot b5d047ca14 Merge "Removing layout handling in DeviceProfile and moving it to individual views" into ub-launcher3-master 2018-01-10 23:25:26 +00:00
Sunny Goyal 07b6929cd9 Removing layout handling in DeviceProfile and moving it to
individual views

Bug: 71709920
Change-Id: I8300fa7a84b31898bdb135d774cca576d2928525
2018-01-10 15:13:25 -08:00
Sunny Goyal b60778114f Merge "Making LauncherIcons thread safe" into ub-launcher3-master 2018-01-10 20:03:15 +00:00
Tony Mak 4233405016 Add peek to work tab animation
Only the tab is moved, the RV does not.

Fix: 71748023

Change-Id: I99216e9072df03104dd0644f3909e8b49e07faf0
2018-01-10 18:02:47 +00:00
Sunny Goyal 18a4e5aefb Making LauncherIcons thread safe
Creating a pool of LauncherIcons so that they can be used from multiple threads

Change-Id: Idc7b5ddb47b6e338a5389f3c4faa6f63de108c72
2018-01-09 17:30:52 -08:00
Sunny Goyal 2865cf3dba Fixing dot being drawn at wrong offset
Bug: 71730537
Change-Id: I090283596c0137cb751d29dfab54b370e6bbe97e
2018-01-09 10:24:02 -08:00
Sunny Goyal 228153d92a Updating landscape layout for launcher/quickstep
> Hotseat is tied to navbar (on left in seascape)
> Search box shows up in Overview (clicking it would crash for now)
> All-apps is no longer fullscreen in landscape
> Recents cards are appropriately scaled down
> Hotseat is visible in Overview

Bug: 70179916
Change-Id: I53149eaeac9557e8a01021b7e2d139f3d6ceef37
2018-01-08 13:53:44 -08:00
Tony Wickham 07b1d670f2 Animate to the workspace card when transitioning from overview to home
Change-Id: Ib2c2288fd935f678a5c7a354be09c6d852d86b41
2018-01-05 14:15:10 -08:00
Sunny Goyal da1e4b31f0 Fixing wrong check used for predictions
Change-Id: I990b101c32abe02a14d95bd00c0b63cda95b4066
2018-01-05 10:49:37 -08:00
TreeHugger Robot 03be2ec743 Merge "Removing some unused code path" into ub-launcher3-master 2018-01-04 19:22:30 +00:00
TreeHugger Robot 01629fea69 Merge "Consume work mode API" into ub-launcher3-master 2018-01-04 19:14:17 +00:00
Sunny Goyal 6bb51f425b Removing some unused code path
Change-Id: I16a651d77c6557b33f8389407a222f058a8168d4
2018-01-04 11:12:44 -08:00
Tony Mak 6eeb040d86 Consume work mode API
Fix: 69905244

Change-Id: I5958b3a2ebba2fa0e0f69448d5526dc72ed6a97b
2018-01-04 19:06:01 +00:00