OSDN Git Service

android-x86/packages-apps-Launcher3.git
14 years agoMerge "Add Market widget to default workspace." into froyo
Ficus Kirkpatrick [Wed, 28 Apr 2010 22:49:10 +0000 (15:49 -0700)]
Merge "Add Market widget to default workspace." into froyo

14 years agoAdd Market widget to default workspace.
Ficus Kirkpatrick [Wed, 28 Apr 2010 22:08:34 +0000 (15:08 -0700)]
Add Market widget to default workspace.

Bug: 2606783
Change-Id: I8ea5e3564a21b98aadb8789e24276507c7ef46b7

14 years agoMerge "Avoid ANR in Home by avoiding a sycnhronized call on the UI thread. Bug #26146...
Romain Guy [Wed, 28 Apr 2010 20:55:53 +0000 (13:55 -0700)]
Merge "Avoid ANR in Home by avoiding a sycnhronized call on the UI thread. Bug #2614636" into froyo

14 years agoIncrease hot rectangle of trash can.
Daniel Sandler [Wed, 28 Apr 2010 18:01:54 +0000 (14:01 -0400)]
Increase hot rectangle of trash can.

The drop region is now 70dip^2. This means it invisibly
overlaps nearby icons ever so slightly---not enough to
prevent icons being properly dropped on the workspace.

Bug: 2623734
Change-Id: I945160ef6bdfc0a4ac3cf9db57d440bad424dfc4

14 years agoMerge "Updated hotseat artwork." into froyo
Daniel Sandler [Wed, 28 Apr 2010 20:41:58 +0000 (13:41 -0700)]
Merge "Updated hotseat artwork." into froyo

14 years agoMerge "Hotseats: better strategy for finding the default browser." into froyo
Daniel Sandler [Wed, 28 Apr 2010 20:32:44 +0000 (13:32 -0700)]
Merge "Hotseats: better strategy for finding the default browser." into froyo

14 years agoAvoid ANR in Home by avoiding a sycnhronized call on the UI thread.
Romain Guy [Wed, 28 Apr 2010 20:32:43 +0000 (13:32 -0700)]
Avoid ANR in Home by avoiding a sycnhronized call on the UI thread.
Bug #2614636

Change-Id: If9ded9a2e231a429e4d0a21626b486f76fd0a3a6

14 years agoHotseats: better strategy for finding the default browser.
Daniel Sandler [Tue, 27 Apr 2010 20:57:25 +0000 (16:57 -0400)]
Hotseats: better strategy for finding the default browser.

To do this, we invoke resolveActivity to see what activity
would result from viewing an arbitrary (but valid) URL. If
there's just one installed, or there are multiple and the
user has chosen a default handler for http:, we take that
component and launch it with CATEGORY_HOME (so as not to
upset the URL in the frontmost window/tab/what-have-you).
We also use this information to extract the localized name
of the app, which is then installed into the hotseat as the
contentDescription (for accessibility).

If there's no default and multiple options are availble,
we'll get the activity chooser instead. In this case, we
just fire off that chooser and let the user pick an app
(possibly setting a default along the way). Because the
default may change, we reload all this hotseat information
every time one of the hotseats is tapped.

Another side-effect of this approach is that until there
exists a default browser, the original URL will be sent to
the activity the user chooses from the ResolveActivity. So
we need a sensible default URL here; one can be found in
R.string.default_browser_url (similar to Browser's
R.string.homepage_base).

This change also moves the hotseat intents and icons into
arrays.xml for easier configuration.

Change-Id: I06268df8b59e0f41f1f8b0e47f823db4c44ec761

14 years agoUpdated hotseat artwork.
Daniel Sandler [Wed, 28 Apr 2010 04:09:19 +0000 (00:09 -0400)]
Updated hotseat artwork.

Also closes the gap below the buttons (not visibly, but the
hit rect now reaches the bottom of the screen). Bug: 2630273

Change-Id: I8e8de6b63f91b2fcf87c3af856003cc36dd6c096

14 years agoMerge "Import revised translations" into froyo
Kenny Root [Wed, 28 Apr 2010 04:44:33 +0000 (21:44 -0700)]
Merge "Import revised translations" into froyo

14 years agoImport revised translations
Kenny Root [Tue, 27 Apr 2010 20:39:00 +0000 (13:39 -0700)]
Import revised translations

