Commit Graph

78507 Commits

Author SHA1 Message Date
Romain Guy edcce099c9 Fix the build! 2010-03-04 13:03:17 -08:00
Romain Guy 2dc785dbde Merge "Prevent crash when a bad widget launches a non-existent config activity." 2010-03-04 12:52:16 -08:00
Romain Guy 8e633c5a3e Prevent crash when a bad widget launches a non-existent config activity. 2010-03-04 12:51:36 -08:00
Romain Guy ce11585bb4 Make the Home on screen button work in landscape. 2010-03-04 12:15:37 -08:00
Romain Guy 4f20947fd6 Update launcher's namespace. 2010-03-04 12:07:31 -08:00
Romain Guy cf8790483d Rename Launcher2's package to com.android.launcher.
This should fix data migration issues.
2010-03-04 12:01:40 -08:00
Romain Guy 060b5c88cc Implement landscape in 3D all apps.
Bug #2454737
Bug #2454736
2010-03-04 10:16:43 -08:00
Daniel Sandler 28d10f8478 More mdpi artwork.
Change-Id: I53f7985a2fe0dc4e61143242c110f3604e8ed1a1
2010-03-04 12:19:30 -05:00
Daniel Sandler 63206c8ed7 New mdpi artwork for L2.
Change-Id: Ie4b209a3cda914a547b0fc6abfc81a0a681aa5ee
2010-03-04 09:18:37 -05:00
Ying Wang 932b29dbd8 Enable Proguard on Launcher2. 2010-03-03 17:13:54 -08:00
Jean-Baptiste Queru 9585350331 Merge "Switch to Launcher2 for all builds." 2010-03-03 12:44:28 -08:00
Daniel Sandler c351eb8b6a Hide the workspace when launching AllApps2D.
Boosts performance and squashes some weird focus issues.

(Also: fix builds with AllApps3D)

Change-Id: Id1c4628e119c950dced9d3383993674f3d6b9a1c
2010-03-03 15:11:52 -05:00
Daniel Sandler 388f679aa4 Introduce 2D All Apps and other support for sapphire-class devices.
AllAppsView is now the 2D, GridView-based version (very
similar to classic Launcher); AllApps3D is the
RenderScript/Rollo implementation.

TODO:
 - some mdpi assets are not in fact mdpi
 - related to above: static wallpapers not working yet
 - add dynamic selection of 2D/3D AA; currently you must
   choose one at build time by picking the appropriate class
   in all_apps.xml (see separate CL for sapphire overlay
   that does this)

Change-Id: I253d98404ea8a329a4049d2e48edd2e5129fa6ba
2010-03-03 14:38:45 -05:00
Jean-Baptiste Queru 2b75fb573e Switch to Launcher2 for all builds.
Change-Id: Ie5563bf09ebd79cdd94e4c3bd1961807e7bb3693
2010-03-03 11:27:21 -08:00
Ying Wang 9f9077d2be Merge "Fix Proguard flags." 2010-03-02 09:37:26 -08:00
Joe Onorato a5ecf71e57 am 2347b233: am 4700fed7: Maybe this will silence http://b/2460740
Merge commit '2347b2335b26edc5b7145759cc8a727fc712b970'

* commit '2347b2335b26edc5b7145759cc8a727fc712b970':
  Maybe this will silence http://b/2460740
2010-03-01 18:34:15 -08:00
Joe Onorato 2347b2335b am 4700fed7: Maybe this will silence http://b/2460740
Merge commit '4700fed72b619a09a0d9cac93e86625b95c730dc' into eclair-plus-aosp

* commit '4700fed72b619a09a0d9cac93e86625b95c730dc':
  Maybe this will silence http://b/2460740
2010-03-01 17:57:23 -08:00
Joe Onorato 4700fed72b Maybe this will silence http://b/2460740 2010-03-01 15:26:36 -08:00
Romain Guy 384fb17576 Fix folders asset.
Bug #2478416
2010-03-01 10:15:39 -08:00
Eric Fischer 8c0aab14ee Import new translations. 2010-02-26 17:31:07 -08:00
Jason Sams 84f0bbf107 Merge "Fix single frame flicker when AllApps did its pre-load WAR that forced the driver to render one frame." 2010-02-26 13:51:14 -08:00
Jason Sams 2a13155e04 Fix single frame flicker when AllApps did its pre-load WAR that forced the driver to render one frame. 2010-02-26 13:50:31 -08:00
Dianne Hackborn 094fc7ac6d Update to reflect android-common no longer in framework. 2010-02-24 20:01:46 -08:00
Romain Guy fb5411e982 Correctly position the quick contact badge when opened from a folder.
Bug #2467438
2010-02-24 10:04:17 -08:00
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
Ying Wang 77de117d2e Fix Proguard flags. 2010-02-19 18:50:32 -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