Commit Graph

7443 Commits

Author SHA1 Message Date
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
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 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
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
Sunny Goyal cac002dd0e Do not wait until bindComplete for setting NotificationListener
Notification badges are applied only to the icons which are already
bound. So even if some notification changes in the middle of binding
it will get applied properly.

Change-Id: Icc77981688206b61ea4b9c9d311dff2c72fa8f18
2018-01-04 09:53:15 -08:00
TreeHugger Robot 6c870f2942 Merge "Adding support for auto-cancelling an action mode when interacting with launcher" into ub-launcher3-master 2018-01-04 01:11:59 +00:00
Sunny Goyal 179249d804 Dominant color is part of icon cache
> Calculating extracted color during icon generation and storing it in model and DB
> Removing unused logic avoid various types of badge rendering
> Icons are badged with extracted colors, while folder is badged with theme color

Bug: 35428783
Change-Id: I93e30c52fbded7515c3ae1778422e84672eafb56
2018-01-03 16:55:58 -08:00
Sunny Goyal 8c3c9d2634 Merge "No more waiting around for resume" into ub-launcher3-master 2018-01-04 00:50:25 +00:00
Tony Wickham cd7431d925 Merge "Add system shortcuts when long pressing recent icon" into ub-launcher3-master 2018-01-03 00:37:19 +00:00
Tony Wickham 2fae2a0e9c Add system shortcuts when long pressing recent icon
We add a floating view for the menu that aligns with the task icon.

If available, the following shortcuts are present:
- Widgets
- App info
- Install (for instant apps)

It is designed to be straightforward to add to this list.

Bug: 70294936

Change-Id: I56c1098353d09fc564e0e92e59e4fcf692e486ba
2018-01-02 15:44:34 -08:00
Tony Wickham f62255e3ea Merge "Fix popup container alignment issues" into ub-launcher3-master 2018-01-02 20:07:08 +00:00
Tony efacffa08a Fix popup container alignment issues
- Arrow did not line up with the icon when right aligned
- Popup was always centered horizontally in RTL instead
  of aligning with the icon

Change-Id: I90e065d0b0c1c59166e5c2e5de5e6cff9126ee6f
2017-12-22 13:54:08 -08:00
Sunny Goyal 9328a51271 Adding translationX to workspace card to that it is slightly visible
behind the first card

Change-Id: Idc0c169fb92510e74b983160778bd9dbacf29943
2017-12-22 11:21:18 -08:00
Sunny Goyal 7c8a65e740 Adding support for auto-cancelling an action mode when interacting with launcher
Change-Id: Iba0207e36e9e5bd94bd9016318a4e00c6e1f6393
2017-12-22 11:11:54 -08:00
TreeHugger Robot 069946b1ea Merge "Fix bug where Folder gets stuck with an invalid OutlineProvider when cancelled." into ub-launcher3-master 2017-12-19 21:34:49 +00:00
George Hodulik 9e3056071b Merge "Added constructor to ShortcutKey." into ub-launcher3-master 2017-12-19 21:06:25 +00:00