OSDN Git Service

android-x86/packages-apps-Launcher3.git
9 years agoPlace the work profile badge in the correct bottom right (left for RTL)
Hyunyoung Song [Fri, 15 May 2015 00:08:45 +0000 (17:08 -0700)]
Place the work profile badge in the correct bottom right (left for RTL)
location

Also:
- clean up of some code
- remove requestLayout() method call that is not needed.

b/20338602

Change-Id: I65e0e1ac40da2e3fa85af4d3aca54bed3f200a99

9 years agoMerge "Fixing accessibility scrolling events generated by PagedView:" into ub-launche...
Vadim Tryshev [Wed, 13 May 2015 17:42:30 +0000 (17:42 +0000)]
Merge "Fixing accessibility scrolling events generated by PagedView:" into ub-launcher3-burnaby

9 years agoMerge "Pulling out predictions into another row view." into ub-launcher3-burnaby
Winson Chung [Wed, 13 May 2015 16:28:15 +0000 (16:28 +0000)]
Merge "Pulling out predictions into another row view." into ub-launcher3-burnaby

9 years agoPulling out predictions into another row view.
Winson Chung [Wed, 13 May 2015 02:05:30 +0000 (19:05 -0700)]
Pulling out predictions into another row view.

Change-Id: Iba0d74457a1314cf0c00a88f9b07df049334e542

9 years agoMerge "Animating the folder title & page indicator when a multi-page folder is opened...
Sunny Goyal [Wed, 13 May 2015 03:25:36 +0000 (03:25 +0000)]
Merge "Animating the folder title & page indicator when a multi-page folder is opened for the first time" into ub-launcher3-burnaby

9 years agoam a6095969: Preventing NullPointerException when cancelling a shortcut addition
Sunny Goyal [Wed, 13 May 2015 02:22:10 +0000 (02:22 +0000)]
am a6095969: Preventing NullPointerException when cancelling a shortcut addition

* commit 'a6095969bb5938ad95ee9f858970d5eb54eb124d':
  Preventing NullPointerException when cancelling a shortcut addition

9 years agoFixing regression from g/649060 regarding building layers for detached views.
Winson Chung [Wed, 13 May 2015 01:55:26 +0000 (18:55 -0700)]
Fixing regression from g/649060 regarding building layers for detached views.

Bug: 21063014

Change-Id: Iff0dba8be5fe7ef5dce4fc65fb6391c33c50b253

9 years agoMinor visual tweaks.
Winson Chung [Tue, 12 May 2015 20:01:54 +0000 (13:01 -0700)]
Minor visual tweaks.

- Drawing full divider under predicted apps
- Enabling dynamic search bar elevation
- Increasing fast scroller pop-up size
- Insetting the padding to prevent the scroll bar from overlapping with app titles

Bug: 20299865

Change-Id: I48ffde43c2158c23b54cd43fede722da41ccc111

9 years agoPreventing NullPointerException when cancelling a shortcut addition
Sunny Goyal [Tue, 12 May 2015 20:30:07 +0000 (13:30 -0700)]
Preventing NullPointerException when cancelling a shortcut addition

Bug: 21024018
Change-Id: Iac09d9e4f1411aa9fe1ec89fbfe749b009c7d457
(cherry picked from commit f044bb1edd8670fbc2cf9eeb1a51c31b91f0889c)

9 years agoTypecast to correct LayoutParams
Hyunyoung Song [Tue, 12 May 2015 23:27:50 +0000 (16:27 -0700)]
Typecast to correct LayoutParams

Change-Id: Ifdd04923563a0ef57bd281d1b55b8af0e4cc59f0

9 years agoUnbreak the build. Remove extra xml version definition.
Hyunyoung Song [Tue, 12 May 2015 22:58:09 +0000 (15:58 -0700)]
Unbreak the build. Remove extra xml version definition.

Change-Id: I42f1c21143bef6181828d1135deaaf153acbf984

9 years agoFixing several layout issues.
Hyunyoung Song [Tue, 12 May 2015 22:36:20 +0000 (15:36 -0700)]
Fixing several layout issues.

