OSDN Git Service

android-x86/packages-apps-Launcher3.git
8 years agoam 37860923: Merge "Added launcher callback to specify search bar height." into ub...
Tony Wickham [Fri, 9 Oct 2015 01:40:31 +0000 (01:40 +0000)]
am 37860923: Merge "Added launcher callback to specify search bar height." into ub-launcher3-burnaby

* commit '37860923619b1e467975a74764dff03ab657bdc7':
  Added launcher callback to specify search bar height.

8 years agoMerge "Added launcher callback to specify search bar height." into ub-launcher3-burnaby
Tony Wickham [Fri, 9 Oct 2015 01:37:39 +0000 (01:37 +0000)]
Merge "Added launcher callback to specify search bar height." into ub-launcher3-burnaby

8 years agoam d6b4037b: Grid adjustments, specifically for Ryu.
Tony Wickham [Fri, 9 Oct 2015 00:38:29 +0000 (00:38 +0000)]
am d6b4037b: Grid adjustments, specifically for Ryu.

* commit 'd6b4037b093445fefa7d036da339dd549fae7a9b':
  Grid adjustments, specifically for Ryu.

8 years agoAdded launcher callback to specify search bar height.
Tony Wickham [Wed, 23 Sep 2015 21:55:17 +0000 (14:55 -0700)]
Added launcher callback to specify search bar height.

The search bar can now be be normal or tall. When it is set to tall,
the hotseat and page indicators move down so that the workspace isn't
compressed quite as much.

Change-Id: Id92a946eab3a93524999f92efd847a501a95f002

8 years agoVerify that the widget id is valid, before binding the widget
Sunny Goyal [Fri, 25 Sep 2015 19:55:01 +0000 (12:55 -0700)]
Verify that the widget id is valid, before binding the widget

Bug: 23820213
Bug: 24054205
Bug: 24582322
Change-Id: I25a09b0a2a706812a7d82729b5dc554ffba84a2a

8 years agoMerge "Null check in PackageInstallerCompat" into ub-launcher3-burnaby-polish
Sunny Goyal [Thu, 8 Oct 2015 20:59:19 +0000 (20:59 +0000)]
Merge "Null check in PackageInstallerCompat" into ub-launcher3-burnaby-polish

8 years agoMerge "Update the widget spans after the provider changes" into ub-launcher3-burnaby...
Sunny Goyal [Thu, 8 Oct 2015 20:57:51 +0000 (20:57 +0000)]
Merge "Update the widget spans after the provider changes" into ub-launcher3-burnaby-polish

8 years agoNull check in PackageInstallerCompat
Sunny Goyal [Thu, 8 Oct 2015 20:56:37 +0000 (13:56 -0700)]
Null check in PackageInstallerCompat

Bug: 24582224
Change-Id: I2cd4ca12d48b3316a8a519092118d9e2970d944d

8 years agoGrid adjustments, specifically for Ryu.
Tony Wickham [Thu, 24 Sep 2015 01:37:57 +0000 (18:37 -0700)]
Grid adjustments, specifically for Ryu.

> Less than 14% of the screen is used for left/right workspace padding.
  (To be clear, this means 7% for the left and 7% for the right.)
> Hotseat icons are the same size as workspace icons.
> Far left and right hotseat edges line up with workspace edges.
> All Apps button is scaled down 8dp.

Bug: 24003478

Change-Id: Idb057ab0f6ba29e7fd93feac7573ca2e07c7e839

8 years agoUsing 23 instead of Build.Versoin.M until the final SDK is available.
Sunny Goyal [Thu, 8 Oct 2015 14:41:15 +0000 (07:41 -0700)]
Using 23 instead of Build.Versoin.M until the final SDK is available.

Change-Id: I9f8f6fe049afcd0ceb0797ddc803a2e77bab0437

8 years agoMoving a few testing classes to a separate package
Sunny Goyal [Fri, 26 Jun 2015 02:35:49 +0000 (19:35 -0700)]
Moving a few testing classes to a separate package

Change-Id: Ied1c063de3e938695493e4937f554686e0719dad

8 years agoMerge "Fixing overscroll effect when the navigation bar is opaque" into ub-launcher3...
Sunny Goyal [Wed, 7 Oct 2015 17:22:44 +0000 (17:22 +0000)]
Merge "Fixing overscroll effect when the navigation bar is opaque" into ub-launcher3-burnaby-polish

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 7 Oct 2015 14:19:53 +0000 (07:19 -0700)]
Import translations. DO NOT MERGE

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

