0xdroid:packages_apps_launcher2.git
7 years ago[Launcher2] Show/hide icons at Launcher beagle-eclair beagle-eclair-0x5
Julian_Chu [Mon, 12 Jul 2010 09:42:41 +0000 (17:42 +0800)]
[Launcher2] Show/hide icons at Launcher

Change-Id: Ifc4a8d9c39577f5b9dca794491694253022db868

7 years ago[Launcher2] Workspace: implement method hide
Julian_Chu [Mon, 12 Jul 2010 09:36:19 +0000 (17:36 +0800)]
[Launcher2] Workspace: implement method hide

Change-Id: If31561b0c6d87b250f956b8243b2f937ad7992af

7 years ago[Launcher2] Do not show up AllApps after initialize
Julian_Chu [Thu, 3 Jun 2010 10:33:52 +0000 (18:33 +0800)]
[Launcher2] Do not show up AllApps after initialize

Change-Id: Ica08fdf63be9d7a0a8fe3853f7aec726ac9894c5

7 years ago[Launcher2] Use AllAppsGridView to instead of RSSurfaceView
Julian_Chu [Wed, 2 Jun 2010 07:37:40 +0000 (15:37 +0800)]
[Launcher2] Use AllAppsGridView to instead of RSSurfaceView

Change-Id: Ib7cc78a1a8d8d80a3c2feb73559752cd917a6154

7 years ago[Launcher2] Add GridView to AllAppsGridView
Julian_Chu [Wed, 2 Jun 2010 07:34:47 +0000 (15:34 +0800)]
[Launcher2] Add GridView to AllAppsGridView

It displays the list of installed applications
in grid layout.

Change-Id: I9ee1643e3a5abed1f61c30ab666cb2a30f14a811

7 years ago[Launcher2] Create icon when generating AppInfoCache
Julian_Chu [Tue, 1 Jun 2010 15:39:54 +0000 (23:39 +0800)]
[Launcher2] Create icon when generating AppInfoCache

Create icon at updateTitleAndIcon, the icon will be
used for GridView

Change-Id: I0bb364975bce57bd25145e93a3473143751ba526

7 years ago[Launcher2] Manage Applications List
Julian_Chu [Wed, 2 Jun 2010 07:33:33 +0000 (15:33 +0800)]
[Launcher2] Manage Applications List

Use ApplicationsAdapter to add/remove installed application.

Change-Id: I72977876e3feead71d9e133b1049b82e4fe9057b

7 years ago[Launcher2] Add ApplicationsAdapter
Julian_Chu [Mon, 31 May 2010 15:01:22 +0000 (23:01 +0800)]
[Launcher2] Add ApplicationsAdapter

This part of code comes from the original Launcher.
This adapter will be used for widget GridView.
It convert a View when user select a item at GridView.

Change-Id: Ia5dc21639671962413e87824d6b89c5c6751b49d

7 years ago[Launcher2] Let AllAppsGridView implements AllApps
Julian_Chu [Wed, 2 Jun 2010 07:32:37 +0000 (15:32 +0800)]
[Launcher2] Let AllAppsGridView implements AllApps

Make it buildable and implements interface AllApps

Add a Home button which will ask Launcher to close
itself if User tap the button.

Change-Id: Ib7a5439453e5f42ae8bc1c69c1528c44b021cb0b

7 years ago[Launcher2] Import android.util.Log
Julian_Chu [Mon, 31 May 2010 13:21:36 +0000 (21:21 +0800)]
[Launcher2] Import android.util.Log

Every engineer likes Log

Change-Id: I26552f6608b10e18856c1b9d9923f9bd372f5a97

7 years ago[Launcher2] Add google original AllAppsgridView
Julian_Chu [Sun, 30 May 2010 10:16:16 +0000 (18:16 +0800)]
[Launcher2] Add google original AllAppsgridView

This class comes from the original Launcher.
It is useful but not buildable.

Change-Id: Icfc9dc2a092268f093a91e54ba13e58cf4fb0ab7