Change-Id: Ia9b370372f0ea1ae5271030d946db621161f30a2

14 years agoAddress bug 2631580 - Tweak home screen scrolling behavior.
Adam Powell [Mon, 26 Apr 2010 23:43:44 +0000 (16:43 -0700)]
Address bug 2631580 - Tweak home screen scrolling behavior.

Duration of motion is now influenced by fling velocity. Constants have
been tuned and tweaked.

Fix a couple of drawing optimizations in Launcher2 Workspace.

Change-Id: Iaa674d10a28554884d9cc98134b2d1253b5e3e70

14 years agoFix bug 2629457 - Scale home screen settle animation based on distance.
Adam Powell [Mon, 26 Apr 2010 18:52:44 +0000 (11:52 -0700)]
Fix bug 2629457 - Scale home screen settle animation based on distance.

This fixes the issue where using the long-press-on-dots feature to
jump to a specific home screen overshoots by a large distance. It also
speeds up the resulting animation such that jumping from screen 1 to 5
doesn't take as long.

Change-Id: If41086b17df875be5514776e3af24292587d05a7

14 years agoMerge "Fix proguard flags." into froyo
Daniel Sandler [Fri, 23 Apr 2010 21:02:25 +0000 (14:02 -0700)]
Merge "Fix proguard flags." into froyo

14 years agoFix proguard flags.
Daniel Sandler [Fri, 23 Apr 2010 20:43:48 +0000 (16:43 -0400)]
Fix proguard flags.

Fixes a crash in the new hotseat launcher icons.

Change-Id: Idcb7441647f16c783a47dfe09400f04fa8980dd3

14 years agoFixed mdpi hotseat background artwork.
Daniel Sandler [Fri, 23 Apr 2010 19:19:47 +0000 (15:19 -0400)]
Fixed mdpi hotseat background artwork.

Bug: 2559083
Change-Id: I969b13227b12a62484c9a91cb671128a3f3c2398

14 years agoMerge "Add widgets to default home screens." into froyo
Daniel Sandler [Fri, 23 Apr 2010 17:40:10 +0000 (10:40 -0700)]
Merge "Add widgets to default home screens." into froyo

14 years agoMerge "New Launcher feature: "hotseat" icons." into froyo
Daniel Sandler [Fri, 23 Apr 2010 17:26:30 +0000 (10:26 -0700)]
Merge "New Launcher feature: "hotseat" icons." into froyo

14 years agoNew Launcher feature: "hotseat" icons.
Daniel Sandler [Thu, 22 Apr 2010 18:37:59 +0000 (14:37 -0400)]
New Launcher feature: "hotseat" icons.

The hotseats are permanent slots on either side of the
AllApps button. Their functions are:

  LEFT/BOTTOM: Phone
    Launched via the hardcoded class name
    com.android.contacts/.ContactsLaunchActivity.

  RIGHT/TOP: Browser
    Launched by querying to see which application is the
    default for URLs, then starting that activity directly.

In the future, it would be ideal to allow an application
with permission to access LauncherProvider to customize
these (icons, contentDescriptions, and Intents).

Bug: 2559083
Change-Id: I56f6e745f8574aa17e28feaa9d2118fb4a715cd4

14 years agoAdd widgets to default home screens.
Daniel Sandler [Fri, 23 Apr 2010 16:05:47 +0000 (12:05 -0400)]
Add widgets to default home screens.

  0: (nothing)
  1: News & Weather
=>2: Search; Protips
  3: Music
  4: (nothing)

Will add Market widget to screen 2 (center) when available.

Bug: 2559083
Change-Id: Id025bfbb1514959906d7d42601c3358ef870aebe

14 years agoFix 2614384 - NPE in LauncherModel
Joe Onorato [Wed, 21 Apr 2010 21:09:18 +0000 (17:09 -0400)]
Fix 2614384 - NPE in LauncherModel

Callbacks can be null.

Change-Id: I56462a54673b1804a6235d6d882008b453290542

14 years agoFix race in LauncherModel that causes it to show duplicate icons.
Joe Onorato [Tue, 20 Apr 2010 19:43:37 +0000 (15:43 -0400)]
Fix race in LauncherModel that causes it to show duplicate icons.