8 years agoVerifying that the table was successfully created during initialzation
Sunny Goyal [Wed, 23 Sep 2015 18:40:53 +0000 (11:40 -0700)]
Verifying that the table was successfully created during initialzation

Table creation sometimes fails scilently, which leads to a crash loop.
This way, we will try to create a table every time after crash, so
the device would eventually be able to recover.

Bug: 24263894
Change-Id: Ic0169d33f4092042423afa24320182786c544d47

8 years agoam 53d3be63: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Tue, 6 Oct 2015 21:15:30 +0000 (21:15 +0000)]
am 53d3be63: (-s ours) Import translations. DO NOT MERGE

* commit '53d3be63a5ab056280279bcb13089faae0e7796f':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Tue, 6 Oct 2015 21:06:53 +0000 (14:06 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 22482938
Change-Id: I758693c47b7d200da62bc1e9df4d0faaf9b147f2

8 years agoam 3a3517fb: Add widget size options for QSB.
Tony Wickham [Tue, 6 Oct 2015 20:53:46 +0000 (20:53 +0000)]
am 3a3517fb: Add widget size options for QSB.

* commit '3a3517fb6c17120c6d11e5c95a0de4e81205d0ae':
  Add widget size options for QSB.

8 years agoAdd widget size options for QSB.
Tony Wickham [Tue, 6 Oct 2015 18:27:04 +0000 (11:27 -0700)]
Add widget size options for QSB.

Bug: 24704753
Change-Id: I3e16c1f67a67b08b3843f7f38312447bdfa6a91e

8 years agoUpdate the widget spans after the provider changes
Sunny Goyal [Mon, 5 Oct 2015 17:36:54 +0000 (10:36 -0700)]
Update the widget spans after the provider changes

Bug: 24003213
Change-Id: I51ad5919a808ef10385d62a48a94589eefcb06bc

8 years agoMerge "Jailing the saved instance state of all the dynamically generated views" into...
Sunny Goyal [Mon, 5 Oct 2015 18:26:19 +0000 (18:26 +0000)]
Merge "Jailing the saved instance state of all the dynamically generated views" into ub-launcher3-burnaby-polish

8 years agoJailing the saved instance state of all the dynamically generated views
Sunny Goyal [Fri, 28 Aug 2015 00:45:46 +0000 (17:45 -0700)]
Jailing the saved instance state of all the dynamically generated views

Using itemId instead of generating a new id for each item. This is because
if the process gets killed, View.generateId will get reset but we will still
receive the generated item id map in onRestoreInstance. This will cause
conflicts with newly generated item ids.

We wrap all the generated homescreen views inside a single sparse array. This
ensures that we do not cause any conflict with dynamically generated views in
other parts of the UI.

Bug: 16840760
Change-Id: I6fe69c2e1dd463402f51222715fae31b9d4dd240

8 years agoMerge "Fixing regression when removing last item from folder." into ub-launcher3...
Winson Chung [Mon, 5 Oct 2015 17:58:42 +0000 (17:58 +0000)]
Merge "Fixing regression when removing last item from folder." into ub-launcher3-burnaby-polish

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 5 Oct 2015 14:19:24 +0000 (07:19 -0700)]
Import translations. DO NOT MERGE

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

8 years agoFixing regression when removing last item from folder.
Winson [Sat, 3 Oct 2015 00:14:14 +0000 (17:14 -0700)]
Fixing regression when removing last item from folder.

- The regression caused the folder and all its contents to be removed
  before the new item could be moved to the place of the folder.  In
  addition, in this case, the LauncherModel would get out of sync with
  the db because we move the last item to the workspace, but don’t
  remove it from the contents, so deleting the folder would remove the
  item’s mapping in sBgItemIdMap.

Bug: 24620815
Change-Id: I17137f28b0f1617a890488c7a9c5b8a9e8df0e91

8 years agoam c84e6e19: Disabling widget debug
Sunny Goyal [Fri, 2 Oct 2015 20:23:05 +0000 (20:23 +0000)]
am c84e6e19: Disabling widget debug

* commit 'c84e6e19363c590bbfbac17e9ab7cc61a04d552a':
  Disabling widget debug

8 years agoDisabling widget debug
Sunny Goyal [Fri, 2 Oct 2015 19:48:37 +0000 (12:48 -0700)]
Disabling widget debug

