OSDN Git Service

android-x86/packages-apps-Trebuchet.git
9 years agoam 5aa2fe13: (-s ours) [DO NOT MERGE] Build fix.
Sunny Goyal [Mon, 29 Jun 2015 17:41:17 +0000 (17:41 +0000)]
am 5aa2fe13: (-s ours) [DO NOT MERGE] Build fix.

* commit '5aa2fe13b5c5f7d34f653e70943b45e0231c5d09':
  [DO NOT MERGE] Build fix.

9 years agoam c767689b: (-s ours) Merge "[DO NOT MERGE] Removing junit.framework.Assert from...
Sunny Goyal [Mon, 29 Jun 2015 17:41:16 +0000 (17:41 +0000)]
am c767689b: (-s ours) Merge "[DO NOT MERGE] Removing junit.framework.Assert from wallpaper picker code" into ub-launcher3-almonte

* commit 'c767689be7ace9a282ca895e79c1a5c82f5cf5a9':
  [DO NOT MERGE] Removing junit.framework.Assert from wallpaper picker code

9 years agoam 42ea0db8: (-s ours) [DO NOT MERGE] Adding constants already available in burnaby
Sunny Goyal [Mon, 29 Jun 2015 17:41:15 +0000 (17:41 +0000)]
am 42ea0db8: (-s ours) [DO NOT MERGE] Adding constants already available in burnaby

* commit '42ea0db8892020cc07046979892460bad55d2b45':
  [DO NOT MERGE] Adding constants already available in burnaby

9 years agoam 79f25bed: Merge "Add LauncherCallbacks for requesting permissions on MNC" into...
Dave Hawkey [Mon, 29 Jun 2015 17:41:14 +0000 (17:41 +0000)]
am 79f25bed: Merge "Add LauncherCallbacks for requesting permissions on MNC" into ub-launcher3-almonte

* commit '79f25bedd2ed13613323b085b46b9b42aee21696':
  Add LauncherCallbacks for requesting permissions on MNC

9 years agoam bb87053e: (-s ours) [DO NOT MERGE] Making some constants public
Sunny Goyal [Mon, 29 Jun 2015 17:41:13 +0000 (17:41 +0000)]
am bb87053e: (-s ours) [DO NOT MERGE] Making some constants public

* commit 'bb87053ef98014fb4693aa4ff7e9d44ca30f7b9a':
  [DO NOT MERGE] Making some constants public

9 years agoam 21a4ccc6: (-s ours) Merge "Add extras required for compilation" into ub-launcher3...
Winson Chung [Mon, 29 Jun 2015 17:41:12 +0000 (17:41 +0000)]
am 21a4ccc6: (-s ours) Merge "Add extras required for compilation" into ub-launcher3-almonte

