Commit Graph

1282 Commits

Author SHA1 Message Date
Bjorn Bringert
34c4db037b Remove android.app.default_searchable=* from Launcher2
This value was deprecated in
I0252952b44ae85dab31221b598ed79cc24e2b580

Change-Id: If5639f2b51dd694f39e89f38e034e3d8efdba585
2010-02-23 13:47:41 +00:00
Jason Sams
6b08ffe664 tweak alignment of all apps to avoid filtering artifacts. 2010-02-22 15:41:42 -08:00
Joe Onorato
983e5f2cd3 am 96ef9f68: am bf5350db: fix 2460740 com.android.launcher2: java.lang.NullPointerException at com.android.launcher2.AllAppsView.saveAppsList(AllAppsView.java:1270)
Merge commit '96ef9f68a43604c99cd18537a6c8e9d1c5049c31'

* commit '96ef9f68a43604c99cd18537a6c8e9d1c5049c31':
  fix 2460740 com.android.launcher2: java.lang.NullPointerException at
2010-02-22 15:07:16 -08:00
Joe Onorato
96ef9f68a4 am bf5350db: fix 2460740 com.android.launcher2: java.lang.NullPointerException at com.android.launcher2.AllAppsView.saveAppsList(AllAppsView.java:1270)
Merge commit 'bf5350db6166df369a4e22012bc0a7a122f39a51' into eclair-plus-aosp

* commit 'bf5350db6166df369a4e22012bc0a7a122f39a51':
  fix 2460740 com.android.launcher2: java.lang.NullPointerException at
2010-02-22 14:52:03 -08:00
Joe Onorato
bf5350db61 fix 2460740 com.android.launcher2: java.lang.NullPointerException at
com.android.launcher2.AllAppsView$RolloRS.saveAppsList(AllAppsView.java:1270)
2010-02-22 14:46:10 -08:00
Joe Onorato
deb98afe40 minor refactor: This function is only called from one place. It doesn't need the parameters. 2010-02-19 15:00:12 -08:00
Joe Onorato
0a6a9318ed am 869228da: am 3c24aca5: Don\'t crash when adding a shortcut.
Merge commit '869228dadb0e537ce9138dc613c4cbc7e1aed1d3'

* commit '869228dadb0e537ce9138dc613c4cbc7e1aed1d3':
  Don't crash when adding a shortcut.
2010-02-19 13:42:24 -08:00
Joe Onorato
869228dadb am 3c24aca5: Don\'t crash when adding a shortcut.
Merge commit '3c24aca5f597f2eb90e53dce450197e2f46c2305' into eclair-plus-aosp

* commit '3c24aca5f597f2eb90e53dce450197e2f46c2305':
  Don't crash when adding a shortcut.
2010-02-19 13:39:12 -08:00
Joe Onorato
3c24aca5f5 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)
2010-02-19 13:34:55 -08:00
Joe Onorato
e48e7c1a62 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)
2010-02-19 13:10:40 -08:00
Joe Onorato
2c1f3cc0cd Merge "fix 2453680 - acore NPE on startup: setWallpaperPosition" 2010-02-19 12:51:37 -08:00
Joe Onorato
956091ba78 fix 2453680 - acore NPE on startup: setWallpaperPosition 2010-02-19 12:50:06 -08:00
Wink Saville
7506dc2633 am 4baee90d: (-s ours) am 75dc3a9d: DO NOT MERGE; Add back support for uts testing.
Merge commit '4baee90d22f02b1f31dcc7bca3bb9ad7263539ad'

* commit '4baee90d22f02b1f31dcc7bca3bb9ad7263539ad':
  DO NOT MERGE; Add back support for uts testing.
2010-02-19 09:32:40 -08:00
Wink Saville
4baee90d22 am 75dc3a9d: DO NOT MERGE; Add back support for uts testing.
Merge commit '75dc3a9d28a184358127390329b36a5a520c212c' into eclair-plus-aosp

* commit '75dc3a9d28a184358127390329b36a5a520c212c':
  DO NOT MERGE; Add back support for uts testing.
2010-02-19 09:24:48 -08:00
Wink Saville
75dc3a9d28 DO NOT MERGE; Add back support for uts testing. 2010-02-19 09:05:23 -08:00
Bjorn Bringert
3a928e46bd Fix silent DB upgrade abort
normalizeIcons() was missing a call to setTransactionSuccessful(),
which made the entire DB upgrade silently rollback. So the
DB version was stuck at 6 after an upgrade from Eclair to Froyo.
The only visible effect in the default config was that the search
widget disappeared.