Change-Id: I876a904358ce455c97a7a25a34c66af5e9316469

8 years agoFixing regression in removing widgets via accessibility.
Winson [Fri, 2 Oct 2015 18:25:46 +0000 (11:25 -0700)]
Fixing regression in removing widgets via accessibility.

- Regression was introduced in ag/765323, but not visible in normal
  drag and drop because the view is already removed from the parent.
  However, when accessibility is enabled, it was only removing it from
  the db, but not from the parents.

Change-Id: I37483d0cd6306d270441b11e6f05247d58b88521

8 years agoMerge "Do not reinflate/rebind widgets if we are going the rebind the full workspace...
Sunny Goyal [Fri, 2 Oct 2015 17:40:35 +0000 (17:40 +0000)]
Merge "Do not reinflate/rebind widgets if we are going the rebind the full workspace anyway." into ub-launcher3-burnaby-polish

8 years agoam 058c21db: Ensure accessibility delegate is set on all apps icons.
Winson [Fri, 2 Oct 2015 17:21:59 +0000 (17:21 +0000)]
am 058c21db: Ensure accessibility delegate is set on all apps icons.

* commit '058c21db49f4f058b7d84c8de55d3c649918ab70':
  Ensure accessibility delegate is set on all apps icons.

8 years agoEnsure accessibility delegate is set on all apps icons.
Winson [Fri, 2 Oct 2015 17:14:14 +0000 (10:14 -0700)]
Ensure accessibility delegate is set on all apps icons.

Bug: 24605237
Change-Id: I801e2aca1732c021b06d996d907f368f97277cf9

8 years agoMake sure that the dimensions are not negative when drawing pending widget
Sunny Goyal [Fri, 2 Oct 2015 02:35:03 +0000 (19:35 -0700)]
Make sure that the dimensions are not negative when drawing pending widget

Bug: 24585203
Change-Id: I3d328d0e1fe81d2704bb5b9d4b340a367bfb9249

8 years agoDo not reinflate/rebind widgets if we are going the rebind the full
Sunny Goyal [Fri, 2 Oct 2015 01:50:48 +0000 (18:50 -0700)]
Do not reinflate/rebind widgets if we are going the rebind the full
workspace anyway.

Bug: 23820213
Bug: 24582781
Change-Id: I2cb4927916fed64a69100beb41ee14653ea1d70a

8 years agoMerge "Replace Long.compare() with implementation." into ub-launcher3-burnaby-polish
Winson Chung [Thu, 1 Oct 2015 22:53:15 +0000 (22:53 +0000)]
Merge "Replace Long.compare() with implementation." into ub-launcher3-burnaby-polish

8 years agoReplace Long.compare() with implementation.
Winson [Thu, 1 Oct 2015 22:34:08 +0000 (15:34 -0700)]
Replace Long.compare() with implementation.

- Long.compare() was added in API level 19.

Change-Id: Ic7020c941403c10daa6feacdc737c6a82676ada0

8 years agoMerge "Fixing regression in search bar animation." into ub-launcher3-burnaby-polish
Winson Chung [Thu, 1 Oct 2015 19:33:58 +0000 (19:33 +0000)]
Merge "Fixing regression in search bar animation." into ub-launcher3-burnaby-polish

8 years agoFixing regression in search bar animation.
Winson [Thu, 1 Oct 2015 19:19:23 +0000 (12:19 -0700)]
Fixing regression in search bar animation.

- The other case should fall through to the animation even
  when there is no search bar overlay.

Change-Id: Id91bea78b56934cc1c3379777068adc100f11dba

8 years agoMerge "Adding progress information for preload icons in content description" into...
Sunny Goyal [Thu, 1 Oct 2015 18:36:29 +0000 (18:36 +0000)]
Merge "Adding progress information for preload icons in content description" into ub-launcher3-burnaby-polish

8 years agoMerge "Fixing 'Item removed' announced twice when using accessible DnD" into ub-launc...
Sunny Goyal [Thu, 1 Oct 2015 18:25:28 +0000 (18:25 +0000)]
Merge "Fixing 'Item removed' announced twice when using accessible DnD" into ub-launcher3-burnaby-polish

8 years agoAdding progress information for preload icons in content description
Sunny Goyal [Thu, 1 Oct 2015 18:24:23 +0000 (11:24 -0700)]
Adding progress information for preload icons in content description

Bug: 24086091
Change-Id: Id8fb024973f4affd998627d30077e2764b07edc4

