OSDN Git Service

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

9 years agoMerge "Replacing hotseat icon to an appropriate system app" into ub-launcher3-master
Sunny Goyal [Fri, 23 Jan 2015 21:11:20 +0000 (21:11 +0000)]
Merge "Replacing hotseat icon to an appropriate system app" into ub-launcher3-master

9 years agoam 71701f81: Add project / classpath to gitignore
Adam Cohen [Fri, 23 Jan 2015 18:11:01 +0000 (18:11 +0000)]
am 71701f81: Add project / classpath to gitignore

* commit '71701f8145f0eb1017b2d3590fc87babad1d1bd3':
  Add project / classpath to gitignore

9 years agoAdd project / classpath to gitignore
Adam Cohen [Fri, 23 Jan 2015 03:44:32 +0000 (19:44 -0800)]
Add project / classpath to gitignore

Change-Id: I157d480ebaa6d3873d03fd547fe4a8e4a4e9e015

9 years agoReplacing hotseat icon to an appropriate system app
Sunny Goyal [Thu, 15 Jan 2015 20:00:14 +0000 (12:00 -0800)]
Replacing hotseat icon to an appropriate system app

> During backupi, store the hotseat target app type, based on some predefined
common system apps
> During restore, save this app type in the restore flag, if it is a hotseat app
> During first launcher load, if an app is not being restored, try to replace it
with an appropriate replacement for that type, otherwise delete it.

Bug: 18764649
Change-Id: Ic49e40bd707bd8d7de18bbab8b1e58a0a36426a2

9 years agoam fde11852: Add strict mode exception in LauncherProvider.
Nilesh Agrawal [Wed, 21 Jan 2015 21:17:07 +0000 (21:17 +0000)]
am fde11852: Add strict mode exception in LauncherProvider.

* commit 'fde11852cf0f91c4500a93dfffb44c1b86991e6e':
  Add strict mode exception in LauncherProvider.

9 years agoAdd strict mode exception in LauncherProvider.
Nilesh Agrawal [Wed, 21 Jan 2015 19:50:57 +0000 (11:50 -0800)]
Add strict mode exception in LauncherProvider.

Content providers are created during process startup (before Application.onCreate),
and we should not be doing expensive stuff in Provider.onCreate

Adding an exception for now as it looks like LauncherProvider initialization is needed
before we can show meaningful UI.

Bug: 19094644
Change-Id: I860c2934c110d3a43f1a3afa00729077dc64796c

9 years agoChanging DB upgrade path to use swith case statement.
Sunny Goyal [Wed, 14 Jan 2015 22:23:02 +0000 (14:23 -0800)]
Changing DB upgrade path to use swith case statement.

> This allows to cancel the whole upgrade path if any one step fails
and reset the DB

Change-Id: I645b74af8afcd21dda0d619691a5fb3dbf1a04c0

9 years agoam f32cd5fb: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 21 Jan 2015 16:33:24 +0000 (16:33 +0000)]
am f32cd5fb: (-s ours) Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 21 Jan 2015 16:02:36 +0000 (08:02 -0800)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 21 Jan 2015 16:01:40 +0000 (08:01 -0800)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Removing usage of reflection." into ub-launcher3-master
Sunny Goyal [Wed, 21 Jan 2015 01:13:26 +0000 (01:13 +0000)]
Merge "Removing usage of reflection." into ub-launcher3-master

9 years agoRemoving usage of reflection.
Sunny Goyal [Tue, 20 Jan 2015 23:55:34 +0000 (15:55 -0800)]
Removing usage of reflection.

> Updated launcher.java with the new APIs
> Removed unused method in BitmapUtils

Change-Id: I24804d2cd7d9fc45040532e8324672f5ea6fc110

9 years agoRemoving support library dependency
Sunny Goyal [Mon, 5 Jan 2015 20:40:08 +0000 (12:40 -0800)]
Removing support library dependency

> Removed FolderAutoScrollHelper as folders are currently not scrollable

Change-Id: I261f43a665b742697e3224e1e9852ccc526badcd

9 years agoSimplifying loadScreenDB to load the screen IDs in sorted order
Sunny Goyal [Sat, 17 Jan 2015 00:19:04 +0000 (16:19 -0800)]
Simplifying loadScreenDB to load the screen IDs in sorted order

Change-Id: I5551b5c12cdc2b0e304a06d2e8edbe81e124a55c

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Tue, 20 Jan 2015 19:39:47 +0000 (19:39 +0000)]
Import translations. DO NOT MERGE
automerge: 60197ff  -s ours

