OSDN Git Service

android-x86/packages-apps-Launcher3.git
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 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 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 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

9 years agoMerge "Removing obsolete resources" into ub-launcher3-burnaby
Sunny Goyal [Wed, 29 Apr 2015 18:41:36 +0000 (18:41 +0000)]
Merge "Removing obsolete resources" into ub-launcher3-burnaby

9 years agoAnimating dragview color change when dragging over ButtonDropTarget
Sunny Goyal [Wed, 29 Apr 2015 05:01:31 +0000 (22:01 -0700)]
Animating dragview color change when dragging over ButtonDropTarget

Change-Id: I642438be681769812302dba0b6deca38f89f7a16

9 years agoMerge "Updating drop target assets" into ub-launcher3-burnaby
Sunny Goyal [Wed, 29 Apr 2015 18:20:24 +0000 (18:20 +0000)]
Merge "Updating drop target assets" into ub-launcher3-burnaby

9 years agoRemoving obsolete resources
Sunny Goyal [Wed, 29 Apr 2015 18:05:34 +0000 (11:05 -0700)]
Removing obsolete resources

Change-Id: I9a8d3d23e772a3ffc161ac97a5f08808aab79d5b

9 years agoUpdating drop target assets
Sunny Goyal [Wed, 29 Apr 2015 04:36:46 +0000 (21:36 -0700)]
Updating drop target assets

Change-Id: I33f7dc30b10a617ae4784f067491ab01b27b7733

9 years agoEnabling folder paged view to scroll itself with accessibility focus traversal
Sunny Goyal [Wed, 29 Apr 2015 03:43:07 +0000 (20:43 -0700)]
Enabling folder paged view to scroll itself with accessibility focus traversal

Change-Id: I9095d5bf2de8e2053e0aaa27fb385b158e493964

9 years agoUsing utility method for serializing bitmap
Sunny Goyal [Tue, 28 Apr 2015 23:51:09 +0000 (16:51 -0700)]
Using utility method for serializing bitmap

Change-Id: I066f40cf867326b0a116351f00b19350b4c26912

9 years agoEnabling accessibility drag and drop in folder
Sunny Goyal [Fri, 24 Apr 2015 18:44:51 +0000 (11:44 -0700)]
Enabling accessibility drag and drop in folder

> Moving DragAndDropAccessibilityDelegate to a separate class
> Using getFocusedVirtualView() instead of using DownX and downY
> Updating various accessibility strings

Bug: 19776741

Change-Id: I85c2551d4d6172c30702e68f41b114bb999655b6

9 years agoWidgetPreviewLoader concurrency issue / Caching improvement
Hyunyoung Song [Tue, 28 Apr 2015 22:06:45 +0000 (15:06 -0700)]
WidgetPreviewLoader concurrency issue / Caching improvement

1) Concurrency issue: unused bitmap was not properly synchronized
which caused concurrency issue. Hence, leading current widget tray
implementation to not use it. (a.k.a. cancel(false)).
Issue fixed and now using the unused bitmap pool.

2) Caching improvement: LoadedBitmap cache was a legacy support system
for the old widget tray implementation. On our latest implementation,
cache and recycled view is completely being managed by the recycler view.
Hence removed.

Change-Id: I843e6a286b676f283172f2c1ef5cbeed0a9fb17f

9 years agoMerge "Widget tray alignment according to UX spec - Fixing an issue where widget...
Hyunyoung Song [Tue, 28 Apr 2015 00:13:27 +0000 (00:13 +0000)]
Merge "Widget tray alignment according to UX spec - Fixing an issue where widget preview is not loaded do to faulty canceling of loading async task when view is detached from the window." into ub-launcher3-burnaby

9 years agoWidget tray alignment according to UX spec
Hyunyoung Song [Tue, 28 Apr 2015 00:01:32 +0000 (17:01 -0700)]
Widget tray alignment according to UX spec
- Fixing an issue where widget preview is not loaded do to faulty
canceling of loading async task when view is detached from the window.

b/20338334

Change-Id: I1e3bd6b6cdafda8d1e0a7a0e87c8089100c341a7

9 years agoMerge "Making QSB alingment match with that of recents" into ub-launcher3-burnaby
Sunny Goyal [Mon, 27 Apr 2015 23:48:20 +0000 (23:48 +0000)]
Merge "Making QSB alingment match with that of recents" into ub-launcher3-burnaby

9 years agoGoodbye folder sorting
Sunny Goyal [Mon, 27 Apr 2015 20:44:01 +0000 (13:44 -0700)]
Goodbye folder sorting