Fixes http://b/issue?id=2451146

Change-Id: I257964e5958286e9819bb5e7b108a261cfabf9b3
2010-02-19 11:15:40 +00:00
Eric Fischer
796758acaf am 6c6595ff: (-s ours) am 5d12096c: Reimport Launcher2 translations. DO NOT MERGE
Merge commit '6c6595ffbf7ab8a3e503bc73dd7f36621b03b04f'

* commit '6c6595ffbf7ab8a3e503bc73dd7f36621b03b04f':
  Reimport Launcher2 translations.  DO NOT MERGE
2010-02-18 17:34:23 -08:00
Eric Fischer
6c6595ffbf am 5d12096c: Reimport Launcher2 translations. DO NOT MERGE
Merge commit '5d12096cd22a875d7e1652cd4f6efdcad63689a7' into eclair-plus-aosp

* commit '5d12096cd22a875d7e1652cd4f6efdcad63689a7':
  Reimport Launcher2 translations.  DO NOT MERGE
2010-02-18 17:31:00 -08:00
Eric Fischer
5d12096cd2 Reimport Launcher2 translations. DO NOT MERGE 2010-02-18 17:21:35 -08:00
Joe Onorato
df16a419a1 am 5dec4c5a: (-s ours) am 75fd1ec4: DO NOT MERGE - Use the froyo launcher2 in mr3, except for a few unbundling things that can\'t be merged back.
Merge commit '5dec4c5a9feca41bb46e1da355dfedf9fcbb5732'

* commit '5dec4c5a9feca41bb46e1da355dfedf9fcbb5732':
  DO NOT MERGE - Use the froyo launcher2 in mr3, except for a few unbundling things that can't be merged back.
2010-02-18 17:20:20 -08:00
Joe Onorato
5dec4c5a9f am 75fd1ec4: DO NOT MERGE - Use the froyo launcher2 in mr3, except for a few unbundling things that can\'t be merged back.
Merge commit '75fd1ec46da7708bd46183da7999ec891d63140d' into eclair-plus-aosp

* commit '75fd1ec46da7708bd46183da7999ec891d63140d':
  DO NOT MERGE - Use the froyo launcher2 in mr3, except for a few unbundling things that can't be merged back.
2010-02-18 17:15:04 -08:00
Joe Onorato
75fd1ec46d DO NOT MERGE - Use the froyo launcher2 in mr3, except for a few unbundling things that can't be merged back. 2010-02-18 17:09:55 -08:00
Joe Onorato
346e129456 Fix a crash on launcher db upgrade. 2010-02-18 10:34:24 -05:00
Romain Guy
df3080e865 Merge "Correctly recenter the wallpaper when going back to default screen." 2010-02-17 15:24:26 -08:00
Romain Guy
ed2390e709 Correctly recenter the wallpaper when going back to default screen. 2010-02-18 00:22:58 +01:00
Joe Onorato
339cdd9816 fix 2411389 - calling RS with no Context
This thing where the context sometimes works and sometimes doesn't is starting to piss me off.  We
really need to have RenderScriptActivity that deals with the lifecycle for you...
2010-02-17 14:08:32 -05:00
Joe Onorato
f0dde0927b Don't do the haptic feedback on workspace items when they're not being picked up.
related to bug 2309687
2010-02-16 18:25:23 -05:00
Joe Onorato
59d5245b0f Fix 2446779 Launcher2 crash - while adding short cut to home from all apps drawer 2010-02-16 15:55:38 -05:00
Joe Onorato
52fbb3cd46 Revert "Merge "Launcher changes to handle UTS test mode." into eclair"
This reverts commit b8fc9e7df6, reversing
changes made to 52ba5b08f2.
2010-02-13 11:23:10 -05:00
Jeff Hamilton
eaf77d6c3d Fix some broken SQL that causes a crash at boot.
Change-Id: I74e7f95b87eb427ad2c44d4197111ed18630e042
2010-02-13 00:08:17 -06:00
Wink Saville
7ac5037acc am c4470606: am b8fc9e7d: Merge "Launcher changes to handle UTS test mode." into eclair
Merge commit 'c44706064341f02a14d61091492a5fc6dc6efd2d'

