OSDN Git Service

android-x86/packages-apps-Launcher3.git
9 years agoInitial changes to break out AllApps into its own view.
Winson Chung [Mon, 2 Mar 2015 19:51:23 +0000 (11:51 -0800)]
Initial changes to break out AllApps into its own view.

- Moves launcher state-transition code into its own class
- Moves all-apps related code into a separate view/set of classes
- Implements a basic list view for all apps

Change-Id: I68f174aa9e1bf82c4e46ce9549c78a8dc4623f46

9 years agoMerge "Ensuring setQsbSearchBar is called whenever the QSB is created" into ub-launch...
Sunny Goyal [Tue, 10 Mar 2015 21:02:45 +0000 (21:02 +0000)]
Merge "Ensuring setQsbSearchBar is called whenever the QSB is created" into ub-launcher3-burnaby

9 years agoMerge "Adding a scrollable folder content implementation" into ub-launcher3-burnaby
Sunny Goyal [Mon, 9 Mar 2015 21:50:03 +0000 (21:50 +0000)]
Merge "Adding a scrollable folder content implementation" into ub-launcher3-burnaby

9 years agoAdding a scrollable folder content implementation
Sunny Goyal [Thu, 5 Mar 2015 19:33:33 +0000 (11:33 -0800)]
Adding a scrollable folder content implementation

> Size is restricted to 3x3 for now
> Drag-drop across page s not implemented yet
> A-Z sorting is not implemented yet

Change-Id: I84328caa6ad910d1edeeac6f3a7fb61b7292ea7e

9 years agoMerge "Enabling accessible drag and drop" into ub-launcher3-burnaby
Adam Cohen [Mon, 9 Mar 2015 19:47:33 +0000 (19:47 +0000)]
Merge "Enabling accessible drag and drop" into ub-launcher3-burnaby

9 years agoEnabling accessible drag and drop
Adam Cohen [Sat, 24 Jan 2015 00:11:55 +0000 (16:11 -0800)]
Enabling accessible drag and drop

-> Using the context menu, and a new two stage system, this allows
   users to curate icons and widgets on the workspace
-> Move icons / widgets to any empty cell on any existing screen, or
   create a new screen (appended to the right, as with regular drag
   and drop)
-> Move icons into existing folders
-> Create folders by moving an icon onto another icon
-> Also added confirmations for these and some existing accessibility actions

Limitations:
-> Currently, no support for drag and drop in folders
-> Considering moving the drag view so it doesn't occlude any
   content (in particular, when user changes pages)
-> In this mode, accessibility framework seems to have
   problems with the next / prev operations

Bug: 18482913

Change-Id: I19b0be9dc8bfa766d430408c8ad9303c716b89b2

9 years agoMerge "Refactoring max id logic to a common method" into ub-launcher3-burnaby
Sunny Goyal [Mon, 9 Mar 2015 17:08:19 +0000 (17:08 +0000)]
Merge "Refactoring max id logic to a common method" into ub-launcher3-burnaby

9 years agoHandling getLastItem when the folder is closed
Sunny Goyal [Fri, 6 Mar 2015 00:56:12 +0000 (16:56 -0800)]
Handling getLastItem when the folder is closed

Change-Id: I6afebd7c0a92edb25e3658e7f860244d7457c852

9 years agoSome parameter cleanup
Sunny Goyal [Fri, 6 Mar 2015 00:27:37 +0000 (16:27 -0800)]
Some parameter cleanup

Change-Id: Iedc7c97bd9c513ff046f7bf64a6e13f1fc8e8b54

9 years agoMerge "Using left and top instead of getLocationInWindow for getting target view...
Sunny Goyal [Thu, 5 Mar 2015 23:46:32 +0000 (23:46 +0000)]
Merge "Using left and top instead of getLocationInWindow for getting target view position" into ub-launcher3-burnaby

9 years agoMerge "Setting hotseat padding to the container for symmetry" into ub-launcher3-burnaby
Sunny Goyal [Thu, 5 Mar 2015 23:45:21 +0000 (23:45 +0000)]
Merge "Setting hotseat padding to the container for symmetry" into ub-launcher3-burnaby

9 years agoUsing left and top instead of getLocationInWindow for getting target view position
Sunny Goyal [Thu, 5 Mar 2015 21:43:28 +0000 (13:43 -0800)]
Using left and top instead of getLocationInWindow for getting target view position

Change-Id: I1c295b8fd8be46ed9f0b12d7019572d9adc4af54

9 years agoUsing unique view id for each item in folder
Sunny Goyal [Thu, 5 Mar 2015 22:56:29 +0000 (14:56 -0800)]
Using unique view id for each item in folder