> Removing all traces of folder sorting

Change-Id: Id77a7745564c869f5c5c1b3a560bf606fe08b107

9 years agoMerge "Removing some unused method params from CellLayout" into ub-launcher3-burnaby
Sunny Goyal [Sat, 25 Apr 2015 00:23:46 +0000 (00:23 +0000)]
Merge "Removing some unused method params from CellLayout" into ub-launcher3-burnaby

9 years agoRemoving some unused method params from CellLayout
Sunny Goyal [Fri, 24 Apr 2015 22:20:43 +0000 (15:20 -0700)]
Removing some unused method params from CellLayout

> Replacing various distance calculations with Math.hypot
> Moving findVacantCell to Utilities

Change-Id: I0cb194b603e52b3bb2b29a095bb4da2bb408ab13

9 years agoMerge "Add override method to fix building against master support lib." into ub-launc...
Adam Cohen [Fri, 24 Apr 2015 21:27:43 +0000 (21:27 +0000)]
Merge "Add override method to fix building against master support lib." into ub-launcher3-burnaby

9 years agoAdd override method to fix building against master support lib.
Winson Chung [Fri, 24 Apr 2015 20:59:17 +0000 (13:59 -0700)]
Add override method to fix building against master support lib.

9 years agoMerge "Add drop animation / Toast to widgettray" into ub-launcher3-burnaby
Hyunyoung Song [Fri, 24 Apr 2015 19:48:52 +0000 (19:48 +0000)]
Merge "Add drop animation / Toast to widgettray" into ub-launcher3-burnaby

9 years agoAdding LongArrayMap as a replacement for HashMap<Long, E>
Sunny Goyal [Fri, 24 Apr 2015 18:27:00 +0000 (11:27 -0700)]
Adding LongArrayMap as a replacement for HashMap<Long, E>

Change-Id: I4710e6db69abcdbd897a8401fc8b980c09e2ffef

9 years agoAccessibility fixes
Sunny Goyal [Wed, 22 Apr 2015 18:29:51 +0000 (11:29 -0700)]
Accessibility fixes

> Enabling top bar buttons in accessibility drag-drop
> Unifying logic to show delete/uninstall/app-info targets
> Announcing cell loction as 1-index instead of 0-index

Change-Id: Ibc7801f77e938b2646f0655462cbe9b7f781818b

9 years agoMerge "Clearing all pending runnables when Launcher is destroyed." into ub-launcher3...
Sunny Goyal [Fri, 24 Apr 2015 17:31:27 +0000 (17:31 +0000)]
Merge "Clearing all pending runnables when Launcher is destroyed." into ub-launcher3-burnaby

9 years agoMerge "Moving item to its old position in folder if DnD is cancelled" into ub-launche...
Sunny Goyal [Thu, 23 Apr 2015 23:33:06 +0000 (23:33 +0000)]
Merge "Moving item to its old position in folder if DnD is cancelled" into ub-launcher3-burnaby

9 years agoMoving item to its old position in folder if DnD is cancelled
Sunny Goyal [Thu, 23 Apr 2015 18:43:48 +0000 (11:43 -0700)]
Moving item to its old position in folder if DnD is cancelled

Change-Id: I6362ef23b346409e8517a03e63dee974294a3a18

9 years agoClearing all pending runnables when Launcher is destroyed.
Sunny Goyal [Thu, 23 Apr 2015 23:02:20 +0000 (16:02 -0700)]
Clearing all pending runnables when Launcher is destroyed.

Change-Id: I00596c11116b5579c1f013b268b6c0b5239f0aa7

9 years agoAdd drop animation / Toast to widgettray
Hyunyoung Song [Thu, 23 Apr 2015 22:17:50 +0000 (15:17 -0700)]
Add drop animation / Toast to widgettray

- show instruction toast on clicking the widget
- Add animation when widget drops on the workspace.
Added WidgetHostViewLoader to handle short press and assign widget
host view to enable animation

b/19897708

Change-Id: Iec36d72cb21bf09343d0beeb31a09bf8b0cb5e0d

9 years agoRearranging drop target relative positions
Sunny Goyal [Thu, 23 Apr 2015 21:48:51 +0000 (14:48 -0700)]
Rearranging drop target relative positions

> It will now show either [Remove, Uninstall] or [App Info, Uninstall]

Bug: 20529800
Change-Id: Ifda6f24cca5c38e84c68560cbeb5f29bade75b6a