8 years agoMerge "Don’t create dummy app info." into ub-launcher3-burnaby-polish
Winson Chung [Wed, 30 Sep 2015 23:00:57 +0000 (23:00 +0000)]
Merge "Don’t create dummy app info." into ub-launcher3-burnaby-polish

8 years agoDon’t create dummy app info.
Winson [Wed, 30 Sep 2015 22:33:00 +0000 (15:33 -0700)]
Don’t create dummy app info.

Bug: 24539514
Change-Id: I5d14a4d9993e072451f8e7ed9a4cea219ae5d246

8 years agoam 91dd0872: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 30 Sep 2015 20:04:22 +0000 (20:04 +0000)]
am 91dd0872: (-s ours) Import translations. DO NOT MERGE

* commit '91dd087271807980638a490fd8072d28a39ada8d':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 30 Sep 2015 19:08:36 +0000 (14:08 -0500)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 22482938
Change-Id: Id607b75f77fe89ee801336c8bc3e7d7db3ad59fa

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 30 Sep 2015 14:12:17 +0000 (07:12 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Fixing other missing cases of truncated sorts." into ub-launcher3-burnaby...
Winson Chung [Wed, 30 Sep 2015 00:06:55 +0000 (00:06 +0000)]
Merge "Fixing other missing cases of truncated sorts." into ub-launcher3-burnaby-polish

8 years agoFixing other missing cases of truncated sorts.
Winson [Tue, 29 Sep 2015 23:58:02 +0000 (16:58 -0700)]
Fixing other missing cases of truncated sorts.

Bug: 24505761
Change-Id: I9b9358e8b134f0c4aac32ac536d9c8a1f0629957

8 years agoFlipped widths of Nexus 4 and Nexus 5 in InvariantDeviceProfile.
Tony Wickham [Tue, 29 Sep 2015 22:15:53 +0000 (15:15 -0700)]
Flipped widths of Nexus 4 and Nexus 5 in InvariantDeviceProfile.

Without this change, Nexus 4 uses the Nexus 5 device profile and
vice versa. But because the profiles have exactly the same values,
it didn't matter that they were flopped.

Change-Id: I3fd788e040feb8de5bb5f5e336acbd4ac995dc0f

8 years agoHighlighting sectioned apps on fast-scroll.
Winson [Fri, 21 Aug 2015 18:16:27 +0000 (11:16 -0700)]
Highlighting sectioned apps on fast-scroll.

- This CL fixes an old assumption we had about the height
  of rows in AllApps, and ensures that we account for the
  difference in height between the predictive icons and the
  normal icons.
- In addition, we refactor FastBitmapDrawable to have multiple
  states, which it manages in drawing itself, including the
  press state and fast scroll focus states.  And we also refactor
  some of the fast scroll logic in the all apps recycler view
  out to its own class.

Change-Id: I1988159b2767df733bbbfc7dc601859cde6c9943

8 years agoam e1899e44: Merge "Adding size check when generating holographic outline" into ub...
Sunny Goyal [Mon, 28 Sep 2015 19:21:58 +0000 (19:21 +0000)]
am e1899e44: Merge "Adding size check when generating holographic outline" into ub-launcher3-burnaby

* commit 'e1899e44368f7602afc5b87a75102e7ff551982c':
  Adding size check when generating holographic outline

8 years agoMerge "Adding size check when generating holographic outline" into ub-launcher3-burnaby
Sunny Goyal [Mon, 28 Sep 2015 19:17:25 +0000 (19:17 +0000)]
Merge "Adding size check when generating holographic outline" into ub-launcher3-burnaby

8 years agoam de9590be: Adding null check when creating icon bitmap
Sunny Goyal [Mon, 28 Sep 2015 18:46:18 +0000 (18:46 +0000)]
am de9590be: Adding null check when creating icon bitmap

* commit 'de9590be4ca2779ae0f7f64a48ac8b90472484f8':
  Adding null check when creating icon bitmap

8 years agoAdding size check when generating holographic outline
Sunny Goyal [Mon, 28 Sep 2015 18:33:36 +0000 (11:33 -0700)]
Adding size check when generating holographic outline

Bug: 24426913
Change-Id: Ic7c9c767ea60ae4b25e064127105d94104233596

8 years agoAdding null check when creating icon bitmap
Sunny Goyal [Wed, 23 Sep 2015 19:56:51 +0000 (12:56 -0700)]
Adding null check when creating icon bitmap

Bug: 24299267
Change-Id: I596e4a8dbd4e45cffff75e6cf7bbbf7ec45c8ec9

8 years agoFixing regression in L3 with search bar transition.
Winson [Fri, 25 Sep 2015 23:12:35 +0000 (16:12 -0700)]
Fixing regression in L3 with search bar transition.

Change-Id: Ia4155a653012c5d23df21167233fe766e5479347

8 years agoUse Long.compare() instead of truncating values for comparison.
Winson [Fri, 25 Sep 2015 23:01:24 +0000 (16:01 -0700)]
Use Long.compare() instead of truncating values for comparison.

Bug: 24116808

8 years agoMerge "Inform users when "Set wallpaper" fails." into ub-launcher3-burnaby-polish
Tony Wickham [Fri, 25 Sep 2015 21:22:44 +0000 (21:22 +0000)]
Merge "Inform users when "Set wallpaper" fails." into ub-launcher3-burnaby-polish

8 years agoInform users when "Set wallpaper" fails.
Tony Wickham [Fri, 25 Sep 2015 20:05:50 +0000 (13:05 -0700)]
Inform users when "Set wallpaper" fails.

Bug: 23716897
Change-Id: I06cd63d9ee869235c6a4c3140e574bf4c710454e

8 years agoCancelling the stateannouncer when entering button drop target
Sunny Goyal [Fri, 25 Sep 2015 19:17:08 +0000 (12:17 -0700)]
Cancelling the stateannouncer when entering button drop target

Change-Id: Ia10298e1d4862fc5f46894fa6d934207d6e9c117

8 years agoFixing 'Item removed' announced twice when using accessible DnD
Sunny Goyal [Fri, 25 Sep 2015 19:06:13 +0000 (12:06 -0700)]
Fixing 'Item removed' announced twice when using accessible DnD

Change-Id: I2d8781155619d22a41c3f363be7909d411c62fa9

8 years agoAccessibility fixes
Sunny Goyal [Thu, 24 Sep 2015 18:23:31 +0000 (11:23 -0700)]
Accessibility fixes

1) Use a different content description for temporary new page
2) Use different accessibility description for add widget toast
3) Announce when an item is deleted
4) Announce when hovering over a drop target
5) Announce state during drag-n-drop and widget resize (similar to seekbar)