Change-Id: I413de3db94dbab54a9c1e5799286ac78a1ae5102

9 years agoSetting hotseat padding to the container for symmetry
Sunny Goyal [Thu, 5 Mar 2015 22:00:18 +0000 (14:00 -0800)]
Setting hotseat padding to the container for symmetry

Change-Id: I953aa4e8d729db88dae29f51af28c6cf01891bd6

9 years agoMerge "Extracting a common interface out of FolderCellLayout" into ub-launcher3-burnaby
Sunny Goyal [Thu, 5 Mar 2015 19:24:51 +0000 (19:24 +0000)]
Merge "Extracting a common interface out of FolderCellLayout" into ub-launcher3-burnaby

9 years agoFixing icon disappearing on dropping to workspace
Sunny Goyal [Thu, 5 Mar 2015 18:27:01 +0000 (10:27 -0800)]
Fixing icon disappearing on dropping to workspace

> It was created in ag/645900

Change-Id: I31ca5bf9763292517fa5ee3ccd867897bca45bad

9 years agoExtracting a common interface out of FolderCellLayout
Sunny Goyal [Thu, 5 Mar 2015 17:40:44 +0000 (09:40 -0800)]
Extracting a common interface out of FolderCellLayout

Change-Id: Ia94a75ac232b8b425c8befdf2e4f064678531505

9 years agoam c6c8fef3: Clearing DB if necessary, when applying the default layout
Sunny Goyal [Thu, 5 Mar 2015 04:32:48 +0000 (04:32 +0000)]
am c6c8fef3: Clearing DB if necessary, when applying the default layout

* commit 'c6c8fef3e90f84b26c3b8550ec6a1d668ca9200d':
  Clearing DB if necessary, when applying the default layout

9 years agoMerge "Refactoring folder content" into ub-launcher3-burnaby
Sunny Goyal [Thu, 5 Mar 2015 04:30:21 +0000 (04:30 +0000)]
Merge "Refactoring folder content" into ub-launcher3-burnaby

9 years agoMerge "Fix the broken build from recent focus navigation handling code (compilation...
Hyunyoung Song [Thu, 5 Mar 2015 00:35:12 +0000 (00:35 +0000)]
Merge "Fix the broken build from recent focus navigation handling code (compilation error)." into ub-launcher3-burnaby

9 years agoFix the broken build from recent focus navigation handling code
Hyunyoung Song [Thu, 5 Mar 2015 00:33:56 +0000 (16:33 -0800)]
Fix the broken build from recent focus navigation handling code
(compilation error).

Change-Id: I9beb63a88f8c7c247f397d0495501dbc0f637456

9 years agoMerge "[key event focus] DPAD navigates to the nearest item on next/previous page...
Hyunyoung Song [Thu, 5 Mar 2015 00:02:46 +0000 (00:02 +0000)]
Merge "[key event focus] DPAD navigates to the nearest item on next/previous page b/19381790 b/16351792" into ub-launcher3-burnaby

9 years agoRefactoring folder content
Sunny Goyal [Fri, 27 Feb 2015 01:43:50 +0000 (17:43 -0800)]
Refactoring folder content

> Refactoring the CellLayout in folder with a custom view so
that it can be replaced easily with a scrollable paged view.
> Moving some methods from the folder to this new view which
assume a single page layout for the folder
> Changing folder from LinearLayout to FrameLayout to properly
handle focus traversal in case of multi-page folders

Change-Id: I073c00b995488f9f5d8123b00357e094ca2cec7c

9 years agoClearing DB if necessary, when applying the default layout
Sunny Goyal [Wed, 4 Mar 2015 17:51:18 +0000 (09:51 -0800)]
Clearing DB if necessary, when applying the default layout

Bug: 19574498
Change-Id: I34850d9a7f7316bcc2cb9fc8a5be57d2488c16a6

9 years agoEnsuring setQsbSearchBar is called whenever the QSB is created
Sunny Goyal [Wed, 4 Mar 2015 21:54:52 +0000 (13:54 -0800)]
Ensuring setQsbSearchBar is called whenever the QSB is created

> On launcher3 when the QSB is created for the first time after a
widget drop, it is not set in searchDropTarget and as a result
the "Remove" and "App Info" drop targets are not visible until
Launcher3 restarts and rebinds QSB

Change-Id: I599a9a18cc5d46af790b3145dae2eb385b32b20e

9 years agoRefactoring max id logic to a common method
Sunny Goyal [Wed, 4 Mar 2015 18:43:45 +0000 (10:43 -0800)]
Refactoring max id logic to a common method