* commit '21a4ccc6275a6a3328fc4951f6942b43b0a7726b':
  Add extras required for compilation

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 29 Jun 2015 12:13:40 +0000 (05:13 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Allowing UserHandle to be passed in the intent when creating AppInfo" into...
Sunny Goyal [Fri, 26 Jun 2015 23:37:48 +0000 (23:37 +0000)]
Merge "Allowing UserHandle to be passed in the intent when creating AppInfo" into ub-launcher3-burnaby

9 years ago[DO NOT MERGE] Build fix.
Sunny Goyal [Fri, 26 Jun 2015 22:52:54 +0000 (15:52 -0700)]
[DO NOT MERGE] Build fix.

Change-Id: I625b92d6e4e19aa903e1e1e483c4330e2b631ce3

9 years agoMerge "[DO NOT MERGE] Removing junit.framework.Assert from wallpaper picker code...
Sunny Goyal [Fri, 26 Jun 2015 22:43:00 +0000 (22:43 +0000)]
Merge "[DO NOT MERGE] Removing junit.framework.Assert from wallpaper picker code" into ub-launcher3-almonte

9 years ago[DO NOT MERGE] Adding constants already available in burnaby
Sunny Goyal [Fri, 26 Jun 2015 22:29:20 +0000 (15:29 -0700)]
[DO NOT MERGE] Adding constants already available in burnaby

Change-Id: I653fe653c4a7ee3644d17f45f3df34e3621aaee8

9 years ago[DO NOT MERGE] Removing junit.framework.Assert from wallpaper picker code
Sunny Goyal [Fri, 26 Jun 2015 21:10:44 +0000 (14:10 -0700)]
[DO NOT MERGE] Removing junit.framework.Assert from wallpaper picker code

Bug: 22124692
Change-Id: Ifd41727a2ce4af660818b4f0cd6b95110ffdeec4

9 years agoRemoving junit.framework.Assert from wallpaper picker code
Sunny Goyal [Fri, 26 Jun 2015 21:10:44 +0000 (14:10 -0700)]
Removing junit.framework.Assert from wallpaper picker code

Bug: 22124692
Change-Id: Ifd41727a2ce4af660818b4f0cd6b95110ffdeec4

9 years agoRemoving junit.framework.Assert
Sunny Goyal [Fri, 26 Jun 2015 21:00:57 +0000 (14:00 -0700)]
Removing junit.framework.Assert

Bug: 22124692
Change-Id: Ie9c920ec6ef9631392a70b9ab2a5659ba23385b3

9 years agoAllowing UserHandle to be passed in the intent when creating AppInfo
Sunny Goyal [Fri, 26 Jun 2015 20:24:53 +0000 (13:24 -0700)]
Allowing UserHandle to be passed in the intent when creating AppInfo

> Removing createShortcut with userHandle, as shortcuts can only be
for the primary user.

Bug: 22070517
Change-Id: Ifc58a76d0f1e0ab8f1943b46588cc19dd88bdda1

9 years agoMerge "Add LauncherCallbacks for requesting permissions on MNC" into ub-launcher3...
Dave Hawkey [Fri, 26 Jun 2015 16:48:31 +0000 (16:48 +0000)]
Merge "Add LauncherCallbacks for requesting permissions on MNC" into ub-launcher3-almonte

9 years agoAdd LauncherCallbacks for requesting permissions on MNC
Dave Hawkey [Fri, 26 Jun 2015 16:27:47 +0000 (10:27 -0600)]
Add LauncherCallbacks for requesting permissions on MNC

Change-Id: Ia8f704590e03e16db04c2f7acee1e79ce7334749

9 years ago[DO NOT MERGE] Making some constants public
Sunny Goyal [Fri, 26 Jun 2015 16:07:18 +0000 (09:07 -0700)]
[DO NOT MERGE] Making some constants public

Change-Id: I95665184b100ab83b2171718d82fcc1e31c2fae1

9 years agoMerge "Announce content desc of workspace immediately after unlocking the lock screen...
Hyunyoung Song [Fri, 26 Jun 2015 04:08:14 +0000 (04:08 +0000)]
Merge "Announce content desc of workspace immediately after unlocking the lock screen. b/22051420" into ub-launcher3-burnaby

9 years agoAnnounce content desc of workspace immediately after unlocking the lock screen.
Hyunyoung Song [Fri, 26 Jun 2015 04:06:07 +0000 (21:06 -0700)]
Announce content desc of workspace immediately after unlocking the lock screen.
b/22051420

Change-Id: I41ab93782383c04e0074d87632ebe8d884a8e208

9 years agoMerge "Fixing backup restore" into ub-launcher3-burnaby
Sunny Goyal [Fri, 26 Jun 2015 01:34:44 +0000 (01:34 +0000)]
Merge "Fixing backup restore" into ub-launcher3-burnaby

9 years agoMoving LauncherExtension to a separate package
Sunny Goyal [Fri, 26 Jun 2015 01:21:41 +0000 (18:21 -0700)]
Moving LauncherExtension to a separate package

Change-Id: I6eef1cbb17295e59eae04f90fa44037be5f7da4b

9 years agoFixing backup restore
Sunny Goyal [Thu, 25 Jun 2015 23:37:44 +0000 (16:37 -0700)]
Fixing backup restore

> Not deleting icons from cache, which have not been restored yet
> Not checking if activity exists during DB migration. Missing
components are removed during loader anyway
> Backing up and restoring bitmaps even when iconType is resource.
This allows us to show a proper bitmap icon, until the correct
resource is available.
> Loading proper shortcutResource icon for promiseIcons
> Checking against promise intent when verifying duplicates
> A launcher App intent can contain EXTRA_PROFILE

Bug: 22094970
Change-Id: I982971338846733833ec133119393af0bea0eb08

9 years agoMerge "Enabling translation for preference string" into ub-launcher3-burnaby
Sunny Goyal [Fri, 26 Jun 2015 00:35:52 +0000 (00:35 +0000)]
Merge "Enabling translation for preference string" into ub-launcher3-burnaby

9 years agoEnabling translation for preference string
Sunny Goyal [Fri, 26 Jun 2015 00:11:30 +0000 (17:11 -0700)]
Enabling translation for preference string

> Removing description string

Bug: 22065032
Change-Id: I8acb51b113066924f028b4dd891b508027e7cb6a

9 years agoFixing issue with casting context to activity.
Winson Chung [Thu, 25 Jun 2015 23:46:47 +0000 (16:46 -0700)]
Fixing issue with casting context to activity.

9 years agoMerge "Exposing drag methods with user info." into ub-launcher3-burnaby
Winson Chung [Thu, 25 Jun 2015 20:19:49 +0000 (20:19 +0000)]
Merge "Exposing drag methods with user info." into ub-launcher3-burnaby

9 years agoExposing drag methods with user info.
Winson Chung [Thu, 25 Jun 2015 18:36:50 +0000 (11:36 -0700)]
Exposing drag methods with user info.

Change-Id: I974b67d23d3d29795c1c1d24e1ecf212b52e3912

9 years agoEnsuring that we always update the predicted apps set.
Winson Chung [Thu, 25 Jun 2015 19:17:30 +0000 (12:17 -0700)]
Ensuring that we always update the predicted apps set.

Change-Id: Ieecf019442dcf4af42463ed6cbc4cdcd19468dec

9 years agoMerge "Fixing crash when using app name comparator with empty titles." into ub-launch...
Winson Chung [Thu, 25 Jun 2015 17:11:02 +0000 (17:11 +0000)]
Merge "Fixing crash when using app name comparator with empty titles." into ub-launcher3-burnaby

9 years agoFixing crash when using app name comparator with empty titles.
Winson Chung [Thu, 25 Jun 2015 17:05:54 +0000 (10:05 -0700)]
Fixing crash when using app name comparator with empty titles.

Bug: 22065752
Change-Id: I4160f5e1728e46ce85fd2579889e7952de01a752

9 years agoMerge "Prevent extra animation when scrolling the recycler view." into ub-launcher3...
Winson Chung [Thu, 25 Jun 2015 00:12:07 +0000 (00:12 +0000)]
Merge "Prevent extra animation when scrolling the recycler view." into ub-launcher3-burnaby

9 years agoPrevent extra animation when scrolling the recycler view.
Winson Chung [Wed, 24 Jun 2015 23:59:31 +0000 (16:59 -0700)]
Prevent extra animation when scrolling the recycler view.

Change-Id: I362b557ae63a2cbef77ebf7fac9a7a27adeabb49

9 years agoRemoving some synthetic methods
Sunny Goyal [Wed, 24 Jun 2015 18:45:32 +0000 (11:45 -0700)]
Removing some synthetic methods

Change-Id: I08310e21871c7d670eb384ef1e835d155540c3e8

9 years agoMerge "Fixing issue with popup arrow direction in RTL." into ub-launcher3-burnaby
Winson Chung [Wed, 24 Jun 2015 17:40:33 +0000 (17:40 +0000)]
Merge "Fixing issue with popup arrow direction in RTL." into ub-launcher3-burnaby

9 years agoFixing issue with popup arrow direction in RTL.
Winson Chung [Wed, 24 Jun 2015 17:25:11 +0000 (10:25 -0700)]
Fixing issue with popup arrow direction in RTL.

Change-Id: I454596d8122ae7c44bb22fe74f229d19a5fbd4d4

9 years agoMerge "Ensure that Launcher Activity has an exclusive task" into ub-launcher3-burnaby
Adam Cohen [Wed, 24 Jun 2015 16:26:13 +0000 (16:26 +0000)]
Merge "Ensure that Launcher Activity has an exclusive task" into ub-launcher3-burnaby

9 years agoMerge "Avoid crashing if we don't have the READ_EXTERNAL_STORAGE permission" into...
Adam Cohen [Wed, 24 Jun 2015 16:19:22 +0000 (16:19 +0000)]
Merge "Avoid crashing if we don't have the READ_EXTERNAL_STORAGE permission" into ub-launcher3-burnaby

9 years agoEnsure that Launcher Activity has an exclusive task
Adam Cohen [Wed, 24 Jun 2015 01:06:37 +0000 (18:06 -0700)]
Ensure that Launcher Activity has an exclusive task

-> enforce this at the activity level by giving it an empty affinity
-> the system should probably enforce this, so this is a work around for now

issue 21880868

Change-Id: Iaba4d87781c7fc82ee6c2838c013e01081cdbf9d

9 years agoAvoid crashing if we don't have the READ_EXTERNAL_STORAGE permission
Adam Cohen [Tue, 23 Jun 2015 23:56:59 +0000 (16:56 -0700)]
Avoid crashing if we don't have the READ_EXTERNAL_STORAGE permission

issue 22019397

Change-Id: I7d556494569afaeac0ecdd641a089b78663b5563

9 years agoMerge "Code cleanup, WorkspaceStateTransitionAnimation" into ub-launcher3-burnaby
Hyunyoung Song [Tue, 23 Jun 2015 22:05:35 +0000 (22:05 +0000)]
Merge "Code cleanup, WorkspaceStateTransitionAnimation" into ub-launcher3-burnaby

9 years agoCode cleanup, WorkspaceStateTransitionAnimation
Hyunyoung Song [Tue, 23 Jun 2015 22:02:33 +0000 (15:02 -0700)]
Code cleanup, WorkspaceStateTransitionAnimation

Change-Id: I6b82f705f8dfddc507ddd66d5fd8a499cd6f58fd

9 years agoWorking around overscroll issues in AllApps.
Winson Chung [Tue, 23 Jun 2015 02:48:07 +0000 (19:48 -0700)]
Working around overscroll issues in AllApps.

- For the time being, we are going to do custom drawing to ensure that we get the touch
  events in the right order, while still allowing the recycler view to draw the overscroll
  effect on top of the prediction bar.

Bug: 21335369
Change-Id: I6bf64e5c1e9aa634a953223a5decf74942e4fb57

9 years agoMerge "Refactoring fast scroller." into ub-launcher3-burnaby
Winson Chung [Tue, 23 Jun 2015 21:55:52 +0000 (21:55 +0000)]
Merge "Refactoring fast scroller." into ub-launcher3-burnaby

9 years agoUsing a full-bleed background for Set-Wallpaper button
Sunny Goyal [Tue, 23 Jun 2015 21:28:29 +0000 (14:28 -0700)]
Using a full-bleed background for Set-Wallpaper button

Bug: 22007160
Change-Id: I06c4ffe5b5fa4f2c18c06a6e1bf014b328de00fd

9 years agoRefactoring fast scroller.
Winson Chung [Tue, 16 Jun 2015 20:35:04 +0000 (13:35 -0700)]
Refactoring fast scroller.

- Fixing issue with fast scroller not fitting name width.
- Refactoring fast scrolling/scroll bar code out of base recycler view
- Adding animations to fast scroller to match design
- Smooth scrolling when jumping between app rows
- Fixing issue with fast scroller jumping when you first pick it up
- Fixing issue with wrong background paddings being used

Bug: 21874346
Bug: 22031923
Change-Id: I9f011b1f375751f437604b900e95a2942d3f4601

9 years agoMerge "Making the provider column names public" into ub-launcher3-burnaby
Sunny Goyal [Tue, 23 Jun 2015 17:57:23 +0000 (17:57 +0000)]
Merge "Making the provider column names public" into ub-launcher3-burnaby

9 years agoFixing paged view overscroll effect being drawn outside the screen
Sunny Goyal [Mon, 22 Jun 2015 22:11:31 +0000 (15:11 -0700)]
Fixing paged view overscroll effect being drawn outside the screen
bounds when in transposed layout.

Change-Id: I93be6a003b7d28708697990cfae8c7be96f84676

9 years agoMaking the provider column names public
Sunny Goyal [Mon, 22 Jun 2015 20:57:26 +0000 (13:57 -0700)]
Making the provider column names public

Change-Id: Idc85e34aceaaed5a1abb693a8a04d06f9c70b4b4

9 years agoMerge "Using material style overscroll effect for workspace and folders" into ub...
Sunny Goyal [Mon, 22 Jun 2015 18:31:50 +0000 (18:31 +0000)]
Merge "Using material style overscroll effect for workspace and folders" into ub-launcher3-burnaby

9 years agoAdd workspace scrim animation to the state transition to reduce jankiness.
Hyunyoung Song [Sat, 20 Jun 2015 01:03:35 +0000 (18:03 -0700)]
Add workspace scrim animation to the state transition to reduce jankiness.
b/20956087

Note: Will work on creating a separate view for the scrim animation rather
than the drag layer on a separate CL.

Change-Id: Idaced5c6867abe3ed9afa984c885023676b3a141

9 years agoMerge "Add extras required for compilation" into ub-launcher3-almonte
Winson Chung [Fri, 19 Jun 2015 23:00:33 +0000 (23:00 +0000)]
Merge "Add extras required for compilation" into ub-launcher3-almonte

9 years agoUsing material style overscroll effect for workspace and folders
Sunny Goyal [Wed, 27 May 2015 17:05:28 +0000 (10:05 -0700)]
Using material style overscroll effect for workspace and folders

Bug: 21335369
Change-Id: I53cc6edfa87334b9326f1dedd90c3e2222beade5

9 years agoAdd extras required for compilation
Adam Cohen [Fri, 19 Jun 2015 19:09:35 +0000 (12:09 -0700)]
Add extras required for compilation

-> Patching back from a future branch

Change-Id: I5127a82560e39bf391fe083d0eb8932cf2473562

9 years agoMerge "Cancelling launcher reload on mcc change" into ub-launcher3-burnaby
Sunny Goyal [Thu, 18 Jun 2015 22:09:39 +0000 (22:09 +0000)]
Merge "Cancelling launcher reload on mcc change" into ub-launcher3-burnaby

9 years agoMerge "Revert resource name to what platform ui automator test defines. b/21923650...
Hyunyoung Song [Thu, 18 Jun 2015 22:07:08 +0000 (22:07 +0000)]
Merge "Revert resource name to what platform ui automator test defines. b/21923650" into ub-launcher3-burnaby

9 years agoRevert resource name to what platform ui automator test defines.
Hyunyoung Song [Thu, 18 Jun 2015 22:05:56 +0000 (15:05 -0700)]
Revert resource name to what platform ui automator test defines.
b/21923650

Change-Id: I26a9405ac0567f856a43d83886df4ece938c11a7

9 years agoresolved conflicts for merge of 78564d4e to ub-launcher3-burnaby
Winson Chung [Thu, 18 Jun 2015 21:26:10 +0000 (14:26 -0700)]
resolved conflicts for merge of 78564d4e to ub-launcher3-burnaby

Change-Id: I9e302b223dff1f238d720026e20b64315b61b293

9 years agoMerge "Moving predicted apps callbacks to use ComponentKey." into ub-launcher3-burnaby
Winson Chung [Thu, 18 Jun 2015 21:10:41 +0000 (21:10 +0000)]
Merge "Moving predicted apps callbacks to use ComponentKey." into ub-launcher3-burnaby

9 years agoUpdating ComponentKey for compatibility with build.
Winson Chung [Thu, 18 Jun 2015 21:01:55 +0000 (14:01 -0700)]
Updating ComponentKey for compatibility with build.

Change-Id: I293177c0eff8c162c2d21bfc2aebf83926c62690

9 years agoCancelling launcher reload on mcc change
Sunny Goyal [Thu, 18 Jun 2015 20:56:59 +0000 (13:56 -0700)]
Cancelling launcher reload on mcc change

Bug: 21022833
Change-Id: Iccd477e7b1638d162e1a500cdb7a52b8d359c657

9 years agoConverting folder name to string before applying it to folder info
Sunny Goyal [Thu, 18 Jun 2015 19:48:51 +0000 (12:48 -0700)]
Converting folder name to string before applying it to folder info

> getText() returns Spannable which can contain text styling

Change-Id: Iacdf9da47b54b5cd290a355152383d75bf3e6836

9 years agoMoving predicted apps callbacks to use ComponentKey.
Winson Chung [Thu, 18 Jun 2015 18:38:42 +0000 (11:38 -0700)]
Moving predicted apps callbacks to use ComponentKey.

Bug: 21270185

Change-Id: If2d9dd77235e7a96de96a1a5441a589ef8a72a7f

9 years agoMerge "Remove DEBUG flag inside WidgetsListAdapter" into ub-launcher3-burnaby
Hyunyoung Song [Thu, 18 Jun 2015 18:33:15 +0000 (18:33 +0000)]
Merge "Remove DEBUG flag inside WidgetsListAdapter" into ub-launcher3-burnaby

9 years agoRemove DEBUG flag inside WidgetsListAdapter
Hyunyoung Song [Thu, 18 Jun 2015 06:08:05 +0000 (23:08 -0700)]
Remove DEBUG flag inside WidgetsListAdapter

Change-Id: I7e5b3162f2b3768caff7ff79fd75567a793a1f45

9 years agoMerge "Widgets model should respect AppFilter." into ub-launcher3-burnaby
Hyunyoung Song [Thu, 18 Jun 2015 04:29:52 +0000 (04:29 +0000)]
Merge "Widgets model should respect AppFilter." into ub-launcher3-burnaby

9 years agoWidgets model should respect AppFilter.
Hyunyoung Song [Thu, 18 Jun 2015 04:12:44 +0000 (21:12 -0700)]
Widgets model should respect AppFilter.

> This pattern is already used in AllAppsList
> mBgWidgetsModel variable cleanup inside LauncherModel.

b/21739736

Change-Id: I03a05064ce3c3e5effb09055af9f4d4de2811c95

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Thu, 18 Jun 2015 03:18:23 +0000 (20:18 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Deleting empty folders based on DB state" into ub-launcher3-burnaby
Sunny Goyal [Thu, 18 Jun 2015 03:06:30 +0000 (03:06 +0000)]
Merge "Deleting empty folders based on DB state" into ub-launcher3-burnaby

9 years agoRemoving obsolete strings
Sunny Goyal [Thu, 18 Jun 2015 01:24:52 +0000 (18:24 -0700)]
Removing obsolete strings

Change-Id: I447d5fe819fbec64c4e873ed40dabd4f76bebb4a

9 years agoAdd null-check for workspace/hotseat.
Jun Mukai [Wed, 17 Jun 2015 17:58:59 +0000 (10:58 -0700)]
Add null-check for workspace/hotseat.

I assumed that they are non-null, but reportedly it was wrong.
This method can be invoked before the views are fully initialized.
Also hotseat can be null as far as I see setupViews(), therefore
null-check and 'importance stored' flag check should be done
separately.

Bug: 21779078
Change-Id: I3f17226f887c38adf2b1fb7ee2a016e00ffc0eb4

9 years agoRevert "Removing onInitialize method and creating searchManager in getView"
Sunny Goyal [Wed, 17 Jun 2015 16:09:07 +0000 (16:09 +0000)]
Revert "Removing onInitialize method and creating searchManager in getView"

This reverts commit 6530017bb88179aeb1e3f131738da8f0d7592f36.

Change-Id: I8ecfd21ec854cfe1774f16d2d50c7a0e45dd6865

9 years agoRemoving onInitialize method and creating searchManager in getView
Sunny Goyal [Wed, 17 Jun 2015 01:43:58 +0000 (18:43 -0700)]
Removing onInitialize method and creating searchManager in getView

Change-Id: I3e2620a7839dfd5e6ecb76f24b384eb50e820a94

9 years agoRenaming id to prevent collision.
Winson Chung [Wed, 17 Jun 2015 00:20:56 +0000 (17:20 -0700)]
Renaming id to prevent collision.

Bug: 21878123
Change-Id: If4313d217967310ede7ed3fe11bdbe49311e1a4f

9 years agoMaking UserHandleCompat constructor public
Sunny Goyal [Tue, 16 Jun 2015 23:57:02 +0000 (16:57 -0700)]
Making UserHandleCompat constructor public

Change-Id: Ied4c62964e608d543f0bcf3b232c0df7b57bdf5d

9 years agoMerge "Fixing nullpointer when creating new DB" into ub-launcher3-burnaby
Sunny Goyal [Tue, 16 Jun 2015 23:03:14 +0000 (23:03 +0000)]
Merge "Fixing nullpointer when creating new DB" into ub-launcher3-burnaby

9 years agoMaking resultHandler protected to make it accessible from a subClass
Sunny Goyal [Tue, 16 Jun 2015 22:45:49 +0000 (15:45 -0700)]
Making resultHandler protected to make it accessible from a subClass

Change-Id: Id11118b9f8b9782c44847ac82a03ea36bcb43963

9 years agoFixing nullpointer when creating new DB
Sunny Goyal [Tue, 16 Jun 2015 22:10:36 +0000 (15:10 -0700)]
Fixing nullpointer when creating new DB

LauncherProvider is not ready until the DBHelper is created
Change-Id: Iabd61005892f15fd4a31d882100d87df2b2a7b85

9 years agoUsing component key for app search results
Sunny Goyal [Tue, 16 Jun 2015 18:36:19 +0000 (11:36 -0700)]
Using component key for app search results

Change-Id: Idc610cde340331892a5fabfa8bf952d136675f81

9 years agoMerge "Refactored section names to only draw when there is space." into ub-launcher3...
Winson Chung [Tue, 16 Jun 2015 18:24:23 +0000 (18:24 +0000)]
Merge "Refactored section names to only draw when there is space." into ub-launcher3-burnaby

9 years agoMerge "Fix last bit of WidgetTray jank issue b/21133230" into ub-launcher3-burnaby
Hyunyoung Song [Tue, 16 Jun 2015 18:08:13 +0000 (18:08 +0000)]
Merge "Fix last bit of WidgetTray jank issue b/21133230" into ub-launcher3-burnaby

9 years agoFix last bit of WidgetTray jank issue
Hyunyoung Song [Tue, 16 Jun 2015 17:45:24 +0000 (10:45 -0700)]
Fix last bit of WidgetTray jank issue
b/21133230

Change-Id: Ic198b8d21be1b0f3465cd4efc30a240e3ec4304a

9 years agoRemoving ContentObserver in launcher
Sunny Goyal [Sat, 13 Jun 2015 04:18:53 +0000 (21:18 -0700)]
Removing ContentObserver in launcher

> Using callback insted of using a content observer
> Setting the listener in LauncherAppState to prevent resource leak

Change-Id: Id23a4d5c8812e86178997e536226e09ec3740f84

9 years agoRefactored section names to only draw when there is space.
Winson Chung [Fri, 12 Jun 2015 21:18:55 +0000 (14:18 -0700)]
Refactored section names to only draw when there is space.

- This CL removes all space for section names in both phones
  and tablets.  And when there are no section names, the layout
  will automatically fully merge the sections.

Bug: 20222023
Change-Id: Ic7c751d86f095e5cbd690bfd4f94bb5b00ff8ae4

9 years agoMerge "Refactoring all apps search to support external search bar." into ub-launcher3...
Winson Chung [Mon, 15 Jun 2015 22:43:49 +0000 (22:43 +0000)]
Merge "Refactoring all apps search to support external search bar." into ub-launcher3-burnaby

9 years agoRefactoring all apps search to support external search bar.
Winson Chung [Fri, 5 Jun 2015 00:18:17 +0000 (17:18 -0700)]
Refactoring all apps search to support external search bar.

- Adding support for an external search bar that can be used
  to search a container view.  This adds a new interface
  AllAppsSearchController which manages the external search
  bar.  Each controller will have its own search implementation
  which means that we no longer need a common AppSearchManager
  interface.
- Removing elevation controller as we no longer have a builtin
  search bar in all apps
- Refactoring container view insets so that they behave
  the same in all containers.
- Refactoring apps view to ensure that we only update the number
  of columns with the available width
- Cleaning up LauncherCallbacks interface

Bug: 20127840
Bug: 21494973

Change-Id: I710b8e18196961d77d8a29f0c345531d480936fe

9 years agoMerge "Work profile badge alignment b/21336417" into ub-launcher3-burnaby
Hyunyoung Song [Mon, 15 Jun 2015 20:03:53 +0000 (20:03 +0000)]
Merge "Work profile badge alignment b/21336417" into ub-launcher3-burnaby

9 years agoWork profile badge alignment
Hyunyoung Song [Mon, 15 Jun 2015 19:26:54 +0000 (12:26 -0700)]
Work profile badge alignment
b/21336417

Change-Id: Icd54320fa0d0976cac0ae66d180cc2c99ddd0c1c

9 years agoMerge "Remove inifinite recursion from PagedView" into ub-launcher3-burnaby
Adam Cohen [Mon, 15 Jun 2015 18:21:20 +0000 (18:21 +0000)]
Merge "Remove inifinite recursion from PagedView" into ub-launcher3-burnaby

9 years agoRemove inifinite recursion from PagedView
Adam Cohen [Mon, 15 Jun 2015 18:16:18 +0000 (11:16 -0700)]
Remove inifinite recursion from PagedView

-> thanks adamp@

Change-Id: I36836357f5f194ac69530475b124595174c8b636

9 years agoRead rotation setting correctly from the wallpaper picker.
Rahul Chaturvedi [Mon, 15 Jun 2015 18:09:42 +0000 (14:09 -0400)]
Read rotation setting correctly from the wallpaper picker.

If reading the rotation setting without the multi-process flag, the
WallpaperPickerActivity usually picks up a cached value. Specifying the
multi-process flag during the read fixes this and the wallpaper picker
always has the correct rotation setting.

Change-Id: Ic3639f8cd694674e92c8940b753c6bc30486076d

9 years agoMerge "Fixing regression in fast scroller animation." into ub-launcher3-burnaby
Winson Chung [Sat, 13 Jun 2015 01:14:33 +0000 (01:14 +0000)]
Merge "Fixing regression in fast scroller animation." into ub-launcher3-burnaby

9 years agoFixing regression in fast scroller animation.
Winson Chung [Sat, 13 Jun 2015 01:02:52 +0000 (18:02 -0700)]
Fixing regression in fast scroller animation.

- Fast scroller was not fading out since we were missing the getter
  for the fast scroller alpha (so the initial alpha to animate from
  was wrong).

Change-Id: I2fd13eee3deb084ba37cf4a849e2378f23758391

9 years agoMerge "Fixing issue with click shadow not being drawn correctly." into ub-launcher3...
Winson Chung [Fri, 12 Jun 2015 20:00:46 +0000 (20:00 +0000)]
Merge "Fixing issue with click shadow not being drawn correctly." into ub-launcher3-burnaby

9 years agoFixing issue with click shadow not being drawn correctly.
Winson Chung [Fri, 12 Jun 2015 19:54:31 +0000 (12:54 -0700)]
Fixing issue with click shadow not being drawn correctly.

- It was due to the view parent (prediction bar) which has
  its own translation.

9 years agoDeleting empty folders based on DB state
Sunny Goyal [Wed, 10 Jun 2015 23:00:42 +0000 (16:00 -0700)]
Deleting empty folders based on DB state

> Previously folders were getting deleted based on in-memory
loader state. If for some reason, an item failed to load, we would
delete the folder from DB as well.

Bug: 21354058
Change-Id: I5318ee8a99afa9cafd93ed2b9ef0e155f502a41b

9 years agoMerge "Using content provider to update launcher settings" into ub-launcher3-burnaby
Sunny Goyal [Fri, 12 Jun 2015 19:36:21 +0000 (19:36 +0000)]
Merge "Using content provider to update launcher settings" into ub-launcher3-burnaby

9 years agoMerge "Fixing proguard stripping animation method." into ub-launcher3-burnaby
Winson Chung [Fri, 12 Jun 2015 19:34:10 +0000 (19:34 +0000)]
Merge "Fixing proguard stripping animation method." into ub-launcher3-burnaby

9 years agoMerge "Removing developer options check for app info target" into ub-launcher3-burnaby
Sunny Goyal [Fri, 12 Jun 2015 19:28:34 +0000 (19:28 +0000)]
Merge "Removing developer options check for app info target" into ub-launcher3-burnaby

9 years agoRemoving developer options check for app info target
Sunny Goyal [Fri, 12 Jun 2015 19:25:45 +0000 (12:25 -0700)]
Removing developer options check for app info target

Bug: 21626561
Change-Id: Ic65155ca5b1e5268ccdf2b20295a5067d5d3fa5d