7 years ago[Launcher2] Add Drawable: home_button_selector
Julian_Chu [Wed, 2 Jun 2010 08:39:27 +0000 (16:39 +0800)]
[Launcher2] Add Drawable: home_button_selector

It provides a selector which presents different state
of image of Home button.

Change-Id: I538fc80a51181b337ef1f3fdbb1ee23e9cb2bc54

7 years ago[Launcher2] Launcher use interface but not implementation
Julian_Chu [Mon, 12 Jul 2010 08:29:22 +0000 (16:29 +0800)]
[Launcher2] Launcher use interface but not implementation

Launcher only face to the interface, therefore we might
change the implementation to what we want.

Change-Id: I4e07aea82c9caa76ca2d7822994b7301c5996601

7 years ago[Launcher2] AllAppsView implements interface AllApps
Julian_Chu [Sun, 30 May 2010 10:11:31 +0000 (18:11 +0800)]
[Launcher2] AllAppsView implements interface AllApps

Let AllAppsView to implement the interface.

Change-Id: If8a4f560cbaa8f8e8ea46a2548fefd67c9bcc45f

7 years ago[Launcher2] Add interface AllApps
Julian_Chu [Sun, 30 May 2010 10:05:10 +0000 (18:05 +0800)]
[Launcher2] Add interface AllApps

AllApps is a interface. Every container which contains
the list of Installed-Applications should implement
this interface.

Launcher should only face to this interface and don't
care what the implementation it is.

Change-Id: Ic692de233a2189a1ec29d099733cd940aad6e40e

7 years ago[Launcher2] Recalcluate icon size and position while dragging
Julian_Chu [Wed, 28 Apr 2010 09:10:57 +0000 (17:10 +0800)]
[Launcher2] Recalcluate icon size and position while dragging

Since we scale the texture size, we have to calculate the thumbnail size
while extracting icon from texture.

This method will be called whenever user long click a icon of AllAppsView.

Change-Id: I01e295bfb81d6400201602809f9547ede79fd9d4

7 years ago[Launcher2] Scale the Texture Size to fit to Cell Size
Julian_Chu [Wed, 28 Apr 2010 08:27:36 +0000 (16:27 +0800)]
[Launcher2] Scale the Texture Size to fit to Cell Size

BubbleText try to draw text on canvas of Icon.
However, the size of canvas of Icon is not large enough
therefore BubbleText cannot draw to correct position.

This patch create proper size of texture.

Change-Id: Ia002722a19e32deef1c548457f750ff9d1c324b3

7 years ago[Launcher2] Move the Home Icon to the center of AllAppsView master beagle-eclair-0x4
Julian_Chu [Mon, 22 Mar 2010 12:04:16 +0000 (20:04 +0800)]
[Launcher2] Move the Home Icon to the center of AllAppsView

do not hard code the width and height

Change-Id: Id9c53575e5eec2e539345c94d173fb8c893f632b

7 years ago[Launcher2] Increase bottom padding of CellLayout
Julian_Chu [Mon, 22 Mar 2010 11:50:18 +0000 (19:50 +0800)]
[Launcher2] Increase bottom padding of CellLayout

Since we move HandleView to the bottom, increase the bottom padding
therefore HandleView will not overlay with icons on screen

Change-Id: I9294486304c9712dbf56cf35e8ac842ddb2ecd4f

7 years ago[Launcher2] Move the HandleView to bottom of screen
Julian_Chu [Mon, 22 Mar 2010 11:33:57 +0000 (19:33 +0800)]
[Launcher2] Move the HandleView to bottom of screen

Change-Id: If2112c614bccb78caab814bb538b97f1ccd933fc

7 years ago[Launcher2] Make Launcher2 is enable to start
Julian_Chu [Mon, 22 Mar 2010 10:48:26 +0000 (18:48 +0800)]
[Launcher2] Make Launcher2 is enable to start

We might needs these images and xml for other resolution
which is not hdpi