Change-Id: I1f649b570ee43d6c0540a207693d2cbee4538fb8

9 years ago[key event focus] DPAD navigates to the nearest item on next/previous page
Hyunyoung Song [Wed, 4 Mar 2015 03:25:16 +0000 (19:25 -0800)]
[key event focus] DPAD navigates to the nearest item on next/previous page
b/19381790
b/16351792

TL;DR;; Previously, when RIGHT is handled on the right most column of the
current page or when LEFT is handled on the left most column, the next
icon of focus is next page 'first' icon or the previous page 'last icon'.
With this change, the row information is preserved when trying to locate
an icon to give focus in the next/previous page.

Next CL: long awaited unit tests that capture corner cases for different
orientation/ device configuration.

Change-Id: I5278bed45275b3e4cb39fb698df35f90bb45a415

9 years agoFixing wrong check to determine the drag source
Sunny Goyal [Mon, 2 Mar 2015 19:31:35 +0000 (11:31 -0800)]
Fixing wrong check to determine the drag source

> target it the drop target, i.e., the InfoDropTarget or DeleteDropTarget

Change-Id: If4a9f8eb72ee6afb4d80c7df6f0f2ada4bc35b22

9 years agoMerge "Setting workspace id as primary key" into ub-launcher3-burnaby
Sunny Goyal [Mon, 2 Mar 2015 23:28:05 +0000 (23:28 +0000)]
Merge "Setting workspace id as primary key" into ub-launcher3-burnaby

9 years agoam e72f3d53: Fixing wronk rowID check.
Sunny Goyal [Mon, 2 Mar 2015 22:43:52 +0000 (22:43 +0000)]
am e72f3d53: Fixing wronk rowID check.

* commit 'e72f3d53f8c35b94aece6fafa6fd12cce9d09fe5':
  Fixing wronk rowID check.

9 years agoFixing wronk rowID check.
Sunny Goyal [Mon, 2 Mar 2015 22:24:21 +0000 (14:24 -0800)]
Fixing wronk rowID check.

Since screenId is changed to primary key, the rowId can now be 0 (earlier
it was auto-increment and never 0)

Bug: 19566734
Change-Id: Icf0e4294a581039101df1ad1756fdb6e581c4cba

9 years agoMerge "[unit tests] Setup instrument target for the launcher3 unit test b/19566571...
Hyunyoung Song [Mon, 2 Mar 2015 20:16:07 +0000 (20:16 +0000)]
Merge "[unit tests] Setup instrument target for the launcher3 unit test b/19566571" into ub-launcher3-burnaby

9 years ago[unit tests] Setup instrument target for the launcher3 unit test
Hyunyoung Song [Mon, 2 Mar 2015 19:55:42 +0000 (11:55 -0800)]
[unit tests] Setup instrument target for the launcher3 unit test
b/19566571

Change-Id: I47da40aa13a3e7c5ec8531e7ef6a9e52f764c565

9 years agoMerge "Cleaning up some resources in WallpaperPickerActivity" into ub-launcher3-burnaby
Sunny Goyal [Mon, 2 Mar 2015 19:40:01 +0000 (19:40 +0000)]
Merge "Cleaning up some resources in WallpaperPickerActivity" into ub-launcher3-burnaby

9 years agoMerge "Removed disableAllApps flag" into ub-launcher3-burnaby
Sunny Goyal [Mon, 2 Mar 2015 19:33:35 +0000 (19:33 +0000)]
Merge "Removed disableAllApps flag" into ub-launcher3-burnaby

9 years ago[unit tests] Delete stress package
Hyunyoung Song [Mon, 2 Mar 2015 18:55:45 +0000 (10:55 -0800)]
[unit tests] Delete stress package
b/19566571

TL;DR;; no longer working AND also the one test that is
set up is useless to keep.

Change-Id: If44457c7bc19a973450edf5aad3e744daf20624a

9 years agoSetting workspace id as primary key
Sunny Goyal [Wed, 25 Feb 2015 18:46:34 +0000 (10:46 -0800)]
Setting workspace id as primary key

Bug: 19475231
Change-Id: I0385e97868db73dafe148ce45af7dda4555ee593

9 years agoam 633325c4: (-s ours) DO NOT MERGE: Setting workspace id as primary key
Sunny Goyal [Fri, 27 Feb 2015 22:03:10 +0000 (22:03 +0000)]
am 633325c4: (-s ours) DO NOT MERGE: Setting workspace id as primary key

* commit '633325c4c22061c745ff89f9141f18cca29b352b':
  DO NOT MERGE: Setting workspace id as primary key

