Commit Graph

12 Commits

Author SHA1 Message Date
Romain Guy 806b0f3fbf Fix use of drawing cache in Launcher. 2009-06-26 16:57:39 -07:00
Romain Guy 4c58c485d8 Fixes #1844053. Home was accepting all drops, even when there was no room left for a drop. This change fixes this while retaining the 'snap to vacant cell' ability added in Cupcake. 2009-05-12 17:35:41 -07:00
Jeff Sharkey 83f111d129 Prevent race condition when cancelling long-press for scroll.
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.
2009-05-11 18:18:16 -07:00
Romain Guy 51afc022fa Fix obsolete javadoc 2009-05-04 18:03:43 -07:00
Jeff Sharkey 70864289fb Make Launcher more forgiving when dragging desktop items.
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
2009-04-08 16:44:27 -07:00
The Android Open Source Project bc219c3c12 auto import from //branches/cupcake/...@137197 2009-03-09 11:52:14 -07:00
The Android Open Source Project 31dd503c6a auto import from //depot/cupcake/@135843 2009-03-03 19:32:27 -08:00
The Android Open Source Project 3189679370 auto import from //depot/cupcake/@135843 2009-03-03 18:28:51 -08:00
The Android Open Source Project 98baae654d auto import from //branches/cupcake/...@131421 2009-02-13 12:57:53 -08:00
The Android Open Source Project 15a8880cb1 auto import from //branches/cupcake/...@130745 2009-02-10 15:44:05 -08:00
The Android Open Source Project d097a1880f Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:58 -08:00
The Android Open Source Project c8f00b61c6 Initial Contribution 2008-10-21 07:00:00 -07:00