Change-Id: I78130d6f237f476bc33a4718ca5ef245fe502857

14 years agoMove batch size to a resource.
Daniel Sandler [Mon, 19 Apr 2010 18:47:18 +0000 (14:47 -0400)]
Move batch size to a resource.

This way we can figure out how many apps to send to the grid
at a time even if the grid hasn't been instantiated yet.

Bug: 2599979
Change-Id: I7960fe1adae6976555334422335f3a4b28d0675e

14 years agoMerge "More Launcher performance improvements." into froyo
Joe Onorato [Mon, 19 Apr 2010 17:24:23 +0000 (10:24 -0700)]
Merge "More Launcher performance improvements." into froyo

14 years agoChange workspace scroller interpolator
Adam Powell [Fri, 16 Apr 2010 23:40:55 +0000 (16:40 -0700)]
Change workspace scroller interpolator

Change-Id: I1d8f1ceb39dc21e58c833cf030a41d08913ef7e3

14 years agoMore Launcher performance improvements.
Daniel Sandler [Fri, 16 Apr 2010 19:06:06 +0000 (15:06 -0400)]
More Launcher performance improvements.

* Removed another redundant sort
* Correctly set the thread priority to BACKGROUND for the
  all apps loading step.
* Moved batch delay to a resource
* Reduced delay between loading batches of apps to 100ms
  (we really just want to sleep a tiny bit between batches
  to give the UI time to react)

Bug: 2562420
Bug: 2599979 (related)
Change-Id: I1ae72a68c1a47377a9eb62827fe7666bfc50caa5

14 years agoSort apps in AllApps3D.setApps().
Daniel Sandler [Thu, 15 Apr 2010 20:41:31 +0000 (16:41 -0400)]
Sort apps in AllApps3D.setApps().

The sorting is no longer being done in LauncherModel.
AA3D.addApps correctly performs an insertion sort, but
setApps did not.

Missing from change I77e3865b.

Bug: 2562420
Change-Id: I6854c2c4a221b2c1ad123410292da1fbfece7871

14 years agoMerge "Launcher2 performance: Don't sort apps in LauncherModel." into froyo
Daniel Sandler [Thu, 15 Apr 2010 20:37:33 +0000 (13:37 -0700)]
Merge "Launcher2 performance: Don't sort apps in LauncherModel." into froyo

14 years agoLauncher2 performance: Don't sort apps in LauncherModel.
Daniel Sandler [Thu, 15 Apr 2010 20:28:40 +0000 (16:28 -0400)]
Launcher2 performance: Don't sort apps in LauncherModel.

AllApps2D and AllApps3D do their own sorting before display.

Bug: 2562420
Change-Id: I77e3865b856a5123872bee3d8578d0596956cddd

14 years agoPaper over bug 2592956 - Home not redrawing the shortcuts, widgets, or background.
Joe Onorato [Thu, 15 Apr 2010 18:48:13 +0000 (11:48 -0700)]
Paper over bug 2592956 - Home not redrawing the shortcuts, widgets, or background.

The mNext* stuff in AllApps3D got reset when onNewIntent came in too fast after an
onCreate, which happened because of the configuration changed.

Change-Id: I9a358b6969ac1d17ea98f58218d47bfe983936f0

14 years agoFix 2595902 - NPE in launcher2
Joe Onorato [Thu, 15 Apr 2010 18:47:28 +0000 (11:47 -0700)]
Fix 2595902 - NPE in launcher2

This code never worked.  If you delete a live folder for an app that's been uninstalled, it would
crash.

Change-Id: Id91712fada8912addbc4892bd5ae517536fc4f24

14 years agoBatch loading of icons for AllApps.
Daniel Sandler [Tue, 13 Apr 2010 20:23:58 +0000 (16:23 -0400)]
Batch loading of icons for AllApps.

AllAppsList now maintains <data> and <added> in sorted
order, to amortize the cost of sorting the apps list over
multiple batches.

Launcher boosts thread priority on first launch, but we now
reduce thread priority to normal after the main workspace
has been drawn but before all apps are loaded.

Experimental feature: a short delay is introduced between
batches to help free up the CPU (as well as to show that we
are indeed batching apps).

Bug: 2562420
Change-Id: I2035ec3e819b4e7993a80c6d03bfad3914c95a7a