Change-Id: I2c7f5b6df80299c2d91d4644614c51f3db49c29e

7 years ago[Launcher2] Revert Froyo changing
Julian_Chu [Mon, 12 Apr 2010 09:23:53 +0000 (17:23 +0800)]
[Launcher2] Revert Froyo changing

Since we revert the RenderScript changing of Froyo at Framewors.
Revert these commits otherwise Launcher2 cannot start.

Revert "Merge remote branch 'korg/eclair' into eclair"

This reverts commit 8ac744c5ebb30c189b2fbef33319c4168339270d.

Change-Id: Ief223c8e9daa98de3466fd5af8b76aa28d0ce08c

7 years agoMerge remote branch 'korg/eclair' into eclair
Kan-Ru Chen [Fri, 2 Apr 2010 06:10:31 +0000 (14:10 +0800)]
Merge remote branch 'korg/eclair' into eclair

7 years agoMerge fix from master for flickering all apps.
Jason Sams [Fri, 12 Mar 2010 02:28:20 +0000 (18:28 -0800)]
Merge fix from master for flickering all apps.
DO NOT MERGE

Change-Id: I76490c2dcb321bd733903c32b5c9486904891b92

7 years agoMaybe this will silence http://b/2460740
Joe Onorato [Mon, 1 Mar 2010 23:26:36 +0000 (15:26 -0800)]
Maybe this will silence http://b/2460740

7 years agofix 2460740 com.android.launcher2: java.lang.NullPointerException at
Joe Onorato [Mon, 22 Feb 2010 22:46:10 +0000 (14:46 -0800)]
fix 2460740 com.android.launcher2: java.lang.NullPointerException at
com.android.launcher2.AllAppsView$RolloRS.saveAppsList(AllAppsView.java:1270)

7 years agoDon't crash when adding a shortcut.
Joe Onorato [Fri, 19 Feb 2010 21:10:40 +0000 (13:10 -0800)]
Don't crash when adding a shortcut.

Steps to reproduce: Menu > Add > Shortcut > Application > [any app]

E/AndroidRuntime( 1734): Caused by: java.lang.ClassCastException: com.android.launcher2.ShortcutInfo
E/AndroidRuntime( 1734):    at com.android.launcher2.Workspace.onDropExternal(Workspace.java:963)
E/AndroidRuntime( 1734):    at
com.android.launcher2.Workspace.addApplicationShortcut(Workspace.java:903)
E/AndroidRuntime( 1734):    at
com.android.launcher2.Launcher.completeAddApplication(Launcher.java:669)
E/AndroidRuntime( 1734):    at com.android.launcher2.Launcher.onActivityResult(Launcher.java:371)
E/AndroidRuntime( 1734):    at android.app.Activity.dispatchActivityResult(Activity.java:3877)
E/AndroidRuntime( 1734):    at android.app.ActivityThread.deliverResults(ActivityThread.java:3340)

7 years agoDO NOT MERGE; Add back support for uts testing.
Wink Saville [Fri, 19 Feb 2010 17:05:23 +0000 (09:05 -0800)]
DO NOT MERGE; Add back support for uts testing.

7 years agoReimport Launcher2 translations. DO NOT MERGE
Eric Fischer [Fri, 19 Feb 2010 01:21:35 +0000 (17:21 -0800)]
Reimport Launcher2 translations.  DO NOT MERGE

7 years agoDO NOT MERGE - Use the froyo launcher2 in mr3, except for a few unbundling things...
Joe Onorato [Thu, 18 Feb 2010 23:31:52 +0000 (15:31 -0800)]
DO NOT MERGE - Use the froyo launcher2 in mr3, except for a few unbundling things that can't be merged back.

7 years agoMerge "Launcher changes to handle UTS test mode." into eclair
Wink Saville [Fri, 12 Feb 2010 23:51:46 +0000 (15:51 -0800)]
Merge "Launcher changes to handle UTS test mode." into eclair