9 years agoMaking QSB alingment match with that of recents
Sunny Goyal [Thu, 23 Apr 2015 21:47:19 +0000 (14:47 -0700)]
Making QSB alingment match with that of recents

Change-Id: I6be59c721cbd163641013ca6c5e1776cf2162a0d

9 years agoMerge "Fixing missing updates in package install sessions" into ub-launcher3-burnaby
Sunny Goyal [Thu, 23 Apr 2015 17:26:34 +0000 (17:26 +0000)]
Merge "Fixing missing updates in package install sessions" into ub-launcher3-burnaby

9 years agoMerge "Widgettray UI tweak that introduces bounding box around the widgets." into...
Hyunyoung Song [Wed, 22 Apr 2015 21:32:13 +0000 (21:32 +0000)]
Merge "Widgettray UI tweak that introduces bounding box around the widgets." into ub-launcher3-burnaby

9 years agoWidgettray UI tweak that introduces bounding box around the widgets.
Hyunyoung Song [Wed, 22 Apr 2015 20:59:20 +0000 (13:59 -0700)]
Widgettray UI tweak that introduces bounding box around the widgets.

Note: waiting on more polished UX spec right now.
But until then, these padding and dimensions are what is used to get the
bounding box around the widgets.

Change-Id: I7a6a5fa04bbdb135b39291cb671b9a719fcdc4fc

9 years agoFixing missing updates in package install sessions
Sunny Goyal [Thu, 16 Apr 2015 22:20:51 +0000 (15:20 -0700)]
Fixing missing updates in package install sessions

> Ensure icon cache never returns null icon
> Enabling install shortuct receiver only after workspace has finished binding
> Making all the model changes for package installs on worker thread and only
posting the updaes on the UI
> Making shortcut exists check on the loaded items and not on the DB
> Explicitely using worker thread for PckageInstallListener
> Removing backward compatibility support from PackageInstallerCompat

Change-Id: I9592771b9670c1c1c84c8208cae8dafa7b393e65

9 years agoMerge "Using a different userManager class as getUserForSerialNumber gives a valid...
Sunny Goyal [Wed, 22 Apr 2015 01:44:56 +0000 (01:44 +0000)]
Merge "Using a different userManager class as getUserForSerialNumber gives a valid userHandle for deleted user." into ub-launcher3-burnaby

9 years agoMerge "Refactoring to single path for overview mode." into ub-launcher3-burnaby
Winson Chung [Tue, 21 Apr 2015 23:52:07 +0000 (23:52 +0000)]
Merge "Refactoring to single path for overview mode." into ub-launcher3-burnaby

9 years agoMerge "Remove duplicate calls to getSortedWidgetsAndShortcuts" into ub-launcher3...
Hyunyoung Song [Tue, 21 Apr 2015 23:30:58 +0000 (23:30 +0000)]
Merge "Remove duplicate calls to getSortedWidgetsAndShortcuts" into ub-launcher3-burnaby

9 years agoam 3af56b60: (-s ours) Remove duplicate calls to getSortedWidgetsAndShortcuts b/19904873
Hyunyoung Song [Tue, 21 Apr 2015 23:29:58 +0000 (23:29 +0000)]
am 3af56b60: (-s ours) Remove duplicate calls to getSortedWidgetsAndShortcuts b/19904873

* commit '3af56b605217e4ff1c6ed79a70fa49eacaf5b02f':
  Remove duplicate calls to getSortedWidgetsAndShortcuts b/19904873

9 years agoRemove duplicate calls to getSortedWidgetsAndShortcuts
Hyunyoung Song [Tue, 21 Apr 2015 03:40:03 +0000 (20:40 -0700)]
Remove duplicate calls to getSortedWidgetsAndShortcuts

Note: this is a manual CP of the CL that was submitted to ub-launcher3-almonte

b/19904873

Change-Id: I2e56bc0c7524caa2ef3c5fb00f35cb032cd1860b

9 years agoRefactoring to single path for overview mode.
Winson Chung [Tue, 21 Apr 2015 01:26:57 +0000 (18:26 -0700)]
Refactoring to single path for overview mode.

Change-Id: I590a813c6f031342d75c3a6c3e9c9afda1808f2e

9 years agoam 68fdeaad: (-s ours) Stop using custom activity transition, rely on system default...
Adam Cohen [Tue, 21 Apr 2015 20:58:44 +0000 (20:58 +0000)]
am 68fdeaad: (-s ours) Stop using custom activity transition, rely on system default in these cases

* commit '68fdeaadc621b7a9200f5c75790eb756a1983d02':
  Stop using custom activity transition, rely on system default in these cases