14 years agoFix 2575588 - After creating new folder shortcut unable to navigate between home...
Joe Onorato [Wed, 14 Apr 2010 03:25:47 +0000 (20:25 -0700)]
Fix 2575588 - After creating new folder shortcut unable to navigate between home screen using touch.

Somebody fixed a bug in managed dialogs where it wouldn't
create the dialog after a configuration change.  This means that we
shouldn't set mWaitingForResult in createDialog, we need to set it in
onShow.  This is what the add dialog was already doing.

Change-Id: I955c2f7cd4a47213f84986ec9ba251146b1ac423

14 years agoFix 2583234 - It's ok for mCallbacks to be null.
Joe Onorato [Wed, 14 Apr 2010 00:19:18 +0000 (17:19 -0700)]
Fix 2583234 - It's ok for mCallbacks to be null.

Change-Id: Iec8df7b668a4657677f9c5421d00aa1b7df91015

14 years agoRevised workspace fling physics
Adam Powell [Tue, 13 Apr 2010 19:40:24 +0000 (12:40 -0700)]
Revised workspace fling physics

Change-Id: Ia14ff132e49390bf3bc4ac6ebf1b3eded8d39caf

14 years agoRemove all icons and most widgets from default homescreens.
Daniel Sandler [Thu, 8 Apr 2010 19:39:18 +0000 (15:39 -0400)]
Remove all icons and most widgets from default homescreens.

Bug: 2559083
Change-Id: Id77fe641520c36eaee10f10c04d7df04b7637184

14 years agoMerge "Slow down 2D All Apps fadeout." into froyo
Daniel Sandler [Tue, 6 Apr 2010 16:46:56 +0000 (09:46 -0700)]
Merge "Slow down 2D All Apps fadeout." into froyo

14 years agoLast minute hack to deliver touch events to widget in landscape mode.
Romain Guy [Tue, 6 Apr 2010 01:39:24 +0000 (18:39 -0700)]
Last minute hack to deliver touch events to widget in landscape mode.
Bug #2562729

In landscape, the left and right dots buttons are 93dip wide; this makes them overlap
with widgets at the bottom of the screen. The dots do not need to be that wide but
we chose this size to make it easier to tap them in portrait. To avoid issues in
landscape, this change introduces a new type of ImageView that can ignore touch
events in a certain zone. This was easier and cheaper than re-cutting 36+ assets.

Change-Id: Id261fba41a43dede943e72060e39e87658e4b0df

14 years agoSlow down 2D All Apps fadeout.
Daniel Sandler [Fri, 2 Apr 2010 19:08:16 +0000 (15:08 -0400)]
Slow down 2D All Apps fadeout.

Change-Id: Ifd8564bca26265540589a48ea281e8ce9fa1001e

14 years agoLimit workspace flings to one screen at a time.
Adam Powell [Fri, 2 Apr 2010 17:41:38 +0000 (10:41 -0700)]
Limit workspace flings to one screen at a time.

This prevents users from scrolling left slightly, flinging right,
and scrolling by two screens as a result (and vice versa).

Change-Id: I04c60438c022b24defcd8e4cbedf1c6b07c24423

14 years agofix 2554422 - Landscape workspace dots have stretched aspect ratio
Joe Onorato [Mon, 29 Mar 2010 23:19:42 +0000 (16:19 -0700)]
fix 2554422 - Landscape workspace dots have stretched aspect ratio

Change-Id: I9f0ef8370bbf3e73f86dabf006372fc243f302b9

14 years agofix 2542590 add more logging when launching app fails
Joe Onorato [Thu, 25 Mar 2010 16:47:45 +0000 (09:47 -0700)]
fix 2542590 add more logging when launching app fails

Change-Id: I5a1fa261c6e67eb7afb661de39e35ce43e2caa59

14 years agoCorrectly upgrade from MR3 to FroYo.
Romain Guy [Tue, 23 Mar 2010 22:10:56 +0000 (15:10 -0700)]
Correctly upgrade from MR3 to FroYo.
Bug #2530137

Change-Id: I9ab59fd53e17a1f51f60a8cb98dcb19a7957ffc6

14 years agofix 2533780 database cursors/statements is not closed in LauncherProvider.java
Joe Onorato [Tue, 23 Mar 2010 21:34:37 +0000 (17:34 -0400)]
fix 2533780 database cursors/statements is not closed in LauncherProvider.java