7 years agoLauncher changes to handle UTS test mode.
Wink Saville [Fri, 12 Feb 2010 20:12:45 +0000 (12:12 -0800)]
Launcher changes to handle UTS test mode.

When in UTS test mode keys received need to be handled
by the Phone application or Contacts application to
operate properly in the test mode. When not in test mode
the search widget will handle the keys as it was before
this change.

The UTS test mode is enabled when presist.sys.uts-test-mode is 1.

bug: 2402366
Change-Id: I58e68830f9ce6905e189ecba1c04b1076799a0a0
Signed-off-by: Wink Saville <wink@google.com>
7 years agoDO NOT MERGE. Update for new RS library with ES 2.0 support.
Jason Sams [Fri, 12 Feb 2010 02:15:48 +0000 (18:15 -0800)]
DO NOT MERGE. Update for new RS library with ES 2.0 support.

7 years agoam 999b6a5e: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:49:16 +0000 (08:49 -0800)]
am 999b6a5e: reconcile main tree with open-source eclair

Merge commit '999b6a5ecb36405d3697f9fb11df9a5bb0273e73' into eclair-plus-aosp

* commit '999b6a5ecb36405d3697f9fb11df9a5bb0273e73':
  android-2.1_r1 snapshot
  Keep banging on the launcher locks up bug.  This moves the
  Fix 2257802 - Screen unresponsive when you get a call while moving the shortcuts or widgets on home screen
  Fix bug 2258128 - homescreen on Passion unresponsive while still not leaking the contexts.

7 years agoreconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:09:40 +0000 (08:09 -0800)]
reconcile main tree with open-source eclair

7 years agoreconcile android-2.1_r1 snapshot
The Android Open Source Project [Fri, 29 Jan 2010 22:09:25 +0000 (14:09 -0800)]
reconcile android-2.1_r1 snapshot

7 years agomerge from open-source master
The Android Open Source Project [Thu, 21 Jan 2010 19:21:30 +0000 (11:21 -0800)]
merge from open-source master

7 years agoFix for bug 2382944. This is a very safe change that just corrects a long standing...
Jason Sams [Wed, 20 Jan 2010 01:46:34 +0000 (17:46 -0800)]
Fix for bug 2382944.  This is a very safe change that just corrects a long standing scroll speed bug in launcher.

7 years agoPut the label into the same texture as the icon.
Joe Onorato [Thu, 14 Jan 2010 16:16:55 +0000 (11:16 -0500)]
Put the label into the same texture as the icon.

7 years agoandroid-2.1_r1 snapshot
The Android Open Source Project [Tue, 12 Jan 2010 23:19:14 +0000 (15:19 -0800)]
android-2.1_r1 snapshot

7 years agoFix 2325492 - No icons in launcher after pressing home from within an app
Joe Onorato [Tue, 12 Jan 2010 00:39:32 +0000 (19:39 -0500)]
Fix 2325492 - No icons in launcher after pressing home from within an app

It looks like the evil hack in 14f122bf847e50a3e7730ccbe57abc25d086a01b to make the workspace
not animate didn't completely work.  The key to reproducing this bug is to make sure the
activity is destroyed and to have last gone to an app from a screen other than the center
screen, because that causes it to get reloaded from the icicle, which makes the timing
more amenable to missing the animation, because the view isn't attached yet.

7 years agoempty initial commit
The Android Open Source Project [Mon, 11 Jan 2010 22:33:06 +0000 (14:33 -0800)]
empty initial commit

7 years agoMerge branch 'eclair' into eclair-release
android-build SharedAccount [Tue, 15 Dec 2009 22:19:19 +0000 (14:19 -0800)]
Merge branch 'eclair' into eclair-release

7 years agoMerge branch 'eclair' into eclair-release
The Android Automerger [Tue, 15 Dec 2009 02:04:27 +0000 (18:04 -0800)]
Merge branch 'eclair' into eclair-release

7 years agofix bug 2326478
Joe Onorato [Tue, 15 Dec 2009 01:44:51 +0000 (17:44 -0800)]
fix bug 2326478