Bug: 2357332124057944
Change-Id: Icabb317625e70c78e11c0b4f99b9339172d93594

8 years agoFixing talk-back folder icon removal regression.
Winson [Thu, 24 Sep 2015 16:56:11 +0000 (09:56 -0700)]
Fixing talk-back folder icon removal regression.

Change-Id: I0b7fff645828d5198500973f1c9ea74f406a1a43

8 years agoAdding small padding between icons in AllApps.
Winson [Wed, 23 Sep 2015 23:11:35 +0000 (16:11 -0700)]
Adding small padding between icons in AllApps.

Bug: 23948851
Change-Id: If7daf84be0c5b314c5afd896d2601028ee243c80

8 years agoresolved conflicts for 8ac727b2 to ub-launcher3-burnaby-polish
Sunny Goyal [Wed, 23 Sep 2015 23:12:02 +0000 (16:12 -0700)]
resolved conflicts for 8ac727b2 to ub-launcher3-burnaby-polish

Change-Id: I34e679bae7faae3c7ca725263fe6cc7c5611e63a

8 years agoMerge "Fixing workspace state issue with option menu." into ub-launcher3-burnaby...
Winson Chung [Wed, 23 Sep 2015 22:51:27 +0000 (22:51 +0000)]
Merge "Fixing workspace state issue with option menu." into ub-launcher3-burnaby-polish

8 years agoUsing custom threadpool executor instead of the one defined in AsyncTask
Sunny Goyal [Wed, 23 Sep 2015 22:38:09 +0000 (15:38 -0700)]
Using custom threadpool executor instead of the one defined in AsyncTask

Change-Id: I8fe95d932c5de14c74f0576bfc3d1f641d12b448

8 years agoam ce0a8946: Merge "Preventing nullpointer exception when cloning rawList" into ub...
Sunny Goyal [Wed, 23 Sep 2015 18:40:52 +0000 (18:40 +0000)]
am ce0a8946: Merge "Preventing nullpointer exception when cloning rawList" into ub-launcher3-burnaby

