OSDN Git Service

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

9 years agoRemoving LauncherProvider dependency from LauncherSettings
Sunny Goyal [Fri, 17 Apr 2015 16:24:01 +0000 (09:24 -0700)]
Removing LauncherProvider dependency from LauncherSettings

> This ensures that the classLoader does not need to load
LauncherProvider to access LauncherSettings
> Making a few fields public.

Change-Id: I2e8ee6e169552739f09e500d3b6acbcee7cd0718

9 years agoEnsuring that our animation callbacks are not stripped by pro guard.
Winson Chung [Fri, 17 Apr 2015 04:18:34 +0000 (21:18 -0700)]
Ensuring that our animation callbacks are not stripped by pro guard.

Bug 20296035

9 years agoUpdating drop button targets
Sunny Goyal [Fri, 10 Apr 2015 20:45:42 +0000 (13:45 -0700)]
Updating drop button targets

> Splitting DeleteDropTarget into delete and uninstall
> Showing UninstallDropTarget for app shortcuts on workspace
> Showing InfoDropTarget only when developer options is enabled

Change-Id: I4396571d2199d1581bb9c733aef88ab9b0ebd79d

9 years agoMerge "Fixing drag-n-drop for folders in hotseat." into ub-launcher3-burnaby
Sunny Goyal [Thu, 16 Apr 2015 22:38:55 +0000 (22:38 +0000)]
Merge "Fixing drag-n-drop for folders in hotseat." into ub-launcher3-burnaby

9 years agoFixing folder focus logic
Sunny Goyal [Fri, 10 Apr 2015 01:48:21 +0000 (18:48 -0700)]
Fixing folder focus logic

> Folder items no longer remain in a linear order when a folder
gets rearranged, and se we need to use createSparseMatrix instead
of createFullArray. Also because of this we need to use getChildAt(x, y)
instead of getChildAt(index)
> Removing traces of AppsCustomizePage (all apps) from FocusHelper

Change-Id: I9007f6b95cb823e27ef4a43ce725fda8ef1b7cf8

9 years agoMerge "Focus handling null pointer exception during monkey tests." into ub-launcher3...
Hyunyoung Song [Thu, 16 Apr 2015 21:52:13 +0000 (21:52 +0000)]
Merge "Focus handling null pointer exception during monkey tests." into ub-launcher3-burnaby

9 years agoMerge "Updating maxscroll only after layouttranstion has finished" into ub-launcher3...
Sunny Goyal [Thu, 16 Apr 2015 21:51:02 +0000 (21:51 +0000)]
Merge "Updating maxscroll only after layouttranstion has finished" into ub-launcher3-burnaby

9 years agoUpdating maxscroll only after layouttranstion has finished
Sunny Goyal [Wed, 15 Apr 2015 23:31:22 +0000 (16:31 -0700)]
Updating maxscroll only after layouttranstion has finished

Bug: 20092568
Change-Id: I6ff8d9759b71b0b00ebfdaa75b558254dbeb0ef9

9 years agoFocus handling null pointer exception during monkey tests.
Hyunyoung Song [Thu, 16 Apr 2015 21:34:09 +0000 (14:34 -0700)]
Focus handling null pointer exception during monkey tests.

- Also fix a bug where the focus is not navigating to the next page when there
isn't an icon within +45 and -45 range of the origin.

b/20294717

Change-Id: I16dac5c6a0463fbc9f56a447abedad18abadde98

9 years agoMerge "Updating pageindicator assets" into ub-launcher3-burnaby
Sunny Goyal [Thu, 16 Apr 2015 19:57:20 +0000 (19:57 +0000)]
Merge "Updating pageindicator assets" into ub-launcher3-burnaby

9 years agoMerge "Fixing regression in AllApps being aggressively dismissed after returning...
Winson Chung [Thu, 16 Apr 2015 19:44:32 +0000 (19:44 +0000)]
Merge "Fixing regression in AllApps being aggressively dismissed after returning to Launcher." into ub-launcher3-burnaby

9 years agoMerge "WidgetTray on Kitkat" into ub-launcher3-burnaby
Hyunyoung Song [Thu, 16 Apr 2015 19:08:52 +0000 (19:08 +0000)]
Merge "WidgetTray on Kitkat" into ub-launcher3-burnaby

9 years agoWidgetTray on Kitkat
Hyunyoung Song [Thu, 16 Apr 2015 10:12:19 +0000 (03:12 -0700)]
WidgetTray on Kitkat

- Fix "getDrawable" not found runtime exception by getting rid of dead code

