summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Prevent NPE in Launcher when an icon cannot be found.Romain Guy2010-03-152-24/+37
| | | | | | Bug #2509023 Change-Id: I053c7c9a37ed4aeb4d78a9f62dfdeea09a3959aa
* Improve focus restore on orientation change.Romain Guy2010-03-122-6/+20
| | | | Change-Id: If405c60f4a45aeb4079aa4dcd96b684fd6ea819c
* Fix focus and touch issues in 3D all apps.Romain Guy2010-03-121-36/+50
| | | | | | Bug # 2506026 Change-Id: I95f21cc285c17dfa5f93daafa9d90a64042c7a9d
* Bug 2509023 - NPE on upgrade to froyoJoe Onorato2010-03-111-2/+2
| | | | Change-Id: I07cb4f272948062b47da8826ca917fd74ad18404
* Eliminate a race where old Launcher objects will continue to get callbacks ↵Joe Onorato2010-03-111-13/+20
| | | | | | | | for loading if they go away before they're done. Change-Id: Id9f57be482da428750285c86d95114d2652064e6
* Unbind root script around load activities to prevent commands from being ↵Jason Sams2010-03-111-188/+200
| | | | | | delayed due to swap buffers. Change-Id: I9720fbe936d3cd336ca39235d0a1bba9e10d137a
* Fix 2507267 - stack overflow when adding shortcutJoe Onorato2010-03-111-1/+1
| | | | Change-Id: Ife5bea443debd481854693b3924e72a04fb66f97
* Fix trackball focus weirdness in AllApps2D.Daniel Sandler2010-03-111-17/+20
| | | | | | | Also vertically align AllApps2D's home icon with Workspace's grid icon. Change-Id: I81a8759ed33afd08336482484f1b9bdb9a36718e
* Prevent ANR in Home when changing orientation.Romain Guy2010-03-104-43/+101
| | | | | | | | | Bug #2504556 This solves the issue by keeping the GL context, the RS context and the RS scene around, across orientation changes. Change-Id: I8e3dc6e6bf039087046d49d2826c8800c5bef582
* Apps on SD card don't confuse the launcher any more. They show up properly ↵Joe Onorato2010-03-103-160/+238
| | | | | | | | after reboots, mounting and unmounting. Change-Id: Icd861dcd8ac6401c597e2f9c8e2c66dff1cf9c61
* Refactor the app updates so that it doesn't rely on the package name.Joe Onorato2010-03-107-65/+113
| | | | | This will be needed for the upcoming change to update the icons with the grayed out when the SD card goes away.
* Cancel long press within normal touch slop, before paging touch slop.Adam Powell2010-03-101-3/+5
| | | | Change-Id: I1b4d02db306bc0a7c3f39e2174a7239239ce4422
* Smoother scrolling/paging, multiple pointer supportAdam Powell2010-03-101-19/+65
| | | | Change-Id: I09eef7b0b4d85ab073307f2fb5eb2521aef82af4
* Move mipmap level generation from allocation creation to upload time. This ↵Jason Sams2010-03-051-4/+4
| | | | prevents RS from storing the >0 mipmap levels.
* Merge "Widen AllApps3D text to match Launcher"Kenny Root2010-03-051-6/+3
|\
| * Widen AllApps3D text to match LauncherKenny Root2010-03-051-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | The AllApps3D text used to have a bubble shade for the application title to make it more visible over a translucent background of the desktop. This was later changed to a black background eliminating the need for the bubble surrounding the text. The majority of the bubble rectangle code was commented out leaving all of the padding still in effect. This caused application titles to wrap in varying places between Launcher and Launcher2. Padding changes solve this. Change-Id: Id67649562045f65b44409dfb81e6112a1f838143
* | Use the right package name to find wallpaper resources.Daniel Sandler2010-03-051-1/+6
|/ | | | | Bug: 2489120 Change-Id: I7efb122916edfb467c02969f29d845ebf29f74bf
* Make touch events work in landscape.Romain Guy2010-03-041-2/+1
|
* Fix the build!Romain Guy2010-03-0423-15/+45
|
* Merge "Prevent crash when a bad widget launches a non-existent config activity."Romain Guy2010-03-041-1/+14
|\
| * Prevent crash when a bad widget launches a non-existent config activity.Romain Guy2010-03-041-1/+14
| |
* | Make the Home on screen button work in landscape.Romain Guy2010-03-041-3/+8
|/
* Rename Launcher2's package to com.android.launcher.Romain Guy2010-03-041-8/+0
| | | | This should fix data migration issues.
* Implement landscape in 3D all apps.Romain Guy2010-03-043-342/+308
| | | | | Bug #2454737 Bug #2454736
* Hide the workspace when launching AllApps2D.Daniel Sandler2010-03-033-13/+33
| | | | | | | | Boosts performance and squashes some weird focus issues. (Also: fix builds with AllApps3D) Change-Id: Id1c4628e119c950dced9d3383993674f3d6b9a1c
* Introduce 2D All Apps and other support for sapphire-class devices.Daniel Sandler2010-03-034-1450/+1834
| | | | | | | | | | | | | | | | 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
* am 2347b233: am 4700fed7: Maybe this will silence http://b/2460740Joe Onorato2010-03-011-1/+2
|\ | | | | | | | | | | | | Merge commit '2347b2335b26edc5b7145759cc8a727fc712b970' * commit '2347b2335b26edc5b7145759cc8a727fc712b970': Maybe this will silence http://b/2460740
| * Maybe this will silence http://b/2460740Joe Onorato2010-03-011-1/+2
| |
* | Update to reflect android-common no longer in framework.Dianne Hackborn2010-02-241-1/+2
| |
* | Correctly position the quick contact badge when opened from a folder.Romain Guy2010-02-242-11/+8
| | | | | | | | Bug #2467438
* | am 96ef9f68: am bf5350db: fix 2460740 com.android.launcher2: ↵Joe Onorato2010-02-221-12/+11
|\| | | | | | | | | | | | | | | | | 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
| * fix 2460740 com.android.launcher2: java.lang.NullPointerException atJoe Onorato2010-02-221-12/+11
| | | | | | | | com.android.launcher2.AllAppsView$RolloRS.saveAppsList(AllAppsView.java:1270)
| * Don't crash when adding a shortcut.Joe Onorato2010-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * DO NOT MERGE; Add back support for uts testing.Wink Saville2010-02-191-0/+55
| |
| * DO NOT MERGE - Use the froyo launcher2 in mr3, except for a few unbundling ↵Joe Onorato2010-02-1831-1642/+1232
| | | | | | | | things that can't be merged back.
* | minor refactor: This function is only called from one place. It doesn't ↵Joe Onorato2010-02-191-8/+8
| | | | | | | | need the parameters.
* | Don't crash when adding a shortcut.Joe Onorato2010-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | fix 2453680 - acore NPE on startup: setWallpaperPositionJoe Onorato2010-02-191-2/+7
| |
* | Fix silent DB upgrade abortBjorn Bringert2010-02-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix a crash on launcher db upgrade.Joe Onorato2010-02-181-0/+1
| |
* | Merge "Correctly recenter the wallpaper when going back to default screen."Romain Guy2010-02-171-1/+2
|\ \
| * | Correctly recenter the wallpaper when going back to default screen.Romain Guy2010-02-181-1/+2
| | |
* | | fix 2411389 - calling RS with no ContextJoe Onorato2010-02-171-1/+17
| | | | | | | | | | | | | | | 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...
* | | Don't do the haptic feedback on workspace items when they're not being ↵Joe Onorato2010-02-161-0/+3
|/ / | | | | | | | | | | picked up. related to bug 2309687
* | Fix 2446779 Launcher2 crash - while adding short cut to home from all apps ↵Joe Onorato2010-02-161-1/+1
| | | | | | | | drawer
* | Revert "Merge "Launcher changes to handle UTS test mode." into eclair"Joe Onorato2010-02-131-56/+0
| | | | | | | | | | This reverts commit b8fc9e7df69db4b1647ef780f5620836c86f70ea, reversing changes made to 52ba5b08f25e031a6f717551c75abf630b92ed8b.
* | Fix some broken SQL that causes a crash at boot.Jeff Hamilton2010-02-131-1/+1
| | | | | | | | Change-Id: I74e7f95b87eb427ad2c44d4197111ed18630e042
* | am c4470606: am b8fc9e7d: Merge "Launcher changes to handle UTS test mode." ↵Wink Saville2010-02-121-0/+56
|\| | | | | | | | | | | | | | | | | into eclair Merge commit 'c44706064341f02a14d61091492a5fc6dc6efd2d' * commit 'c44706064341f02a14d61091492a5fc6dc6efd2d': Launcher changes to handle UTS test mode.
| * Merge "Launcher changes to handle UTS test mode." into eclairWink Saville2010-02-121-0/+56
| |\
| | * Launcher changes to handle UTS test mode.Wink Saville2010-02-121-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>