- N7/N9 indented area should not block scroll view
- separator at the end of the widget cell should not show up on the last item.

Not covered in this CL:
- Guarantee that last item is showing only 20~40%. Right now, the
hand picked constant works for N5,6,7,9

b/20338324
b/20763871

Change-Id: I274ab95c6c3e2fc8be8ceafb2e8172c0174a41a5

9 years agoMerge "Removing empty folders in loader" into ub-launcher3-burnaby
Sunny Goyal [Tue, 12 May 2015 22:19:10 +0000 (22:19 +0000)]
Merge "Removing empty folders in loader" into ub-launcher3-burnaby

9 years agoMerge "Using BubbleTextView for widget section headers" into ub-launcher3-burnaby
Sunny Goyal [Tue, 12 May 2015 22:11:59 +0000 (22:11 +0000)]
Merge "Using BubbleTextView for widget section headers" into ub-launcher3-burnaby

9 years agoMerge "Preventing NullPointerException when cancelling a shortcut addition" into...
Sunny Goyal [Tue, 12 May 2015 21:43:51 +0000 (21:43 +0000)]
Merge "Preventing NullPointerException when cancelling a shortcut addition" into ub-launcher3-burnaby

9 years agoMerge "Removing obsolete strings with no default translation" into ub-launcher3-burnaby
Sunny Goyal [Tue, 12 May 2015 21:21:59 +0000 (21:21 +0000)]
Merge "Removing obsolete strings with no default translation" into ub-launcher3-burnaby

9 years agoTweaking section processing for different languages
Winson Chung [Tue, 12 May 2015 05:12:38 +0000 (22:12 -0700)]
Tweaking section processing for different languages

- Ensuring that apps with non-letter/digit characters are ordered last in the misc bucket
- Removing duplicate latin-alphabet sections for Simplified Chinese
- Adding more appropriate misc bucket label for Japanese

Bug 21022854

Change-Id: I62c7b219820ef88787fcfa83f1bd4202f16f9c0c

9 years agoRemoving obsolete strings with no default translation
Sunny Goyal [Tue, 12 May 2015 21:03:15 +0000 (14:03 -0700)]
Removing obsolete strings with no default translation

Change-Id: I80613460450078ef5f1fd495c8dced3abf8d273f

9 years agoPreventing NullPointerException when cancelling a shortcut addition
Sunny Goyal [Tue, 12 May 2015 20:30:07 +0000 (13:30 -0700)]
Preventing NullPointerException when cancelling a shortcut addition

Bug: 21024018
Change-Id: Iac09d9e4f1411aa9fe1ec89fbfe749b009c7d457

9 years agoMerge "Exploring dense all apps layout." into ub-launcher3-burnaby
Winson Chung [Tue, 12 May 2015 18:40:31 +0000 (18:40 +0000)]
Merge "Exploring dense all apps layout." into ub-launcher3-burnaby

9 years agoUsing BubbleTextView for widget section headers
Sunny Goyal [Tue, 12 May 2015 18:32:39 +0000 (11:32 -0700)]
Using BubbleTextView for widget section headers

> Loading highres icons on the worker thread.

Change-Id: I5b68a86820aa4c132c156339e497354cf57f0fca

9 years agoRemoving empty folders in loader
Sunny Goyal [Tue, 12 May 2015 18:03:04 +0000 (11:03 -0700)]
Removing empty folders in loader

Bug: 21050720
Change-Id: Id174bb1e18b070e32273d66649f0e286e3546f89

9 years agoFixing issue with font size.
Winson Chung [Tue, 12 May 2015 01:02:55 +0000 (18:02 -0700)]
Fixing issue with font size.

Change-Id: I3f32840333f96ce49dfb915da3f335de0c0b022e

9 years agoExploring dense all apps layout.
Winson Chung [Mon, 11 May 2015 23:30:13 +0000 (16:30 -0700)]
Exploring dense all apps layout.

- Disabling section headers in all apps on tablet layouts
- Fixing issue with predictions not showing on rotation
- Fixing issue with over-aggressive dismissing of keyboard & filtered app state
- Fixing issue where the container bounds were running straight up to the nav bar

