0xdroid:packages_apps_launcher2.git
6 years agoLauncher2: Re-enable occupied widgets when screen number is reduced to 1 leb-0xdroid 0x7-leb-gingerbread
Jim Huang [Thu, 26 May 2011 03:29:18 +0000 (11:29 +0800)]
Launcher2: Re-enable occupied widgets when screen number is reduced to 1

6 years agoLauncher2: Reduce number screen.
Jim Huang [Thu, 26 May 2011 03:29:18 +0000 (11:29 +0800)]
Launcher2: Reduce number screen.

6 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 28 Jan 2011 21:20:57 +0000 (13:20 -0800)]
Import revised translations.  DO NOT MERGE

Change-Id: I12478c849c20e9b243d6b6c559c10ac38382bef8

6 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 27 Jan 2011 22:02:25 +0000 (14:02 -0800)]
Import revised translations.  DO NOT MERGE

Change-Id: I990bf5a784ef5886d89b7cee3456584c2aa707be

6 years agoImport translations for additional languages.
Eric Fischer [Thu, 6 Jan 2011 18:35:56 +0000 (10:35 -0800)]
Import translations for additional languages.

Change-Id: I9df0e884b1defd86f3ba5f626d750c0e2171bf80

7 years agoFix bug 3126193 - over-scroll glow extends beyond folder bounds beagle-gingerbread
Adam Powell [Tue, 9 Nov 2010 01:00:18 +0000 (17:00 -0800)]
Fix bug 3126193 - over-scroll glow extends beyond folder bounds

Fixed a layout problem in Launcher2 where lists and grids did not have
proper containers.

Change-Id: I683e42362345a9c9d18d957e84bb8522675fdfc6

7 years agoRevert "New set of wallpapers for Gingerbread."
Justin Ho [Fri, 5 Nov 2010 00:55:09 +0000 (17:55 -0700)]
Revert "New set of wallpapers for Gingerbread."

This reverts commit 6ad2fac46f9bbd59db933992be761a83c7a1f205.

7 years agoNew set of wallpapers for Gingerbread.
Justin Ho [Wed, 3 Nov 2010 23:06:18 +0000 (16:06 -0700)]
New set of wallpapers for Gingerbread.

7 years agoWhen the launcher is paused and we reload stuff in the background, we need to re...
Joe Onorato [Wed, 27 Oct 2010 02:25:42 +0000 (19:25 -0700)]
When the launcher is paused and we reload stuff in the background, we need to re-re-load it in onResume.

Otherwise we can load widgets and other resources from the wrong Configuration.
This doesn't completely fix the bug, but it makes it much less likely.  We tell
the launcher once at the beginning of starting a reload because of SD cards coming
back, and once when we bind.

Bug: 3126698
Change-Id: I99ee6af38bef91e261832bad4dec978a5d4a8b3d

