summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/DragController.java
Commit message (Collapse)AuthorAgeFilesLines
* Lowering the threshold for flinging on larger devices. (Bug 6575670)Winson Chung2012-05-291-5/+7
| | | | Change-Id: I969057d6135babef430c60f5b2705179210719bb
* Remove some dead codeAdam Cohen2012-05-081-46/+0
| | | | Change-Id: Id29de1acbdb19dce3a0fae503d81682bd5715ffd
* Try and resolve the package name from the intent directly falling back to ↵Winson Chung2012-05-071-2/+2
| | | | | | the resolved component name if it fails. (Bug 6452306) Change-Id: Ifb2187fb845f807f30df966bf298ffde1b779b46
* Fixing NPE in DragController. (Bug 6449615)Winson Chung2012-05-061-2/+2
| | | | Change-Id: I84982043f4a39b0676c3d620fcd6e3c642cc5897
* Merge "Fixing issue where shortcuts and widgets were not being removed when ↵Winson Chung2012-04-301-4/+7
|\ | | | | | | the package was uninstalled (Bug 2657997, Bug 6335843)" into jb-dev
| * Fixing issue where shortcuts and widgets were not being removed when the ↵Winson Chung2012-04-271-4/+7
| | | | | | | | | | | | | | | | | | package was uninstalled (Bug 2657997, Bug 6335843) - Also fixes issue if we are dragging a shortcut/widget and it is removed. - Also exposes App Info for shortcuts and widgets Change-Id: I3bd5056f50f20e8b277dde6456df26eac815bcde
* | Moving side-page indicators to DragLayer to ensure it draws above hotseat ↵Winson Chung2012-04-271-0/+4
|/ | | | | | gradient. (Bug 5117499) Change-Id: Id0ab644f6631f4fd6be042b6be36ba8fe58eaae4
* Merge "Get Vibrator from Context instead of using private API."Winson Chung2012-04-131-1/+2
|\
| * Get Vibrator from Context instead of using private API.Jeff Brown2012-04-131-1/+2
| | | | | | | | | | Bug: 6334179 Change-Id: I5b16e0706489edc6c93ad9b5e480157aea1ecad0
* | Fix warnings and remove dead codeMichael Jurka2012-04-131-3/+3
|/ | | Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
* Addressing issues with comments in previous new-app animation delay change.Winson Chung2012-04-121-1/+1
| | | | Change-Id: I1185ae890c5374f9b736c567622372b54fbde0ed
* Merge "Adding delay upon user interaction to prevent the new-app animation ↵Winson Chung2012-04-121-0/+14
|\ | | | | | | from taking over your phone. (Bug 6248609)"
| * Adding delay upon user interaction to prevent the new-app animation from ↵Winson Chung2012-04-091-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | taking over your phone. (Bug 6248609) - Fixing issue where we might have been reading the db items while handling previous broadcast and adding db items to invalid positions - Making items add alternating from the center page (as opposed to the current page) - Re-adding the strict-mode fix (really requires 1. to be true) - Adding flag for enabling strict mode exceptions - Removing items from the new apps add list on uninstall-shortcut broadcast Change-Id: I495e80bf5f8dbb4b87dd709460937d6f2a1e05e7
* | Tweaking fling-to-delete to make the fade out animation longer and harder to ↵Winson Chung2012-04-091-1/+1
|/ | | | | | trigger. Change-Id: Ie444420d2cf81e209d4bbca9c77edaad39bda000
* Fix NPEMichael Jurka2012-04-021-1/+5
| | | | | Bug: 6259450 Change-Id: Iea92f3832fcd3a88e7d13b2e55ba4faf83be93dd
* Fixing issue where flinging-to-delete from a folder does not reflow/close ↵Winson Chung2012-03-281-1/+3
| | | | | | the folder. (Bug 6240540) Change-Id: I0d442761048c05110b079916eea7c0dcfbaf9759
* Allow fling gesture while dragging from AllApps to dismiss drag.Winson Chung2012-03-221-3/+7
| | | | Change-Id: I5eea14336579a1374aded63dda9ad1a33e8b8d4a
* Adding fling-to-delete.Winson Chung2012-03-201-9/+130
| | | | | | - Also fixing issue where the drop target icon changes color slower than the text. Change-Id: I0bfa59da5d202016342f1c3de419ebcafd81ff6f
* Always remove drag view immediately when cancelling drag. (Bug: 6119112)Winson Chung2012-03-051-0/+1
| | | | Change-Id: Ib0a829c5bee834700e29dba8538c83b773d017b2
* Tweaking pickup animation, vibration and removing glow from drag view.Winson Chung2012-02-231-1/+1
| | | | Change-Id: I8c9741e8b63ca9a0fc4af90e178dbb02fa912d83
* Animating the widget previews on drag from AppsCustomize.Winson Chung2012-02-231-24/+11
| | | | Change-Id: I223d66bb447c40e6870be46bb27f107f0e428a95
* Animating the drag view scale up and down when dragging items.Winson Chung2012-02-131-1/+3
| | | | Change-Id: Ic97d74a14964c6bdc23305b2d378b13a1f2e3664
* Reverting: "Animating the drag view scale up and down when dragging items."Winson Chung2012-02-131-3/+1
| | | | Change-Id: I133ff2631834a4b97e1e4750fb7c07793ddeba69
* Animating the drag view scale up and down when dragging items.Winson Chung2012-02-071-1/+3
| | | | | | - Also fixing up how we draw the drag view alpha Change-Id: Ied82aec9d52274b0fe65c989eab818b0264a9eb2
* Fixing issue where the outline is on the wrong side of the screen when ↵Winson Chung2012-01-201-1/+9
| | | | | | | | dragging to final page. - Also allowing pages to snap in springloaded mode without moving your finger. Change-Id: I868f700bd740f2cd1e02023e1dee0f66b0799c58
* Allowing dragging to edge and holding to continue skipping pages.Winson Chung2012-01-181-12/+23
| | | | Change-Id: I254f267e2ed04980925f71b7c96c2cac11f350ec
* Clean up unused code and import declarationsMichael Jurka2011-11-281-1/+0
| | | | Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
* Minor fixes to LauncherWinson Chung2011-11-181-18/+2
| | | | | | | | | | - Tweaking the AllApps tab padding - Fixing issue where the cling punch out might be in the wrong location - Removing unused dragging code related to drop/scroll area overlap - Tweaking padding so that picking up an icon on the top row does not automatically hover over delete (Bug 5636264) - Fixing issue where multiple bgs in AllApps tab bar line makes it look blurry (Bug 5523822) Change-Id: I707397c231188a9feee8c0856374e0483cf37296
* Fixing issue where holographic outlines were offset when dragging from/to ↵Winson Chung2011-10-191-6/+8
| | | | | | folders/hotseat. (Bug: 5399792) Change-Id: Iaa39ef1293b45a1d116210ec9d7fbde17dbc99cc
* Fixing crash when you are dragging an app and the packages change under you. ↵Winson Chung2011-10-041-0/+17
| | | | | | | | (Bug: 5280181) - Removing unused dimension for app icon content size Change-Id: If3910010577e902937d284296479f9a699516de3
* Fixing issue where dragging in the hotseat could trigger scrolling to side ↵Winson Chung2011-10-031-6/+8
| | | | | | pages. (Bug: 5151006) Change-Id: I1b1b98ecc87180fa5994f46194f1b5668e618b91
* Fixing issue with cancelled drag blocking cell spaces (Issue 5386523)Adam Cohen2011-09-291-0/+1
| | | | Change-Id: I9cfc728edeeee2237c21935517107e7a2af49646
* Adding a progress bar while All Apps is loadingMichael Jurka2011-08-091-1/+0
| | | | | - also, removing some unused imports Change-Id: Icf46beb9fa9d89bc06cba33c148ceb7d668cd402
* Fixing weird deferred click events after deleting folderAdam Cohen2011-08-021-1/+4
| | | | | | -> Fixing issue 5055487 Change-Id: I932f95f29322fa50035b13063ab51fad2d2217e8
* Minor bug fixesWinson Chung2011-08-021-2/+2
| | | | | | | | | - Making the spring loaded side page hovers slightly faster - Fixing issue where you can't drag over another item on another page to create a portal - Ignoring side pages while hovering over hotseat - Fixing issue where hotseat may be stuck in shrunken state (and removing the scale on the hotseat) Change-Id: I87d50a1bdc451704285482c79caed0982a5a7f5a
* Fixing a couple bugs, allapps clicks and weird crashAdam Cohen2011-07-201-9/+0
| | | | | | | -> issue 5021897 (when this was fixed, exposed more bugginess that is now fixed) -> issue 5038392 Change-Id: I49a4e9fca154f75ea22ad2c462641747536102ce
* Clamping touch positions to drag layer rect to prevent dragging outside of ↵Winson Chung2011-07-111-4/+19
| | | | | | | | bounds. - Fixing small issue with default widget preview aspect ratios Change-Id: I2dca0524e8aa7c48345b424bad889736fa345386
* Substantially improved performance of dragging and drop animationsAdam Cohen2011-07-071-75/+45
| | | | | | | | | | -> Took DragView drawing out of the window and put it into the DragLayer -> Added fade-in/out animations to transition between the final view and the DragView, after the view animates -> Enabled hardware layers on Folder items which improves the performance Folder reordering Change-Id: I4d92ca9fba172d1bab9efc215a99abcaadcdf503
* Cleaning up some spring-loaded related dragging code. Allow cancel spring ↵Winson Chung2011-07-061-1/+3
| | | | | | loaded mode. Change-Id: Ie1f0468c563bed7abc1aa6416e222cdb0853c03a
* Adding transitions after reorder within folderAdam Cohen2011-06-301-10/+0
| | | | Change-Id: I52b20fa1b2e4f9ee0b4a68ac703b95a2050dbd4a
* Initial implementation of folder reorderingAdam Cohen2011-06-131-0/+3
| | | | Change-Id: I9f700e71f46e3b91afa96742d9e3890d519c391d
* Fixing up some Folder bugsAdam Cohen2011-06-081-6/+4
| | | | | | | | | | -> Rendering properly while in spring-loaded mode -> Fixed bug where sometimes the folder's background would vanish -> Fixed bug where the folder background was "stuck" in a fixed location, not following the folder -> Can now add to folders and create folders from spring-loaded mode Change-Id: Ie1c5583a6230a192e6d07763d001b50053daca43
* Refactor of Launcher drag and drop to use a DragObjectAdam Cohen2011-05-241-47/+32
| | | | | | | -> DragObject contains a bunch of parameters instead of pssing them each individually Change-Id: I709cf320fe4234d71e19325d5c761dd9a9bba405
* Cleaning up drag and drop visulization and drop location determinationAdam Cohen2011-04-151-10/+10
| | | | | | | | | -Visualization and drop location always match now -Improved the location determination/visualization for widgets in spring loaded mode -Simplified and fixed some other discrepencies Change-Id: I4b46f415a547e4df778c70a8b87f341a909d10c1
* *Actually* fix 3377113: Mini homescreen outline wrong colorPatrick Dubroy2011-03-021-10/+8
| | | | | | New and improved! 100% fewer regressions! Change-Id: I079a7842ecfe7e84c3fd599d6156638588a1d2d0
* Revert "Fix 3377113: Mini homescreen outline wrong color"Patrick Dubroy2011-03-021-7/+9
| | | | This reverts commit ba1ca8cf7ae52f730de9a8d543f8f0d484e76c32.
* Fix 3377113: Mini homescreen outline wrong colorPatrick Dubroy2011-03-021-9/+7
| | | | | | | | Couldn't repro this reliably, but the only way I could see it happening is if we got an UP event without a MOVE at the same location. This patch prevents that from happening. Change-Id: I473c4ea50474b45da8c5537efe39177c1423ae20
* Add missing animations when dragging from customize.Patrick Dubroy2011-02-181-22/+12
| | | | | | - Fix 3453751: Moon landing on canceled drag from customize - Fix 3453595: Use home screen "consume" animation when dragging and dropping Change-Id: Ia6a83c2d7a8f24c3ce02811547a35a7022d245f6
* Ensure drag outline & crosshairs disappear on drag cancelPatrick Dubroy2011-01-201-0/+1
| | | | Change-Id: I165d45846c0bfe74eda0d61b55e5b93fbfccdef2
* Ensuring that we don't start dragging while another drag is in progress.Winson Chung2011-01-071-0/+4
| | | | Change-Id: If3c5a059407efc3ee9a0c9b1b3b7fb942d3a7664