OSDN Git Service
Joe Onorato [Thu, 30 Sep 2010 00:47:57 +0000 (17:47 -0700)]
Merge "Add a script to pull launcher.db off the device and pretty print an html file with the contents." into gingerbread
Joe Onorato [Thu, 30 Sep 2010 00:43:46 +0000 (17:43 -0700)]
Add a script to pull launcher.db off the device and pretty print an html file with the contents.
Change-Id: I4640fad71e5f77e0dbcbe4df4204bf36a03d3562
Ying Wang [Wed, 29 Sep 2010 22:25:38 +0000 (15:25 -0700)]
Fix proguard flag file dependency.
Change-Id: Ic9f90a30833bfafb7d76dcc851a92892b9a2a9b7
Gilles Debunne [Wed, 29 Sep 2010 19:12:40 +0000 (12:12 -0700)]
Merge "New assets for hot seat." into gingerbread
Joe Onorato [Wed, 29 Sep 2010 01:46:58 +0000 (18:46 -0700)]
DO NOT MERGE - the scroll drag area was too small, and should have come from a resource anyway.
Change-Id: If1304e1417cb8ba4dee8657cd619718abba277f0
Gilles Debunne [Wed, 29 Sep 2010 00:41:26 +0000 (17:41 -0700)]
New assets for hot seat.
Change-Id: I22c1e4a8b932fa48af57e2eecedb6ac4fe6c85fa
Winson Chung [Mon, 27 Sep 2010 18:33:03 +0000 (11:33 -0700)]
Adding menu item to Launcher to manage applications directly from homescreen
Change-Id: I56d726080968777eb5ccdc8826a872977cf7868c
Joe Onorato [Fri, 24 Sep 2010 23:17:21 +0000 (16:17 -0700)]
When we're launching apps, we need to always use startActivitySafely.
It's possible that the app doesn't implement the component as promised, and the launcher shouldn't
crash.
Bug:
3005141
Change-Id: Ieac51433a467fd12160247bfd281828a69f5f7d2
Eric Fischer [Fri, 24 Sep 2010 17:24:44 +0000 (10:24 -0700)]
Import revised translations. DO NOT MERGE
Change-Id: Ie0dd3e3ea930de8676d4e085721cab5844386f66
Brad Fitzpatrick [Tue, 14 Sep 2010 19:15:32 +0000 (12:15 -0700)]
Make LauncherModel.deleteItemFromDatabase write to disk async.
Fixes a bunch of StrictMode violations and removes TODOs.
Change-Id: I886bd071d4a8336c228d29c517a8ffc5223c0623
Brad Fitzpatrick [Wed, 1 Sep 2010 20:45:16 +0000 (13:45 -0700)]
Make Launcher.checkForLocaleChange async.
Logging indicated a 1.2 second improvement in Launcher start time
during boot (when single-threaded yaffs is very heavily contended).
BUG=
2947474
Change-Id: Ie72cf02c5eacb27c6d874b6d67a0bb2de7f6b74a
Joe Onorato [Tue, 31 Aug 2010 16:59:21 +0000 (09:59 -0700)]
DO NOT MERGE - Allow the workspace to swipe while it's loading.
You still can't modify the contents of the workspace while it's loading,
but this makes it appear a little bit more responsive. Launching apps
while the launcher is loading has always been possible.
Bug:
2748595
Change-Id: Icf252beaee5b801b30216202ce6032c4d565cde3
Joe Onorato [Tue, 31 Aug 2010 01:30:15 +0000 (18:30 -0700)]
DO NOT MERGE - Fix
2941495: Launcher short-cut icons don't work for apps on SD card after reboot
Bug:
2941495
Change-Id: Idf1869d33cd5c01abea5b059ca466529cee0ad93
Dianne Hackborn [Sat, 24 Jul 2010 23:48:01 +0000 (16:48 -0700)]
Fix launcher updating when all of an app's activities disappear.
Also uses a more efficient way to get all activities for a package.
Change-Id: Ic360082f0a728cf1b388af18b22122bfce866149
The Android Open Source Project [Tue, 29 Jun 2010 21:34:53 +0000 (14:34 -0700)]
set up fast-forward from froyo-release to gingerbread
Change-Id: Ib51715745e382bdc0cb3130afed110a6307b7059
Joe Onorato [Mon, 21 Jun 2010 23:06:50 +0000 (16:06 -0700)]
Merge "Make the loader thread a Looper and move the package manager updates into that thread as well." into gingerbread
Kenny Root [Mon, 21 Jun 2010 01:58:37 +0000 (18:58 -0700)]
Import revised translations
Change-Id: I8b250fac67c854a118fd481466e2e28f773e2229
Joe Onorato [Thu, 17 Jun 2010 17:28:48 +0000 (13:28 -0400)]
Make the loader thread a Looper and move the package manager
updates into that thread as well.
This gets rid of the ANRs that happened because both threads were
holding mAllAppsListLock. Now mAllAppsList should only be touched
from within the worker thread.
Change-Id: Ifc4ac27e0c0a927ac66c456d097fd3d4ef6c5e1e
The Android Automerger [Fri, 11 Jun 2010 18:47:10 +0000 (11:47 -0700)]
Merge branch 'froyo' into froyo-release
Joe Onorato [Fri, 11 Jun 2010 17:54:31 +0000 (10:54 -0700)]
Merge "This variable can be checked outside the lock because it's only set from the ui thread." into froyo
Joe Onorato [Fri, 11 Jun 2010 07:14:11 +0000 (00:14 -0700)]
This variable can be checked outside the lock because it's only
set from the ui thread.
This will help the ANR in LauncherModel.onReceive because if
we're under contention, there's a good chance that we haven't loaded
yet. It won't completely fix it, but that will take a large refactoring.
Bug
2672967
Change-Id: I2c97a416767b4bb6aac0252f02e2aa2055ae8a4e
Joe Onorato [Fri, 11 Jun 2010 07:03:15 +0000 (00:03 -0700)]
Fix crash in getCurrentWorkspaceScreen.
Bug
2761789
Change-Id: I9f005c876ca20f774e6d8046e34451a7fecbe805
The Android Automerger [Thu, 10 Jun 2010 23:19:19 +0000 (16:19 -0700)]
Merge branch 'froyo' into froyo-release
Kenny Root [Thu, 10 Jun 2010 05:37:22 +0000 (22:37 -0700)]
Import revised translations
Change-Id: I1c61fee7e093d6f1dc9bb1f178ebec89378e2754
The Android Automerger [Wed, 9 Jun 2010 00:57:43 +0000 (17:57 -0700)]
Merge branch 'froyo' into froyo-release
Joe Onorato [Wed, 9 Jun 2010 00:39:37 +0000 (17:39 -0700)]
Fix the folder bug. The change that had previously fixed this got reverted somehow.
Change-Id: I308656a5b1748e8aca254410b049110afaa7affc
The Android Automerger [Tue, 8 Jun 2010 21:09:01 +0000 (14:09 -0700)]
Merge branch 'froyo' into froyo-release
Romain Guy [Tue, 8 Jun 2010 19:59:44 +0000 (12:59 -0700)]
Merge "Improve workspace's scrolling performance." into froyo
Joe Onorato [Tue, 8 Jun 2010 17:54:30 +0000 (10:54 -0700)]
Improve launcher loading performance by only doing re-binds.
This always reloads the workspace, because I think it's a less risky change and that only adds
~100ms.
Change-Id: I215b1f741f022e47ce06e78b9cfdd9967a8f1b9d
The Android Automerger [Tue, 8 Jun 2010 05:04:53 +0000 (22:04 -0700)]
Merge branch 'froyo' into froyo-release
Romain Guy [Tue, 8 Jun 2010 00:08:34 +0000 (17:08 -0700)]
Improve workspace's scrolling performance.
This is achieved by moving the 3D All Apps surface out of the screen when
it is not needed anymore. This saves us compositing costs that slow down
the drawing of the workspace.
Change-Id: I06ce1f77449fe1864517f4161913bc162c8e6b46
Daniel Sandler [Mon, 7 Jun 2010 18:59:01 +0000 (14:59 -0400)]
Load All Apps before the workspace if All Apps is showing.
This change reorganizes the increasingly Byzantine loader
thread so that the order of (workspace, allapps) can be
reversed if the user is currently looking at the all apps
view. The perceptual improvement in performance is huge if
you change the Launcher's orientation while All Apps is
visible (which forces a reload/bind of everything); now that
AA doesn't have to wait behind the workspace it
(specifically, its first batch of icons) appears much, much
faster.
Bug:
2722977
Change-Id: I07a9afd5f1cff4019f2640b082872176ba0a887e
Daniel Sandler [Fri, 4 Jun 2010 04:31:02 +0000 (21:31 -0700)]
Fix drawing glitches in 2DAA.
Bug:
2739938
Change-Id: Ifeacc3ea7995b3fa90165943bc45d701a6234098
The Android Automerger [Thu, 3 Jun 2010 23:21:09 +0000 (16:21 -0700)]
Merge branch 'froyo' into froyo-release
Daniel Sandler [Thu, 3 Jun 2010 21:12:11 +0000 (14:12 -0700)]
Merge "Make 2D All Apps work better in landscape and on hdpi." into froyo
Daniel Sandler [Tue, 1 Jun 2010 21:48:12 +0000 (14:48 -0700)]
Make 2D All Apps work better in landscape and on hdpi.
* Correct the density (or, rather, remove the density) of
the icons in the cache to ensure they're drawn px-for-px.
* Create a new landscape layout for 2DAA that aligns things
properly (viz: Home icon at right, padding tuned, 6
columns).
* Performance improvement: Make the app grid, icons, and
home icon all opaque (by setting a black background) and
move the home icon so it doesn't overlap the grid.
Change-Id: I961323e9e39cb122cdc694853706e7fcdd10142f
Daniel Sandler [Wed, 2 Jun 2010 20:29:52 +0000 (13:29 -0700)]
Don't perform collision checks for items in folders.
Bug:
2735146
Change-Id: Ie4d03b09cc75bfc176ec91be6f6f4369af5cc2a3
The Android Automerger [Thu, 27 May 2010 20:21:28 +0000 (13:21 -0700)]
Merge branch 'froyo' into froyo-release
Daniel Sandler [Wed, 26 May 2010 20:28:16 +0000 (16:28 -0400)]
Defend against overlapping items in the workspace.
Should the Launcher's database become corrupted by
mysterious forces (e.g.: third-party launchers; botched
upgrades; smoke monsters) in such a way as to cause two
items to share the same cell, we now ignore loading the
latter.
Prevents a runtime crash (http://b/
2655516).
Bug:
2655516
Change-Id: Ia514746f04f0e51b2cd07e9290589a6eab75bdd2
The Android Automerger [Wed, 26 May 2010 04:23:30 +0000 (21:23 -0700)]
Merge branch 'froyo' into froyo-release
Daniel Sandler [Tue, 25 May 2010 19:10:24 +0000 (12:10 -0700)]
Merge "Mask bitmap creation errors while dragging shortcuts." into froyo
Daniel Sandler [Tue, 25 May 2010 19:09:36 +0000 (12:09 -0700)]
Merge "Ignore requests to add items to non-existant screens." into froyo
Daniel Sandler [Tue, 25 May 2010 15:48:32 +0000 (11:48 -0400)]
Mask bitmap creation errors while dragging shortcuts.
If we're unable to create a bitmap for the drag, e.g. due to
memory pressure, give up.
Bug:
2650809
Change-Id: I5d7360dbb1bd736a629451467e93cccdfc255b67
Daniel Sandler [Mon, 24 May 2010 20:03:53 +0000 (16:03 -0400)]
Ignore requests to add items to non-existant screens.
Should avoid crashes when using Launcher2 alongside
third-party launchers that add additional workspaces.
Bug:
2709532
Change-Id: I7775b43e582346ba686524e357a2b262e9fc4dcd
Daniel Sandler [Mon, 24 May 2010 18:31:34 +0000 (11:31 -0700)]
Merge "Disable hotseat buttons if AllApps is visible." into froyo
Daniel Sandler [Mon, 24 May 2010 15:22:41 +0000 (11:22 -0400)]
Disable hotseat buttons if AllApps is visible.
Bug:
2707845
Change-Id: Ic4039f9737b3218a45bb3e8456c47927edd3fe3d
The Android Automerger [Wed, 19 May 2010 02:46:06 +0000 (19:46 -0700)]
Merge branch 'froyo' into froyo-release
Joe Onorato [Wed, 19 May 2010 01:43:51 +0000 (18:43 -0700)]
Have LauncherModel poke the gc after it's done, to give the
renderscript objects a chance to get deleted, since they aren't
in the java heap.
Bug
2685490
Change-Id: Ifff97b64585ac0f6faed0feb6362f6137682e32d
The Android Automerger [Mon, 17 May 2010 22:19:08 +0000 (15:19 -0700)]
Merge branch 'froyo' into froyo-release
Kenny Root [Mon, 17 May 2010 18:35:17 +0000 (11:35 -0700)]
Import revised translations
Change-Id: I627268e91946716036c1a37b22db48326ce7007d
The Android Automerger [Fri, 7 May 2010 17:57:56 +0000 (10:57 -0700)]
Merge branch 'froyo' into froyo-release
Daniel Sandler [Fri, 7 May 2010 15:49:29 +0000 (11:49 -0400)]
Fix
2617318 - NPE in Launcher2.
Applies the fix in change Id91712fa to widgets.
Bug:
2617318
Change-Id: I1e1dac6238a26497eacc23b161df171ae40bb588
The Android Automerger [Thu, 6 May 2010 05:11:37 +0000 (22:11 -0700)]
Merge branch 'froyo' into froyo-release
Adam Powell [Tue, 4 May 2010 22:17:11 +0000 (15:17 -0700)]
Merge "Bug
2639807 - Add smarter smoothing to home screen touch scrolling." into froyo
Joe Onorato [Tue, 4 May 2010 19:12:41 +0000 (12:12 -0700)]
Tweak locking in launcher so mLock isn't held while the slow stuff happens.
Bug
2652948
Change-Id: I9d386395278830ead5deda17b8b09e0dcfeff989
Adam Powell [Tue, 4 May 2010 18:34:24 +0000 (11:34 -0700)]
Bug
2639807 - Add smarter smoothing to home screen touch scrolling.
Change-Id: I242e11f5aec218ae2b8f80ef3babcb2836c173db
Ficus Kirkpatrick [Mon, 3 May 2010 21:16:55 +0000 (14:16 -0700)]
Merge "Update default homescreen layout to latest design." into froyo
Ficus Kirkpatrick [Mon, 3 May 2010 19:06:08 +0000 (12:06 -0700)]
Update default homescreen layout to latest design.
Change-Id: I3e5699a22103af1fa9c7ec476f4401a53771e5a0
Adam Powell [Mon, 3 May 2010 17:23:50 +0000 (10:23 -0700)]
Fix bug
2646531 - regression in home screen bitmap caching
Looks like the code path for buildDrawingCache(false) has some bugs.
This reverts to the old code path and tries to manage the creation of
those caches a bit better.
Change-Id: Ic468e9db396c51f723454dc3832e0cd1c0c82004
The Android Automerger [Mon, 3 May 2010 15:10:12 +0000 (08:10 -0700)]
Merge branch 'froyo' into froyo-release
Adam Powell [Thu, 29 Apr 2010 18:42:45 +0000 (11:42 -0700)]
Filter input events and smooth out touch scrolling. Bug
2639807
Change-Id: I71a18497862a30db5ff0f52f566fb86eae213ea3
Adam Powell [Thu, 29 Apr 2010 23:57:49 +0000 (16:57 -0700)]
Merge "Filter input events and smooth out touch scrolling. Bug
2639807" into froyo
Adam Powell [Thu, 29 Apr 2010 18:42:45 +0000 (11:42 -0700)]
Filter input events and smooth out touch scrolling. Bug
2639807
Change-Id: I71a18497862a30db5ff0f52f566fb86eae213ea3
Kenny Root [Thu, 29 Apr 2010 22:35:49 +0000 (15:35 -0700)]
Import revised translations
Change-Id: I46c56ec11d883a3df1bf43944ea66240a5ea3962
The Android Automerger [Thu, 29 Apr 2010 20:34:17 +0000 (13:34 -0700)]
Merge branch 'froyo' into froyo-release
Ficus Kirkpatrick [Wed, 28 Apr 2010 22:49:10 +0000 (15:49 -0700)]
Merge "Add Market widget to default workspace." into froyo
Ficus Kirkpatrick [Wed, 28 Apr 2010 22:08:34 +0000 (15:08 -0700)]
Add Market widget to default workspace.
Bug:
2606783
Change-Id: I8ea5e3564a21b98aadb8789e24276507c7ef46b7
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
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
Daniel Sandler [Wed, 28 Apr 2010 20:41:58 +0000 (13:41 -0700)]
Merge "Updated hotseat artwork." 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
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
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
The Android Automerger [Wed, 28 Apr 2010 19:21:11 +0000 (12:21 -0700)]
Merge branch 'froyo' into froyo-release
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
Kenny Root [Wed, 28 Apr 2010 04:44:33 +0000 (21:44 -0700)]
Merge "Import revised translations" into froyo
Kenny Root [Tue, 27 Apr 2010 20:39:00 +0000 (13:39 -0700)]
Import revised translations
Change-Id: Ia9b370372f0ea1ae5271030d946db621161f30a2
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
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
The Android Automerger [Mon, 26 Apr 2010 18:44:50 +0000 (11:44 -0700)]
Merge branch 'froyo' into froyo-release
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
Daniel Sandler [Fri, 23 Apr 2010 21:02:25 +0000 (14:02 -0700)]
Merge "Fix proguard flags." into froyo
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
Daniel Sandler [Fri, 23 Apr 2010 19:19:47 +0000 (15:19 -0400)]
Fixed mdpi hotseat background artwork.
Bug:
2559083
Change-Id: I969b13227b12a62484c9a91cb671128a3f3c2398
The Android Automerger [Fri, 23 Apr 2010 18:54:59 +0000 (11:54 -0700)]
Merge branch 'froyo' into froyo-release
Daniel Sandler [Fri, 23 Apr 2010 17:40:10 +0000 (10:40 -0700)]
Merge "Add widgets to default home screens." into froyo
Daniel Sandler [Fri, 23 Apr 2010 17:26:30 +0000 (10:26 -0700)]
Merge "New Launcher feature: "hotseat" icons." into froyo
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
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
The Android Automerger [Thu, 22 Apr 2010 23:16:40 +0000 (16:16 -0700)]
Merge branch 'froyo' into froyo-release
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
The Android Automerger [Wed, 21 Apr 2010 17:46:43 +0000 (10:46 -0700)]
Merge branch 'froyo' into froyo-release
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
The Android Automerger [Mon, 19 Apr 2010 19:50:25 +0000 (12:50 -0700)]
Merge branch 'froyo' into froyo-release
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
Joe Onorato [Mon, 19 Apr 2010 17:24:23 +0000 (10:24 -0700)]
Merge "More Launcher performance improvements." into froyo
Adam Powell [Fri, 16 Apr 2010 23:40:55 +0000 (16:40 -0700)]
Change workspace scroller interpolator
Change-Id: I1d8f1ceb39dc21e58c833cf030a41d08913ef7e3
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
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
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