9 years agoUsing a different userManager class as getUserForSerialNumber gives
Sunny Goyal [Tue, 21 Apr 2015 17:10:23 +0000 (10:10 -0700)]
Using a different userManager class as getUserForSerialNumber gives
a valid userHandle for deleted user.

> Also chaching the user handles during loader to avoid multiple
calls for UserManager

Bug: 19389411
Change-Id: I95af3b41b2c9d2ea41d9a75b1020656f57f5e4c9

9 years agoRemove duplicate calls to getSortedWidgetsAndShortcuts
Hyunyoung Song [Tue, 21 Apr 2015 03:40:03 +0000 (20:40 -0700)]
Remove duplicate calls to getSortedWidgetsAndShortcuts
b/19904873

Change-Id: I2e56bc0c7524caa2ef3c5fb00f35cb032cd1860b

9 years agoPreventing concurrent modification exception during widget restore
Sunny Goyal [Tue, 21 Apr 2015 01:19:25 +0000 (18:19 -0700)]
Preventing concurrent modification exception during widget restore

Change-Id: If896c5ea7136d132f30be8127b651449bde17447

9 years agoEnsuring that we skip item decoration drawing when there are no apps.
Winson Chung [Tue, 21 Apr 2015 00:09:37 +0000 (17:09 -0700)]
Ensuring that we skip item decoration drawing when there are no apps.

Bug: 20431579

Change-Id: I870c43ff8a94e2cb2c68869f2a31001d028ad58a

9 years agoMerge "Notify data-set changed when new items are added/removed." into ub-launcher3...
Winson Chung [Mon, 20 Apr 2015 04:40:41 +0000 (04:40 +0000)]
Merge "Notify data-set changed when new items are added/removed." into ub-launcher3-burnaby

9 years agoWidgetTray UI tweak
Hyunyoung Song [Sat, 18 Apr 2015 02:02:30 +0000 (19:02 -0700)]
WidgetTray UI tweak

- set fixed image view width
- fade in when widget bitmap populates
- widget dimension is next to the widget name text.
- elevation of the widgets content and the reveal view is the same

b/19897708

Change-Id: Ia656144412e7d63a491ce67ff15fb58c05d9a9d9

9 years agoNotify data-set changed when new items are added/removed.
Winson Chung [Sun, 19 Apr 2015 23:10:34 +0000 (16:10 -0700)]
Notify data-set changed when new items are added/removed.

- Temporarily use the full data-set changed call, when possible, we'll moved
  to the SortedList in the support lib which will take care of most of this
  for us.

Bug: 20363676

9 years agoMerge "Fixing build." into ub-launcher3-burnaby
Winson Chung [Fri, 17 Apr 2015 23:21:48 +0000 (23:21 +0000)]
Merge "Fixing build." into ub-launcher3-burnaby

9 years agoFixing build.
Winson Chung [Fri, 17 Apr 2015 23:18:53 +0000 (16:18 -0700)]
Fixing build.

9 years agoMerge "Accounting for recent changes in padding when detecting backgound taps to...
Winson Chung [Fri, 17 Apr 2015 22:56:47 +0000 (22:56 +0000)]
Merge "Accounting for recent changes in padding when detecting backgound taps to close AllApps." into ub-launcher3-burnaby

9 years agoMerge "Updating drop button targets" into ub-launcher3-burnaby
Sunny Goyal [Fri, 17 Apr 2015 20:34:55 +0000 (20:34 +0000)]
Merge "Updating drop button targets" into ub-launcher3-burnaby

9 years agoAccounting for recent changes in padding when detecting backgound taps to close AllApps.
Winson Chung [Fri, 17 Apr 2015 19:11:01 +0000 (12:11 -0700)]
Accounting for recent changes in padding when detecting backgound taps to close AllApps.

- Also ensuring that we keep the search bar visible in all apps only if it is being overridden.

Change-Id: Iba980ecec255da80aff8ff57b42ad99d70a2122a

9 years agoRemoving market icon
Sunny Goyal [Fri, 17 Apr 2015 19:51:24 +0000 (12:51 -0700)]
Removing market icon

Change-Id: I7837cd8083cf2c07444b509fcfb7447151ba76b5

9 years agoMerge "Ensuring that our animation callbacks are not stripped by pro guard." into...
Winson Chung [Fri, 17 Apr 2015 17:32:55 +0000 (17:32 +0000)]
Merge "Ensuring that our animation callbacks are not stripped by pro guard." into ub-launcher3-burnaby