9 years agoMerge "Updating IconCache to maintain a persistent of icons" into ub-launcher3-burnaby
Sunny Goyal [Fri, 27 Feb 2015 21:53:55 +0000 (21:53 +0000)]
Merge "Updating IconCache to maintain a persistent of icons" into ub-launcher3-burnaby

9 years agoRemoved disableAllApps flag
Sunny Goyal [Thu, 26 Feb 2015 20:34:42 +0000 (12:34 -0800)]
Removed disableAllApps flag

Change-Id: I50ba511b8493bca2506ab6010f141c093bfa7499

9 years agoCleaning up some resources in WallpaperPickerActivity
Sunny Goyal [Fri, 13 Feb 2015 18:40:07 +0000 (10:40 -0800)]
Cleaning up some resources in WallpaperPickerActivity

Change-Id: I4923403c0c094d0ae0b00e3a08a13099c3addb10

9 years agoBuild fix. Some references of a resources still remained after ag/619757
Sunny Goyal [Thu, 26 Feb 2015 19:26:19 +0000 (11:26 -0800)]
Build fix. Some references of a resources still remained after ag/619757

Change-Id: Ia05a12ff5af6fa13d75cbedd8bd2fd6d33a78b7f

9 years agoUpdating IconCache to maintain a persistent of icons
Sunny Goyal [Thu, 19 Feb 2015 00:46:50 +0000 (16:46 -0800)]
Updating IconCache to maintain a persistent of icons

> IconDB maintains a DB of icons keyed on ComponentName + User
> During loader, icons & labels are loaded first from the DB, and
if the entry doesn't exist, loaded using packageManager
> After the loader completes, IconDB updates any entry which might have
changed, while the launcher was dead.

Change-Id: I7a6021cb6d1ca1e66fa5a0bdd21e1543e0cf66fc

9 years agoMerge "Refactoring common methods" into ub-launcher3-burnaby
Sunny Goyal [Thu, 26 Feb 2015 18:30:41 +0000 (18:30 +0000)]
Merge "Refactoring common methods" into ub-launcher3-burnaby

9 years agoMerge "Picking a bitmap to reuse where least pixels are wasted" into ub-launcher3...
Sunny Goyal [Thu, 26 Feb 2015 18:22:34 +0000 (18:22 +0000)]
Merge "Picking a bitmap to reuse where least pixels are wasted" into ub-launcher3-burnaby

9 years agoRefactoring common methods
Sunny Goyal [Thu, 29 Jan 2015 17:57:16 +0000 (09:57 -0800)]
Refactoring common methods

Change-Id: Id6d3072dd3a6d7f54e9591abbeffd9bd51c7403d

9 years agoDO NOT MERGE: Setting workspace id as primary key
Sunny Goyal [Wed, 25 Feb 2015 18:46:34 +0000 (10:46 -0800)]
DO NOT MERGE: Setting workspace id as primary key

Bug: 19475231
Change-Id: I0385e97868db73dafe148ce45af7dda4555ee593

9 years agoPicking a bitmap to reuse where least pixels are wasted
Sunny Goyal [Wed, 25 Feb 2015 19:34:17 +0000 (11:34 -0800)]
Picking a bitmap to reuse where least pixels are wasted

Change-Id: I4217bc68a5caa2d1526e4ebb101dbaf0348066d3

9 years agoam 7470c817: Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.
Sunny Goyal [Wed, 25 Feb 2015 17:56:15 +0000 (17:56 +0000)]
am 7470c817: Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.

* commit '7470c817e46f241bf37a7874fa7cf7493fc7cf94':
  Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.

9 years agoReducing memory usage of wallpaper picker
Sunny Goyal [Thu, 12 Feb 2015 23:34:41 +0000 (15:34 -0800)]
Reducing memory usage of wallpaper picker

> Loading preview bitmap only once, instead of loading it twice at BitmapRegionTileSource and BitmapSource
> Maintaing a weak-set of reusable bitmaps and reusing them for decoding bitmaps
> Loading images on a HandlerThread (instead of AsyncTask) and removing any non-started task before submitting a new task
> Loading inbuild images (from resources) on HandlerThread instead of UIThread
> Freeing up unbound GL textures before binding a new texture.

Bug: 18382606
Change-Id: Ic4ca630dd113ded65d2853eb0d291c9e5823637e
(cherry picked from commit 283c2261bd4440f4108a564cea0f5fc499781213)

9 years ago[key event focus handling] (1)hotseat <-> icon now symmetric, (2)support DEL keycode
Hyunyoung Song [Tue, 24 Feb 2015 22:12:51 +0000 (14:12 -0800)]
[key event focus handling] (1)hotseat <-> icon now symmetric, (2)support DEL keycode