Change-Id: I5a5a56afa75b50be96af4894bf785ffbb1b15fb3

9 years agoMerge "Various icon size changes" into ub-launcher3-burnaby
Sunny Goyal [Mon, 11 May 2015 23:55:11 +0000 (23:55 +0000)]
Merge "Various icon size changes" into ub-launcher3-burnaby

9 years agoVarious icon size changes
Sunny Goyal [Mon, 11 May 2015 23:30:44 +0000 (16:30 -0700)]
Various icon size changes

1) Setting different icon and text size for workspace and all apps
2) Setting padding during BubbleTextView inflation

Change-Id: I59da6986b0d98e8e2aa6065743bb799a6bf06a37

9 years agoMerge "Updating folder grid sizes for various devices" into ub-launcher3-burnaby
Sunny Goyal [Mon, 11 May 2015 22:53:47 +0000 (22:53 +0000)]
Merge "Updating folder grid sizes for various devices" into ub-launcher3-burnaby

9 years agoMerge "Ensure that clipping widget size is 20~40% of its width on every devices"...
Hyunyoung Song [Mon, 11 May 2015 22:52:36 +0000 (22:52 +0000)]
Merge "Ensure that clipping widget size is 20~40% of its width on every devices" into ub-launcher3-burnaby

9 years agoMerge "Initial changes to support predicted apps." into ub-launcher3-burnaby
Winson Chung [Mon, 11 May 2015 22:04:36 +0000 (22:04 +0000)]
Merge "Initial changes to support predicted apps." into ub-launcher3-burnaby

9 years agoInitial changes to support predicted apps.
Winson Chung [Sat, 9 May 2015 00:34:17 +0000 (17:34 -0700)]
Initial changes to support predicted apps.

Change-Id: I80117d51074fe3dbdbb8d81cae886b1dffdfb86a

9 years agoEnsure that clipping widget size is 20~40% of its width on every devices
Hyunyoung Song [Mon, 11 May 2015 21:55:07 +0000 (14:55 -0700)]
Ensure that clipping widget size is 20~40% of its width on every devices

b/20338324
b/20763871

Change-Id: I69114cb6dfec95c473313a440a6db76a052e5601

9 years agoMerge "When updating an icon, keeping the drawable padding same as before" into ub...
Sunny Goyal [Mon, 11 May 2015 21:51:36 +0000 (21:51 +0000)]
Merge "When updating an icon, keeping the drawable padding same as before" into ub-launcher3-burnaby

9 years agoWhen updating an icon, keeping the drawable padding same as before
Sunny Goyal [Mon, 11 May 2015 21:08:36 +0000 (14:08 -0700)]
When updating an icon, keeping the drawable padding same as before

Bug: 17879518
Change-Id: Ifc819c353069bf470fd7ef6f989e4a2ea1289d2d

9 years agoMerge "Trim all whitespace from titles and labels." into ub-launcher3-burnaby
Winson Chung [Mon, 11 May 2015 20:06:16 +0000 (20:06 +0000)]
Merge "Trim all whitespace from titles and labels." into ub-launcher3-burnaby

9 years agoMerge "Using xml-drawable and elevation as folder background" into ub-launcher3-burnaby
Sunny Goyal [Mon, 11 May 2015 18:54:45 +0000 (18:54 +0000)]
Merge "Using xml-drawable and elevation as folder background" into ub-launcher3-burnaby

9 years agoMerge "Accessibility: Folder drag and drop fixes" into ub-launcher3-burnaby
Sunny Goyal [Mon, 11 May 2015 18:54:11 +0000 (18:54 +0000)]
Merge "Accessibility: Folder drag and drop fixes" into ub-launcher3-burnaby

9 years agoMerge "Adding accessibility widget resize" into ub-launcher3-burnaby
Sunny Goyal [Mon, 11 May 2015 18:53:52 +0000 (18:53 +0000)]
Merge "Adding accessibility widget resize" into ub-launcher3-burnaby