Change-Id: Iaf8ca76a15b153a1154b106247f81a0213183bcb

14 years agoMerge "Fix 2519335 - Caused by NPE. Here's another place where it needs to be ok...
Joe Onorato [Tue, 23 Mar 2010 21:04:42 +0000 (14:04 -0700)]
Merge "Fix 2519335 - Caused by NPE.  Here's another place where it needs to be ok for sRS to be null."

14 years agoSupport old-package attribute for default workspace items.
Romain Guy [Tue, 23 Mar 2010 17:58:18 +0000 (10:58 -0700)]
Support old-package attribute for default workspace items.
Bug #2509293

Change-Id: I5e76465bceab6b733287f53f6afdcf3d522843fc

14 years agoFix 2519335 - Caused by NPE. Here's another place where it needs to be ok for sRS...
Joe Onorato [Tue, 23 Mar 2010 15:26:28 +0000 (11:26 -0400)]
Fix 2519335 - Caused by NPE.  Here's another place where it needs to be ok for sRS to be null.

Change-Id: Iacfc0474c96c657d982a50c8d4851e2fdd79c3ae

14 years agoFix 2532504 - fix NPE in AllApps3D.onKeyDown.
Joe Onorato [Mon, 22 Mar 2010 16:22:22 +0000 (12:22 -0400)]
Fix 2532504 - fix NPE in AllApps3D.onKeyDown.

Change-Id: I8fba9b0b5217d630d84a6a260865d454db2bb046

14 years agoFix 2524488 Not able to launch app in the last line of app launcher in landscape...
Joe Onorato [Fri, 19 Mar 2010 00:12:52 +0000 (17:12 -0700)]
Fix 2524488 Not able to launch app in the last line of app launcher in landscape mode

Change-Id: Iffe3e95a10e49f1dadcab2f4f177e79c0140699e

14 years agoMerge "fix 2430251 - all apps touch targets misaligned."
Joe Onorato [Thu, 18 Mar 2010 22:16:14 +0000 (15:16 -0700)]
Merge "fix 2430251 - all apps touch targets misaligned."

14 years agofix 2430251 - all apps touch targets misaligned.
Joe Onorato [Thu, 18 Mar 2010 22:15:10 +0000 (15:15 -0700)]
fix 2430251 - all apps touch targets misaligned.

Change-Id: I091b152c328a2664ce68c9790117e6e698bd677a

14 years agoMerge "Import revised translations"
Eric Fischer [Thu, 18 Mar 2010 17:53:23 +0000 (10:53 -0700)]
Merge "Import revised translations"

14 years agoImport revised translations
Kenny Root [Thu, 18 Mar 2010 05:14:17 +0000 (22:14 -0700)]
Import revised translations

Change-Id: I1b4b8c830701a1aa08a31a78fdff92216bf2ef5f

14 years agoRename these static variables.
Joe Onorato [Thu, 18 Mar 2010 03:23:53 +0000 (20:23 -0700)]
Rename these static variables.

Change-Id: Ic16dcbeb5b0c8afface65a995ea501e155ba69ff

14 years agoWe need to null out this static.
Joe Onorato [Thu, 18 Mar 2010 03:03:24 +0000 (20:03 -0700)]
We need to null out this static.

All of the crashes we've been seeing with "Calling RS with no
Context active" were in places that are guarded with if (mRollo != null).

Change-Id: Icb9194cfc4f534bedce5a69a20760a0c3d7fe1d3

14 years agoAdd a log message and some todos.
Joe Onorato [Wed, 17 Mar 2010 16:14:50 +0000 (09:14 -0700)]
Add a log message and some todos.

Change-Id: I948997d169d1833f2b61c620a02dbccae535e8de

14 years agoPrevent NPE in Launcher when an icon cannot be found.
Romain Guy [Mon, 15 Mar 2010 21:44:42 +0000 (14:44 -0700)]
Prevent NPE in Launcher when an icon cannot be found.
Bug #2509023

Change-Id: I053c7c9a37ed4aeb4d78a9f62dfdeea09a3959aa

14 years agoMerge "Fix stop point for physics in landscape."
Jason Sams [Mon, 15 Mar 2010 19:12:53 +0000 (12:12 -0700)]
Merge "Fix stop point for physics in landscape."