Change-Id: Id511a6c0c4ea1070f5f498cf6458548ace7c54f7

9 years agoFixing drag-n-drop for folders in hotseat.
Sunny Goyal [Wed, 15 Apr 2015 16:42:19 +0000 (09:42 -0700)]
Fixing drag-n-drop for folders in hotseat.

The current drag-n-drop model assums that when a folder is open
it completely covers the folderIcon and its not possible to drop
anything on the icon. But its not true when a folder is in the
hotseat.

> When DnD finishes revert folder to the normal state
> Ensure that only one folder is open at a time
> Prevent folder icon from moving when the folder is open

Bug: 13646281,14680549
Change-Id: I016a4c3f0d9b57c388eaa28f40df9e7b7bbab5fc

9 years agoMerge "Revert "Revert "Disable setWallpaper button until the wallpaper is loaded...
Sunny Goyal [Wed, 15 Apr 2015 23:53:42 +0000 (23:53 +0000)]
Merge "Revert "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop" Actual fix" into ub-launcher3-burnaby

9 years agoRevert "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submi...
Sunny Goyal [Wed, 15 Apr 2015 23:40:57 +0000 (23:40 +0000)]
Revert "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop"
Actual fix

This reverts commit b4b01efa438953b0a9fcb5b83a6a619e24c93ea3.

Change-Id: I65cc75e0f1a95f69be607bb5b11d7f4627ff25c1

9 years agoMerge "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit...
Sunny Goyal [Wed, 15 Apr 2015 23:39:45 +0000 (23:39 +0000)]
Merge "Revert "Disable setWallpaper button until the wallpaper is loaded" Will submit again after the drop" into ub-launcher3-burnaby

9 years agoRevert "Disable setWallpaper button until the wallpaper is loaded"
Sunny Goyal [Wed, 15 Apr 2015 23:38:17 +0000 (23:38 +0000)]
Revert "Disable setWallpaper button until the wallpaper is loaded"
Will submit again after the drop

This reverts commit 65776c43590e506f2ce1906b1421caad95448010.

Change-Id: I5f85d0c70f3f5faf85d9ba16e82d4714b694a193

9 years agoMerge "Disable setWallpaper button until the wallpaper is loaded" into ub-launcher3...
Sunny Goyal [Wed, 15 Apr 2015 22:26:31 +0000 (22:26 +0000)]
Merge "Disable setWallpaper button until the wallpaper is loaded" into ub-launcher3-burnaby

9 years agoMerge "Fixing pallpaper parallex in rtl." into ub-launcher3-burnaby
Sunny Goyal [Wed, 15 Apr 2015 21:29:02 +0000 (21:29 +0000)]
Merge "Fixing pallpaper parallex in rtl." into ub-launcher3-burnaby

9 years agoDisable setWallpaper button until the wallpaper is loaded
Sunny Goyal [Wed, 15 Apr 2015 20:42:21 +0000 (13:42 -0700)]
Disable setWallpaper button until the wallpaper is loaded

Bug: 20187333
Change-Id: Id7a42616560e15eddedad5846ef927a3be52ed1c

9 years agoFixing pallpaper parallex in rtl.
Sunny Goyal [Wed, 15 Apr 2015 20:15:06 +0000 (13:15 -0700)]
Fixing pallpaper parallex in rtl.

The rtl mode, the first screen should correspond to the last
opage offset (since page offset are always defined as
left-to-right)

Change-Id: Ie31139166bd71c423c63968760493ec572af81e9

9 years agoRemove usage of FloatMath
Neil Fuller [Mon, 13 Apr 2015 13:32:47 +0000 (14:32 +0100)]
Remove usage of FloatMath

Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: I2effc3f498fb13e66de9a905b9a40ac5688a5850

9 years agoUpdating pageindicator assets
Sunny Goyal [Tue, 14 Apr 2015 23:49:41 +0000 (16:49 -0700)]
Updating pageindicator assets

Change-Id: I22d6a53f0c372a128b47ec95857793477317fc07

9 years agoFix null pointer exception in WidgetsModel
Hyunyoung Song [Tue, 14 Apr 2015 18:50:44 +0000 (11:50 -0700)]
Fix null pointer exception in WidgetsModel

Due to not clearing the PackageItemInfos list when uninstall happened,
uninstalled PackageItemInfo lingered around when there wasn't associated
Widgets to it. Hence causing null pointer exception.

b/20216900

Change-Id: I5601cf618079044d24ffc3ee835c1468fa2e9371