TL;DR; (1) Key event navigation from and to the hotseat and icons in the workspace
is now symmetric. Since there is one more icon in the hotseat, only left
N-1 icon navigation was symmetric.

(2) KeyEvent.KEYCODE_DEL and KeyEvent.KEYCODE_FORWARD_DEL can now delete icons
from the workspace. The focus move to the previous icon where the focus
traveled from.

Also contains minor styling and indexing issues.

Bug: 15408321
Bug: 19381790

Change-Id: I16cbcb2693e92eebb830997d01c0bf674073dd51

9 years agoUsing SCREEN_ORIENTATION_LOCKED for locking to current orientation.
Sunny Goyal [Tue, 10 Feb 2015 22:28:44 +0000 (14:28 -0800)]
Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.

Bug: 17298128
Change-Id: If64b6957a594bcc48f6454689d11cd63d31b9239
(cherry picked from commit 3c1865ad5050f594d1684fe8962bfbc8ffcbe4bb)

9 years agoMerge "[key event focus handling] Cleanup/Refactor/Feature 1) Focus navigation handli...
Hyunyoung Song [Fri, 20 Feb 2015 22:27:40 +0000 (22:27 +0000)]
Merge "[key event focus handling] Cleanup/Refactor/Feature 1) Focus navigation handling is refactored to Focus utility class. New 2 step dpad navigation algorithm is inside Focus class 2) Introduced a map (or matrix) that indicates where sparse icons are located inside a grid. This enables getting rid of the icon sorting logic which was costly. 3) Unified all the dpad handling logic inside the handleXXKeyEvent methods 4) DOWN/UP key will allow navigation between workspace icons and the hotseat 5) Folder icons allow DOWN/UP to navigate to the title" into ub-launcher3-master

9 years ago[key event focus handling] Cleanup/Refactor/Feature
Hyunyoung Song [Fri, 20 Feb 2015 22:25:27 +0000 (14:25 -0800)]
[key event focus handling] Cleanup/Refactor/Feature
1) Focus navigation handling is refactored to Focus utility class.
New 2 step dpad navigation algorithm is inside Focus class
2) Introduced a map (or matrix) that indicates where sparse icons are located inside a grid.
This enables getting rid of the icon sorting logic which was costly.
3) Unified all the dpad handling logic inside the handleXXKeyEvent methods
4) DOWN/UP key will allow navigation between workspace icons and the hotseat
5) Folder icons allow DOWN/UP to navigate to the title

b/19381790

Change-Id: Id45b3f215ef7c1ca5f99b08e3d721e219298627a

9 years agoMerge "Revert "Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search...
Adam Cohen [Fri, 20 Feb 2015 16:39:41 +0000 (16:39 +0000)]
Merge "Revert "Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search widget"" into ub-launcher3-master

9 years agoRevert "Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search widget"
Adam Cohen [Fri, 20 Feb 2015 16:38:48 +0000 (16:38 +0000)]
Revert "Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search widget"

This reverts commit 87cf88393cedb66633bbcf51c283d525ef88932f.

Change-Id: Ie15c71f76c71dfb6b85aefcc10cd66eb49bea6dc

9 years agoMerge "Moving some files and methods around" into ub-launcher3-master
Sunny Goyal [Fri, 20 Feb 2015 01:54:30 +0000 (01:54 +0000)]
Merge "Moving some files and methods around" into ub-launcher3-master

9 years agoMerge "Fixing logic to determine if wallpaper change." into ub-launcher3-master
Sunny Goyal [Fri, 20 Feb 2015 01:50:47 +0000 (01:50 +0000)]
Merge "Fixing logic to determine if wallpaper change." into ub-launcher3-master

9 years agoMerge "Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search widget...
Adam Cohen [Thu, 19 Feb 2015 01:35:20 +0000 (01:35 +0000)]
Merge "Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search widget" into ub-launcher3-master

9 years agoMark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search widget
Adam Cohen [Thu, 19 Feb 2015 01:26:22 +0000 (17:26 -0800)]
Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search widget

Bug 17334589

Change-Id: I0e14381cfc19822451e68eb7f070d94525e126c3

9 years agoMerge "Add clip-reveal animation to Launcher" into ub-launcher3-master
Chet Haase [Tue, 17 Feb 2015 22:40:35 +0000 (22:40 +0000)]
Merge "Add clip-reveal animation to Launcher" into ub-launcher3-master

9 years agoAdd clip-reveal animation to Launcher
Chet Haase [Tue, 17 Feb 2015 20:56:04 +0000 (12:56 -0800)]
Add clip-reveal animation to Launcher