9 years agoUpdating folder grid sizes for various devices
Sunny Goyal [Mon, 11 May 2015 18:38:19 +0000 (11:38 -0700)]
Updating folder grid sizes for various devices

Change-Id: Ifd5930a4d6f54428500c0ef61ef21c0fc6a6f5cd

9 years agoFixing accessibility scrolling events generated by PagedView:
Vadim Tryshev [Sat, 9 May 2015 00:21:03 +0000 (17:21 -0700)]
Fixing accessibility scrolling events generated by PagedView:

1. Not generating scroll events from snapToPage(). It already gets
   generated from computeScrollHelper().

2. Not setting action because doing so is not mentioned here:
   http://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html.

3. Not generating scroll event when the page stays same (before it was
   generated, say, when we simply returned from the AllApps view to
   Workspace).

4. From/To index is not the old and new page numbers; they are indices
   of the first and last item; in our case, the item is the page, and
   both FromIndex and ToIndex should be set to this page number.

Bug: 18761184
Change-Id: I3dadf816c3d45b8bd42a13930344874584467499

9 years agoTrim all whitespace from titles and labels.
Winson Chung [Sat, 9 May 2015 00:00:10 +0000 (17:00 -0700)]
Trim all whitespace from titles and labels.

Bug: 20953160

Change-Id: I1610df5e445a4139522226f68fa6439926bc70c6

9 years agoFixing issue with fast scroller not showing sub-section headers.
Winson Chung [Fri, 8 May 2015 19:04:45 +0000 (12:04 -0700)]
Fixing issue with fast scroller not showing sub-section headers.

- Removed some old logic to draw merged section headers

Change-Id: I2a7ff9948a3dce253d6bdcda89cc9f222faab309

9 years agoMerge "Updating sticky headers." into ub-launcher3-burnaby
Winson Chung [Sat, 9 May 2015 00:38:08 +0000 (00:38 +0000)]
Merge "Updating sticky headers." into ub-launcher3-burnaby

9 years agoMerge "Make common base class to update container bounds and to handle scroll logic...
Winson Chung [Fri, 8 May 2015 21:41:58 +0000 (21:41 +0000)]
Merge "Make common base class to update container bounds and to handle scroll logic." into ub-launcher3-burnaby

9 years agoMake common base class to update container bounds and to handle scroll logic.
Winson Chung [Fri, 8 May 2015 20:06:44 +0000 (13:06 -0700)]
Make common base class to update container bounds and to handle scroll logic.

Bug: 20763871

Change-Id: I8c2f45cfb10964e4be7e9c07c89dd336585c9989

9 years agoAnimating the folder title & page indicator when a multi-page folder
Sunny Goyal [Thu, 7 May 2015 21:51:31 +0000 (14:51 -0700)]
Animating the folder title & page indicator when a multi-page folder
is opened for the first time

Change-Id: I70f5fd942724251a5e863fbb78a0c24f440b0283

9 years agoUpdating sticky headers.
Winson Chung [Fri, 8 May 2015 01:21:28 +0000 (18:21 -0700)]
Updating sticky headers.

- The whole section's headers are drawn together, moving as a group
  until it reaches the individual bounds for each letter in the section
- Adding animation to search button -> field transition
- Fixing section header text measuring causing sections not to be centered
- Forcing the merge to stop if an app has > 3 full rows; on both phone and
  tablet, merging a large section with anything else seems to be less useful

9 years agoUsing xml-drawable and elevation as folder background
Sunny Goyal [Thu, 7 May 2015 23:13:12 +0000 (16:13 -0700)]
Using xml-drawable and elevation as folder background

Change-Id: I21376bd3de8cd58c646d0898d5a8303af9057218

9 years agoMerge "Fixing issue where apps were not re-sorted after updating." into ub-launcher3...
Winson Chung [Thu, 7 May 2015 20:32:31 +0000 (20:32 +0000)]
Merge "Fixing issue where apps were not re-sorted after updating." into ub-launcher3-burnaby

