summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixes #1844053. Home was accepting all drops, even when there was no room ↵Romain Guy2009-05-122-12/+32
| | | | left for a drop. This change fixes this while retaining the 'snap to vacant cell' ability added in Cupcake.
* Prevent race condition when cancelling long-press for scroll.Jeff Sharkey2009-05-112-0/+22
| | | | | | | | | When dragging between workspaces in rapid succession, the canceling of the original long-press timer wasn't being triggered correctly. (When the timer fires, it might read an invalid Workspace.allowLongPress() value.) This patchset correctly cancels any pending long-press timers once a desktop scroll begins, and we don't need to rely on the allowLongPress() value.
* Merge change 1372 into donutAndroid (Google) Code Review2009-05-111-4/+9
|\ | | | | | | | | * changes: Fixes #1596240. Optimize invalidate/draw passes by marking opaque views and avoiding drawing them. Whenever a View requests an invalidate its parent check whether the view is opaque or not. When the view is not opaque, the framework behaves as it used to. However, when a view is opaque, the parent marks itself as being dirty because of an opaque view. Its parent then does the same, and so on. When the framework then starts drawing the views, it does not draw views marked as dirty opaque. If a view is dirty opaque and receives an invalidate request from a non-opaque view, it then clears the dirty opaque flag and behaves as before.
| * Fixes #1596240. Optimize invalidate/draw passes by marking opaque views and ↵Romain Guy2009-05-111-4/+9
| | | | | | | | avoiding drawing them. Whenever a View requests an invalidate its parent check whether the view is opaque or not. When the view is not opaque, the framework behaves as it used to. However, when a view is opaque, the parent marks itself as being dirty because of an opaque view. Its parent then does the same, and so on. When the framework then starts drawing the views, it does not draw views marked as dirty opaque. If a view is dirty opaque and receives an invalidate request from a non-opaque view, it then clears the dirty opaque flag and behaves as before.
* | am c4c1f32: AI 148592: Fix wallpaperchooser from previewing the default_Ramanan Rajeswaran2009-05-081-1/+1
|\ \ | |/ |/| | | | | | | | | Merge commit 'c4c1f32159cf125f60c6057e5099aa3e0dc439cf' into donut * commit 'c4c1f32159cf125f60c6057e5099aa3e0dc439cf': AI 148592: Fix wallpaperchooser from previewing the default_wallpaper to wallpaper_lake. This issue is exposed
| * AI 148592: Fix wallpaperchooser from previewing the default_wallpaper to ↵Ramanan Rajeswaran2009-05-081-1/+1
| | | | | | | | | | | | | | | | | | wallpaper_lake. This issue is exposed when we override the default wallpaper. BUG=1836838 Automated import of CL 148592
| * AI 143907: Make search widget drop-down wider.Jeffrey Sharkey2009-03-311-0/+27
| | | | | | | | | | | | BUG=1749373 Automated import of CL 143907
| * AI 143622: Correctly startListening() for widget updates when first boot ↵Jeffrey Sharkey2009-03-312-0/+48
| | | | | | | | | | | | | | | | | | | | | | completes. During the first boot upgrade, LauncherProvider will deleteHost() to clear out any old appWidgetId bindings. During the first boot, Launcher calls AppWidgetHost.startListening() to watch for widget updates. It also calls loadUserItems(), which loads data from LauncherProvider, triggering the database creation and deleteHost() call. Because deleteHost() removes any existing callbacks, any future widget updates are dropped on the floor. (This can currently be solved by rebooting, because there isn't an upgrade on subsequent boots.) This bug was particularly evident on vfpioneer-userdebug builds, as there aren't any configuration changes that cause Launcher to be destroyed and recreated. (When destroyed and recreated, we startListening() again, and LauncherProvider doesn't call deleteHost().) To handle this special case, Launcher creates a ContentObserver pointing at a specific URI, which the LauncherProvider notifies when the AppWidgetHost is reset through deleteHost(), allowing Launcher to correctly startListening() again. BUG=1746104 Automated import of CL 143622
| * AI 143294: Fixes #1725672. For good this time. When Home starts for the ↵Romain Guy2009-03-271-1/+10
| | | | | | | | | | | | | | | | first time, it spawns a loading thread for the workspace items. That loader is responsible for starting the drawer loader after it's done. Unfortunately, after a wipe data or a database upgrade, the worksapce loader could be interrupted by a ContentProvider notification change which would cause the loader to be cancelled and another workspace loader to be spawned. The new workspace loader, however, would not start the drawer loader because the appropriate flag was not set correctly. This change simply duplicates the flag from the old loader in the new one and all is well. BUG=1725672 Automated import of CL 143294
| * AI 143057: Don't NPE when editing a folder name.Jeffrey Sharkey2009-03-261-1/+1
| | | | | | | | | | | | | | Only happens when user changes orientation while editing, where getFolderById can return the wrong folder type for the given ID. BUG=1740367 Automated import of CL 143057
| * Automated import from //branches/cupcake/...@142933,142933Romain Guy2009-03-262-25/+13
| |
| * Automated import from //branches/cupcake/...@142473,142473Jeffrey Sharkey2009-03-241-1/+1
| |
| * Automated import from //branches/cupcake/...@142036,142036Jeffrey Sharkey2009-03-241-12/+12
| |
| * Automated import from //branches/cupcake/...@141884,141884Romain Guy2009-03-241-10/+1
| |
| * Automated import from //branches/cupcake/...@141843,141843Dianne Hackborn2009-03-242-2/+4
| |
| * Automated import from //branches/cupcake/...@141663,141663Romain Guy2009-03-241-1/+7
| |
| * Automated import from //branches/cupcake/...@141650,141650Jeffrey Sharkey2009-03-242-106/+117
| |
| * auto import from //branches/cupcake_rel/...@141571The Android Open Source Project2009-03-192-48/+105
| |
* | Fixes 1543726. Double-clicking Home should not make the workspace disappear. ↵Romain Guy2009-05-061-0/+2
| | | | | | | | This was caused by the workspace optimization that draws only what is thought to be the current celllayout.
* | Fix obsolete javadocRomain Guy2009-05-041-2/+2
| |
* | Fixes #1780990. Do not save the open state of the drawer when the user ↵Romain Guy2009-04-281-13/+12
| | | | | | | | leaves Home by launching an application.
* | Merge branch 'readonly-p4-donut' into donutKarl Rosaen2009-04-233-781/+362
|\ \
| * | AI 147564: Merge back from search branch to donut. Notes:Karl Rosaen2009-04-233-781/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | - all public apis and framework changes have been reviewed by relevant folks in our branch (e.g romainguy) - all new public apis are @hidden; they will still get reviewed by api council once we're in git - other than that, it's mostly GlobalSearch and search dialog stuff, a new apps provider, and some tweaks to the contacts provider that was reviewed by jham Automated import of CL 147564
* | | Make Launcher more forgiving when dragging desktop items.Jeff Sharkey2009-04-087-76/+270
|/ / | | | | | | | | | | | | | | This change adds nearby-area searching when dragging desktop items into already-occupied cells. This approach tries harder to find a matching area, instead of strictly rejecting invalid moves. We also draw a "snag" during the drag to show where an item would be dropped, but only if we would drop into an alternative cell. This gives users better feedback about where things will drop. http://b/issue?id=1634887
* | AI 143908: am: CL 143907 Make search widget drop-down wider.Jeffrey Sharkey2009-03-311-0/+27
| | | | | | | | | | | | | | Original author: jsharkey Merged from: //branches/cupcake/... Automated import of CL 143908
* | AI 143776: am: CL 143622 Correctly startListening() for widget updates when ↵Jeffrey Sharkey2009-03-312-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | first boot completes. During the first boot upgrade, LauncherProvider will deleteHost() to clear out any old appWidgetId bindings. During the first boot, Launcher calls AppWidgetHost.startListening() to watch for widget updates. It also calls loadUserItems(), which loads data from LauncherProvider, triggering the database creation and deleteHost() call. Because deleteHost() removes any existing callbacks, any future widget updates are dropped on the floor. (This can currently be solved by rebooting, because there isn't an upgrade on subsequent boots.) This bug was particularly evident on vfpioneer-userdebug builds, as there aren't any configuration changes that cause Launcher to be destroyed and recreated. (When destroyed and recreated, we startListening() again, and LauncherProvider doesn't call deleteHost().) To handle this special case, Launcher creates a ContentObserver pointing at a specific URI, which the LauncherProvider notifies when the AppWidgetHost is reset through deleteHost(), allowing Launcher to correctly startListening() again. Original author: jsharkey Merged from: //branches/cupcake/... Automated import of CL 143776
* | AI 143295: am: CL 143294 Fixes #1725672. For good this time. When Home ↵Romain Guy2009-03-271-1/+10
| | | | | | | | | | | | | | | | | | starts for the first time, it spawns a loading thread for the workspace items. That loader is responsible for starting the drawer loader after it's done. Unfortunately, after a wipe data or a database upgrade, the worksapce loader could be interrupted by a ContentProvider notification change which would cause the loader to be cancelled and another workspace loader to be spawned. The new workspace loader, however, would not start the drawer loader because the appropriate flag was not set correctly. This change simply duplicates the flag from the old loader in the new one and all is well. Original author: romainguy Merged from: //branches/cupcake/... Automated import of CL 143295
* | AI 143232: am: CL 143057 Don't NPE when editing a folder name.Jeffrey Sharkey2009-03-271-1/+1
| | | | | | | | | | | | | | | | Only happens when user changes orientation while editing, where getFolderById can return the wrong folder type for the given ID. Original author: jsharkey Merged from: //branches/cupcake/... Automated import of CL 143232
* | AI 143187: am: CL 142933 Fixes #1725672. Rebind the drawer's content early ↵Romain Guy2009-03-272-25/+13
| | | | | | | | | | | | | | | | | | to avoid the dreaded "blank drawer" bug. Original author: romainguy Merged from: //branches/cupcake/... Automated import of CL 143187
* | Automated import from //branches/donutburger/...@142474,142474Jeffrey Sharkey2009-03-241-1/+1
| |
* | Automated import from //branches/donutburger/...@142038,142038Jeffrey Sharkey2009-03-241-12/+12
| |
* | Automated import from //branches/donutburger/...@142016,142016Romain Guy2009-03-242-2/+17
| |
* | Automated import from //branches/donutburger/...@141885,141885Romain Guy2009-03-241-10/+1
| |
* | Automated import from //branches/donutburger/...@141844,141844Dianne Hackborn2009-03-242-2/+4
| |
* | Automated import from //branches/donutburger/...@141664,141664Romain Guy2009-03-241-1/+7
| |
* | Automated import from //branches/donutburger/...@141651,141651Jeffrey Sharkey2009-03-242-106/+117
| |
* | Automated import from //branches/donutburger/...@140670,140670Jeffrey Sharkey2009-03-241-16/+18
| |
* | Automated import from //branches/donutburger/...@140648,140648Romain Guy2009-03-241-13/+6
| |
* | Automated import from //branches/donutburger/...@140592,140592Jeffrey Sharkey2009-03-241-44/+106
|/
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-185-169/+557
|
* auto import from //branches/cupcake_rel/...@138607The Android Open Source Project2009-03-135-87/+108
|
* auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-1112-242/+298
|
* auto import from //branches/cupcake/...@137197The Android Open Source Project2009-03-093-31/+65
|
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-051-13/+25
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0340-0/+10403
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0339-9845/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-0314-591/+82
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-0214-82/+591
|
* auto import from //branches/cupcake/...@132276The Android Open Source Project2009-02-193-6/+18
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-139-248/+184
|