9 years agoMerge "Focus handling - RTL support" into ub-launcher3-burnaby
Hyunyoung Song [Tue, 14 Apr 2015 00:49:16 +0000 (00:49 +0000)]
Merge "Focus handling - RTL support" into ub-launcher3-burnaby

9 years agoFocus handling - RTL support
Hyunyoung Song [Fri, 10 Apr 2015 21:35:23 +0000 (14:35 -0700)]
Focus handling - RTL support

- Support LEFT and RIGHT keys to work across workspaces when in RTL mode.
- Folder icons navigate correctly on DPAD_LEFT/RIGHT events
- Folder navigation across pages also works correctly
- Deleted dead code inside FocusHelper

b/20120358

Change-Id: I7f851cb7ed31f666a91b2f856458d7966ea5f712

9 years agoMerge "WidgetTray improvement" into ub-launcher3-burnaby
Hyunyoung Song [Mon, 13 Apr 2015 22:59:50 +0000 (22:59 +0000)]
Merge "WidgetTray improvement" into ub-launcher3-burnaby

9 years agoWidgetTray improvement
Hyunyoung Song [Sat, 11 Apr 2015 22:44:32 +0000 (15:44 -0700)]
WidgetTray improvement

UI
- Fixing the issue of widget row not rendering
- Moved the resetting of previous bitmap to the start of onBind
instead of the onDetachedWindow.

Performance
- WidgetModel do not have to keep packageName list around.

Will com in immediate follow up CLs
- use lowRes widgets bitmap before fully loading the fullRes one.
- application icons are fully loaded in background thread.

b/19897708

Change-Id: I5b3b43a5c543a5135c395f90df32e66d57dc86e0

9 years agoWrong icon getting set for an app on secondary user during updates
Sunny Goyal [Mon, 13 Apr 2015 18:47:00 +0000 (11:47 -0700)]
Wrong icon getting set for an app on secondary user during updates

Bug: 20163841
Change-Id: Ief91db56f7831f89e34c4540981a9d2db96b8bed

9 years agoAutomatically adding managed profile shortcuts to homescreen.
Sunny Goyal [Thu, 9 Apr 2015 01:13:46 +0000 (18:13 -0700)]
Automatically adding managed profile shortcuts to homescreen.

When the managed profile is created, a "Work" folder is created
and added to the homescreen. All work profile apps are added to this
folder and icons for subsequent installs (withing a fixed time frame)
are automatically added to this folder.
If this folder get deleted or the time-frame expires, icon for any new
install is placed on the homescreen.

Bug: 17410319
Change-Id: I49f4e437707d5eabe4eec85320765bf6ba7fde97

9 years agoMerge "Deduping shortcuts to app-shortcuts if they have a valid intent" into ub-launc...
Sunny Goyal [Sat, 11 Apr 2015 02:24:46 +0000 (02:24 +0000)]
Merge "Deduping shortcuts to app-shortcuts if they have a valid intent" into ub-launcher3-burnaby

9 years agoDeduping shortcuts to app-shortcuts if they have a valid intent
Sunny Goyal [Thu, 2 Apr 2015 17:27:03 +0000 (10:27 -0700)]
Deduping shortcuts to app-shortcuts if they have a valid intent

> Only deduping shortcuts for the primary user as custom shortcuts
for secondary users is not supported.

Change-Id: If129dee64a395602006ebb996d4b09b93b89084f

9 years agoFixing regression in AllApps being aggressively dismissed after returning to Launcher.
Winson Chung [Fri, 10 Apr 2015 17:19:58 +0000 (10:19 -0700)]
Fixing regression in AllApps being aggressively dismissed after returning to Launcher.

- Adding workaround to prevent the built-in search box from being focused when AllApps is shown again

Bug: 20143148
Change-Id: Id546d3e5fedc724d95e067d26115ee716ac1d626

9 years agoMerge "Build fix" into ub-launcher3-burnaby
Sunny Goyal [Fri, 10 Apr 2015 01:33:32 +0000 (01:33 +0000)]
Merge "Build fix" into ub-launcher3-burnaby

9 years agoBuild fix
Sunny Goyal [Fri, 10 Apr 2015 01:32:21 +0000 (18:32 -0700)]
Build fix

Change-Id: I2cbf90dada48ccff17235fb63d66684d2c4eb791

9 years agoMerge "Removing unused View ctor introduced in L." into ub-launcher3-burnaby
Winson Chung [Fri, 10 Apr 2015 01:06:48 +0000 (01:06 +0000)]
Merge "Removing unused View ctor introduced in L." into ub-launcher3-burnaby