Joe Onorato
4700fed72b
Maybe this will silence http://b/2460740
2010-03-01 15:26:36 -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
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
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
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
956091ba78
fix 2453680 - acore NPE on startup: setWallpaperPosition
2010-02-19 12:50:06 -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
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
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
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
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
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
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
Jason Sams
7651248dd1
Support rotation of the all apps screen.
2010-02-04 16:38:48 -08:00
Romain Guy
374e42a2f0
Merge "Fix texture generation issue on Home."
2010-02-04 16:02:22 -08:00
Romain Guy
442eda2cc1
Fix texture generation issue on Home.
2010-02-04 15:59:37 -08:00
Jason Sams
66ed54e13b
Clean up vertex program with easy to manage uniform constants.
2010-02-04 12:43:26 -08:00
Joe Onorato
b83155406b
Possibly fix 2415260 - IllegalStateException: Calling RS with no Context active
2010-02-03 20:39:25 -08:00
Joe Onorato
e538b11371
fix 2261196 icons could be bigger when you drag them onto home screen
2010-02-01 19:10:25 -05:00
Joe Onorato
e9a3f3d85b
Fix 2379378 Trackball up on all apps home icon doesn't highlight the correct icon
2010-02-01 18:36:43 -05:00
Joe Onorato
2d7e7d0d48
Fix 2261097 Shouldn't give users the option of MENU > Add in All Apps
2010-01-29 15:57:19 -08:00
Joe Onorato
783053a2df
Merge "mostly fix 2392102 by overriding the force-open input thing"
2010-01-28 15:57:10 -08:00
Joe Onorato
8a9625e218
mostly fix 2392102 by overriding the force-open input thing
2010-01-28 15:55:35 -08:00
Romain Guy
483543f31c
Update the position markers when going back to Home.
2010-01-28 14:06:31 -08:00
Romain Guy
88f38d186b
Attempt to fix icons labels misalignment in Home.
...
Bug #2310188
2010-01-26 14:50:34 -08:00
Romain Guy
06762ab54d
Convert the tap and drop live wallpaper commands coordinates to screen space.
2010-01-25 16:51:08 -08:00
Jason Sams
39e1c9d6eb
Merge "Fix selection highligh in all apps. Selection highlight now follows the curve and uses a smaller bitmap."
2010-01-20 13:35:13 -08:00
Jason Sams
1a94ee3a8b
Fix selection highligh in all apps. Selection highlight now follows the curve and uses a smaller bitmap.
2010-01-20 13:34:30 -08:00
Jason Sams
168b007de7
Merge "Change text labels from RGBA to ALPHA8. Reduces memory usage and may increase performance."
2010-01-19 18:02:04 -08:00
Jason Sams
6ec11bc3a8
Change text labels from RGBA to ALPHA8. Reduces memory usage and may increase performance.
2010-01-19 17:56:52 -08:00
Jason Sams
4aea33d22e
Merge "Update launcher2 with vertex shader and single draw method for icons."
2010-01-19 16:46:17 -08:00