* commit 'c44706064341f02a14d61091492a5fc6dc6efd2d':
  Launcher changes to handle UTS test mode.
2010-02-12 16:02:32 -08:00
Wink Saville
c447060643 am b8fc9e7d: Merge "Launcher changes to handle UTS test mode." into eclair
Merge commit 'b8fc9e7df69db4b1647ef780f5620836c86f70ea' into eclair-plus-aosp

* commit 'b8fc9e7df69db4b1647ef780f5620836c86f70ea':
  Launcher changes to handle UTS test mode.
2010-02-12 15:57:30 -08:00
Wink Saville
b8fc9e7df6 Merge "Launcher changes to handle UTS test mode." into eclair 2010-02-12 15:51:46 -08:00
Joe Onorato
6a35157a2b Merge "Don't make label textures if we don't need them." 2010-02-12 14:55:25 -08:00
Joe Onorato
84f6a8d613 Don't make label textures if we don't need them. 2010-02-12 17:54:50 -05:00
Romain Guy
c0c4fe3916 Make sure the generated texture is 120px wide. 2010-02-12 23:20:57 +01:00
Joe Onorato
cb0da5ccc6 Merge "Split ApplicationInfo into ApplicationInfo which is used for AllAppsView and ShortcutInfo which is used for the workspace." 2010-02-12 13:08:11 -08:00
Wink Saville
2693030ea4 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>
2010-02-12 12:12:45 -08:00
Jason Sams
666f308ce7 am f80592cc: (-s ours) am 52ba5b08: DO NOT MERGE. Update for new RS library with ES 2.0 support.
Merge commit 'f80592cc642828c5c1e4638f5d495d186c4b3e6c'

* commit 'f80592cc642828c5c1e4638f5d495d186c4b3e6c':
  DO NOT MERGE. Update for new RS library with ES 2.0 support.
2010-02-12 11:33:54 -08:00
Jason Sams
f80592cc64 am 52ba5b08: DO NOT MERGE. Update for new RS library with ES 2.0 support.
Merge commit '52ba5b08f25e031a6f717551c75abf630b92ed8b' into eclair-plus-aosp

* commit '52ba5b08f25e031a6f717551c75abf630b92ed8b':
  DO NOT MERGE. Update for new RS library with ES 2.0 support.
2010-02-12 11:27:11 -08:00
Joe Onorato
0589f0f66c Split ApplicationInfo into ApplicationInfo which is used for AllAppsView and ShortcutInfo which is
used for the workspace.

Consolidate the three icon resampling functions into one.

Ensure that the icons stored in LauncherProvider are the right size, so we don't have to resample
them each time we load them.
2010-02-12 12:18:40 -05:00
Jason Sams
52ba5b08f2 DO NOT MERGE. Update for new RS library with ES 2.0 support. 2010-02-11 18:15:48 -08:00
Jeff Hamilton
95db7376b1 Add an original-package tag that matches the real package name.
Change-Id: I3c69e7592359f7fd4664fe2bcc98faa60014e43e
2010-02-11 16:25:50 -06:00
Bjorn Bringert
3e244cf9d2 Use Search.SOURCE from android-common
The SOURCE (search source identifier) constant is moving
from hidden in android.app.SearchManager to com.android.common.Search.

Part of http://b/issue?id=2429556

Change-Id: I68fa792f2d452aadcb9216f5c780bd082ca5039f
2010-02-10 14:17:35 +00:00
Jason Sams
e48eae0c4d Convert to RenderScriptGL. 2010-02-09 15:55:48 -08:00
The Android Open Source Project
03309dc969 am 938cb839: am 999b6a5e: reconcile main tree with open-source eclair
Merge commit '938cb839512159fb622f919271d121dfe50332b0'

* commit '938cb839512159fb622f919271d121dfe50332b0':
  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.
2010-02-05 14:24:13 -08:00
The Android Open Source Project
938cb83951 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.
2010-02-05 08:49:16 -08:00
The Android Open Source Project
999b6a5ecb reconcile main tree with open-source eclair 2010-02-05 08:09:40 -08:00
Jason Sams
82e1a27ba0 More dead code cleanup. 2010-02-04 17:32:57 -08:00
Jason Sams
23dcb7babf Remove dead code. 2010-02-04 17:00:27 -08:00