8 years agoStill trying to fix 2320348 - Launcher2 crashed: AIOOBE at com.android.launcher2...
Joe Onorato [Fri, 11 Dec 2009 21:38:54 +0000 (13:38 -0800)]
Still trying to fix 2320348 - Launcher2 crashed: AIOOBE at com.android.launcher2.AllAppsView$RolloRS.removeApp

8 years agoMerge branch 'eclair' into eclair-release
The Android Automerger [Fri, 11 Dec 2009 21:23:14 +0000 (13:23 -0800)]
Merge branch 'eclair' into eclair-release

8 years agoLauncher2 - This might fix the missing app problem and the crash in removeApp.
Joe Onorato [Fri, 11 Dec 2009 18:59:51 +0000 (10:59 -0800)]
Launcher2 - This might fix the missing app problem and the crash in removeApp.

This marks the apps list as dirty by default.  Usually, because of how long
it takes the loader thread to run, the apps list comes in after the surface
has been initialized.  However, if the surface isn't around yet when setApps
is called, then setApps won't set mRollo.mAppsDirty because mRollo is null.
The extra null check is necessary for the normal case when mAllAppsList isn't
ready yet when the surface comes in.

8 years agoMerge branch 'eclair' into eclair-release
The Android Automerger [Thu, 10 Dec 2009 17:01:47 +0000 (09:01 -0800)]
Merge branch 'eclair' into eclair-release

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 10 Dec 2009 01:26:55 +0000 (17:26 -0800)]
Import revised translations.  DO NOT MERGE

8 years agoMerge branch 'eclair' into eclair-release
The Android Automerger [Wed, 9 Dec 2009 22:46:50 +0000 (14:46 -0800)]
Merge branch 'eclair' into eclair-release

8 years agofix 2315821 and 2315729 - problems caused because the apps list could become
Joe Onorato [Wed, 9 Dec 2009 21:01:06 +0000 (13:01 -0800)]
fix 2315821 and 2315729 - problems caused because the apps list could become
unsynchronized with the list of icons.

8 years agoMerge branch 'eclair' into eclair-release
The Android Automerger [Wed, 9 Dec 2009 16:50:34 +0000 (08:50 -0800)]
Merge branch 'eclair' into eclair-release

8 years agoFix 2305903 Scrolling trackball upwards at the top of the app menu selects app at...
Joe Onorato [Wed, 9 Dec 2009 01:51:22 +0000 (17:51 -0800)]
Fix 2305903 Scrolling trackball upwards at the top of the app menu selects app at the bottom left

8 years agoFix 2306862 - Launcher2 crashed: in libs/rs. Uploading texture without a context.
Joe Onorato [Wed, 9 Dec 2009 01:02:02 +0000 (17:02 -0800)]
Fix 2306862 - Launcher2 crashed: in libs/rs.  Uploading texture without a context.

turns off some logging and fixes latent bugs that this uncovered where we were
accessing renderscript while there was no context.

8 years agoFix 2304151 - crash while installing apps
Joe Onorato [Tue, 8 Dec 2009 21:29:38 +0000 (13:29 -0800)]
Fix 2304151 - crash while installing apps

It was happening if you had previously uninstalled an app.

8 years agoMerge branch 'eclair' into eclair-release
The Android Automerger [Fri, 4 Dec 2009 17:24:15 +0000 (09:24 -0800)]
Merge branch 'eclair' into eclair-release

8 years agoFix 2300792 - All apps zooming when you come back from an app.
Joe Onorato [Thu, 3 Dec 2009 21:10:49 +0000 (13:10 -0800)]
Fix 2300792 - All apps zooming when you come back from an app.

This makes it so we're only listening for the CLOSE_SYSTEM_DIALOGS
broadcast while we're between onResume and onPause.

8 years agoMerge branch 'eclair' into eclair-release
The Android Automerger [Thu, 3 Dec 2009 17:00:00 +0000 (09:00 -0800)]
Merge branch 'eclair' into eclair-release

