summaryrefslogtreecommitdiffstats
path: root/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* cleanup RS scripts leftover from previous design and rename final script.Jason Sams2010-01-061-1/+1
|
* Prevent crash when the app passes the wrong data type as a shortcut icon.Romain Guy2010-01-041-3/+3
| | | | Bug: #2353444.
* am 0663d1d9: am fd1e757f: Update imports to android-commonTom Taylor2009-12-211-1/+1
|\ | | | | | | | | | | | | Merge commit '0663d1d90dc943e8bfaadb27f270f600d7d2e0a0' * commit '0663d1d90dc943e8bfaadb27f270f600d7d2e0a0': Update imports to android-common
| * Update imports to android-commonTom Taylor2009-12-211-1/+1
| | | | | | | | | | Several files were moved to android-common. Update all the references to import those files from the new location.
* | Merge change I72f1d310Android (Google) Code Review2009-12-181-3/+3
|\ \ | | | | | | | | | | | | * changes: Update to new RS texture API.
| * | Update to new RS texture API.Jason Sams2009-12-171-3/+3
| | |
* | | Merge change I510ee049Android (Google) Code Review2009-12-171-35/+7
|\| | | | | | | | | | | | | | * changes: Remove WAR for handling uploads when no surface was present.
| * | Remove WAR for handling uploads when no surface was present.Jason Sams2009-12-151-35/+7
| | |
* | | Merge change I8ad4a378Android (Google) Code Review2009-12-162-4/+2
|\ \ \ | | | | | | | | | | | | | | | | * changes: Remove obsolete doc references to LauncherAppWidgetBinder
| * | | Remove obsolete doc references to LauncherAppWidgetBinderBjorn Bringert2009-12-162-4/+2
| | | | | | | | | | | | | | | | Change-Id: I8b9c2d8145d56b891f26dabebead35275d81b6ba
* | | | am 34a0e1b0: fix bug 2326478Joe Onorato2009-12-151-9/+13
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Merge commit '34a0e1b00b9baeff19e94f1ee35dd890063489d2' * commit '34a0e1b00b9baeff19e94f1ee35dd890063489d2': fix bug 2326478
| * | | fix bug 2326478Joe Onorato2009-12-141-9/+13
| | | |
* | | | Bind converted widgets directly.Bjorn Bringert2009-12-151-67/+19
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, Launcher2 sent an intent to com.android.settings/com.android.settings.LauncherAppWidgetBinder to bind any converted appwidgets. That doesn't seem to work anymore, and is not how non-converted widgets are bound. Changing to binding the widgets directly fixes a problem where the search widget was not bound after an upgrade from Eclair to Master. The search widget conversion problem was introduced in Change I85d64defe155c0cad97fafef6a3db62c6cab504a where I got rid of the built-in search widget. This patch may break conversion of legacy built-in clock and photo widgets, but I believe that was already broken because of the non-functional widget binding mechanism. Bug: http://b/2322160
* | | Remove unused class from Launcher2.Romain Guy2009-12-141-405/+0
| |/ |/|
* | am 3ecbd81f: Still trying to fix 2320348 - Launcher2 crashed: AIOOBE at ↵Joe Onorato2009-12-131-6/+8
|\| | | | | | | | | | | | | | | | | com.android.launcher2.AllAppsView.removeApp Merge commit '3ecbd81f99d2005172f431d2bf207b698154fe29' into eclair-mr2 * commit '3ecbd81f99d2005172f431d2bf207b698154fe29': Still trying to fix 2320348 - Launcher2 crashed: AIOOBE at com.android.launcher2.AllAppsView$RolloRS.removeApp
| * Still trying to fix 2320348 - Launcher2 crashed: AIOOBE at ↵Joe Onorato2009-12-111-6/+8
| | | | | | | | com.android.launcher2.AllAppsView$RolloRS.removeApp
* | am 8cf34293: Launcher2 - This might fix the missing app problem and the ↵Joe Onorato2009-12-111-2/+2
|\| | | | | | | | | | | | | | | | | crash in removeApp. Merge commit '8cf34293dc2f078bf023ac77d007f5182f9b9357' into eclair-mr2 * commit '8cf34293dc2f078bf023ac77d007f5182f9b9357': Launcher2 - This might fix the missing app problem and the crash in removeApp.
| * Launcher2 - This might fix the missing app problem and the crash in removeApp.Joe Onorato2009-12-111-2/+2
| | | | | | | | | | | | | | | | | | This marks the apps list as dirty by default. Usually, because of how long it takes the loader thread to run, the apps list comes in after the surface has been initialized. However, if the surface isn't around yet when setApps is called, then setApps won't set mRollo.mAppsDirty because mRollo is null. The extra null check is necessary for the normal case when mAllAppsList isn't ready yet when the surface comes in.
* | am 8eea3914: fix 2315821 and 2315729 - problems caused because the apps list ↵Joe Onorato2009-12-101-24/+34
|\| | | | | | | | | | | | | | | | | could become unsynchronized with the list of icons. Merge commit '8eea3914a012eec703b5c7829361bbc6e356dc66' into eclair-mr2 * commit '8eea3914a012eec703b5c7829361bbc6e356dc66': fix 2315821 and 2315729 - problems caused because the apps list could become
| * fix 2315821 and 2315729 - problems caused because the apps list could becomeJoe Onorato2009-12-091-24/+34
| | | | | | | | unsynchronized with the list of icons.
* | Get rid of the built-in search widget in Launcher2Bjorn Bringert2009-12-096-633/+48
| | | | | | | | | | | | Uses the widget from packages/apps/QuickSearchBox instead. Change-Id: I85d64defe155c0cad97fafef6a3db62c6cab504a
* | am af5b4cb2: Fix 2305903 Scrolling trackball upwards at the top of the app ↵Joe Onorato2009-12-081-2/+2
|\| | | | | | | | | | | | | | | | | menu selects app at the bottom left Merge commit 'af5b4cb27709e2e3d6c419e81ac87363e701ce5d' into eclair-mr2 * commit 'af5b4cb27709e2e3d6c419e81ac87363e701ce5d': Fix 2305903 Scrolling trackball upwards at the top of the app menu selects app at the bottom left
| * Fix 2305903 Scrolling trackball upwards at the top of the app menu selects ↵Joe Onorato2009-12-081-2/+2
| | | | | | | | app at the bottom left
* | am a276fc59: Fix 2306862 - Launcher2 crashed: in libs/rs. Uploading texture ↵Joe Onorato2009-12-082-11/+16
|\| | | | | | | | | | | | | | | | | without a context. Merge commit 'a276fc59f535a2fb05701e8f49bb7adf4cefb3b2' into eclair-mr2 * commit 'a276fc59f535a2fb05701e8f49bb7adf4cefb3b2': Fix 2306862 - Launcher2 crashed: in libs/rs. Uploading texture without a context.
| * Fix 2306862 - Launcher2 crashed: in libs/rs. Uploading texture without a ↵Joe Onorato2009-12-082-11/+16
| | | | | | | | | | | | | | context. turns off some logging and fixes latent bugs that this uncovered where we were accessing renderscript while there was no context.
* | am bf173f11: Fix 2304151 - crash while installing appsJoe Onorato2009-12-081-1/+1
|\| | | | | | | | | | | | | Merge commit 'bf173f11d27719af7a3c480ce84bb5b63e191fba' into eclair-mr2 * commit 'bf173f11d27719af7a3c480ce84bb5b63e191fba': Fix 2304151 - crash while installing apps
| * Fix 2304151 - crash while installing appsJoe Onorato2009-12-081-1/+1
| | | | | | | | It was happening if you had previously uninstalled an app.
* | Let the user click the dots during a scroll on Home.Romain Guy2009-12-072-184/+30
|/ | | | This allows faster scroll across Home. Also remove dead code.
* Fix 2300792 - All apps zooming when you come back from an app.Joe Onorato2009-12-031-6/+14
| | | | | This makes it so we're only listening for the CLOSE_SYSTEM_DIALOGS broadcast while we're between onResume and onPause.
* Make the launcher send the position of the icon that's launching an intent.Joe Onorato2009-12-021-0/+4
|
* Upgrade Home db to upgrade contacts shortcut to the quick contact actionRomain Guy2009-12-022-74/+77
| | | | Change-Id: Icb5606e340a6eafc06ffd1be4bbe3d4f988376d1
* Bug 2290800 - Use a collator to sort the app labels.Joe Onorato2009-12-012-14/+5
| | | | SHAME ON ME for using String.compareTo().
* Rename special dump properity so we can set it on user builds.Jason Sams2009-11-301-1/+1
|
* Fix 2275513 - Icons don't update on package updateJoe Onorato2009-11-243-3/+5
| | | | Also reuses the BubbleText object, which was being recreated for no reason.
* Fix bug 2248173 - all apps animates out when you return home.Joe Onorato2009-11-241-1/+34
|
* Clear search widget animation in Launcher.onResume()Bjorn Bringert2009-11-211-7/+1
| | | | | | | | Before, Launcher relied on a callback to a SearchManager.OnCancelListener to clear the search widget animation. However, that doesn't get called if some other app opens the search dialog before the Launcher is reopened. This change clears the animation in onResume(). Should fix http://b/issue?id=2246760
* Guard against null parent in Launcher2.Search.clearAnimation()Bjorn Bringert2009-11-211-1/+2
| | | | | | | | | Sometimes clearAnimation() is called on the search widget when it has no parent, e.g. when it being removed from the home screen. This caused an NPE, because clearAnimation() called invalidate() on the parent. This is a partial fix for: http://b/issue?id=2246760
* Fix bug 2223769 - Uninstalling app causes NPE.Joe Onorato2009-11-191-7/+2
| | | | | The check for whether there is anything in these lists should be sufficient. The other variables don't need to also be checked.
* Fix 2271080 - .lang.IllegalArgumentException: no dialog with id 1 was ever ↵Joe Onorato2009-11-191-1/+5
| | | | | | | | | shown via Activity#showDialog on CreateShortcut I'm not sure how this can happen, but I think it's okay to just drop the exception. It's all just trying to clean up anyway.
* Fix bug 2271894 - Odd animation when press home button from app that wasn't ↵Joe Onorato2009-11-192-7/+14
| | | | | | | | | | | | | in center home screen Now: - When you're on the workspace and you press home, it animates back to the middle - When you're in all apps and you press home, all apps animates out and the workspace doesn't animate to the middle (it just jumps there) - When you're in an app and you press home, it doesn't animate to the middle - When you're in an app and you press back, it still goes to the page you were on. Don't look at the evil hack to make it move without animating.
* Fix 2274291 - back key doesn't go from all apps to workspaceJoe Onorato2009-11-191-14/+11
|
* Fix 2271141 - Pressing the bottom corner of the screen when the applications ↵Joe Onorato2009-11-191-2/+6
| | | | | | menu is visible will switch the home screen
* This might fix bug 2262272 - Apps list emptyJoe Onorato2009-11-191-1/+3
| | | | | | I'm not sure how .added is empty, but the only way I see for this to happen is if it is, so use .data instead, which ought to be the same.
* Fix bugs 226264 and 2265943 - Home stopped responding to touch, but all-apps ↵Joe Onorato2009-11-191-3/+4
| | | | | | | | | | | | | | | | & notification panel still work I knew it was a problem with mWaitingForResult, which I'm still not convinced we need, but Jeff Sharkey was able to find repro steps, so he's my new hero. The steps were: 1. Open add menu (long pressing or menu > add) 2. Turn off the screen 3. Turn back on & unlock 4. Poof. The problem was that when we get ACTION_CLOSE_SYSTEM_DIALOGS intents, we're dismissing the dialogs, not canceling them. I think we actually want to cancel them, but there's no easy way to do that with the Activity class, so just clear mWaitingForResult by hand in closeSystemDialogs().
* Fix bug 2266095 - all apps animates out when you return home by hitting backJoe Onorato2009-11-181-1/+1
| | | | We needed to check that they haven't exited on the down event.
* Add more logging for bugs 2262649, 2262272 and 2265943.Joe Onorato2009-11-181-0/+8
|
* Add a lot of logging that can be seen by doing adb shell setprop ↵Joe Onorato2009-11-175-0/+127
| | | | launcher2.dumpstate 1 and presssing volume down
* fix 2261526 - Trackball doesn't work in 3D all-apps if you opened it using ↵Joe Onorato2009-11-161-7/+8
| | | | trackball
* Fix 2260199 - App icons placed in folder widget are doubled after rebooting ↵Joe Onorato2009-11-161-0/+1
| | | | | | | phone. I don't know why I did this piecemeal instead of just fixing it for widgets items and folders all at once.
* Fix bug 2261637 - Workspace previews home screens on long pressingJoe Onorato2009-11-162-5/+19
| | | | | | | | | | at the bottom of app drawer This includes some contortions to get it not to perform the vibrate haptic feedback then. (By the way, it appears that we're vibrating on the add context menu long press, so also do it when when we show the previews.