* commit 'ce0a89461a7e72917c052844f8e9339d2047b1d0':
  Preventing nullpointer exception when cloning rawList

8 years agoMerge "Preventing nullpointer exception when cloning rawList" into ub-launcher3-burnaby
Sunny Goyal [Wed, 23 Sep 2015 18:34:56 +0000 (18:34 +0000)]
Merge "Preventing nullpointer exception when cloning rawList" into ub-launcher3-burnaby

8 years agoam 7ca99110: Using an executor with increased queue size for loading previews
Sunny Goyal [Wed, 23 Sep 2015 18:03:02 +0000 (18:03 +0000)]
am 7ca99110: Using an executor with increased queue size for loading previews

* commit '7ca991104e3ac2e99fcde5599416f82b4d66aad1':
  Using an executor with increased queue size for loading previews

8 years agoUsing an executor with increased queue size for loading previews
Sunny Goyal [Wed, 23 Sep 2015 17:16:38 +0000 (10:16 -0700)]
Using an executor with increased queue size for loading previews

An async task can be in the queue even if it has been cancelled. It
is removed only after it gets executed once. So the executor can get
blocked if there are some tasks which are running, and we keep posting
and cancelling preview load tasks.

Bug: 24306650
Change-Id: I836c8d53258542cc6f31952dff84323cc057437c

8 years agoMerge "Show a spinner while wallpaper is being cropped." into ub-launcher3-burnaby...
Tony Wickham [Wed, 23 Sep 2015 00:39:36 +0000 (00:39 +0000)]
Merge "Show a spinner while wallpaper is being cropped." into ub-launcher3-burnaby-polish

8 years agoFixing workspace state issue with option menu.
Winson [Wed, 23 Sep 2015 00:31:56 +0000 (17:31 -0700)]
Fixing workspace state issue with option menu.

- Hitting a ctrl key combo will actually call onPrepareOptionsMenu(), which
  will change the state of the workspace incorrectly.  Instead, listen for
  the menu button, and only allow the user to enter overview mode if they
  are currently not dragging or in an overlay state (like all apps or
  widgets).
- Also making the overview buttons focusable so that they are focused when
  you go into overview mode.

Bug: 22483367
Change-Id: Ie6e9febd8a5a4e7ad25d745639d42d1c7b9801b4

8 years agoShow a spinner while wallpaper is being cropped.
Tony Wickham [Sat, 19 Sep 2015 01:22:14 +0000 (18:22 -0700)]
Show a spinner while wallpaper is being cropped.

Bug: 23599411

Change-Id: I6c5f75554fd59b7caa3a61f1b11b4a2a6aa21e7c

8 years agoAdjust cropped bitmap bounds to correctly fit in original bitmap bounds.
Tony Wickham [Tue, 22 Sep 2015 20:21:20 +0000 (13:21 -0700)]
Adjust cropped bitmap bounds to correctly fit in original bitmap bounds.

Bug: 22631531

Change-Id: Ia0c1bccf4b8af3a8b335b865974c5d08f9836689

8 years agoPreventing nullpointer exception when cloning rawList
Sunny Goyal [Tue, 22 Sep 2015 23:56:55 +0000 (16:56 -0700)]
Preventing nullpointer exception when cloning rawList

Bug: 24299525
Change-Id: I92018a3da7d75afc2c6997302f8e0492eb78e62f

8 years agoFixing overscroll effect when the navigation bar is opaque
Sunny Goyal [Tue, 23 Jun 2015 17:53:59 +0000 (10:53 -0700)]
Fixing overscroll effect when the navigation bar is opaque

The navigation bar is opaque on mobile devices in landscape mode.
Launcher should ignore the right insets and draw the edge effect appropriately.
Also draw the black bar under the navigation bar, just in case we assume it
to be opaque, but it was not actually opaque.

Bug: 18526657
Change-Id: I1d49dcb82b8a5ee25009bc738cd9b8c0c5c88263

8 years agoam b3fff9d9: Merge "Cleanup some incorrect / noisey calls to CustomContentCallbacks...
Adam Cohen [Mon, 21 Sep 2015 17:40:50 +0000 (17:40 +0000)]
am b3fff9d9: Merge "Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide" into ub-launcher3-burnaby

* commit 'b3fff9d98a3e3c886d4efa912d7ad6753dd7ec9c':
  Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide

8 years agoMerge "Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHid...
Adam Cohen [Mon, 21 Sep 2015 17:34:05 +0000 (17:34 +0000)]
Merge "Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide" into ub-launcher3-burnaby