ClipReveal animation was recently added to the platform. This
makes that animation the default launch animation when running on
that version of the platform.

Issue #19362772 Better material launch animations

Change-Id: I077659c14dc426be465d163bea6ba0fa93a637c5

9 years agoam fce720f3: Merge "Fixing crash when dragging and dropping a restored widget." into...
Sunny Goyal [Tue, 17 Feb 2015 20:39:42 +0000 (20:39 +0000)]
am fce720f3: Merge "Fixing crash when dragging and dropping a restored widget." into ub-launcher3-almonte

* commit 'fce720f39adcf8a35b93978c36ab0e8833a74e3e':
  Fixing crash when dragging and dropping a restored widget.

9 years agoMerge "Fixing crash when dragging and dropping a restored widget." into ub-launcher3...
Sunny Goyal [Tue, 17 Feb 2015 20:34:55 +0000 (20:34 +0000)]
Merge "Fixing crash when dragging and dropping a restored widget." into ub-launcher3-almonte

9 years agoFixing crash when dragging and dropping a restored widget.
Sunny Goyal [Tue, 17 Feb 2015 19:44:15 +0000 (11:44 -0800)]
Fixing crash when dragging and dropping a restored widget.

> When the widget is in pending state, AppWidgetProviderInfo is not available

Bug: 19364311
Change-Id: If3126a375853e6e710c6eba4b8824e18f3f0d391

9 years agoam 80e6beb4: Ensure that layers are properly removed after animation
Adam Cohen [Sat, 14 Feb 2015 01:05:58 +0000 (01:05 +0000)]
am 80e6beb4: Ensure that layers are properly removed after animation

* commit '80e6beb48ca71a321f667e79fe35a7ab2fb4c2bf':
  Ensure that layers are properly removed after animation

9 years agoEnsure that layers are properly removed after animation
Adam Cohen [Sat, 14 Feb 2015 00:14:33 +0000 (16:14 -0800)]
Ensure that layers are properly removed after animation

Bug 19243980

Change-Id: Ic1d54f92051f7d937878898cae210ec18ecbaff8

9 years agoMerge "Use ResolveInfo for label and icon for LauncherActivityInfo" into ub-launcher3...
Sunny Goyal [Thu, 12 Feb 2015 22:31:09 +0000 (22:31 +0000)]
Merge "Use ResolveInfo for label and icon for LauncherActivityInfo" into ub-launcher3-master

9 years agoMerge "Removing unused BlockingGLTextureView" into ub-launcher3-master
Sunny Goyal [Thu, 12 Feb 2015 22:24:31 +0000 (22:24 +0000)]
Merge "Removing unused BlockingGLTextureView" into ub-launcher3-master

9 years agoMoving some files and methods around
Sunny Goyal [Thu, 12 Feb 2015 19:19:39 +0000 (11:19 -0800)]
Moving some files and methods around

> Removing android.util package
> Moving static methods and classes out of WallpaperCropActivity
> Removing some unused utility methods

Change-Id: I252a0655ddce195189b6b3f0bf92970e5808c9d7

9 years agoMerge "Removing code for the unused 'upgrade path'" into ub-launcher3-master
Sunny Goyal [Thu, 12 Feb 2015 18:23:27 +0000 (18:23 +0000)]
Merge "Removing code for the unused 'upgrade path'" into ub-launcher3-master

9 years agoMerge "Fixing last image thumb, being loaded twice" into ub-launcher3-master
Sunny Goyal [Thu, 12 Feb 2015 18:19:36 +0000 (18:19 +0000)]
Merge "Fixing last image thumb, being loaded twice" into ub-launcher3-master

9 years agoRemoving unused BlockingGLTextureView
Sunny Goyal [Thu, 12 Feb 2015 18:12:39 +0000 (10:12 -0800)]
Removing unused BlockingGLTextureView

Change-Id: Iac5aec1193e53dd554f61d07201bac06178914f5

9 years agoFixing logic to determine if wallpaper change.
Sunny Goyal [Thu, 12 Feb 2015 17:51:48 +0000 (09:51 -0800)]
Fixing logic to determine if wallpaper change.

> Current logic to determine if livewallpaper changed returns true all the time
> Use returnCode passed by the calling activity.

Change-Id: Ida800a90451b1f7d368234e1a7e10938dcf2f6f7

9 years agoFixing last image thumb, being loaded twice
Sunny Goyal [Thu, 12 Feb 2015 17:46:41 +0000 (09:46 -0800)]
Fixing last image thumb, being loaded twice