14 years agoImprove focus restore on orientation change.
Romain Guy [Sat, 13 Mar 2010 01:17:56 +0000 (17:17 -0800)]
Improve focus restore on orientation change.

Change-Id: If405c60f4a45aeb4079aa4dcd96b684fd6ea819c

14 years agoFix focus and touch issues in 3D all apps.
Romain Guy [Sat, 13 Mar 2010 00:03:52 +0000 (16:03 -0800)]
Fix focus and touch issues in 3D all apps.
Bug # 2506026

Change-Id: I95f21cc285c17dfa5f93daafa9d90a64042c7a9d

14 years agoFix stop point for physics in landscape.
Jason Sams [Fri, 12 Mar 2010 20:46:04 +0000 (12:46 -0800)]
Fix stop point for physics in landscape.

Change-Id: I4ca8fcf9d65746116b3c244e724344d8f90eeba0

14 years agoBug 2509023 - NPE on upgrade to froyo
Joe Onorato [Fri, 12 Mar 2010 01:59:11 +0000 (17:59 -0800)]
Bug 2509023 - NPE on upgrade to froyo

Change-Id: I07cb4f272948062b47da8826ca917fd74ad18404

14 years agoEliminate a race where old Launcher objects will continue to get callbacks for loadin...
Joe Onorato [Thu, 11 Mar 2010 23:45:05 +0000 (15:45 -0800)]
Eliminate a race where old Launcher objects will continue to get callbacks for loading if they go
away before they're done.

Change-Id: Id9f57be482da428750285c86d95114d2652064e6

14 years agoUnbind root script around load activities to prevent commands from being delayed...
Jason Sams [Thu, 11 Mar 2010 20:38:48 +0000 (12:38 -0800)]
Unbind root script around load activities to prevent commands from being delayed due to swap buffers.

Change-Id: I9720fbe936d3cd336ca39235d0a1bba9e10d137a

14 years agoFix 2507267 - stack overflow when adding shortcut
Joe Onorato [Thu, 11 Mar 2010 20:32:24 +0000 (12:32 -0800)]
Fix 2507267 - stack overflow when adding shortcut

Change-Id: Ife5bea443debd481854693b3924e72a04fb66f97

14 years agobug 2480004 - add some descriptions for the string in home
Joe Onorato [Wed, 10 Mar 2010 23:30:07 +0000 (15:30 -0800)]
bug 2480004 - add some descriptions for the string in home

Change-Id: Ie01900dcb6fd6381d18dcfa80bddb7bfdff19b13

14 years agoRe-enable Proguard, supports 3D all apps correctly now.
Romain Guy [Thu, 11 Mar 2010 18:36:05 +0000 (10:36 -0800)]
Re-enable Proguard, supports 3D all apps correctly now.

Change-Id: I84ab56054c9f57985fec9107c3977691177b85a4

14 years agoTurn off Proguard on Launcher2.
Ying Wang [Thu, 11 Mar 2010 17:53:25 +0000 (09:53 -0800)]
Turn off Proguard on Launcher2.

It will be turned on eventually, after the issue is fixed.

Change-Id: Ibd2a2d295379d14cd95d13156aa22c44be6fa7b4

14 years agoFix trackball focus weirdness in AllApps2D.
Daniel Sandler [Tue, 9 Mar 2010 19:45:57 +0000 (14:45 -0500)]
Fix trackball focus weirdness in AllApps2D.

Also vertically align AllApps2D's home icon with Workspace's
grid icon.

Change-Id: I81a8759ed33afd08336482484f1b9bdb9a36718e

14 years agoPrevent ANR in Home when changing orientation.
Romain Guy [Thu, 11 Mar 2010 03:45:00 +0000 (19:45 -0800)]
Prevent ANR in Home when changing orientation.
Bug #2504556

This solves the issue by keeping the GL context, the RS context and
the RS scene around, across orientation changes.

Change-Id: I8e3dc6e6bf039087046d49d2826c8800c5bef582

14 years agoMerge "Resurrect the All Apps button."
Romain Guy [Thu, 11 Mar 2010 02:27:50 +0000 (18:27 -0800)]
Merge "Resurrect the All Apps button."