7 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 25 Oct 2010 22:45:06 +0000 (15:45 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: If3ea4bf95e0a9a2ce891201ef7d2e65a7608a71c

7 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 22 Oct 2010 22:29:13 +0000 (15:29 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I38692a4ba3f195c57f5af7271bf88f3f797e1c39

7 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 21 Oct 2010 23:44:13 +0000 (16:44 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: Ie8b736808423093dc1422a80e971fed1ac31cd64

7 years agoDO NOT MERGE - Updated hotseat icons (mdpi and hdpi)
Justin Ho [Tue, 19 Oct 2010 20:45:19 +0000 (13:45 -0700)]
DO NOT MERGE - Updated hotseat icons (mdpi and hdpi)

Change-Id: Ic19ddc5b7d6075b7cf9ef32e42276ffc81dc70b6

7 years agoImport revised translations DO NOT MERGE
Kenny Root [Fri, 15 Oct 2010 22:23:24 +0000 (15:23 -0700)]
Import revised translations DO NOT MERGE

Change-Id: Ifdea363c8ee351a42c630ce84cf6f8dff7ee7e7c

7 years agoUpdated hotseat icons(mdpi and hdpi) and trashcan (mdpi)
Justin Ho [Fri, 15 Oct 2010 00:02:18 +0000 (17:02 -0700)]
Updated hotseat icons(mdpi and hdpi) and trashcan (mdpi)

Change-Id: I90d8c69ac30612ace077df0b48c44b7628763ad5

7 years agoMerge "Import revised translations" into gingerbread
Kenny Root [Thu, 14 Oct 2010 21:17:25 +0000 (14:17 -0700)]
Merge "Import revised translations" into gingerbread

7 years agoImport revised translations
Kenny Root [Thu, 14 Oct 2010 16:44:21 +0000 (09:44 -0700)]
Import revised translations

Change-Id: Ie3b00ac372907ea32464ab334ee22f9c03647b9a

7 years agoFix bug3096516 re capitlization of Manage apps menu item
Roy West [Thu, 14 Oct 2010 13:10:33 +0000 (06:10 -0700)]
Fix bug3096516 re capitlization of Manage apps menu item

Change-Id: Icdc77662827d10bd0f8ab32616d380db29bd94bb

7 years agoUpdated hotseat and trashcan icons in Launcher2 (hdpi)
Justin Ho [Wed, 13 Oct 2010 03:25:25 +0000 (20:25 -0700)]
Updated hotseat and trashcan icons in Launcher2 (hdpi)

Change-Id: I7d49b84bb61ca354fef309367d76d79deaa2e83b

7 years agoMerge "Changed Grid layout on home. More space at the bottom." into gingerbread
Gilles Debunne [Tue, 12 Oct 2010 00:13:19 +0000 (17:13 -0700)]
Merge "Changed Grid layout on home. More space at the bottom." into gingerbread

7 years agoSerialize background async db updates
Brad Fitzpatrick [Mon, 11 Oct 2010 16:40:44 +0000 (09:40 -0700)]
Serialize background async db updates

Bug: 2983765
Change-Id: I1fdd33ea8ee4fbc79a75ce0450f04d8e18915975

7 years agoMerge "Don't block the UI when rearranging icons." into gingerbread
Brad Fitzpatrick [Sun, 10 Oct 2010 22:49:12 +0000 (15:49 -0700)]
Merge "Don't block the UI when rearranging icons." into gingerbread

7 years agoDon't block the UI when rearranging icons.
Brad Fitzpatrick [Sun, 10 Oct 2010 22:42:06 +0000 (15:42 -0700)]
Don't block the UI when rearranging icons.

The pause is mostly notable when a sync is happening at the same time.

The related function addItemToDatabase() is unchanged by this CL
though as it populates item.id and would need more invasive changes
elsewhere.

Change-Id: I6538445aeb15d9efedf99f262c39f6175f7f1e0e

7 years agoSnap workspace back to screen on ACTION_CANCEL.
Jeff Brown [Sat, 9 Oct 2010 05:53:33 +0000 (22:53 -0700)]
Snap workspace back to screen on ACTION_CANCEL.

Bug: 3066123
Change-Id: Icbdf3ef241ec44b5569e7490c1b950d80699ddc8

7 years agoNew hotseat assets.
Gilles Debunne [Fri, 8 Oct 2010 22:00:59 +0000 (15:00 -0700)]
New hotseat assets.

Change-Id: I5505d267076de39cb3fabd0fa7419adc3f619d39

7 years agoChanged Grid layout on home. More space at the bottom.
Gilles Debunne [Thu, 7 Oct 2010 18:58:44 +0000 (11:58 -0700)]
Changed Grid layout on home. More space at the bottom.

Bug: http://b/issue?id=3053235

This is a proper way to do what was done in https://android-git.corp.google.com/g/#change,71522

The longAxisEndPadding used to be equal to button_bar_height.
Increased it to match proposed mock from designers and increase space
between last row and hot seats buttons.

Change-Id: I31dfba0a3e90a30f18d42b16681592d9527517d4

7 years agoMerge "When the SD card comes back, we need to show the apps on it." into gingerbread
Joe Onorato [Thu, 7 Oct 2010 18:42:22 +0000 (11:42 -0700)]
Merge "When the SD card comes back, we need to show the apps on it." into gingerbread

7 years agoWhen the SD card comes back, we need to show the apps on it.
Joe Onorato [Thu, 7 Oct 2010 18:37:40 +0000 (14:37 -0400)]
When the SD card comes back, we need to show the apps on it.

The problem was that we were doing startLoader, but once the
apps are loaded, all that does is re-bind everything.  Before
a recent change of mine, we were clearing mWorkspaceLoaded and
mAllAppsLoaded.  But that's not good either, because it meant
that there needed to be a lock that the main thread and the
worker thread were both acquiring, which was causing ANRs.

Instead, now we schedule two messages - one to add the apps
back into the list, and one to update everything to use
those new icons.

Bug: 3065061
Change-Id: If9d36d4b55a7ba72fcf48a5ed8941bb9466bebe6

7 years agoRevert "Changed Grid layout on home. More space at the bottom."
Gilles Debunne [Thu, 7 Oct 2010 18:03:55 +0000 (11:03 -0700)]
Revert "Changed Grid layout on home. More space at the bottom."

This reverts commit 372ca9736e6880013072e094f526b6fadfb288a6.

Change-Id: I5c5df72067bd17b14c8afc7b7869a50a0198f9ac

7 years agoMerge "Import revised translations. DO NOT MERGE" into gingerbread
Eric Fischer [Thu, 7 Oct 2010 00:32:48 +0000 (17:32 -0700)]
Merge "Import revised translations.  DO NOT MERGE" into gingerbread

7 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 7 Oct 2010 00:13:05 +0000 (17:13 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: Id10c202123114a32708d7def3942b900f1d5933b

7 years agoMerge "Changed Grid layout on home. More space at the bottom." into gingerbread
Gilles Debunne [Wed, 6 Oct 2010 23:51:18 +0000 (16:51 -0700)]
Merge "Changed Grid layout on home. More space at the bottom." into gingerbread

7 years agoNew hot seat assets
Gilles Debunne [Wed, 6 Oct 2010 21:46:27 +0000 (14:46 -0700)]
New hot seat assets

Change-Id: I95ebf95f6eb0d24a88e1726acbb9e2498965d180

7 years agoMerge "Adding more specific title for pick-application dialog." into gingerbread
Winson Chung [Tue, 5 Oct 2010 15:54:32 +0000 (08:54 -0700)]
Merge "Adding more specific title for pick-application dialog." into gingerbread

7 years agoChanged Grid layout on home. More space at the bottom.
Gilles Debunne [Fri, 1 Oct 2010 22:34:18 +0000 (15:34 -0700)]
Changed Grid layout on home. More space at the bottom.

Strange behavior: cell height has to be increased to increase padding.
I guess this is because the cells have to fit in the screen height and are
rescaled, with a top alignement thus creating padding at the bottom.

Bug: http://b/issue?id=3053235

Change-Id: I727ab091a736916b7efc1c05a80c5b006bc56f67

7 years agoSending the DIAL Intent to simulate pushing the phone-hardbutton
Daniel Lehmann [Fri, 1 Oct 2010 21:30:52 +0000 (14:30 -0700)]
Sending the DIAL Intent to simulate pushing the phone-hardbutton

Bug:3049178 Launching the phone app should always take the user to the dialer
Change-Id: I61edffa37a211e205e8b2192e6a81963eff54ee7

7 years agoAdding more specific title for pick-application dialog.
Winson Chung [Fri, 1 Oct 2010 20:44:56 +0000 (13:44 -0700)]
Adding more specific title for pick-application dialog.

Change-Id: I9703f80b34d05b2cfa6239652eae36d1ebcde6e5

7 years agoMerge "Reload everything when coming back from the SD being unmounted." into gingerbread
Joe Onorato [Thu, 30 Sep 2010 23:39:50 +0000 (16:39 -0700)]
Merge "Reload everything when coming back from the SD being unmounted." into gingerbread

7 years agoReload everything when coming back from the SD being unmounted.
Joe Onorato [Thu, 30 Sep 2010 23:29:59 +0000 (16:29 -0700)]
Reload everything when coming back from the SD being unmounted.

We could do this more efficiently by only updating the packages that
have changed, but that would involve a big rewrite.

Bug: 3020854
Change-Id: Ie7e3bee20f45dc5efa93d960902e9dfb79c4a3a5

7 years agoMerge "Import revised translations. DO NOT MERGE" into gingerbread
Eric Fischer [Thu, 30 Sep 2010 22:46:56 +0000 (15:46 -0700)]
Merge "Import revised translations.  DO NOT MERGE" into gingerbread

7 years agoMerge "Add a script to pull launcher.db off the device and pretty print an html file...
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

7 years agoAdd a script to pull launcher.db off the device and pretty print an html file with...
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

7 years agoFix proguard flag file dependency.
Ying Wang [Wed, 29 Sep 2010 22:25:38 +0000 (15:25 -0700)]
Fix proguard flag file dependency.

Change-Id: Ic9f90a30833bfafb7d76dcc851a92892b9a2a9b7

7 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 29 Sep 2010 21:34:53 +0000 (14:34 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: Iadedd45343b749561216f7b2d9ef4c3de0d4034c

7 years agoMerge "New assets for hot seat." into gingerbread
Gilles Debunne [Wed, 29 Sep 2010 19:12:40 +0000 (12:12 -0700)]
Merge "New assets for hot seat." into gingerbread

7 years agoDO NOT MERGE - the scroll drag area was too small, and should have come from a resour...
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

7 years agoNew assets for hot seat.
Gilles Debunne [Wed, 29 Sep 2010 00:41:26 +0000 (17:41 -0700)]
New assets for hot seat.

Change-Id: I22c1e4a8b932fa48af57e2eecedb6ac4fe6c85fa

7 years agoAdding menu item to Launcher to manage applications directly from homescreen
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

7 years agoWhen we're launching apps, we need to always use startActivitySafely.
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

7 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 24 Sep 2010 17:24:44 +0000 (10:24 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: Ie0dd3e3ea930de8676d4e085721cab5844386f66

7 years agoMake LauncherModel.deleteItemFromDatabase write to disk async.
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

7 years agoMake Launcher.checkForLocaleChange async.
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

7 years agoDO NOT MERGE - Allow the workspace to swipe while it's loading.
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

7 years agoDO NOT MERGE - Fix 2941495: Launcher short-cut icons don't work for apps on SD card...
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

7 years agoFix launcher updating when all of an app's activities disappear.
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

7 years agoset up fast-forward from froyo-release to gingerbread
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

7 years agoMerge "Make the loader thread a Looper and move the package manager updates into...
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

7 years agoImport revised translations
Kenny Root [Mon, 21 Jun 2010 01:58:37 +0000 (18:58 -0700)]
Import revised translations

Change-Id: I8b250fac67c854a118fd481466e2e28f773e2229

7 years agoMake the loader thread a Looper and move the package manager
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

7 years agoMerge branch 'froyo' into froyo-release
The Android Automerger [Fri, 11 Jun 2010 18:47:10 +0000 (11:47 -0700)]
Merge branch 'froyo' into froyo-release

7 years agoMerge "This variable can be checked outside the lock because it's only set from the...
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

7 years agoThis variable can be checked outside the lock because it's only
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

7 years agoFix crash in getCurrentWorkspaceScreen.
Joe Onorato [Fri, 11 Jun 2010 07:03:15 +0000 (00:03 -0700)]
Fix crash in getCurrentWorkspaceScreen.

Bug 2761789

Change-Id: I9f005c876ca20f774e6d8046e34451a7fecbe805

7 years agoMerge branch 'froyo' into froyo-release
The Android Automerger [Thu, 10 Jun 2010 23:19:19 +0000 (16:19 -0700)]
Merge branch 'froyo' into froyo-release

7 years agoImport revised translations
Kenny Root [Thu, 10 Jun 2010 05:37:22 +0000 (22:37 -0700)]
Import revised translations

Change-Id: I1c61fee7e093d6f1dc9bb1f178ebec89378e2754

7 years agoMerge branch 'froyo' into froyo-release
The Android Automerger [Wed, 9 Jun 2010 00:57:43 +0000 (17:57 -0700)]
Merge branch 'froyo' into froyo-release

7 years agoFix the folder bug. The change that had previously fixed this got reverted somehow.
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

7 years agoMerge branch 'froyo' into froyo-release
The Android Automerger [Tue, 8 Jun 2010 21:09:01 +0000 (14:09 -0700)]
Merge branch 'froyo' into froyo-release

7 years agoMerge "Improve workspace's scrolling performance." into froyo
Romain Guy [Tue, 8 Jun 2010 19:59:44 +0000 (12:59 -0700)]
Merge "Improve workspace's scrolling performance." into froyo

7 years agoImprove launcher loading performance by only doing re-binds.
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

7 years agoMerge branch 'froyo' into froyo-release
The Android Automerger [Tue, 8 Jun 2010 05:04:53 +0000 (22:04 -0700)]
Merge branch 'froyo' into froyo-release

7 years agoImprove workspace's scrolling performance.
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

7 years agoLoad All Apps before the workspace if All Apps is showing.
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

7 years agoFix drawing glitches in 2DAA.
Daniel Sandler [Fri, 4 Jun 2010 04:31:02 +0000 (21:31 -0700)]
Fix drawing glitches in 2DAA.

Bug: 2739938
Change-Id: Ifeacc3ea7995b3fa90165943bc45d701a6234098

7 years agoMerge branch 'froyo' into froyo-release
The Android Automerger [Thu, 3 Jun 2010 23:21:09 +0000 (16:21 -0700)]
Merge branch 'froyo' into froyo-release

7 years agoMerge "Make 2D All Apps work better in landscape and on hdpi." into froyo
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

7 years agoMake 2D All Apps work better in landscape and on hdpi.
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

7 years agoDon't perform collision checks for items in folders.
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

7 years agoMerge branch 'froyo' into froyo-release
The Android Automerger [Thu, 27 May 2010 20:21:28 +0000 (13:21 -0700)]
Merge branch 'froyo' into froyo-release

7 years agoDefend against overlapping items in the workspace.
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

7 years agoMerge branch 'froyo' into froyo-release
The Android Automerger [Wed, 26 May 2010 04:23:30 +0000 (21:23 -0700)]
Merge branch 'froyo' into froyo-release

7 years agoMerge "Mask bitmap creation errors while dragging shortcuts." into froyo
Daniel Sandler [Tue, 25 May 2010 19:10:24 +0000 (12:10 -0700)]
Merge "Mask bitmap creation errors while dragging shortcuts." into froyo

7 years agoMerge "Ignore requests to add items to non-existant screens." 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

7 years agoMask bitmap creation errors while dragging shortcuts.
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

7 years agoIgnore requests to add items to non-existant screens.
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

7 years agoMerge "Disable hotseat buttons if AllApps is visible." into froyo
Daniel Sandler [Mon, 24 May 2010 18:31:34 +0000 (11:31 -0700)]
Merge "Disable hotseat buttons if AllApps is visible." into froyo

7 years agoDisable hotseat buttons if AllApps is visible.
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

7 years agoMerge branch 'froyo' into froyo-release
The Android Automerger [Wed, 19 May 2010 02:46:06 +0000 (19:46 -0700)]
Merge branch 'froyo' into froyo-release

7 years agoHave LauncherModel poke the gc after it's done, to give the
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

7 years agoMerge branch 'froyo' into froyo-release
The Android Automerger [Mon, 17 May 2010 22:19:08 +0000 (15:19 -0700)]
Merge branch 'froyo' into froyo-release

7 years agoImport revised translations
Kenny Root [Mon, 17 May 2010 18:35:17 +0000 (11:35 -0700)]
Import revised translations

Change-Id: I627268e91946716036c1a37b22db48326ce7007d

7 years agoMerge branch 'froyo' into froyo-release
The Android Automerger [Fri, 7 May 2010 17:57:56 +0000 (10:57 -0700)]
Merge branch 'froyo' into froyo-release

7 years agoFix 2617318 - NPE in Launcher2.
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

7 years agoMerge branch 'froyo' into froyo-release
The Android Automerger [Thu, 6 May 2010 05:11:37 +0000 (22:11 -0700)]
Merge branch 'froyo' into froyo-release

7 years agoMerge "Bug 2639807 - Add smarter smoothing to home screen touch scrolling." into...
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

7 years agoTweak locking in launcher so mLock isn't held while the slow stuff happens.
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

7 years agoBug 2639807 - Add smarter smoothing to home screen touch scrolling.
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

7 years agoMerge "Update default homescreen layout to latest design." into froyo
Ficus Kirkpatrick [Mon, 3 May 2010 21:16:55 +0000 (14:16 -0700)]
Merge "Update default homescreen layout to latest design." into froyo

7 years agoUpdate default homescreen layout to latest design.
Ficus Kirkpatrick [Mon, 3 May 2010 19:06:08 +0000 (12:06 -0700)]
Update default homescreen layout to latest design.

Change-Id: I3e5699a22103af1fa9c7ec476f4401a53771e5a0

7 years agoFix bug 2646531 - regression in home screen bitmap caching
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