9 years agoFixing issue where apps were not re-sorted after updating.
Winson Chung [Thu, 7 May 2015 20:26:17 +0000 (13:26 -0700)]
Fixing issue where apps were not re-sorted after updating.

Bug: 20163738
Change-Id: I2fbefc6f451d8eef3d17f727be450a04204a9ca3

9 years agoMerge "Widgets should also be bound when binding all apps. b/20915830" into ub-launch...
Hyunyoung Song [Thu, 7 May 2015 19:54:09 +0000 (19:54 +0000)]
Merge "Widgets should also be bound when binding all apps. b/20915830" into ub-launcher3-burnaby

9 years agoWidgets should also be bound when binding all apps.
Hyunyoung Song [Thu, 7 May 2015 19:51:42 +0000 (12:51 -0700)]
Widgets should also be bound when binding all apps.
b/20915830

Change-Id: I772156f8a8d361f485fb4d7edc447c2cee2edf23

9 years agoMerge "Adding abstract methods for new RecyclerView lib." into ub-launcher3-burnaby
Adam Cohen [Thu, 7 May 2015 18:22:35 +0000 (18:22 +0000)]
Merge "Adding abstract methods for new RecyclerView lib." into ub-launcher3-burnaby

9 years agoAdding abstract methods for new RecyclerView lib.
Winson Chung [Thu, 7 May 2015 18:14:42 +0000 (11:14 -0700)]
Adding abstract methods for new RecyclerView lib.

Change-Id: I50c3dfaecd79a87340ed4eeaa3195a26311062e0

9 years agoMerge "Removing some dead code in paged view" into ub-launcher3-burnaby
Sunny Goyal [Thu, 7 May 2015 17:19:37 +0000 (17:19 +0000)]
Merge "Removing some dead code in paged view" into ub-launcher3-burnaby

9 years agoMerge "Skipping package update tasks if loader has not yet run." into ub-launcher3...
Sunny Goyal [Thu, 7 May 2015 17:08:23 +0000 (17:08 +0000)]
Merge "Skipping package update tasks if loader has not yet run." into ub-launcher3-burnaby

9 years agoExplorations in dense grids for all apps.
Winson Chung [Wed, 6 May 2015 00:21:58 +0000 (17:21 -0700)]
Explorations in dense grids for all apps.

- Adds sticky section headers
- Removing AppsListAdapter
- Adding search bar field
- Subtitle filtering

Bug: 20222023

Change-Id: I1eaef701b5d68f475615f09d86561eacc91c937f

9 years agoFix build in ub-launcher3-master
Adam Cohen [Thu, 7 May 2015 01:58:31 +0000 (18:58 -0700)]
Fix build in ub-launcher3-master

-> Stop depending on new RecyclerView methods

Change-Id: Ib2c58b24e2b796e6e7b3cd5e4bb927dc3f11faf2

9 years agoMerge "Make drag and drop also work when the widget tray is still in scroll mode...
Hyunyoung Song [Thu, 7 May 2015 00:53:23 +0000 (00:53 +0000)]
Merge "Make drag and drop also work when the widget tray is still in scroll mode." into ub-launcher3-burnaby

9 years agoMake drag and drop also work when the widget tray is still in scroll mode.
Hyunyoung Song [Thu, 7 May 2015 00:49:33 +0000 (17:49 -0700)]
Make drag and drop also work when the widget tray is still in scroll mode.

b/20698514

Change-Id: Ic075f0016d5e00bbdec193bbcd2e311da1957388

9 years agoSkipping package update tasks if loader has not yet run.
Sunny Goyal [Wed, 6 May 2015 16:54:53 +0000 (09:54 -0700)]
Skipping package update tasks if loader has not yet run.

Bug: 20754508
Change-Id: Id2ddcff42cd41e4f9875ad6ef95f648365502b75

9 years agoUpdating the icon cache after all apps has been bound.
Sunny Goyal [Wed, 6 May 2015 23:53:21 +0000 (16:53 -0700)]
Updating the icon cache after all apps has been bound.

> Updating the cache DB version to reset existing cache.

Bug: 20834835
Change-Id: I298ca9ddcc4dd270b25b767447ecde01ef41a916