* commit '60197ff979e45e65e6a44cec595dbb22a978ada4':
  Import translations. DO NOT MERGE

9 years agoMerge "Adding accessibility controls" into ub-launcher3-almonte
Sunny Goyal [Tue, 20 Jan 2015 19:39:44 +0000 (19:39 +0000)]
Merge "Adding accessibility controls" into ub-launcher3-almonte
automerge: 54cdef7

* commit '54cdef77dbb958a853387957c303e1b872489b00':
  Adding accessibility controls

9 years agoMerge "Avoiding writing the Metadata in the backup if nothing was changed in the...
Sunny Goyal [Tue, 20 Jan 2015 19:39:40 +0000 (19:39 +0000)]
Merge "Avoiding writing the Metadata in the backup if nothing was changed in the backup" into ub-launcher3-almonte
automerge: 2d26480

* commit '2d264802754e78a98ab1a52c39aa4ceef75b32ae':
  Avoiding writing the Metadata in the backup if nothing was changed in the backup

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Tue, 20 Jan 2015 19:39:37 +0000 (19:39 +0000)]
Import translations. DO NOT MERGE
automerge: 0141792  -s ours

* commit '0141792813d503c13450ebf4fe3b805a72866213':
  Import translations. DO NOT MERGE

9 years agoAdding a rank column for itemInfo
Sunny Goyal [Tue, 20 Jan 2015 19:39:34 +0000 (19:39 +0000)]
Adding a rank column for itemInfo
automerge: 08f7261

* commit '08f7261d11a53ae4b330ad4fa897b8519de3d750':
  Adding a rank column for itemInfo

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 19 Jan 2015 18:34:06 +0000 (10:34 -0800)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Adding accessibility controls" into ub-launcher3-almonte
Sunny Goyal [Sat, 17 Jan 2015 01:58:01 +0000 (01:58 +0000)]
Merge "Adding accessibility controls" into ub-launcher3-almonte

9 years agoMerge "Avoiding writing the Metadata in the backup if nothing was changed in the...
Sunny Goyal [Sat, 17 Jan 2015 01:56:11 +0000 (01:56 +0000)]
Merge "Avoiding writing the Metadata in the backup if nothing was changed in the backup" into ub-launcher3-almonte

9 years agoAdding accessibility controls
Sunny Goyal [Fri, 9 Jan 2015 00:59:04 +0000 (16:59 -0800)]
Adding accessibility controls

> Adding 'Remove' option to workspace items
> Adding 'Add to workspace' to all apps and widget list items, which
adds the item to the first available space, giving preference to
the current workspace screen
> Adding 'App info' and 'Uninstall' options to appropriate items

Bug: 18482913
Change-Id: Ifab7423af2d9ba502b5a2771b37bb5436b3df937

9 years agoMerge "Launcher crashes on widget bind permission prompt" into ub-launcher3-master
Sunny Goyal [Sat, 17 Jan 2015 01:09:48 +0000 (01:09 +0000)]
Merge "Launcher crashes on widget bind permission prompt" into ub-launcher3-master

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Sat, 17 Jan 2015 00:07:34 +0000 (16:07 -0800)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Sat, 17 Jan 2015 00:06:23 +0000 (16:06 -0800)]
Import translations. DO NOT MERGE

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

9 years agoAvoiding writing the Metadata in the backup if nothing was changed in the backup
Sunny Goyal [Fri, 16 Jan 2015 22:10:32 +0000 (14:10 -0800)]
Avoiding writing the Metadata in the backup if nothing was changed in the backup

Change-Id: I4608ab5511b01f0d0018596d68e4341635649f73

9 years agoAdding a rank column for itemInfo
Sunny Goyal [Mon, 5 Jan 2015 21:41:43 +0000 (13:41 -0800)]
Adding a rank column for itemInfo

> Rank is used to determine position of an item
in a folder.

Bug: 18590192
Change-Id: I2826a7c570b4cc58e719d685f17a24ec6133804f

9 years agoRemoving dead code from Launcher provider
Sunny Goyal [Sat, 22 Nov 2014 06:42:53 +0000 (22:42 -0800)]
Removing dead code from Launcher provider

> Removing DB upgrade logic for versions before 12. Launcher3
was forked off Launcher2 when DB version was already 12, so, there
can never be a lower version of the DB.
> Removing logic for auto import of launcher2 DB. This flow had
been permanently disabled by a flag, and we show a confirmation
prompt/cling before migration

