Commit Graph

15250 Commits

Author SHA1 Message Date
Jon Miranda b3335da9ab Only move AllAppsContainerView when opening apps from All Apps.
Instead of moving the entire DragLayer, we only move
AllAppsContainerView. This prevents the hard white line caused
by the AllApps background translating downwards.

Bug: 70220260
Change-Id: I8249e8bbeea616e728d5502a35c95cbae401efdc
2018-01-18 17:20:30 -08:00
TreeHugger Robot 1d35642858 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-01-19 00:12:21 +00:00
TreeHugger Robot 04ff8b1ca6 Merge "Fix work tab is gone when leaving search mode" into ub-launcher3-master 2018-01-18 23:31:55 +00:00
Jonathan Miranda 288647874b Merge "Fallback to old implementation for opening apps in MW mode." into ub-launcher3-master 2018-01-18 23:30:26 +00:00
Jon Miranda 17940f053d Fallback to old implementation for opening apps in MW mode.
Bug: 70220260
Change-Id: I20aa61357c67e11806823cdfcfbdb76ef773554b
2018-01-18 15:13:37 -08:00
Sunny Goyal 234b92d4ec Merge "Reapplying state UI when the insets change" into ub-launcher3-master 2018-01-18 23:05:51 +00:00
TreeHugger Robot dbcd632214 Merge "Move scrim from DragLayer to LauncherRootView." into ub-launcher3-master 2018-01-18 22:26:37 +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
Bill Yi 073090cda8 Import translations. DO NOT MERGE
Change-Id: I86bddb494cc0381073b1743ede0ab96e78c4676b
Auto-generated-cl: translation import
2018-01-18 13:53:11 -08:00
TreeHugger Robot f12cfaa156 Merge "Fading the edges of the thumbnail if the size is different than the view size" into ub-launcher3-master 2018-01-18 20:06:08 +00:00
Sunny Goyal bac7f64fcc Fading the edges of the thumbnail if the size is different than the view size
Change-Id: I7bfb9d55ccbf4fa0338bc962632cfeac37cd69be
2018-01-18 11:48:40 -08:00
Jon Miranda 69057173a7 Synchronized opening app transition animations.
Bug: 70220260
Change-Id: I3c8e1c477266fb3bd7a39f74e3e1191e82ce58e9
2018-01-18 09:44:54 -08: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
Sunny Goyal 690f249843 Updating the workspace card in recents UI
> Removing the widgets button from the card
> Making the height of the card same as that of the second card
> Using the same swipe rage for going between Normal and Overview state

Change-Id: Ib8bd050c52294bb01522fbcd0236f2221e6fe62d
2018-01-17 16:38:50 -08:00
Sunny Goyal a6bb344c43 Merge "Using a default bitmap if we fail to take a screenshot" into ub-launcher3-master 2018-01-17 23:11:24 +00:00
Sunny Goyal 8d9384e27b Using a default bitmap if we fail to take a screenshot
Change-Id: I7fbde49ee01732795618c2e664c406043ba7831b
2018-01-17 14:30:06 -08: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
Sunny Goyal 000e0a1480 Removing packageName from home intent to avoid duplicate launcher activity
Change-Id: I9a693f04aed2d40b95088e7a939390de5281ce31
2018-01-16 12:16:15 -08: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
Adam Cohen f4fce2943e Don't reload the Recents model if it's already loaded
-> This was causing a race condition which would lead to many black
   thumbnails when invoking overview from home

Change-Id: I24221fd42a18a339c1b8bbdc63e63513561be9b9
2018-01-12 13:02:58 -08: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