8 years agoMake the launcher send the position of the icon that's launching an intent.
Joe Onorato [Thu, 3 Dec 2009 05:16:35 +0000 (21:16 -0800)]
Make the launcher send the position of the icon that's launching an intent.

8 years agoMerge change Icb5606e3 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 04:17:33 +0000 (20:17 -0800)]
Merge change Icb5606e3 into eclair

* changes:
  Upgrade Home db to upgrade contacts shortcut to the quick contact action

8 years agoUpgrade Home db to upgrade contacts shortcut to the quick contact action
Romain Guy [Thu, 3 Dec 2009 04:10:07 +0000 (20:10 -0800)]
Upgrade Home db to upgrade contacts shortcut to the quick contact action

Change-Id: Icb5606e340a6eafc06ffd1be4bbe3d4f988376d1

8 years agoMerge change If84681a3 into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 23:04:47 +0000 (15:04 -0800)]
Merge change If84681a3 into eclair

* changes:
  Import revised translations.  DO NOT MERGE

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 2 Dec 2009 22:57:00 +0000 (14:57 -0800)]
Import revised translations.  DO NOT MERGE

8 years agoMerge change I7df54f9d into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 20:49:40 +0000 (12:49 -0800)]
Merge change I7df54f9d into eclair

* changes:
  Clean up name of static wallpapers.

8 years agoClean up name of static wallpapers.
Daniel Sandler [Wed, 2 Dec 2009 19:37:05 +0000 (14:37 -0500)]
Clean up name of static wallpapers.

Change-Id: I7df54f9d13f9808329515eb7b317b21c5ba77afb
http://b/2261747

8 years agoMerge branch 'eclair' into eclair-release
The Android Automerger [Wed, 2 Dec 2009 16:49:59 +0000 (08:49 -0800)]
Merge branch 'eclair' into eclair-release

8 years agoBug 2290800 - Use a collator to sort the app labels.
Joe Onorato [Wed, 2 Dec 2009 00:19:38 +0000 (16:19 -0800)]
Bug 2290800 - Use a collator to sort the app labels.

SHAME ON ME for using String.compareTo().

8 years agoMerge branch 'eclair' into eclair-release
The Android Automerger [Tue, 1 Dec 2009 17:06:35 +0000 (09:06 -0800)]
Merge branch 'eclair' into eclair-release

8 years agoMerge change I46fb1c7f into eclair
Android (Google) Code Review [Mon, 30 Nov 2009 19:56:44 +0000 (11:56 -0800)]
Merge change I46fb1c7f into eclair

* changes:
  Import revised translations.  DO NOT MERGE

8 years agoRename special dump properity so we can set it on user builds.
Jason Sams [Mon, 30 Nov 2009 19:50:10 +0000 (11:50 -0800)]
Rename special dump properity so we can set it on user builds.

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 30 Nov 2009 19:37:50 +0000 (11:37 -0800)]
Import revised translations.  DO NOT MERGE

8 years agoMerge branch 'eclair' into eclair-release
The Android Automerger [Mon, 30 Nov 2009 16:39:26 +0000 (08:39 -0800)]
Merge branch 'eclair' into eclair-release

8 years agoFix 2275513 - Icons don't update on package update
Joe Onorato [Wed, 25 Nov 2009 00:34:29 +0000 (19:34 -0500)]
Fix 2275513 - Icons don't update on package update

Also reuses the BubbleText object, which was being recreated for no reason.

8 years agoMerge commit '99917ca642d148c78ea85a6838eeb5a03bcbaf66' into eclair-release
android-build SharedAccount [Tue, 24 Nov 2009 23:34:18 +0000 (15:34 -0800)]
Merge commit '99917ca642d148c78ea85a6838eeb5a03bcbaf66' into eclair-release

8 years agoMerge change Ib2061213 into eclair
Android (Google) Code Review [Tue, 24 Nov 2009 21:53:30 +0000 (13:53 -0800)]
Merge change Ib2061213 into eclair

