OSDN Git Service

android-x86/packages-apps-Trebuchet.git
9 years agoEnsure all apps button inintialized before performing all apps transition
Adam Cohen [Sun, 7 Sep 2014 15:48:55 +0000 (17:48 +0200)]
Ensure all apps button inintialized before performing all apps transition

-> Also removing text shadows in all apps and folders (bug 16955157)

Bug 17400227

Change-Id: I67d361a7a1cb548c9caca4214621607feaef963a

9 years agoSecond half of workaround for all apps crash in restricted profile
Adam Cohen [Sat, 6 Sep 2014 16:32:56 +0000 (18:32 +0200)]
Second half of workaround for all apps crash in restricted profile

Bug 17363836

Change-Id: If83cf3ef73ce2f992f69d42bad5d6f41cc3b9b9e

9 years agoWorkaround for all apps crash in restricted profile
Adam Cohen [Sat, 6 Sep 2014 16:16:32 +0000 (18:16 +0200)]
Workaround for all apps crash in restricted profile

Bug 17363836

Change-Id: I1c12e0300cfb1046bc7f2f3159d018ebf0a2f57d

9 years agoMerge "Fixing Intrinsic dimensions of FastBitmapDrawable" into ub-now-porkchop
Sunny Goyal [Fri, 5 Sep 2014 14:58:48 +0000 (14:58 +0000)]
Merge "Fixing Intrinsic dimensions of FastBitmapDrawable" into ub-now-porkchop

9 years agoMerge "Don't remove content URI shortcuts during restore" into ub-now-porkchop
Sunny Goyal [Fri, 5 Sep 2014 14:58:26 +0000 (14:58 +0000)]
Merge "Don't remove content URI shortcuts during restore" into ub-now-porkchop

9 years agoFixing Intrinsic dimensions of FastBitmapDrawable
Sunny Goyal [Fri, 5 Sep 2014 14:04:59 +0000 (07:04 -0700)]
Fixing Intrinsic dimensions of FastBitmapDrawable

> This was changed initially to allow overriding icon size in case
of PreloadIconDrawable. But the implementation of PreloadIconDrawable
has changed since then and this hack is no longer required.

issue: 15545872
Change-Id: I192056179837f05c5be9e24c3e1251cf7e2a7c8c

9 years agoFixing install shortcut receiver in launcher3
Sunny Goyal [Fri, 5 Sep 2014 11:40:13 +0000 (04:40 -0700)]
Fixing install shortcut receiver in launcher3

Change-Id: If22da17630be71fb22277b7a911aae57322b2ecc

9 years agoDon't remove content URI shortcuts during restore
Sunny Goyal [Fri, 5 Sep 2014 10:17:45 +0000 (03:17 -0700)]
Don't remove content URI shortcuts during restore

issue: 17373897
Change-Id: I2760f779d89be76cc1ace749b0c1893da80d07e1

9 years agoMerge "Handling label and icon from SessionInfo." into ub-now-porkchop
Sunny Goyal [Fri, 5 Sep 2014 07:42:31 +0000 (07:42 +0000)]
Merge "Handling label and icon from SessionInfo." into ub-now-porkchop

9 years agoMerge "Updating content of page description frequently." into ub-now-porkchop
Sunny Goyal [Thu, 4 Sep 2014 15:19:36 +0000 (15:19 +0000)]
Merge "Updating content of page description frequently." into ub-now-porkchop

9 years agoHandling label and icon from SessionInfo.
Sunny Goyal [Sat, 30 Aug 2014 00:20:55 +0000 (17:20 -0700)]
Handling label and icon from SessionInfo.

> The ShortcutInfo stores state as bit flags and not as ints
> Intents of auto-install shortcut are automatically updated
upon installation
> Icons/titles for active sessions are cached in IconCache

Change-Id: I2047849f67d4a8aaf2bc346b58110325bb4807d4

9 years agoMerge "Add ability for Partner customization apk to override certain DeviceProfile...
Adam Cohen [Thu, 4 Sep 2014 15:13:05 +0000 (15:13 +0000)]
Merge "Add ability for Partner customization apk to override certain DeviceProfile params" into ub-now-porkchop