8 years agoam 36bde9a9: Merge "Add fake CustomContent screen for testing Launcher interface...
Adam Cohen [Sat, 19 Sep 2015 00:35:57 +0000 (00:35 +0000)]
am 36bde9a9: Merge "Add fake CustomContent screen for testing Launcher interface" into ub-launcher3-burnaby

* commit '36bde9a9e50412329237081e595d732b7da93e0b':
  Add fake CustomContent screen for testing Launcher interface

8 years agoMerge "Add fake CustomContent screen for testing Launcher interface" into ub-launcher...
Adam Cohen [Sat, 19 Sep 2015 00:32:53 +0000 (00:32 +0000)]
Merge "Add fake CustomContent screen for testing Launcher interface" into ub-launcher3-burnaby

8 years agoCleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide
Adam Cohen [Fri, 18 Sep 2015 19:15:19 +0000 (12:15 -0700)]
Cleanup some incorrect / noisey calls to CustomContentCallbacks#onShow / onHide

-> In some instances, onResume would incorrectly call onShow
-> When pressing Home from CustomContent, we'd get a sequence of onHide,
   onShow, and then onHide due to some deferred actions in onNewIntent.
   Got rid of the onShow.

issue 17629011

Change-Id: I9b4f2ef682f5a7060e68210866fa05452076e428

8 years agoam 6ed058cb: Wallpaper preview parallax matches the actual wallpaper\'s.
Tony Wickham [Fri, 18 Sep 2015 20:41:14 +0000 (20:41 +0000)]
am 6ed058cb: Wallpaper preview parallax matches the actual wallpaper\'s.

* commit '6ed058cb6bfbb5756721e0d7f4a80a1c08ee665c':
  Wallpaper preview parallax matches the actual wallpaper's.

8 years agoWallpaper preview parallax matches the actual wallpaper's.
Tony Wickham [Thu, 10 Sep 2015 01:21:49 +0000 (18:21 -0700)]
Wallpaper preview parallax matches the actual wallpaper's.

Cherry picking the following changes from ub-launcher3-master:
Change-Id: I41c5bbbfdabfeb4e20d77e9b5804842a03211edf
Change-Id: I69afa3f8cc59c77e9c4c25e29e8db8c4beb87462
Change-Id: I82b7ba506d51ee4b3812af5fbdf95d3303b37aef
Change-Id: Id7c2b5483c5535d59be2f8a459ce7788e3c8318a

Bug: 23568800
Change-Id: I343169b9fdc5ceaab3d4b39044627d78b7267868
(cherry picked from commit 3e776a87dc5178ab7d2c31a8db06fe5657db4e4a)

8 years agoAdd fake CustomContent screen for testing Launcher interface
Adam Cohen [Fri, 18 Sep 2015 19:11:16 +0000 (12:11 -0700)]
Add fake CustomContent screen for testing Launcher interface

Change-Id: I5f2aee1768fe59ee3079d069ff0be21cdf9282ea

8 years agoMerge "Requiring key chord to delete icons and folders on the workspace" into ub...
Winson Chung [Fri, 18 Sep 2015 18:49:25 +0000 (18:49 +0000)]
Merge "Requiring key chord to delete icons and folders on the workspace" into ub-launcher3-burnaby-polish

8 years agoam 605156bd: Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.
Winson [Fri, 18 Sep 2015 17:23:11 +0000 (17:23 +0000)]
am 605156bd: Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.

* commit '605156bd87345beef31bf9164e85fbfc8a1cfc08':
  Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.

8 years agoFixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.
Winson [Fri, 18 Sep 2015 16:57:21 +0000 (09:57 -0700)]
Fixing crash on pre-api level 19 devices due to getAlpha() call on Drawable.

Bug: 24173665
Change-Id: Ia59481dc7fb52454760c688ba49c90b8507d7900

8 years agoam 31860581: Catching RemoteExceptions when calling packagemanager to get list of...
Sunny Goyal [Fri, 18 Sep 2015 17:05:41 +0000 (17:05 +0000)]
am 31860581: Catching RemoteExceptions when calling packagemanager to get list of shortcuts

* commit '31860581536b3fee0221456a2dcc5d6d6f2b7e15':
  Catching RemoteExceptions when calling packagemanager to get list of shortcuts