Change-Id: I2ac2f21fefc41ee247164566a088927263b09459

9 years agoAdd syntax option to backup.proto.
Dave Hawkey [Fri, 19 Dec 2014 21:13:30 +0000 (14:13 -0700)]
Add syntax option to backup.proto.

This is required to properly compile the file in google3.

Change-Id: Ib9ff3163974a5180797c0ecadb833dae93619b2c

9 years agoUpdating version codes from L to LOLLIPOP
Brian Parfett [Fri, 12 Dec 2014 20:30:00 +0000 (12:30 -0800)]
Updating version codes from L to LOLLIPOP

This is required so Launcher3 can compile within IntelliJ.

Change-Id: I99a98a6d2326a8f8b0f0320430de9b555ea430c6
Bugs: b/18720914

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 10 Dec 2014 15:43:52 +0000 (07:43 -0800)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 8 Dec 2014 19:15:42 +0000 (11:15 -0800)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Supporting custom widgets provided by launcher" into ub-now-master
Adam Cohen [Sat, 6 Dec 2014 00:22:42 +0000 (00:22 +0000)]
Merge "Supporting custom widgets provided by launcher" into ub-now-master

9 years agoSupporting custom widgets provided by launcher
Adam Cohen [Thu, 6 Mar 2014 02:07:04 +0000 (18:07 -0800)]
Supporting custom widgets provided by launcher

-> This change provides integration for widgets provided by
   the launcher package which can run arbitrary code.

Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42

9 years agoam 02509457: Avoid db exception on L and above
Adam Cohen [Thu, 4 Dec 2014 18:43:49 +0000 (18:43 +0000)]
am 02509457: Avoid db exception on L and above

* commit '0250945759f7ac58aab912448d62dc108b1770c5':
  Avoid db exception on L and above

9 years agoAvoid db exception on L and above
Adam Cohen [Thu, 4 Dec 2014 18:34:57 +0000 (10:34 -0800)]
Avoid db exception on L and above

Bug 18554839

Change-Id: I43f391b7cc376f697ce7b5b363e8be3aa85814b5

9 years agoam 2975e341: (-s ours) am d2285942: (-s ours) Merge "Ignoring specific db exception...
Adam Cohen [Thu, 4 Dec 2014 18:24:26 +0000 (18:24 +0000)]
am 2975e341: (-s ours) am d2285942: (-s ours) Merge "Ignoring specific db exception DO NOT MERGE" into ub-now-porkchop

* commit '2975e34145b38e44dc8a7def2617e3fe0d15321d':
  Ignoring specific db exception DO NOT MERGE

9 years agoam d2285942: (-s ours) Merge "Ignoring specific db exception DO NOT MERGE" into ub...
Adam Cohen [Thu, 4 Dec 2014 18:17:52 +0000 (18:17 +0000)]
am d2285942: (-s ours) Merge "Ignoring specific db exception DO NOT MERGE" into ub-now-porkchop

* commit 'd2285942dde8f2633f1d79abc01e598da7925090':
  Ignoring specific db exception DO NOT MERGE

9 years agoMerge "Ignoring specific db exception DO NOT MERGE" into ub-now-porkchop
Adam Cohen [Thu, 4 Dec 2014 18:14:22 +0000 (18:14 +0000)]
Merge "Ignoring specific db exception DO NOT MERGE" into ub-now-porkchop

9 years agoIgnoring specific db exception DO NOT MERGE
Winson Chung [Mon, 1 Dec 2014 23:05:17 +0000 (15:05 -0800)]
Ignoring specific db exception DO NOT MERGE

Bug 18554839.

Change-Id: I80f2dd62297eea671f2d129ae22263e72e506ae4
(cherry picked from commit 5f05913f71da68a6c406f905ec6979586e3ba27a)

9 years agoam e6673dc1: am 268b8907: Ensure that FirstFrameAnimatorHelper doesn\'t set play...
Adam Cohen [Thu, 4 Dec 2014 17:37:27 +0000 (17:37 +0000)]
am e6673dc1: am 268b8907: Ensure that FirstFrameAnimatorHelper doesn\'t set play time when animation is complete

* commit 'e6673dc1fa94945925f4097f88dc2f5264c4316d':
  Ensure that FirstFrameAnimatorHelper doesn't set play time when animation is complete