9 years agoAdd ability for Partner customization apk to override certain DeviceProfile params
Adam Cohen [Fri, 29 Aug 2014 22:05:48 +0000 (15:05 -0700)]
Add ability for Partner customization apk to override certain DeviceProfile params

-> Workspace row / col counts
-> All apps row / col counts
-> Workspace icon size

issue 17208277

Change-Id: I25cfafede4da783083593b9bfeff4e5ba7751d36

9 years agoPotential fix for a couple bugs
Adam Cohen [Wed, 3 Sep 2014 23:27:53 +0000 (01:27 +0200)]
Potential fix for a couple bugs

issue 17371274
issue 17368590

Change-Id: I717f9c37613efd9d61e401540ca82aff77058022

9 years agoAdd sdk version guard to UserManager use
Jason Monk [Tue, 2 Sep 2014 17:13:24 +0000 (13:13 -0400)]
Add sdk version guard to UserManager use

Also switch call to getUserRestrictions to support back to JBMR2
with one call.

Bug: 17300500
Change-Id: I1205730e517c6670f6359a0d448458cae6e8a8d4

9 years agoMerge "Give GEL a way to clear the typed text when it starts searching" into ub-now...
Ian Parkinson [Tue, 2 Sep 2014 11:31:41 +0000 (11:31 +0000)]
Merge "Give GEL a way to clear the typed text when it starts searching" into ub-now-porkchop