* changes:
  Fix bug 2248173 - all apps animates out when you return home.

8 years agoSave 4 MB of space.
Romain Guy [Tue, 24 Nov 2009 21:37:40 +0000 (13:37 -0800)]
Save 4 MB of space.

Change-Id: I5d0daaaccfc8d18b844542573755efca2c1a4343

8 years agoFix bug 2248173 - all apps animates out when you return home.
Joe Onorato [Tue, 24 Nov 2009 21:13:54 +0000 (16:13 -0500)]
Fix bug 2248173 - all apps animates out when you return home.

8 years agoMerge branch 'eclair' into eclair-release
The Android Automerger [Tue, 24 Nov 2009 17:29:21 +0000 (09:29 -0800)]
Merge branch 'eclair' into eclair-release

8 years agoMerge change I5289d45d into eclair
Android (Google) Code Review [Mon, 23 Nov 2009 21:08:11 +0000 (13:08 -0800)]
Merge change I5289d45d into eclair

* changes:
  Update a couple of wallpapers.

8 years agoUpdate a couple of wallpapers.
Romain Guy [Mon, 23 Nov 2009 21:07:26 +0000 (13:07 -0800)]
Update a couple of wallpapers.

Change-Id: I5289d45da13a0405cc2344135b1ace101f0326ca

8 years agoMerge branch 'eclair' into eclair-release
The Android Automerger [Mon, 23 Nov 2009 17:28:58 +0000 (09:28 -0800)]
Merge branch 'eclair' into eclair-release

8 years agoClear search widget animation in Launcher.onResume()
Bjorn Bringert [Sat, 21 Nov 2009 22:08:04 +0000 (22:08 +0000)]
Clear search widget animation in Launcher.onResume()

Before, Launcher relied on a callback to a SearchManager.OnCancelListener to clear the search widget
animation. However, that doesn't get called if some other app opens the search dialog
before the Launcher is reopened. This change clears the animation in onResume().

Should fix http://b/issue?id=2246760

8 years agoGuard against null parent in Launcher2.Search.clearAnimation()
Bjorn Bringert [Sat, 21 Nov 2009 21:38:05 +0000 (21:38 +0000)]
Guard against null parent in Launcher2.Search.clearAnimation()

Sometimes clearAnimation() is called on the search widget
when it has no parent, e.g. when it being removed from the
home screen. This caused an NPE, because clearAnimation()
called invalidate() on the parent.

This is a partial fix for: http://b/issue?id=2246760

8 years agoMerge branch 'eclair' into eclair-release
The Android Automerger [Fri, 20 Nov 2009 23:02:19 +0000 (15:02 -0800)]
Merge branch 'eclair' into eclair-release

8 years agoMerge change I84bfa565 into eclair
Android (Google) Code Review [Fri, 20 Nov 2009 22:29:39 +0000 (14:29 -0800)]
Merge change I84bfa565 into eclair

* changes:
  Improve performance of AllApps for large numbers of apps.

8 years agoForgot a wallpaper.
Romain Guy [Fri, 20 Nov 2009 22:13:40 +0000 (23:13 +0100)]
Forgot a wallpaper.

Change-Id: I0ecea3f2d7ad795d5dbd4fa4b34b23c38d67293e

8 years agoMerge change I56e43637 into eclair
Android (Google) Code Review [Fri, 20 Nov 2009 22:11:46 +0000 (14:11 -0800)]
Merge change I56e43637 into eclair

* changes:
  Final final set of wallpapers.

8 years agoFinal final set of wallpapers.
Romain Guy [Fri, 20 Nov 2009 21:57:37 +0000 (22:57 +0100)]
Final final set of wallpapers.

Change-Id: I56e43637581850a2e3da5b6bf6900680aa8de2d8

8 years agoImprove performance of AllApps for large numbers of apps.
Jason Sams [Fri, 20 Nov 2009 21:16:41 +0000 (13:16 -0800)]
Improve performance of AllApps for large numbers of apps.

