summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge "New Launcher feature: "hotseat" icons." into froyoDaniel Sandler2010-04-232-20/+79
|\
| * New Launcher feature: "hotseat" icons.Daniel Sandler2010-04-232-20/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hotseats are permanent slots on either side of the AllApps button. Their functions are: LEFT/BOTTOM: Phone Launched via the hardcoded class name com.android.contacts/.ContactsLaunchActivity. RIGHT/TOP: Browser Launched by querying to see which application is the default for URLs, then starting that activity directly. In the future, it would be ideal to allow an application with permission to access LauncherProvider to customize these (icons, contentDescriptions, and Intents). Bug: 2559083 Change-Id: I56f6e745f8574aa17e28feaa9d2118fb4a715cd4
* | Fix 2614384 - NPE in LauncherModelJoe Onorato2010-04-211-8/+12
|/ | | | | | Callbacks can be null. Change-Id: I56462a54673b1804a6235d6d882008b453290542
* Fix race in LauncherModel that causes it to show duplicate icons.Joe Onorato2010-04-213-59/+101
| | | | Change-Id: I78130d6f237f476bc33a4718ca5ef245fe502857
* Move batch size to a resource.Daniel Sandler2010-04-194-15/+1
| | | | | | | | This way we can figure out how many apps to send to the grid at a time even if the grid hasn't been instantiated yet. Bug: 2599979 Change-Id: I7960fe1adae6976555334422335f3a4b28d0675e
* Merge "More Launcher performance improvements." into froyoJoe Onorato2010-04-191-8/+8
|\
| * More Launcher performance improvements.Daniel Sandler2010-04-161-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed another redundant sort * Correctly set the thread priority to BACKGROUND for the all apps loading step. * Moved batch delay to a resource * Reduced delay between loading batches of apps to 100ms (we really just want to sleep a tiny bit between batches to give the UI time to react) Bug: 2562420 Bug: 2599979 (related) Change-Id: I1ae72a68c1a47377a9eb62827fe7666bfc50caa5
* | Change workspace scroller interpolatorAdam Powell2010-04-161-8/+10
|/ | | | Change-Id: I1d8f1ceb39dc21e58c833cf030a41d08913ef7e3
* Sort apps in AllApps3D.setApps().Daniel Sandler2010-04-151-0/+4
| | | | | | | | | | | The sorting is no longer being done in LauncherModel. AA3D.addApps correctly performs an insertion sort, but setApps did not. Missing from change I77e3865b. Bug: 2562420 Change-Id: I6854c2c4a221b2c1ad123410292da1fbfece7871
* Merge "Launcher2 performance: Don't sort apps in LauncherModel." into froyoDaniel Sandler2010-04-151-9/+2
|\
| * Launcher2 performance: Don't sort apps in LauncherModel.Daniel Sandler2010-04-151-9/+2
| | | | | | | | | | | | | | AllApps2D and AllApps3D do their own sorting before display. Bug: 2562420 Change-Id: I77e3865b856a5123872bee3d8578d0596956cddd
* | Paper over bug 2592956 - Home not redrawing the shortcuts, widgets, or ↵Joe Onorato2010-04-152-12/+17
| | | | | | | | | | | | | | | | | | background. The mNext* stuff in AllApps3D got reset when onNewIntent came in too fast after an onCreate, which happened because of the configuration changed. Change-Id: I9a358b6969ac1d17ea98f58218d47bfe983936f0
* | Fix 2595902 - NPE in launcher2Joe Onorato2010-04-151-1/+1
|/ | | | | | | This code never worked. If you delete a live folder for an app that's been uninstalled, it would crash. Change-Id: Id91712fada8912addbc4892bd5ae517536fc4f24
* Batch loading of icons for AllApps.Daniel Sandler2010-04-147-45/+111
| | | | | | | | | | | | | | | | | AllAppsList now maintains <data> and <added> in sorted order, to amortize the cost of sorting the apps list over multiple batches. Launcher boosts thread priority on first launch, but we now reduce thread priority to normal after the main workspace has been drawn but before all apps are loaded. Experimental feature: a short delay is introduced between batches to help free up the CPU (as well as to show that we are indeed batching apps). Bug: 2562420 Change-Id: I2035ec3e819b4e7993a80c6d03bfad3914c95a7a
* Fix 2575588 - After creating new folder shortcut unable to navigate between ↵Joe Onorato2010-04-131-1/+1
| | | | | | | | | | | home screen using touch. Somebody fixed a bug in managed dialogs where it wouldn't create the dialog after a configuration change. This means that we shouldn't set mWaitingForResult in createDialog, we need to set it in onShow. This is what the add dialog was already doing. Change-Id: I955c2f7cd4a47213f84986ec9ba251146b1ac423
* Fix 2583234 - It's ok for mCallbacks to be null.Joe Onorato2010-04-131-1/+5
| | | | Change-Id: Iec8df7b668a4657677f9c5421d00aa1b7df91015
* Revised workspace fling physicsAdam Powell2010-04-131-1/+11
| | | | Change-Id: Ia14ff132e49390bf3bc4ac6ebf1b3eded8d39caf
* Last minute hack to deliver touch events to widget in landscape mode.Romain Guy2010-04-051-0/+50
| | | | | | | | | | | | Bug #2562729 In landscape, the left and right dots buttons are 93dip wide; this makes them overlap with widgets at the bottom of the screen. The dots do not need to be that wide but we chose this size to make it easier to tap them in portrait. To avoid issues in landscape, this change introduces a new type of ImageView that can ignore touch events in a certain zone. This was easier and cheaper than re-cutting 36+ assets. Change-Id: Id261fba41a43dede943e72060e39e87658e4b0df
* Limit workspace flings to one screen at a time.Adam Powell2010-04-021-3/+10
| | | | | | | This prevents users from scrolling left slightly, flinging right, and scrolling by two screens as a result (and vice versa). Change-Id: I04c60438c022b24defcd8e4cbedf1c6b07c24423
* fix 2542590 add more logging when launching app failsJoe Onorato2010-03-257-11/+14
| | | | Change-Id: I5a1fa261c6e67eb7afb661de39e35ce43e2caa59
* Correctly upgrade from MR3 to FroYo.Romain Guy2010-03-231-4/+10
| | | | | | Bug #2530137 Change-Id: I9ab59fd53e17a1f51f60a8cb98dcb19a7957ffc6
* fix 2533780 database cursors/statements is not closed in LauncherProvider.javaJoe Onorato2010-03-231-3/+5
| | | | Change-Id: Iaf8ca76a15b153a1154b106247f81a0213183bcb
* Merge "Fix 2519335 - Caused by NPE. Here's another place where it needs to ↵Joe Onorato2010-03-231-4/+10
|\ | | | | | | be ok for sRS to be null."
| * Fix 2519335 - Caused by NPE. Here's another place where it needs to be ok ↵Joe Onorato2010-03-231-4/+10
| | | | | | | | | | | | for sRS to be null. Change-Id: Iacfc0474c96c657d982a50c8d4851e2fdd79c3ae
* | Support old-package attribute for default workspace items.Romain Guy2010-03-231-10/+40
|/ | | | | | Bug #2509293 Change-Id: I5e76465bceab6b733287f53f6afdcf3d522843fc
* Fix 2532504 - fix NPE in AllApps3D.onKeyDown.Joe Onorato2010-03-221-1/+5
| | | | Change-Id: I8fba9b0b5217d630d84a6a260865d454db2bb046
* fix 2430251 - all apps touch targets misaligned.Joe Onorato2010-03-181-79/+88
| | | | Change-Id: I091b152c328a2664ce68c9790117e6e698bd677a
* Rename these static variables.Joe Onorato2010-03-171-205/+205
| | | | Change-Id: Ic16dcbeb5b0c8afface65a995ea501e155ba69ff
* We need to null out this static.Joe Onorato2010-03-171-0/+2
| | | | | | | All of the crashes we've been seeing with "Calling RS with no Context active" were in places that are guarded with if (mRollo != null). Change-Id: Icb9194cfc4f534bedce5a69a20760a0c3d7fe1d3
* Add a log message and some todos.Joe Onorato2010-03-171-0/+7
| | | | Change-Id: I948997d169d1833f2b61c620a02dbccae535e8de
* 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
|\