14 years agoResurrect the All Apps button.
Romain Guy [Thu, 11 Mar 2010 02:26:59 +0000 (18:26 -0800)]
Resurrect the All Apps button.

Change-Id: Ic7dc985bfc1eec6d6c059ff37a61c84b8cb103de

14 years agoApps on SD card don't confuse the launcher any more. They show up properly after...
Joe Onorato [Sun, 7 Mar 2010 19:32:10 +0000 (14:32 -0500)]
Apps on SD card don't confuse the launcher any more.  They show up properly after reboots,
mounting and unmounting.

Change-Id: Icd861dcd8ac6401c597e2f9c8e2c66dff1cf9c61

14 years agoRefactor the app updates so that it doesn't rely on the package name.
Joe Onorato [Fri, 5 Mar 2010 20:05:52 +0000 (15:05 -0500)]
Refactor the app updates so that it doesn't rely on the package name.

This will be needed for the upcoming change to update the icons with the
grayed out when the SD card goes away.

14 years agoCancel long press within normal touch slop, before paging touch slop.
Adam Powell [Wed, 10 Mar 2010 19:08:17 +0000 (11:08 -0800)]
Cancel long press within normal touch slop, before paging touch slop.

Change-Id: I1b4d02db306bc0a7c3f39e2174a7239239ce4422

14 years agoSmoother scrolling/paging, multiple pointer support
Adam Powell [Wed, 10 Mar 2010 03:12:45 +0000 (19:12 -0800)]
Smoother scrolling/paging, multiple pointer support

Change-Id: I09eef7b0b4d85ab073307f2fb5eb2521aef82af4

14 years agoAllow shared user id and process to be set via overlays.
Dianne Hackborn [Tue, 9 Mar 2010 23:03:20 +0000 (15:03 -0800)]
Allow shared user id and process to be set via overlays.

This fiddles the manifest to allow the app's shared user id and
process to be changed at build time via resource overlays, so we
can build launcher to run in the acore process for low-end devices.

Also switches the cert of launcher back to shared, to allow for
this.  (Note this only really matters if the shared user id is set,
otherwise launcher will still get its own uid.)

Change-Id: I0bd0a06e1442c4bfe5ceb2d438cb58f29d911578

14 years agoMerge "Updated mdpi art."
Daniel Sandler [Tue, 9 Mar 2010 19:49:13 +0000 (11:49 -0800)]
Merge "Updated mdpi art."

14 years agoMerge "Enable Proguard on Launcher2."
Ying Wang [Tue, 9 Mar 2010 17:19:52 +0000 (09:19 -0800)]
Merge "Enable Proguard on Launcher2."

14 years agoUpdated mdpi art.
Daniel Sandler [Tue, 9 Mar 2010 16:00:12 +0000 (11:00 -0500)]
Updated mdpi art.

Bug: 2485104
Change-Id: I6a84768f45141528361eaee1f0ce4b37e50ca487

14 years agoAdd an empty CleanSpec.mk
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:05:04 +0000 (18:05 -0800)]
Add an empty CleanSpec.mk

Change-Id: If0c55c46602c610c68d42b62796d6784dad97c0e

14 years agoGive up on caching the computed animation state as it keeps causing bugs
Jason Sams [Tue, 9 Mar 2010 01:03:51 +0000 (17:03 -0800)]
Give up on caching the computed animation state as it keeps causing bugs
where we don't correctly re-initialize it when starting in various states.

Change-Id: Id648c7bba5d8b55a32b5b33363ddf6e74701df87

14 years agoSpeed up 2D AllApps fade-in.
Daniel Sandler [Mon, 8 Mar 2010 19:41:21 +0000 (14:41 -0500)]
Speed up 2D AllApps fade-in.

Change-Id: I466c97cb63687ec3dab5109a8e77445e78e8b3ee

14 years agoMove mipmap level generation from allocation creation to upload time. This prevents...
Jason Sams [Fri, 5 Mar 2010 21:24:31 +0000 (13:24 -0800)]
Move mipmap level generation from allocation creation to upload time.  This prevents RS from storing the >0 mipmap levels.

14 years agoMerge "Widen AllApps3D text to match Launcher"
Kenny Root [Fri, 5 Mar 2010 21:43:30 +0000 (13:43 -0800)]
Merge "Widen AllApps3D text to match Launcher"