9 years agoAdding accessibility widget resize
Sunny Goyal [Wed, 29 Apr 2015 21:57:22 +0000 (14:57 -0700)]
Adding accessibility widget resize

Change-Id: I954f01733474450cbeedba2406e1d6d373bb87a3

9 years agoRemoving some dead code in paged view
Sunny Goyal [Wed, 6 May 2015 20:39:07 +0000 (13:39 -0700)]
Removing some dead code in paged view

> Removing fling to delete pages
> Removing delete drop target for pages
> Removing syncpages support (was used by paged all apps)

Change-Id: I0a35ae30da8c48a27aac341bbee9fb5623665902

9 years agoAccessibility: Page re-ordering in overview mode
Sunny Goyal [Mon, 4 May 2015 22:50:25 +0000 (15:50 -0700)]
Accessibility: Page re-ordering in overview mode

Change-Id: I5fc0ad326a63b6768cb1fae55ee6e05a9fc2b659

9 years agoMerge "Adding workprofile shortcuts after the loader has completed" into ub-launcher3...
Sunny Goyal [Wed, 6 May 2015 16:48:46 +0000 (16:48 +0000)]
Merge "Adding workprofile shortcuts after the loader has completed" into ub-launcher3-burnaby

9 years agoMerge "Fixing all apps relayout issue." into ub-launcher3-burnaby
Winson Chung [Wed, 6 May 2015 15:57:31 +0000 (15:57 +0000)]
Merge "Fixing all apps relayout issue." into ub-launcher3-burnaby

9 years agoFixing all apps relayout issue.
Winson Chung [Tue, 5 May 2015 21:30:44 +0000 (14:30 -0700)]
Fixing all apps relayout issue.

Bug: 20617223
Change-Id: Ia7efbdb1c8744ca58070b6b20e96bcb19389c0d1

9 years agoMerge "Ensuring we wait until resume before binding all apps. " into ub-launcher3...
Winson Chung [Tue, 5 May 2015 17:18:54 +0000 (17:18 +0000)]
Merge "Ensuring we wait until resume before binding all apps. " into ub-launcher3-burnaby

9 years agoAccessibility: Folder drag and drop fixes
Sunny Goyal [Thu, 30 Apr 2015 19:28:16 +0000 (12:28 -0700)]
Accessibility: Folder drag and drop fixes

> Do not allow empty cells on the last page to be click targets
> Make drop targets accessible
> Do not close folder on tap outside

Change-Id: I7cae20e45097092f41408b888e20b6c40c17d981

9 years agoUse valid context inside LauncherModel when calling loadAndBindXXX
Hyunyoung Song [Tue, 5 May 2015 17:07:23 +0000 (10:07 -0700)]
Use valid context inside LauncherModel when calling loadAndBindXXX

b/20851075

Change-Id: Ie3feb387a142d4e11a0a18bbcc4fd4932cfe4439

9 years agoMerge "Adding accessibility action to move item out of a folder" into ub-launcher3...
Sunny Goyal [Tue, 5 May 2015 17:06:08 +0000 (17:06 +0000)]
Merge "Adding accessibility action to move item out of a folder" into ub-launcher3-burnaby

9 years agoEnsuring we wait until resume before binding all apps.
Winson Chung [Tue, 5 May 2015 17:05:08 +0000 (10:05 -0700)]
Ensuring we wait until resume before binding all apps.

Bug: 20759810

9 years agoMerge "update widgets model when package is updated" into ub-launcher3-burnaby
Hyunyoung Song [Tue, 5 May 2015 01:28:28 +0000 (01:28 +0000)]
Merge "update widgets model when package is updated" into ub-launcher3-burnaby

9 years agoupdate widgets model when package is updated
Hyunyoung Song [Tue, 5 May 2015 01:17:35 +0000 (18:17 -0700)]
update widgets model when package is updated

Fixing a bug where onProviderChanged is called before Package update.
And icon loaded on the widget tray is the default icon.

Change-Id: I4ffea846d057920fd894537432ac5881642bc570