9 years agoMerge "Import translations. DO NOT MERGE" into ub-now-porkchop
Baligh Uddin [Mon, 1 Sep 2014 21:37:10 +0000 (21:37 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-porkchop

9 years agoGive GEL a way to clear the typed text when it starts searching
Ian Parkinson [Mon, 1 Sep 2014 14:40:53 +0000 (15:40 +0100)]
Give GEL a way to clear the typed text when it starts searching

...otherwise it'll be re-used every time the user starts a new
query. We take care not to change the way that typed text gets
cleared (in onWindowVisibilityChanged()) in other cases.

GEL will actually use this text in ag/537329. This CL will cause
the GEL build to break until that change is submitted, so
I'll be sure to submit them both close to each other.

Bug: 16953058
Change-Id: I7ed613e69eb7a38b1a5e6108715ca614b59fd24d

9 years agoMerge "Updated calls for LauncherApps renaming." into ub-now-porkchop
Kenny Guy [Mon, 1 Sep 2014 13:46:02 +0000 (13:46 +0000)]
Merge "Updated calls for LauncherApps renaming." into ub-now-porkchop

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 1 Sep 2014 06:55:50 +0000 (23:55 -0700)]
Import translations. DO NOT MERGE

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

9 years agoAll apps transition work
Adam Cohen [Wed, 27 Aug 2014 23:04:07 +0000 (16:04 -0700)]
All apps transition work

-> Fix icons popping in
-> Fix issue 17259204
-> posting animation start and buildLayer to allow first
   frame to be ready. This becomes necessary with RevealAnimator
   on the render thread, since it can't use FirstFrameAnimatorHelper
   any longer.
-> adding a bit better transition for K, issue 17252683
-> updating a few assets

Change-Id: I0b193b4b3b511492a2fad6230cd91e3f0de634f0

9 years agoUpdated calls for LauncherApps renaming.
Kenny Guy [Tue, 26 Aug 2014 15:18:58 +0000 (16:18 +0100)]
Updated calls for LauncherApps renaming.

Bug: 17008230
Change-Id: Id851d0b40756973be48c5ce370dd64c1dd6a3c1d

9 years agoUpdating content of page description frequently.
Sunny Goyal [Thu, 28 Aug 2014 23:19:39 +0000 (16:19 -0700)]
Updating content of page description frequently.

> Removing unused search icon page indicator

issue: 17256565

Change-Id: I95158cf68f98b2af847cefb4d126468b908301e2

9 years agoMerge "Clear the promise flag once the restore animation is run and no more restore...
Sunny Goyal [Thu, 28 Aug 2014 23:12:32 +0000 (23:12 +0000)]
Merge "Clear the promise flag once the restore animation is run and no more restore related tasks are pending" into ub-now-porkchop

9 years agoMerge "Clear the draginfo object once the item is dropped inside a folder" into ub...
Sunny Goyal [Thu, 28 Aug 2014 23:01:34 +0000 (23:01 +0000)]
Merge "Clear the draginfo object once the item is dropped inside a folder" into ub-now-porkchop

9 years agoClear the draginfo object once the item is dropped inside a folder
Sunny Goyal [Thu, 28 Aug 2014 21:51:14 +0000 (14:51 -0700)]
Clear the draginfo object once the item is dropped inside a folder

issue: 16097189

Change-Id: I187b5ac97ecb5204040962e7b707ef2a2f022306

9 years agoMerge "Fix regression which was causing requestLayout in layout pass" into ub-now...
Adam Cohen [Thu, 28 Aug 2014 17:10:42 +0000 (17:10 +0000)]
Merge "Fix regression which was causing requestLayout in layout pass" into ub-now-porkchop

9 years agoFix regression which was causing requestLayout in layout pass
Adam Cohen [Thu, 28 Aug 2014 04:27:01 +0000 (21:27 -0700)]
Fix regression which was causing requestLayout in layout pass

-> This caused funky layout issues with views not appearing
   on devices prior to K in addition to log spam.

issue 17282728

Change-Id: Id05856ba2ef3de3a8a636ba9b4b46ddef3eff75e

9 years agoRemoving unused cling resources.
Sunny Goyal [Thu, 28 Aug 2014 01:10:23 +0000 (18:10 -0700)]
Removing unused cling resources.

Change-Id: I97ff14f436f75a6345f719ef19146b02087e2221

9 years agoClear the promise flag once the restore animation is run
Sunny Goyal [Mon, 25 Aug 2014 23:02:46 +0000 (16:02 -0700)]
Clear the promise flag once the restore animation is run
and no more restore related tasks are pending

issue: 17214102

Change-Id: I54c486ff001d74b4961f85947f41848cf92243a3

9 years agoMerge "Improving restored widget behavior" into ub-now-porkchop
Sunny Goyal [Thu, 28 Aug 2014 00:08:55 +0000 (00:08 +0000)]
Merge "Improving restored widget behavior" into ub-now-porkchop

9 years agoMerge "Updating Clings UI" into ub-now-porkchop
Sunny Goyal [Thu, 28 Aug 2014 00:08:45 +0000 (00:08 +0000)]
Merge "Updating Clings UI" into ub-now-porkchop

9 years agoImproving restored widget behavior
Sunny Goyal [Wed, 27 Aug 2014 21:04:33 +0000 (14:04 -0700)]
Improving restored widget behavior

> Clicking a broken widget install shows a dialog similar
to an app icon
> Clicking remove on the dialog removed all components
for the corresponding package
> Widget pending view shows 'Setup' text instead of icon,
if there is enough space

Change-Id: I82ec0a1ee9542c1e3b860e6e00798a80450dce3c

9 years agoMerge "Remove StopShip from UserManagerCompactVl file." into ub-now-porkchop
Dharmesh Mokani [Wed, 27 Aug 2014 20:15:54 +0000 (20:15 +0000)]
Merge "Remove StopShip from UserManagerCompactVl file." into ub-now-porkchop

9 years agoRemove StopShip from UserManagerCompactVl file.
Dharmesh Mokani [Wed, 27 Aug 2014 16:33:53 +0000 (09:33 -0700)]
Remove StopShip from UserManagerCompactVl file.

New getBadgedIconForUser is available to all dogfood users and
droidfood users (LRW52G).
GSA will crash if system build is less than LRW38.

Change-Id: I8d6bf9d065fa79198fa63b110de37f84663ed940

9 years agoUpdating Clings UI
Sunny Goyal [Tue, 26 Aug 2014 17:54:08 +0000 (10:54 -0700)]
Updating Clings UI

issue: 16127412

Change-Id: Ie5885cabbef086e3b08811da72af88d01c4405e7

9 years agoMerge "Import translations. DO NOT MERGE" into ub-now-porkchop
Baligh Uddin [Wed, 27 Aug 2014 16:31:55 +0000 (16:31 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-porkchop

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 27 Aug 2014 05:04:18 +0000 (22:04 -0700)]
Import translations. DO NOT MERGE

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

9 years agoUpdating clings, removing ununsed clings
Sunny Goyal [Fri, 22 Aug 2014 23:09:37 +0000 (16:09 -0700)]
Updating clings, removing ununsed clings

issue: 16127412

Change-Id: I1d18515765100ff10d33439b3ac39ebfc5da35c7

9 years agoMerge "Changing hotseat keyboard controls" into ub-now-porkchop
Sunny Goyal [Mon, 25 Aug 2014 18:25:12 +0000 (18:25 +0000)]
Merge "Changing hotseat keyboard controls" into ub-now-porkchop

9 years agoFix all apps transition for transposed tablet layouts
Adam Cohen [Sun, 24 Aug 2014 23:10:54 +0000 (16:10 -0700)]
Fix all apps transition for transposed tablet layouts

Change-Id: I33bf163bc74b3cf703cb88a5209d9a205d80dbfa

9 years agoMerge "Update adjacent page hints" into ub-now-porkchop
Adam Cohen [Sat, 23 Aug 2014 01:58:22 +0000 (01:58 +0000)]
Merge "Update adjacent page hints" into ub-now-porkchop

9 years agoUpdate adjacent page hints
Adam Cohen [Sat, 23 Aug 2014 01:32:15 +0000 (18:32 -0700)]
Update adjacent page hints

-> draw the hints immediately above the workspace

Change-Id: Id09070e3876516daf9650132052ab61d02a2cf4d

9 years agoMerge "Import translations. DO NOT MERGE" into ub-now-porkchop
Baligh Uddin [Fri, 22 Aug 2014 17:39:18 +0000 (17:39 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-porkchop

9 years agoMerge "Adding strings for the new clings." into ub-now-porkchop
Sunny Goyal [Thu, 21 Aug 2014 22:31:17 +0000 (22:31 +0000)]
Merge "Adding strings for the new clings." into ub-now-porkchop

9 years agoMerge "Change URI favorite resolving to use launch intents" into ub-now-porkchop
Jason Monk [Thu, 21 Aug 2014 18:45:02 +0000 (18:45 +0000)]
Merge "Change URI favorite resolving to use launch intents" into ub-now-porkchop

9 years agoAdding strings for the new clings.
Sunny Goyal [Wed, 20 Aug 2014 17:48:12 +0000 (10:48 -0700)]
Adding strings for the new clings.

issue: 16127412

Change-Id: I15864b2c0b24030150e6aa1cca0b9e0dc6e1e624

9 years agoAdding support for managed profiles in widget
Sunny Goyal [Fri, 15 Aug 2014 00:39:34 +0000 (17:39 -0700)]
Adding support for managed profiles in widget

issue: 16892811

Change-Id: If8c81f2a5a3bc846b02a5d225c5a8f27b1382dab

9 years agoChanging hotseat keyboard controls
Sunny Goyal [Wed, 20 Aug 2014 23:58:17 +0000 (16:58 -0700)]
Changing hotseat keyboard controls

> Left and right keys don not navigate to next/prev page
> Down arrow on apps apps last row, do not take the focus to the end
> Nagivation sounds when focus changes

issue: 16352221

Change-Id: I5982f22dc80c408673092f8fa8ca1b2fc6381635

9 years agoMerge "Updating the icon click feedback" into ub-now-porkchop
Sunny Goyal [Wed, 20 Aug 2014 20:36:59 +0000 (20:36 +0000)]
Merge "Updating the icon click feedback" into ub-now-porkchop

9 years agoMerge "Ignore generic motion events if custom content doesn't allow scrolling" into...
Jan-Willem Maarse [Wed, 20 Aug 2014 20:03:58 +0000 (20:03 +0000)]
Merge "Ignore generic motion events if custom content doesn't allow scrolling" into ub-now-porkchop

9 years agoChange URI favorite resolving to use launch intents
Jason Monk [Wed, 20 Aug 2014 13:41:21 +0000 (09:41 -0400)]
Change URI favorite resolving to use launch intents

Rather than dropping the user in the middle of the app wherever
our intent resolves to, add a shortcut to the launch intent of
the app that handles that intent.

Bug: 16459162
Change-Id: I58256cdc9dc1b3441815f60cc354b60f91fb1a16

9 years agoUnify next / prev page hints for drag and drop across devices
Adam Cohen [Wed, 20 Aug 2014 00:43:05 +0000 (17:43 -0700)]
Unify next / prev page hints for drag and drop across devices

-> Eliminate the white bgs on tablets during drag (issue 15880213)
-> Add stateful (active and rest) next / prev page hints (issue 15937059)
-> Fix recent regression which allowed overscroll in custom content area

Change-Id: I1198dc88ca8570cb9e1afd3ca939be06a8dea92e

9 years agoUpdating the icon click feedback
Sunny Goyal [Thu, 14 Aug 2014 17:53:27 +0000 (10:53 -0700)]
Updating the icon click feedback

> Using BubbleTextView everywhere, removed PagedIconView
> There is a brightness feedback on touch and shadow
feedback on click, until app launches

issue: 16878374
Change-Id: I3dc1149a123c8a75feca6210948398bf2187f1f2

9 years agoIgnore generic motion events if custom content doesn't allow scrolling
Jan-Willem Maarse [Tue, 19 Aug 2014 22:27:48 +0000 (15:27 -0700)]
Ignore generic motion events if custom content doesn't allow scrolling

If the custom content screen is selected and it doesn't
allow scrolling, the workspace should ignore generic motion
events instead of trying to scroll to the next page.

Change-Id: Iee9c7e02bf7c78648b574a01c83dcb76c0b62855

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 19 Aug 2014 03:01:03 +0000 (20:01 -0700)]
Import translations. DO NOT MERGE

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

9 years agoFixing class name change in sdk
Sunny Goyal [Mon, 18 Aug 2014 21:11:28 +0000 (14:11 -0700)]
Fixing class name change in sdk

Change-Id: Id905f8742d39347cd66e5e79931e1dccdd406126

9 years agoMerge "Saving the system wallpaper thumbnail prefixed by the SDK_INT so that it is...
Sunny Goyal [Tue, 19 Aug 2014 19:49:31 +0000 (19:49 +0000)]
Merge "Saving the system wallpaper thumbnail prefixed by the SDK_INT so that it is recreated after a system update." into ub-now-porkchop

9 years agoMerge "Updating folder open transition for Material" into ub-now-porkchop
Adam Cohen [Tue, 19 Aug 2014 18:49:20 +0000 (18:49 +0000)]
Merge "Updating folder open transition for Material" into ub-now-porkchop

9 years agoUpdating folder open transition for Material
Adam Cohen [Tue, 19 Aug 2014 01:54:10 +0000 (18:54 -0700)]
Updating folder open transition for Material

Change-Id: I2babf24a923711adc3f4f70ad3e48140a0d99a76

9 years agoAdding dampened snap back overscroll to Workspace and AppsCustomizePagedView
Adam Cohen [Mon, 18 Aug 2014 20:12:16 +0000 (13:12 -0700)]
Adding dampened snap back overscroll to Workspace and AppsCustomizePagedView

issue 15475254

Change-Id: I5eb9fc480167faf4be16bd17bf18e2d103f40f47

9 years agoMerge "Updating the UI for focused state of an icon/folder." into ub-now-porkchop
Sunny Goyal [Mon, 18 Aug 2014 21:03:57 +0000 (21:03 +0000)]
Merge "Updating the UI for focused state of an icon/folder." into ub-now-porkchop

9 years agoUpdating the UI for focused state of an icon/folder.
Sunny Goyal [Tue, 12 Aug 2014 22:58:36 +0000 (15:58 -0700)]
Updating the UI for focused state of an icon/folder.

issue: 16352129

Change-Id: If2e154dba06a0648f933f9aea38898642db9fd85

9 years agoMerge "Updating virtual preloader assets" into ub-now-porkchop
Sunny Goyal [Mon, 18 Aug 2014 20:32:41 +0000 (20:32 +0000)]
Merge "Updating virtual preloader assets" into ub-now-porkchop

9 years agoUpdating virtual preloader assets
Sunny Goyal [Fri, 15 Aug 2014 23:33:55 +0000 (16:33 -0700)]
Updating virtual preloader assets

Change-Id: I05599133f534e9aa19e8d014edab5ecd6a55fd3a

9 years agoMerge "Get rid of pages overhang in AppsCustomizePagedView" into ub-now-porkchop
Adam Cohen [Fri, 15 Aug 2014 09:28:44 +0000 (09:28 +0000)]
Merge "Get rid of pages overhang in AppsCustomizePagedView" into ub-now-porkchop

9 years agoMerge "Import translations. DO NOT MERGE" into ub-now-porkchop
Baligh Uddin [Fri, 15 Aug 2014 05:51:14 +0000 (05:51 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-porkchop

9 years agoGet rid of pages overhang in AppsCustomizePagedView
Adam Cohen [Fri, 15 Aug 2014 02:14:52 +0000 (19:14 -0700)]
Get rid of pages overhang in AppsCustomizePagedView

Change-Id: I7543af84a6a52b79b7d6f369bb3139fc4024f074

9 years agoFix issues with the new widget layout
Adam Cohen [Thu, 14 Aug 2014 19:57:28 +0000 (12:57 -0700)]
Fix issues with the new widget layout

-> use first layout instead of first measure to determine size
-> fix issue where we were doubly accounting for padding of
   AppsCustomizePagedView
-> show page backgrounds by default, hide fake page by default
-> stripping some dead code related to the market button
   and all apps cling

Change-Id: I787bdf1092c821b780670098fb219a8a68914bc8

9 years agoFurther refinement of all apps / widgets transition
Adam Cohen [Tue, 12 Aug 2014 16:23:13 +0000 (09:23 -0700)]
Further refinement of all apps / widgets transition

Change-Id: Id107a9aff74f014c07f8cbea6e74951a02dbddab

9 years agoSaving the system wallpaper thumbnail prefixed by the SDK_INT
Sunny Goyal [Wed, 13 Aug 2014 19:12:48 +0000 (12:12 -0700)]
Saving the system wallpaper thumbnail prefixed by the SDK_INT
so that it is recreated after a system update.

issue: 15670065

Change-Id: I237ef1d99676d5a0ac6ff7b4a80a7a72905ef1ed

9 years agoUpdating the ui for widget restore flow
Sunny Goyal [Tue, 12 Aug 2014 00:05:23 +0000 (17:05 -0700)]
Updating the ui for widget restore flow

> Pending widget show a PreloadIconDrawable to indicate
installation progress
> Only the concerned widgets are reinflated on package
install and not the whole workspace.
> Adding support for storing default package icon in
IconCache

issue: 10779035
issue: 16737660

Change-Id: Id787ae4a5ef72d6e01aeb5a1bae5ab8840037679

9 years agoAutoinstalls loading xml
Sunny Goyal [Wed, 6 Aug 2014 16:55:36 +0000 (09:55 -0700)]
Autoinstalls loading xml

> Launcher checkes for an apk in the system image with a broadcast
receiver for action:
com.android.launcher3.action.LAUNCHER_CUSTOMIZATION
> Default layout is parsed from that apk, which can also contain
icons and string resources used in the layout config

Change-Id: I44fc9e7c3134f525f7b5db29f4e8bb56e17ce445

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 12 Aug 2014 05:15:32 +0000 (22:15 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Updating the virtual preloader UX." into ub-now-porkchop
Sunny Goyal [Mon, 11 Aug 2014 19:52:52 +0000 (19:52 +0000)]
Merge "Updating the virtual preloader UX." into ub-now-porkchop

9 years agoUpdating the virtual preloader UX.
Sunny Goyal [Mon, 4 Aug 2014 17:53:22 +0000 (10:53 -0700)]
Updating the virtual preloader UX.

> No click feedback when in preloader mode
> No preloader UI when drawn in drag layer
> The preloader consists of a background 9 patch image and a circular progress
is drawn in the content region of the background.
> The preloader is drawn in a slightly larget area than the actual bounds to
make the circular progress more prominent compared to the icon.

issue: 15835307
Change-Id: Ifec3d93ecf1fac994d1128b517da3797247e7ed6

9 years agoMerge "Update code so it compiles on google3" into ub-now-porkchop
Sameer Padala [Mon, 11 Aug 2014 19:51:55 +0000 (19:51 +0000)]
Merge "Update code so it compiles on google3" into ub-now-porkchop

9 years agoMerge "Updating the widget tray" into ub-now-porkchop
Adam Cohen [Mon, 11 Aug 2014 15:42:28 +0000 (15:42 +0000)]
Merge "Updating the widget tray" into ub-now-porkchop

9 years agoUpdating the widget tray
Adam Cohen [Mon, 11 Aug 2014 01:30:55 +0000 (18:30 -0700)]
Updating the widget tray

-> adding dark panel / associated visual updates
-> cleaning up the sizing / padding / to match all apps
-> fixing a couple things from previous CL
-> (removed Context#getDrawable() calls, L-only)

Change-Id: Ia65a6eb704b35f74e7305be9334c27971b22235a

9 years agoPolishing the AllApps transition
Adam Cohen [Tue, 22 Jul 2014 00:44:06 +0000 (17:44 -0700)]
Polishing the AllApps transition

-> separating HW layers during animation to be siblings
   instead of parent-child (was destroying parent layer
   on each frame)
-> Unifying material transition with pre-L, everything
   is the same, just missing the reveal.

Change-Id: I8f7d5e658c2d9298bea83ce8199cb35e6fc0d44e

9 years agoUpdate code so it compiles on google3
Sameer Padala [Sat, 9 Aug 2014 00:34:57 +0000 (17:34 -0700)]
Update code so it compiles on google3

Change-Id: I76c6a5264585c8ad4ded22501d2e2ee1672308c3

9 years agoMerge "Revert "Updating the widget tray"" into ub-now-porkchop
Mark Brophy [Mon, 11 Aug 2014 12:42:57 +0000 (12:42 +0000)]
Merge "Revert "Updating the widget tray"" into ub-now-porkchop

9 years agoRevert "Updating the widget tray"
Mark Brophy [Mon, 11 Aug 2014 12:37:00 +0000 (12:37 +0000)]
Revert "Updating the widget tray"

This reverts commit b172c13dcced9226c935991ef9fe85cc920ce811.

Change-Id: I375fb105e3cf6fa2c1548306cf6a109d612077de

9 years agoUpdating the widget tray
Adam Cohen [Mon, 11 Aug 2014 01:30:55 +0000 (18:30 -0700)]
Updating the widget tray

-> adding dark panel / associated visual updates
-> cleaning up the sizing / padding / to match all apps
-> fixing a couple things from previous CL

Change-Id: I4f663af7022337d687124ef25a22bac03d9d6af9

9 years agoMerge "Adding support to restore widgets even for jelly beans." into ub-now-porkchop
Sunny Goyal [Mon, 11 Aug 2014 02:56:58 +0000 (02:56 +0000)]
Merge "Adding support to restore widgets even for jelly beans." into ub-now-porkchop

9 years agoMerge "Updating the widget tray" into ub-now-porkchop
Adam Cohen [Mon, 11 Aug 2014 02:11:14 +0000 (02:11 +0000)]
Merge "Updating the widget tray" into ub-now-porkchop

9 years agoMerge "Polishing the AllApps transition" into ub-now-porkchop
Adam Cohen [Mon, 11 Aug 2014 01:30:06 +0000 (01:30 +0000)]
Merge "Polishing the AllApps transition" into ub-now-porkchop

9 years agoMake GEL not crashloop.
Mark Brophy [Sat, 9 Aug 2014 18:25:49 +0000 (19:25 +0100)]
Make GEL not crashloop.

Being able to actually use the phone is a good feature.

Change-Id: I345258374dda81a852544d8ed0045e57195f88d3

9 years agoAdding support to restore widgets even for jelly beans.
Sunny Goyal [Wed, 23 Jul 2014 20:58:07 +0000 (13:58 -0700)]
Adding support to restore widgets even for jelly beans.

> Show 'widget-not-ready' until the widget app is installed
> Once the app is installed, bind a new widget id (not required on L if
  id-remap was received).
  **Remove the widget if bind failed
> If the widget has no configuration screen, show the widget, otherwise
  show 'setup-widget'.
> Clicking 'setup-widget' shows the config screen, and updates the
  widget on RESULT_OK.

issue: 10779035

Change-Id: I2f8b06d09dd6acbc498cdd93edc59c26e5ce17af

9 years agoChanges corresponding to framework changes.
Dharmesh Mokani [Fri, 8 Aug 2014 16:38:15 +0000 (09:38 -0700)]
Changes corresponding to framework changes.

Following method has been removed.
UserManager.getBadgedDrawableForUser(Drawable, UserHandle)

This will only work on builds after lrw38

Change-Id: I777a630dd123a9cf8d92cd096e150e90035b3531

9 years agoMerge "Fix screen issues with externally added items" into ub-now-porkchop
Adam Cohen [Fri, 8 Aug 2014 04:33:31 +0000 (04:33 +0000)]
Merge "Fix screen issues with externally added items" into ub-now-porkchop

9 years agoFix screen issues with externally added items
Adam Cohen [Thu, 31 Jul 2014 07:09:45 +0000 (00:09 -0700)]
Fix screen issues with externally added items

-> Ensure that when an item is added to the db from an external
   source that the screen id exists.
-> If the screen id does not exist, add that id as the largest rank

Change-Id: I98d68900c428d80666dab1909418c6d9b0f52e10
(cherry picked from commit 484526620012f88bcd9d5656a71d4218a9acd090)

9 years agoFix for issue 16736964
Adam Cohen [Tue, 5 Aug 2014 00:08:01 +0000 (17:08 -0700)]
Fix for issue 16736964

Change-Id: If150db98346fe10f62fc1160309b66d7a19e9022

9 years agoMerge "Add partner customization option to force first run flow" into ub-now-porkchop
Adam Cohen [Fri, 8 Aug 2014 04:33:24 +0000 (04:33 +0000)]
Merge "Add partner customization option to force first run flow" into ub-now-porkchop

9 years agoAdd partner customization option to force first run flow
Adam Cohen [Thu, 31 Jul 2014 05:47:52 +0000 (22:47 -0700)]
Add partner customization option to force first run flow

Change-Id: Id50587cbb95e375b3847597f12bd8566c70dd7bc
(cherry picked from commit 923e1de9f0d7672dd18947ecde2b0da8c5768b7a)

9 years agoMake com.android.launcher3.action.FIRST_LOAD_COMPLETE protectable on both sides
Adam Cohen [Thu, 31 Jul 2014 16:45:58 +0000 (09:45 -0700)]
Make com.android.launcher3.action.FIRST_LOAD_COMPLETE protectable on both sides

Change-Id: I7ed482e3f6a85c9d58bfcc999b90e0ecda8db217
(cherry picked from commit b531b6d4965576d36547152f7858ec2ac389f6eb)

10 years agoLaunch app details for correct profile.
Kenny Guy [Thu, 31 Jul 2014 10:39:16 +0000 (11:39 +0100)]
Launch app details for correct profile.

Support showing app details for apps in other
profiles.

Bug: 16371359

Change-Id: I1cabcd9f74f2a6ea6c4202a7d58af3ff3b458fd2

10 years agoImplementing a package install progress listener for L
Sunny Goyal [Tue, 22 Jul 2014 20:48:29 +0000 (13:48 -0700)]
Implementing a package install progress listener for L

issue: 15835307

Change-Id: I71aaea087963f2e0e1206447190cbe23c174057d

10 years agoam 2d7e7eda: Fix resource issue in folders of partner layouts
Adam Cohen [Thu, 31 Jul 2014 05:43:45 +0000 (05:43 +0000)]
am 2d7e7eda: Fix resource issue in folders of partner layouts

* commit '2d7e7eda680d481af2eb9ff85182eb89b5395d4c':
  Fix resource issue in folders of partner layouts

10 years agoModify code so it compiles on google3
Sameer Padala [Tue, 29 Jul 2014 23:17:08 +0000 (16:17 -0700)]
Modify code so it compiles on google3

The diamond operator isn't supported on google3 Android projects.

Change-Id: Ie7298b051330bb2cd32426d4c537882faa2f8ebd