Change-Id: I241e472a3f0869b82066163514fb2c29c0f18a8f

9 years agoam c87775d8: Fixing rank migration code to handle null values correctly.
Sunny Goyal [Wed, 11 Feb 2015 23:01:53 +0000 (23:01 +0000)]
am c87775d8: Fixing rank migration code to handle null values correctly.

* commit 'c87775d8e63c7b5722c23ef95c782f574b847d73':
  Fixing rank migration code to handle null values correctly.

9 years agoRemove meaningless bug id from from addDumpLog and Log.d methods
Hyunyoung Song [Wed, 11 Feb 2015 20:57:39 +0000 (12:57 -0800)]
Remove meaningless bug id from from addDumpLog and Log.d methods
b/11683562
b/6557954

Change-Id: Icd0e237ebb09ac868928328f45a3b30cf19a20df

9 years agoRemoving code for the unused 'upgrade path'
Sunny Goyal [Mon, 2 Feb 2015 21:01:51 +0000 (13:01 -0800)]
Removing code for the unused 'upgrade path'

Change-Id: Ib9eca92284b0eabbe36ffaaf26c62a6ce3cfd3e9

9 years agoUse ResolveInfo for label and icon for LauncherActivityInfo
Sunny Goyal [Wed, 11 Feb 2015 19:53:02 +0000 (11:53 -0800)]
Use ResolveInfo for label and icon for LauncherActivityInfo

Instead of using the ActivityInfo, use the ResolveInfo so that
any label or icon specified on the intent-filter is used.

Bug: 18482039
Change-Id: I87c0d9dba0754e3aa2c81727a9f60d789e5e8630

9 years agoFixing rank migration code to handle null values correctly.
Sunny Goyal [Wed, 11 Feb 2015 03:52:36 +0000 (19:52 -0800)]
Fixing rank migration code to handle null values correctly.

Bug: 19297508
Change-Id: I652ef30ab37f5b09204f0388de8e065d64b7724d

9 years agoUsing SCREEN_ORIENTATION_LOCKED for locking to current orientation.
Sunny Goyal [Tue, 10 Feb 2015 22:28:44 +0000 (14:28 -0800)]
Using SCREEN_ORIENTATION_LOCKED for locking to current orientation.

Bug: 17298128
Change-Id: If64b6957a594bcc48f6454689d11cd63d31b9239

9 years agoam 8f9a7879: Launcher crashes on widget bind permission prompt
Sunny Goyal [Fri, 6 Feb 2015 23:43:42 +0000 (23:43 +0000)]
am 8f9a7879: Launcher crashes on widget bind permission prompt

* commit '8f9a787945c3326791c61b001e786b96e9fc4341':
  Launcher crashes on widget bind permission prompt

9 years agoLauncher crashes on widget bind permission prompt
Sunny Goyal [Sat, 17 Jan 2015 00:14:29 +0000 (16:14 -0800)]
Launcher crashes on widget bind permission prompt

Change-Id: If09feb357e1604e5ee1a66305b022674f466833e
(cherry picked from commit e6b63a3d7335fed5b7bbcc6d2c6230ae28facd3e)

9 years agoam bd4a7893: Merge "Revert "Adding Launcher3 callbacks for trimming memory."" into...
Adam Cohen [Fri, 6 Feb 2015 23:34:26 +0000 (23:34 +0000)]
am bd4a7893: Merge "Revert "Adding Launcher3 callbacks for trimming memory."" into ub-launcher3-almonte

* commit 'bd4a78937ffe2f37386dae4ae8817e33422c1267':
  Revert "Adding Launcher3 callbacks for trimming memory."

9 years agoMerge "Revert "Adding Launcher3 callbacks for trimming memory."" into ub-launcher3...
Adam Cohen [Fri, 6 Feb 2015 23:29:32 +0000 (23:29 +0000)]
Merge "Revert "Adding Launcher3 callbacks for trimming memory."" into ub-launcher3-almonte

9 years agoRevert "Adding Launcher3 callbacks for trimming memory."
Adam Cohen [Fri, 6 Feb 2015 23:28:49 +0000 (23:28 +0000)]
Revert "Adding Launcher3 callbacks for trimming memory."

This reverts commit 42f3b9e0283c30c40c286f9958ce0f8b02f85c52.

Change-Id: I65a7c893576c0901b231bab9abe6937f99415f1e

9 years agoam acbe9f65: Merge "Adding Launcher3 callbacks for trimming memory." into ub-launcher...
Robert Kozikowski [Wed, 4 Feb 2015 18:41:44 +0000 (18:41 +0000)]
am acbe9f65: Merge "Adding Launcher3 callbacks for trimming memory." into ub-launcher3-almonte