14 years agoWiden AllApps3D text to match Launcher
Kenny Root [Fri, 5 Mar 2010 21:24:08 +0000 (13:24 -0800)]
Widen AllApps3D text to match Launcher

The AllApps3D text used to have a bubble shade for the application
title to make it more visible over a translucent background of the
desktop.  This was later changed to a black background eliminating
the need for the bubble surrounding the text.  The majority of the
bubble rectangle code was commented out leaving all of the padding
still in effect. This caused application titles to wrap in varying
places between Launcher and Launcher2. Padding changes solve this.

Change-Id: Id67649562045f65b44409dfb81e6112a1f838143

14 years agoUse the right package name to find wallpaper resources.
Daniel Sandler [Fri, 5 Mar 2010 16:04:10 +0000 (11:04 -0500)]
Use the right package name to find wallpaper resources.

Bug: 2489120
Change-Id: I7efb122916edfb467c02969f29d845ebf29f74bf

14 years agoSwap in the classic Android wallpapers in mdpi.
Daniel Sandler [Fri, 5 Mar 2010 16:02:55 +0000 (11:02 -0500)]
Swap in the classic Android wallpapers in mdpi.

hdpi devices will see the Nexus wallpapers; mdpi devices
will see the old wallpapers.

Change-Id: If019eb90e9d67ede7865a8ea9f7a330d43a664ab

14 years agoMerge "Change the way 2D/3D AllApps are selected."
Daniel Sandler [Fri, 5 Mar 2010 13:47:27 +0000 (05:47 -0800)]
Merge "Change the way 2D/3D AllApps are selected."

14 years agoMake touch events work in landscape.
Romain Guy [Fri, 5 Mar 2010 02:59:31 +0000 (18:59 -0800)]
Make touch events work in landscape.

14 years agoChange the way 2D/3D AllApps are selected.
Daniel Sandler [Thu, 4 Mar 2010 20:10:54 +0000 (15:10 -0500)]
Change the way 2D/3D AllApps are selected.

all_apps.xml is now a trampoline that loads the correct layout file.

Also take this opportunity to make 2D the default.

Change-Id: Iba2500da1bf4f505f1a5c2f6f32ed6e72ec34c5f

14 years agoFix the build!
Romain Guy [Thu, 4 Mar 2010 21:03:17 +0000 (13:03 -0800)]
Fix the build!

14 years agoMerge "Prevent crash when a bad widget launches a non-existent config activity."
Romain Guy [Thu, 4 Mar 2010 20:52:16 +0000 (12:52 -0800)]
Merge "Prevent crash when a bad widget launches a non-existent config activity."

14 years agoPrevent crash when a bad widget launches a non-existent config activity.
Romain Guy [Thu, 4 Mar 2010 20:51:36 +0000 (12:51 -0800)]
Prevent crash when a bad widget launches a non-existent config activity.

14 years agoMake the Home on screen button work in landscape.
Romain Guy [Thu, 4 Mar 2010 20:15:37 +0000 (12:15 -0800)]
Make the Home on screen button work in landscape.

14 years agoUpdate launcher's namespace.
Romain Guy [Thu, 4 Mar 2010 20:07:31 +0000 (12:07 -0800)]
Update launcher's namespace.

14 years agoRename Launcher2's package to com.android.launcher.
Romain Guy [Thu, 4 Mar 2010 19:57:50 +0000 (11:57 -0800)]
Rename Launcher2's package to com.android.launcher.

This should fix data migration issues.

14 years agoImplement landscape in 3D all apps.
Romain Guy [Thu, 4 Mar 2010 18:07:38 +0000 (10:07 -0800)]
Implement landscape in 3D all apps.
Bug #2454737
Bug #2454736

14 years agoMore mdpi artwork.
Daniel Sandler [Thu, 4 Mar 2010 17:19:30 +0000 (12:19 -0500)]
More mdpi artwork.

Change-Id: I53f7985a2fe0dc4e61143242c110f3604e8ed1a1

14 years agoNew mdpi artwork for L2.
Daniel Sandler [Thu, 4 Mar 2010 14:18:37 +0000 (09:18 -0500)]
New mdpi artwork for L2.

Change-Id: Ie4b209a3cda914a547b0fc6abfc81a0a681aa5ee