8 years agoFix bug 2223769 - Uninstalling app causes NPE.
Joe Onorato [Fri, 20 Nov 2009 02:05:36 +0000 (18:05 -0800)]
Fix bug 2223769 - Uninstalling app causes NPE.

The check for whether there is anything in these lists should be sufficient.  The other
variables don't need to also be checked.

8 years agoFix 2271080 - .lang.IllegalArgumentException: no dialog with id 1 was ever shown via
Joe Onorato [Thu, 19 Nov 2009 22:19:17 +0000 (14:19 -0800)]
Fix 2271080 - .lang.IllegalArgumentException: no dialog with id 1 was ever shown via
Activity#showDialog on CreateShortcut

I'm not sure how this can happen, but I think it's okay to just
drop the exception.  It's all just trying to clean up anyway.

8 years agoFix bug 2271894 - Odd animation when press home button from app that wasn't in center...
Joe Onorato [Thu, 19 Nov 2009 22:06:36 +0000 (14:06 -0800)]
Fix bug 2271894 - Odd animation when press home button from app that wasn't in center home screen

Now:
 - When you're on the workspace and you press home, it animates back to the middle
 - When you're in all apps and you press home, all apps animates out and the workspace
   doesn't animate to the middle (it just jumps there)
 - When you're in an app and you press home, it doesn't animate to the middle
 - When you're in an app and you press back, it still goes to the page you were on.

Don't look at the evil hack to make it move without animating.

8 years agoFix 2274291 - back key doesn't go from all apps to workspace
Joe Onorato [Thu, 19 Nov 2009 21:16:06 +0000 (13:16 -0800)]
Fix 2274291 - back key doesn't go from all apps to workspace

8 years agoFix 2271141 - Pressing the bottom corner of the screen when the applications menu...
Joe Onorato [Thu, 19 Nov 2009 20:51:57 +0000 (12:51 -0800)]
Fix 2271141 - Pressing the bottom corner of the screen when the applications menu is visible will
switch the home screen

8 years agoThis might fix bug 2262272 - Apps list empty
Joe Onorato [Thu, 19 Nov 2009 20:24:48 +0000 (12:24 -0800)]
This might fix bug 2262272 - Apps list empty

I'm not sure how .added is empty, but the only way I see for this
to happen is if it is, so use .data instead, which ought to be the
same.

8 years agoFix bugs 226264 and 2265943 - Home stopped responding to touch, but all-apps & notifi...
Joe Onorato [Thu, 19 Nov 2009 18:28:49 +0000 (10:28 -0800)]
Fix bugs 226264 and 2265943 - Home stopped responding to touch, but all-apps & notification panel
still work

I knew it was a problem with mWaitingForResult, which I'm still not convinced we need, but
Jeff Sharkey was able to find repro steps, so he's my new hero.  The steps were:
  1. Open add menu (long pressing or menu > add)
  2. Turn off the screen
  3. Turn back on & unlock
  4. Poof.
The problem was that when we get ACTION_CLOSE_SYSTEM_DIALOGS intents, we're dismissing the dialogs,
not canceling them.  I think we actually want to cancel them, but there's no easy way to do that
with the Activity class, so just clear mWaitingForResult by hand in closeSystemDialogs().

8 years agoMerge branch 'eclair' into eclair-release
The Android Automerger [Thu, 19 Nov 2009 18:23:12 +0000 (10:23 -0800)]
Merge branch 'eclair' into eclair-release

8 years agoFix bug 2266095 - all apps animates out when you return home by hitting back
Joe Onorato [Thu, 19 Nov 2009 01:43:22 +0000 (17:43 -0800)]
Fix bug 2266095 - all apps animates out when you return home by hitting back

We needed to check that they haven't exited on the down event.

8 years agoAdd more logging for bugs 2262649, 2262272 and 2265943.
Joe Onorato [Thu, 19 Nov 2009 01:22:01 +0000 (17:22 -0800)]
Add more logging for bugs 2262649, 2262272 and 2265943.