8 years agoCatching RemoteExceptions when calling packagemanager to get list of shortcuts
Sunny Goyal [Fri, 18 Sep 2015 15:38:57 +0000 (08:38 -0700)]
Catching RemoteExceptions when calling packagemanager to get list of shortcuts

Bug: 23796963
Change-Id: I5486c2916e981e7135edd5df360536a362bc2795

8 years agoam 0f196e69: Merge "Null check when getting list of widget receivers" into ub-launche...
Sunny Goyal [Thu, 17 Sep 2015 22:03:56 +0000 (22:03 +0000)]
am 0f196e69: Merge "Null check when getting list of widget receivers" into ub-launcher3-burnaby

* commit '0f196e6939ee9f23ea24d046e74fd1d1d3fc953f':
  Null check when getting list of widget receivers

8 years agoMerge "Null check when getting list of widget receivers" into ub-launcher3-burnaby
Sunny Goyal [Thu, 17 Sep 2015 21:52:13 +0000 (21:52 +0000)]
Merge "Null check when getting list of widget receivers" into ub-launcher3-burnaby

8 years agoam 79afe010: Throwing system api call exceptions in case of dogfood builds
Sunny Goyal [Thu, 17 Sep 2015 21:38:25 +0000 (21:38 +0000)]
am 79afe010: Throwing system api call exceptions in case of dogfood builds

* commit '79afe010d55af6b1753430a334bf6e24448e9375':
  Throwing system api call exceptions in case of dogfood builds

8 years agoNull check when getting list of widget receivers
Sunny Goyal [Thu, 17 Sep 2015 21:09:07 +0000 (14:09 -0700)]
Null check when getting list of widget receivers

Bug: 23897605
Change-Id: Ib23b394828b0e5ec50bf7452b2ec2c905f4a6fbc

8 years agoThrowing system api call exceptions in case of dogfood builds
Sunny Goyal [Thu, 17 Sep 2015 19:50:11 +0000 (12:50 -0700)]
Throwing system api call exceptions in case of dogfood builds

Change-Id: I28bad663712a22360ceed095ceb54ce71b1449d5

8 years agoonDropChild() always marks the cell as occupied.
Tony Wickham [Thu, 17 Sep 2015 18:08:27 +0000 (11:08 -0700)]
onDropChild() always marks the cell as occupied.

Bug: 24164487
Change-Id: I11ef638a56b638ee82c3cd748340995970fc7e32

8 years agoam 3dc7beea: Catching DeadObjectException and TransactionTooLarge
Sunny Goyal [Tue, 15 Sep 2015 21:19:40 +0000 (21:19 +0000)]
am 3dc7beea: Catching DeadObjectException and TransactionTooLarge

* commit '3dc7beea3c7f9a60070e767aa43f5877a467d3ed':
  Catching DeadObjectException and TransactionTooLarge

8 years agoCatching DeadObjectException and TransactionTooLarge
Sunny Goyal [Tue, 15 Sep 2015 18:32:58 +0000 (11:32 -0700)]
Catching DeadObjectException and TransactionTooLarge

Bug: 23796965
Bug: 23796963
Change-Id: I4c6ed217b9925b2e6014adc374b8b21f1ba559bc

8 years agoMerge "Tweaking print_db script to take grid size directly." into ub-launcher3-burnab...
Winson Chung [Mon, 14 Sep 2015 20:32:04 +0000 (20:32 +0000)]
Merge "Tweaking print_db script to take grid size directly." into ub-launcher3-burnaby-polish

8 years agoRequiring key chord to delete icons and folders on the workspace
Winson [Mon, 14 Sep 2015 19:01:13 +0000 (12:01 -0700)]
Requiring key chord to delete icons and folders on the workspace

- Also fixing case where the all apps button to search for more apps
  was not focusable

Bug: 20639227
Change-Id: Ie4d9092e654d3cafc0eb346b3bb744ec3e295e92

8 years agoTweaking print_db script to take grid size directly.
Winson [Mon, 14 Sep 2015 18:51:41 +0000 (11:51 -0700)]
Tweaking print_db script to take grid size directly.

Change-Id: Id274f6086a37adbbea4f86d01c55e38d6c616c00

8 years agoMerge "Wallpaper preview parallax matches the actual wallpaper's." into ub-launcher3...
Tony Wickham [Mon, 14 Sep 2015 18:39:56 +0000 (18:39 +0000)]
Merge "Wallpaper preview parallax matches the actual wallpaper's." into ub-launcher3-burnaby-polish