9 years agoMerge "Fixing crash in All Apps." into ub-launcher3-burnaby
Winson Chung [Tue, 5 May 2015 00:44:34 +0000 (00:44 +0000)]
Merge "Fixing crash in All Apps." into ub-launcher3-burnaby

9 years agoFixing crash in All Apps.
Winson Chung [Mon, 4 May 2015 22:28:34 +0000 (15:28 -0700)]
Fixing crash in All Apps.

Bug 20431579

Change-Id: Iba6ce88a931cb56f111f5b2ea44f81c5059a934f

9 years agoMerge "Launcher-side changes to support prediction bar." into ub-launcher3-burnaby
Winson Chung [Tue, 5 May 2015 00:36:02 +0000 (00:36 +0000)]
Merge "Launcher-side changes to support prediction bar." into ub-launcher3-burnaby

9 years agoMerge "WidgetTray performance improvement (less sorting): Part 1" into ub-launcher3...
Hyunyoung Song [Mon, 4 May 2015 23:28:54 +0000 (23:28 +0000)]
Merge "WidgetTray performance improvement (less sorting): Part 1" into ub-launcher3-burnaby

9 years agoWidgetTray performance improvement (less sorting): Part 1
Hyunyoung Song [Mon, 4 May 2015 23:28:20 +0000 (16:28 -0700)]
WidgetTray performance improvement (less sorting): Part 1

- No longer return sorted list from the package manager since, the only
time the widget list requires to be sorted is when recycler view renders
them.
- Made getWidgetsAndShortcuts private to guarantee that widgets are
being loaded in the worker thread.

Change-Id: I2c35973c1226e831514380dd38fc2f88b1b91d02

9 years agoLauncher-side changes to support prediction bar.
Winson Chung [Wed, 29 Apr 2015 18:03:24 +0000 (11:03 -0700)]
Launcher-side changes to support prediction bar.

Change-Id: Ib9974ad8888ad87137c774f9f531fae9d56b899a

9 years agoPreventing launcher crash because of invalid install shortcut intent
Sunny Goyal [Mon, 4 May 2015 20:53:42 +0000 (13:53 -0700)]
Preventing launcher crash because of invalid install shortcut intent

Change-Id: Ibede31c8f018b17da5f272aa505a31f40a1b76f3

9 years agoAdding workprofile shortcuts after the loader has completed
Sunny Goyal [Fri, 24 Apr 2015 00:07:55 +0000 (17:07 -0700)]
Adding workprofile shortcuts after the loader has completed

Change-Id: Id466d8e164feeac427d969d6bc0ed3ca7a218ac4

9 years agoMerge "Handling managed profile creation in the model as the activity can get killed...
Sunny Goyal [Sat, 2 May 2015 00:08:49 +0000 (00:08 +0000)]
Merge "Handling managed profile creation in the model as the activity can get killed in the background." into ub-launcher3-burnaby

9 years agoMerge "Set preloading for the WidgetTray recycler view. b/20339302" into ub-launcher3...
Hyunyoung Song [Fri, 1 May 2015 21:24:19 +0000 (21:24 +0000)]
Merge "Set preloading for the WidgetTray recycler view. b/20339302" into ub-launcher3-burnaby

9 years agoSet preloading for the WidgetTray recycler view.
Hyunyoung Song [Fri, 1 May 2015 21:21:57 +0000 (14:21 -0700)]
Set preloading for the WidgetTray recycler view.
b/20339302

Introduced a constant that we can use to tweak how much extra screen
space worth of widgets are preloaded.

Change-Id: I47f0fec134b4e268140482694a1903cf902731c6

9 years agoHandling managed profile creation in the model as the activity
Sunny Goyal [Fri, 1 May 2015 20:02:20 +0000 (13:02 -0700)]
Handling managed profile creation in the model as the activity
can get killed in the background.

Change-Id: I95f62cf268fe642c9a2bb4975eb92bf8e12d23a9