* commit 'acbe9f6546455672b2edf51928d4fee4b6e246ba':
  Adding Launcher3 callbacks for trimming memory.

9 years agoam 4802b410: Adding null-check before parsing an intent
Sunny Goyal [Wed, 4 Feb 2015 18:38:36 +0000 (18:38 +0000)]
am 4802b410: Adding null-check before parsing an intent

* commit '4802b4107a66bc86996083b4835d1094ef4f4cbb':
  Adding null-check before parsing an intent

9 years agoMerge "Adding Launcher3 callbacks for trimming memory." into ub-launcher3-almonte
Robert Kozikowski [Wed, 4 Feb 2015 18:38:30 +0000 (18:38 +0000)]
Merge "Adding Launcher3 callbacks for trimming memory." into ub-launcher3-almonte

9 years agoAdding null-check before parsing an intent
Sunny Goyal [Wed, 4 Feb 2015 18:05:05 +0000 (10:05 -0800)]
Adding null-check before parsing an intent

Bug: 18962665
Change-Id: Iae02435f019fa205f3ee3ae721a29f26b3b56dd2

9 years agoAdding Launcher3 callbacks for trimming memory.
Robert Kozikowski [Wed, 4 Feb 2015 14:59:39 +0000 (14:59 +0000)]
Adding Launcher3 callbacks for trimming memory.

It will help reduce memory footprint of Launcher, when in background.
It is required to help deallocate images, when Google Now Launcher
goes into the background. See cl/83222937/ .

Change-Id: I6d3d4d1f0457c67abcad3ba4516c87abcf666b05

9 years agoam b76c165a: Fix ClassCastException due to typo
Adam Cohen [Fri, 30 Jan 2015 19:29:28 +0000 (19:29 +0000)]
am b76c165a: Fix ClassCastException due to typo

* commit 'b76c165aadb4deb144ec3b1267aa1faf304638e9':
  Fix ClassCastException due to typo

9 years agoFix ClassCastException due to typo
Adam Cohen [Fri, 30 Jan 2015 18:28:23 +0000 (10:28 -0800)]
Fix ClassCastException due to typo

issue 19159790

Change-Id: I5f9fa0e3672c10a460606dcb13b158bd4e614813

9 years agoam a258f812: Modify strict mode thread policy for LauncherProvider.
Nilesh Agrawal [Mon, 26 Jan 2015 22:28:49 +0000 (22:28 +0000)]
am a258f812: Modify strict mode thread policy for LauncherProvider.

* commit 'a258f812fac21767d1f2e61ee7a7a58bfe6da582':
  Modify strict mode thread policy for LauncherProvider.

9 years agoModify strict mode thread policy for LauncherProvider.
Nilesh Agrawal [Mon, 26 Jan 2015 22:07:29 +0000 (14:07 -0800)]
Modify strict mode thread policy for LauncherProvider.

Allowing thread writes too as SQLiteOpenHelper.getWritableDatabase needs it.

Bug: 19094644
Change-Id: I39fe97a9e7fc07c38a4f8e5c5979196b742e36bf

9 years agoam b3e5e4f5: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Mon, 26 Jan 2015 14:28:40 +0000 (14:28 +0000)]
am b3e5e4f5: (-s ours) Import translations. DO NOT MERGE

* commit 'b3e5e4f54125df13863358463f598c224160a13a':
  Import translations. DO NOT MERGE

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 26 Jan 2015 14:25:08 +0000 (06:25 -0800)]
Import translations. DO NOT MERGE

Change-Id: I0424587be34af78b7720a9a29d09b7e0ba129790
Auto-generated-cl: translation import

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 26 Jan 2015 14:24:16 +0000 (06:24 -0800)]
Import translations. DO NOT MERGE

Change-Id: I3902548749f40061c1a9a51f65c082d0bc0a873e
Auto-generated-cl: translation import

9 years agoresolved conflicts for merge of b564efb0 to ub-launcher3-master
Sunny Goyal [Fri, 23 Jan 2015 22:22:07 +0000 (14:22 -0800)]
resolved conflicts for merge of b564efb0 to ub-launcher3-master

Change-Id: I4321522dd1b6b3f96e21232d113fad5144b630bc

9 years agoAdding support for <include> tag in AutoInstall layout
Sunny Goyal [Fri, 23 Jan 2015 21:45:20 +0000 (13:45 -0800)]
Adding support for <include> tag in AutoInstall layout

Bug: 19121893
Change-Id: I760fa76d6e63c1aa0152e8cd710aba0d6ef4462a