9 years agoMerge "Updating fling to delete anim" into ub-launcher3-burnaby
Sunny Goyal [Fri, 1 May 2015 19:56:24 +0000 (19:56 +0000)]
Merge "Updating fling to delete anim" into ub-launcher3-burnaby

9 years agoMerge "Various managed profile fixes" into ub-launcher3-burnaby
Sunny Goyal [Fri, 1 May 2015 19:53:51 +0000 (19:53 +0000)]
Merge "Various managed profile fixes" into ub-launcher3-burnaby

9 years agoVarious managed profile fixes
Sunny Goyal [Fri, 1 May 2015 19:31:32 +0000 (12:31 -0700)]
Various managed profile fixes

 > When matching existing shortcut, match the uri as intent doesn't implement equals
 > Fixing user matching when searching for apps in all-apps

Bug: 20749743
Change-Id: I14f3e2134e774727176e865d74108ef79de874d6

9 years agoMerge "WidgetTray UI - change text color for the section and widget name" into ub...
Hyunyoung Song [Fri, 1 May 2015 19:08:39 +0000 (19:08 +0000)]
Merge "WidgetTray UI - change text color for the section and widget name" into ub-launcher3-burnaby

9 years agoWidgetTray UI - change text color for the section and widget name
Hyunyoung Song [Fri, 1 May 2015 17:55:53 +0000 (10:55 -0700)]
WidgetTray UI - change text color for the section and widget name

Change-Id: I8ce966d151bc62a9eb23ca3fa8c13c3aeb0c7f37

9 years agoClearing drag state after the close animation is complete
Sunny Goyal [Fri, 1 May 2015 17:42:32 +0000 (10:42 -0700)]
Clearing drag state after the close animation is complete

Bug: 19350802
Change-Id: I048dfa2743692c6c7d56dcacab900ec2d17504ed

9 years agoUpdating fling to delete anim
Sunny Goyal [Thu, 30 Apr 2015 01:12:37 +0000 (18:12 -0700)]
Updating fling to delete anim

Change-Id: I1c63e88b3e605113ea66afca9dcfbc30de1d4c8e

9 years agoRemoves code that is incompatible with google3, Velvet build rules.
Hyunyoung Song [Thu, 30 Apr 2015 22:43:26 +0000 (15:43 -0700)]
Removes code that is incompatible with google3, Velvet build rules.

Change-Id: Ibce31b52f5ffc4a03bdd48c575521c774f17a353

9 years agoRemoving debug log
Sunny Goyal [Thu, 30 Apr 2015 17:32:25 +0000 (10:32 -0700)]
Removing debug log

Change-Id: Ifb6adc0826d744f2bbc654c37c2470754f364a2b

9 years agoAdding accessibility action to move item out of a folder
Sunny Goyal [Wed, 29 Apr 2015 23:30:23 +0000 (16:30 -0700)]
Adding accessibility action to move item out of a folder

Change-Id: If67e3472793d6e0913adfbc9d78f64de7f751664

9 years agoMerge "Enabling accessibility drag and drop in folder" into ub-launcher3-burnaby
Sunny Goyal [Thu, 30 Apr 2015 00:43:55 +0000 (00:43 +0000)]
Merge "Enabling accessibility drag and drop in folder" into ub-launcher3-burnaby

9 years agoSimplifying add to workspace by not going through the worker thread
Sunny Goyal [Wed, 29 Apr 2015 20:55:58 +0000 (13:55 -0700)]
Simplifying add to workspace by not going through the worker thread

Change-Id: I3260786bee257aea93ade49e6fa18008232addbe

9 years agoMerge "Enabling folder paged view to scroll itself with accessibility focus traversal...
Sunny Goyal [Wed, 29 Apr 2015 18:44:20 +0000 (18:44 +0000)]
Merge "Enabling folder paged view to scroll itself with accessibility focus traversal" into ub-launcher3-burnaby

9 years agoMerge "Animating dragview color change when dragging over ButtonDropTarget" into...
Sunny Goyal [Wed, 29 Apr 2015 18:42:10 +0000 (18:42 +0000)]
Merge "Animating dragview color change when dragging over ButtonDropTarget" into ub-launcher3-burnaby