History log of /packages/apps/Launcher2/src/com/android/launcher2/DragController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
83892cc0768bd6d7f0827886e9e7a2eb3eed2b01 02-May-2013 Winson Chung <winsonc@google.com> Fixing issue where updating the visibility of one application can trigger all icons to disappear. (Bug 8757421)

- Also queueing bindComponentsRemoved() and bindPackagesUpdated() to wait for resume (Bug 8594153)

Change-Id: I44028fe79f6fa6bcd6b829e36f3f5b9ed756dc4d
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
c9d55c0dd03d4e6ecf56f860e78140b779fa54c8 04-Apr-2013 Winson Chung <winsonc@google.com> Merge "Fixing issue where drag view is jumping when you scroll from hovering over an edge. (Bug 8522679)" into jb-mr2-dev
25460a1d5cb473033408c9e76898bb77e785c66f 02-Apr-2013 Winson Chung <winsonc@google.com> Fixing issue where drag view is jumping when you scroll from hovering over an edge. (Bug 8522679)

Change-Id: Ie523e718bd1b558db9608aa66f6c353e4b8e1a14
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
fe1fe268b6d9ffd99218117795b3524a87e5110b 02-Apr-2013 Winson Chung <winsonc@google.com> Fixing RTL issues with apps ordering and snapping to page. (Bug 8238938, Bug 8374016, Bug 8373578)

Change-Id: I57ff58a6202a2794f02cfc13ed6124b10256dbbf
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
05713af127d765cc28a8b2fd548a90347c90d6cb 23-Jan-2013 Michael Jurka <mikejurka@google.com> Cache widget previews in a DB

- Smoother All Apps scroll performance

Change-Id: Id2d31a45e71c63d05a46f580667ad94403730616
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
cd81073eac537e9f85eeee14588d513ea8a56e17 19-Jun-2012 Winson Chung <winsonc@google.com> Decoupling launcher/workspace package cleanup from the application list (Bug 6602756)

- Fixes issues where shortcuts created by wallpaper/widget-only apps are uninstalled.

Change-Id: I94c9d1d71fc34aa2fb7f0660534e616a82ac6f36
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
6e1bdaf4198f9eb7b4124550d3ad07da2a0226e4 30-May-2012 Winson Chung <winsonc@google.com> Lowering the threshold for flinging on larger devices. (Bug 6575670)

Change-Id: I969057d6135babef430c60f5b2705179210719bb
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
c843ca452a2c1667310246bf85c8eb50656ab7a6 08-May-2012 Adam Cohen <adamcohen@google.com> Remove some dead code

Change-Id: Id29de1acbdb19dce3a0fae503d81682bd5715ffd
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
be365165ed00205265c1876c4829fa9ac630da2a 07-May-2012 Winson Chung <winsonc@google.com> Try and resolve the package name from the intent directly falling back to the resolved component name if it fails. (Bug 6452306)

Change-Id: Ifb2187fb845f807f30df966bf298ffde1b779b46
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
579225f894b7d83bf14361aaaf843e1c621ee547 07-May-2012 Winson Chung <winsonc@google.com> Fixing NPE in DragController. (Bug 6449615)

Change-Id: I84982043f4a39b0676c3d620fcd6e3c642cc5897
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
da954bb59932db33e50faf50ebbef77b8b458833 30-Apr-2012 Winson Chung <winsonc@google.com> Merge "Fixing issue where shortcuts and widgets were not being removed when the package was uninstalled (Bug 2657997, Bug 6335843)" into jb-dev
11a4937fbff0dbc50fb022513dc3b6c643154445 28-Apr-2012 Winson Chung <winsonc@google.com> Fixing issue where shortcuts and widgets were not being removed when the 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
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
360e63fd3e77247002b86da2a77bd8dfe8c8a807 27-Apr-2012 Winson Chung <winsonc@google.com> Moving side-page indicators to DragLayer to ensure it draws above hotseat gradient. (Bug 5117499)

Change-Id: Id0ab644f6631f4fd6be042b6be36ba8fe58eaae4
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
e46772df7915a6f569584e6878162574ef5e98af 14-Apr-2012 Winson Chung <winsonc@google.com> Merge "Get Vibrator from Context instead of using private API."
3a9fcedbcd235372cd2ab64f825a0b5b3937f59e 13-Apr-2012 Michael Jurka <mikejurka@google.com> Fix warnings and remove dead code

Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
8ef85c7a01376a98ce64d8fceb423a6f58e60d9d 13-Apr-2012 Jeff Brown <jeffbrown@google.com> Get Vibrator from Context instead of using private API.

Bug: 6334179
Change-Id: I5b16e0706489edc6c93ad9b5e480157aea1ecad0
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
318eee06ae69ac5ef8fddde984eb2f7601d2101d 12-Apr-2012 Winson Chung <winsonc@google.com> Addressing issues with comments in previous new-app animation delay change.

Change-Id: I1185ae890c5374f9b736c567622372b54fbde0ed
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
2c2b28ae557f83b3d114afeedb61c546a503eb99 12-Apr-2012 Winson Chung <winsonc@google.com> Merge "Adding delay upon user interaction to prevent the new-app animation from taking over your phone. (Bug 6248609)"
9658b1e65932f0149a596f451e0bd966e7ee4e74 10-Apr-2012 Winson Chung <winsonc@google.com> Tweaking fling-to-delete to make the fade out animation longer and harder to trigger.

Change-Id: Ie444420d2cf81e209d4bbca9c77edaad39bda000
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a2413751e3a698aef9c87411a639637883856939 03-Apr-2012 Winson Chung <winsonc@google.com> Adding delay upon user interaction to prevent the new-app animation from 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
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
7bcadad93f97e79d95ae879fe165de2e2371f613 02-Apr-2012 Michael Jurka <mikejurka@google.com> Fix NPE

Bug: 6259450
Change-Id: Iea92f3832fcd3a88e7d13b2e55ba4faf83be93dd
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
232decb008661d82ed2ca6d5f3080ee5a50d3be1 29-Mar-2012 Winson Chung <winsonc@google.com> Fixing issue where flinging-to-delete from a folder does not reflow/close the folder. (Bug 6240540)

Change-Id: I0d442761048c05110b079916eea7c0dcfbaf9759
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a48487a814c07a9f1f45eb3ffe3d873b3dc31b3b 21-Mar-2012 Winson Chung <winsonc@google.com> Allow fling gesture while dragging from AllApps to dismiss drag.

Change-Id: I5eea14336579a1374aded63dda9ad1a33e8b8d4a
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
043f2af567178b82b0b41f12d379e7dd12da2936 02-Mar-2012 Winson Chung <winsonc@google.com> Adding fling-to-delete.

- Also fixing issue where the drop target icon changes color slower than the text.

Change-Id: I0bfa59da5d202016342f1c3de419ebcafd81ff6f
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
41bb19d2775836e30ebf42f681b4617bc71600aa 06-Mar-2012 Winson Chung <winsonc@google.com> Always remove drag view immediately when cancelling drag. (Bug: 6119112)

Change-Id: Ib0a829c5bee834700e29dba8538c83b773d017b2
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
61b0c69d3fe331d3de338322396d5de691d58613 24-Feb-2012 Winson Chung <winsonc@google.com> Tweaking pickup animation, vibration and removing glow from drag view.

Change-Id: I8c9741e8b63ca9a0fc4af90e178dbb02fa912d83
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
72d598400da7cef9c7fc4f99bb1fcd7ff0710011 22-Feb-2012 Winson Chung <winsonc@google.com> Animating the widget previews on drag from AppsCustomize.

Change-Id: I223d66bb447c40e6870be46bb27f107f0e428a95
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
7bd1bbb509f9569fa18d6b4d33242679fd98bc9b 14-Feb-2012 Winson Chung <winsonc@google.com> Animating the drag view scale up and down when dragging items.

Change-Id: Ic97d74a14964c6bdc23305b2d378b13a1f2e3664
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a1cdab039292f3d809528c0e2e38580b37864d8d 13-Feb-2012 Winson Chung <winsonc@google.com> Reverting: "Animating the drag view scale up and down when dragging items."

Change-Id: I133ff2631834a4b97e1e4750fb7c07793ddeba69
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
42c29aedf2b518c4317fc534f3c87711b57bc9b5 07-Feb-2012 Winson Chung <winsonc@google.com> Animating the drag view scale up and down when dragging items.

- Also fixing up how we draw the drag view alpha

Change-Id: Ied82aec9d52274b0fe65c989eab818b0264a9eb2
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
3bc21c35fa167ac233e19df0c9a01b0a07173ed8 20-Jan-2012 Winson Chung <winsonc@google.com> Fixing issue where the outline is on the wrong side of the screen when dragging to final page.

- Also allowing pages to snap in springloaded mode without moving your finger.

Change-Id: I868f700bd740f2cd1e02023e1dee0f66b0799c58
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
aa15ffe60e28b923ebf3e3162ce427ca6feae803 19-Jan-2012 Winson Chung <winsonc@google.com> Allowing dragging to edge and holding to continue skipping pages.

Change-Id: I254f267e2ed04980925f71b7c96c2cac11f350ec
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
92f3d46cf35e78891f73226e81f8ca7e9a7f4d92 23-Nov-2011 Michael Jurka <mikejurka@google.com> Clean up unused code and import declarations

Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
3f4e1423804d64a38cb69e4511d7b80783564827 17-Nov-2011 Winson Chung <winsonc@google.com> Minor fixes to Launcher

- 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
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
b8c69f3c17a40adc2d85e8e996f754c383c293dc 20-Oct-2011 Winson Chung <winsonc@google.com> Fixing issue where holographic outlines were offset when dragging from/to folders/hotseat. (Bug: 5399792)

Change-Id: Iaa39ef1293b45a1d116210ec9d7fbde17dbc99cc
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a182096cb20e0580dfca6661b2e5871c8886c834 04-Oct-2011 Winson Chung <winsonc@google.com> Fixing crash when you are dragging an app and the packages change under you. (Bug: 5280181)

- Removing unused dimension for app icon content size

Change-Id: If3910010577e902937d284296479f9a699516de3
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
3e0839e5f830ab7e64223ebe186d97729eda3e22 04-Oct-2011 Winson Chung <winsonc@google.com> Fixing issue where dragging in the hotseat could trigger scrolling to side pages. (Bug: 5151006)

Change-Id: I1b1b98ecc87180fa5994f46194f1b5668e618b91
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
36cc09b07b19198f4ea886583cef462ade27192c 30-Sep-2011 Adam Cohen <adamcohen@google.com> Fixing issue with cancelled drag blocking cell spaces (Issue 5386523)

Change-Id: I9cfc728edeeee2237c21935517107e7a2af49646
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
c57b7a8233d32c6dd8de5057c570afe3f50e3ef2 10-Aug-2011 Michael Jurka <mikejurka@google.com> Adding a progress bar while All Apps is loading

- also, removing some unused imports

Change-Id: Icf46beb9fa9d89bc06cba33c148ceb7d668cd402
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
9932a9b1e66fed4b5f38ce50f13d56331bbdcd7e 03-Aug-2011 Adam Cohen <adamcohen@google.com> Fixing weird deferred click events after deleting folder

-> Fixing issue 5055487

Change-Id: I932f95f29322fa50035b13063ab51fad2d2217e8
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
1c4cf4a11f3f7f24bbf65f958fdd22295d0bbd55 29-Jul-2011 Winson Chung <winsonc@google.com> Minor bug fixes

- 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
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
fc53cd22c9a78708c78c85946443f23ec8c59502 21-Jul-2011 Adam Cohen <adamcohen@google.com> Fixing a couple bugs, allapps clicks and weird crash

-> issue 5021897 (when this was fixed, exposed more bugginess that is now fixed)
-> issue 5038392

Change-Id: I49a4e9fca154f75ea22ad2c462641747536102ce
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
273c1022405bcc5e0840450b9195622e7476c9dd 11-Jul-2011 Winson Chung <winsonc@google.com> Clamping touch positions to drag layer rect to prevent dragging outside of bounds.

- Fixing small issue with default widget preview aspect ratios

Change-Id: I2dca0524e8aa7c48345b424bad889736fa345386
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
8dfcba4af7a7ece09e8c7d96053e54f3a383e905 08-Jul-2011 Adam Cohen <adamcohen@google.com> Substantially improved performance of dragging and drop animations

-> 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
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
c07918d0053fc7d2a19d7b013565a5d2e7d4af51 02-Jul-2011 Winson Chung <winsonc@google.com> Cleaning up some spring-loaded related dragging code. Allow cancel spring loaded mode.

Change-Id: Ie1f0468c563bed7abc1aa6416e222cdb0853c03a
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
716b51e030f9c6ed34af2b947760e46a280c65a6 30-Jun-2011 Adam Cohen <adamcohen@google.com> Adding transitions after reorder within folder

Change-Id: I52b20fa1b2e4f9ee0b4a68ac703b95a2050dbd4a
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
bfbfd26c627a18f8e1e3e6d0e53e78feab360203 14-Jun-2011 Adam Cohen <adamcohen@google.com> Initial implementation of folder reordering

Change-Id: I9f700e71f46e3b91afa96742d9e3890d519c391d
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
c0dcf597084d00e4c23a7fea5fd0738f6c095a6b 02-Jun-2011 Adam Cohen <adamcohen@google.com> Fixing up some Folder bugs

-> 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
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
cb3382b1bfe1a534b1b44f5c4def9b2db605ac90 24-May-2011 Adam Cohen <adamcohen@google.com> Refactor of Launcher drag and drop to use a DragObject

-> DragObject contains a bunch of parameters instead of pssing
them each individually

Change-Id: I709cf320fe4234d71e19325d5c761dd9a9bba405
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
e3e27a854f3eca363d3c5ce353d19de475272d87 15-Apr-2011 Adam Cohen <adamcohen@google.com> Cleaning up drag and drop visulization and drop location determination

-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
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
b0a6bbeeab0960419dcd1f695c209ca0ec36ab8a 03-Mar-2011 Patrick Dubroy <dubroy@google.com> *Actually* fix 3377113: Mini homescreen outline wrong color

New and improved! 100% fewer regressions!

Change-Id: I079a7842ecfe7e84c3fd599d6156638588a1d2d0
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
bd361f7a854112ba8217213ac15131600726a90b 03-Mar-2011 Patrick Dubroy <dubroy@google.com> Revert "Fix 3377113: Mini homescreen outline wrong color"

This reverts commit ba1ca8cf7ae52f730de9a8d543f8f0d484e76c32.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
ba1ca8cf7ae52f730de9a8d543f8f0d484e76c32 03-Mar-2011 Patrick Dubroy <dubroy@google.com> Fix 3377113: Mini homescreen outline wrong color

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
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
5f445425606b2c27276a79e9e871cf7f67b1b719 18-Feb-2011 Patrick Dubroy <dubroy@google.com> Add missing animations when dragging from customize.

- Fix 3453751: Moon landing on canceled drag from customize
- Fix 3453595: Use home screen "consume" animation when dragging and dropping

Change-Id: Ia6a83c2d7a8f24c3ce02811547a35a7022d245f6
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
e3887cc4ec3cebda2333298e56a35acb49ccdf13 20-Jan-2011 Patrick Dubroy <dubroy@google.com> Ensure drag outline & crosshairs disappear on drag cancel

Change-Id: I165d45846c0bfe74eda0d61b55e5b93fbfccdef2
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
304dcde0e301c2f1a0b2bdc80ea8617930691b6e 07-Jan-2011 Winson Chung <winsonc@google.com> Ensuring that we don't start dragging while another drag is in progress.

Change-Id: If3c5a059407efc3ee9a0c9b1b3b7fb942d3a7664
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
621e6406fadba27d6cff1c38b31d5cdf99c0f97a 05-Jan-2011 Winson Chung <winsonc@google.com> Cancelling a drag should signal to the source that the drag is incomplete.

Change-Id: I6464c4ccf15b550dd319e18c2e998131e46ccc0f
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
120980bd00f5eecec5717f49a3d7db96571025a9 08-Dec-2010 Adam Cohen <adamcohen@google.com> Adding animations to Customize drawer

-When you tap to add in customize drawer the widgets
/ app shortcuts now animate to the mini screens

Change-Id: I0a5b5ae561fda3fbbf902003273477a5ed7ca5cc
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a669d79d0dcf034651ce305a8cd334272bec3374 23-Nov-2010 Patrick Dubroy <dubroy@google.com> Prevent flicker when starting a drag.

Also, animate item the view to its new position when dragging.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
54fa3b95557c283976e8c1aa8a157b460b0b4513 17-Nov-2010 Patrick Dubroy <dubroy@google.com> 3185132: Allow dropping on adjacent homescreen targets
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
6b879f0a5885274a85333531e091283405d490cc 05-Nov-2010 Adam Lesinski <adamlesinski@google.com> Layout tweaks in Launcher

-Removed All apps and Configure toolbar buttons
from Customization Drawer, removed Configure
button from All apps and added Market icon
to All apps
-Changed spacing of CellLayouts when scrolling
-Modified gap spacing in workspace layout
-Made workspace invisible in All apps but touching
the place where the workspace was takes you back
to workspace

Change-Id: I6e2579bfebeb8f1f80fdae07da442f6d399abe33
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a34abf8c781485b788fddacb352d586bffca886c 12-Nov-2010 Winson Chung <winsonc@google.com> Fixing issue where dropping on the system bar would not properly cancel the drag.

Change-Id: I3d920cabb99216c222d5c419374527068f1947d0
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a16fd5a6bd5371d40a5679261d416f06f8efa022 08-Oct-2010 Patrick Dubroy <dubroy@google.com> fix 3049894: Require fiddle or longer timeout for subsequent page flips

After initiating a scroll while dragging an item on the home screen, don't flip
so quickly to the next page. Instead, require a bit of additional movement to
trigger the next scroll.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
1262e369484ce7f2565655ed80e6299232c70bd7 07-Oct-2010 Patrick Dubroy <dubroy@google.com> wip 3029324: Implement new drag feedback

- Show page borders when dragging
- Enlarge scroll region (landscape only)
- When inside scroll region, show green border on adjacent page
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
658db74c24817892f1a379b16620744f38f60e40 29-Sep-2010 Joe Onorato <joeo@google.com> the scroll drag area was too small, and should have come from a resource anyway.

Change-Id: I11111aff767e21a2582c5c368b5d9ff1ac8f9cd7
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
de7658b5e02ae10010e44fcf8d9c5814f54d9eb0 27-Sep-2010 Patrick Dubroy <dubroy@google.com> Show crosshairs when dragging items around the workspace.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
0280c3be4d9f8fc6fdf015b7ecd276eb26f76f2d 18-Sep-2010 Michael Jurka <mikejurka@google.com> Adding support for drag and drop of folders and shortcuts.

also:
- Long press on empty space on workspace now brings up customization tray
- Fixed: while dragging, items appeared to be dropping on folders two cells to the right
- Fixed: Disabling drops on folders when the workspace is shrunken
- Fixed: account for scaling of dragged items when checking if they overlap
with shrunken workspace screens
- Making folder icons dimmable to match shortcuts and widgets
- When deciding with shrunken workspace screen we're dragging to, we now use the closest screen rather than the one that has been overlapped the most
- Refactored drag/add mechanism, removing array of occupied cells from CellInfo
- Removed dead code/variables
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
e3193b93ad7bf33e2e45319084a99b9fc986622b 10-Sep-2010 Winson Chung <winsonc@google.com> Initital changes for new customization drawer/widget tab design.

Change-Id: I160c8777fe2657ab303acfa20934f2e90f9e953e
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a63c452f5bd491ba9b28c332ccedc6c6c7e2f3cc 19-Aug-2010 Michael Jurka <mikejurka@google.com> added support for dragging widgets and app icons to mini screens

- gave mini screens a rounded rect background
- mini screens change color when dragged over
- added a way to specify the active region of dragged items, to allow for clipping of whitespace at borders
- fixed: feedback while dragging was often one cell off
- fixed: bug when adding to almost-full screen
- removed unused classes

Change-Id: I2fbd2aaaee6831b288cca8dec75e7b446068e8d1
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
4ed6278e518cc6894cb150b606382e8e6a012599 18-Aug-2010 Patrick Dubroy <dubroy@google.com> Implement button to get application info for an app shortcut.

For now, it's just a drag target like the delete zone. Once all apps
and the home screen support a selection mode, this (and delete) will
be implemented as buttons in the Contextual Action Bar.

Change-Id: I6bf43d03eefda672ea34c583a7021137da22b184
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
c1701ad4b2f7e8edf03438df26e1c2161d034847 17-Jul-2010 Patrick Dubroy <dubroy@google.com> Fix null pointer when dragging outside of workspace.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
440c360bc395c43683fa9ca226e59f9e35f9e926 14-Jul-2010 Patrick Dubroy <dubroy@google.com> Fix bug with drag visualization and UserFolders.

When dragging an app shortcut, it was possible that we'd show a red rectangle
around a cell occupied by a UserFolder. This shouldn't be possible -- as soon
as that cell becomes the target drop cell, the folder should start handling
the drag and drop events.

Change-Id: I1b7a8b1aa9aeb7e2f1bd51ce8d947c06455e988f
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
3f8175a86e24b3568d1f5b12e1d3d5efcc57d691 25-May-2010 Daniel Sandler <dsandler@android.com> Mask bitmap creation errors while dragging shortcuts.

If we're unable to create a bitmap for the drag, e.g. due to
memory pressure, give up.

Bug: 2650809
Change-Id: I5d7360dbb1bd736a629451467e93cccdfc255b67
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
ea3763c2672f77539538af8cdd395ad97058eaab 12-Jan-2010 Romain Guy <romainguy@android.com> Fix dpad nav: go left/right when dpad is moved and dots are focused.
Bug #2359364
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
24b6fd854f75f21700a330c2f0d11938e5dfeab6 12-Nov-2009 Joe Onorato <joeo@android.com> Fix 2257802 - Screen unresponsive when you get a call while moving the shortcuts or widgets on home screen
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a30ce8e6b25e41f392a41fd4d0d3e0a424a84dad 11-Nov-2009 Joe Onorato <joeo@android.com> Bug 2231692 - Turn off launcher2 logging.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
87467d3a2168180e8d6437d07d22b4dd0ef59845 08-Nov-2009 Joe Onorato <joeo@android.com> Fix 2246713 - Bad offset when picking up a widget for the first time.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
2e5c432a0aa7e83031575df73bed43a297e2eed3 06-Oct-2009 Joe Onorato <joeo@android.com> Launcher2: fix 2162230 - Can't add app shortcuts from 3D All Apps
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
e048e8a8eff51e8c2c271d16c864367dac438ca2 25-Sep-2009 Joe Onorato <joeo@android.com> Now that touch events can go off the edge of the screen, clamp
them to the screen size for hit testing purposes while dragging.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
5162ea9b1f41dbebe00fd9ec4d1e15a697971439 03-Sep-2009 Joe Onorato <joeo@android.com> Add drag and drop from AllAppsView (to the workspace).

Also had to fix AppInfoCache to load the icon as a drawable, which I had broken
when I made AllAppsView use the icons as power of two textures.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
9c1289cb3bfb74f86e53ec7ac6dd76bb39666b2d 17-Aug-2009 Joe Onorato <joeo@android.com> Redo the launcher loading code and put the real app icons into rollo.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
7c312c15e33b6cffbda707429e88ade498fc9f5e 14-Aug-2009 Joe Onorato <joeo@android.com> Move the all apps view back into the window with the workspace.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
00acb123c5100f06b8e89e8ec8978ebafc6f6d26 04-Aug-2009 Joe Onorato <joeo@android.com> Move the drag thing into its own window that goes around on top of everything else.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a5902524d4403885eb4c50360bf3465c6be796ef 30-Jul-2009 Joe Onorato <joeo@android.com> Launcher2 compiles.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
fca7c88f9dba895d9f6cf52c6f0e656445063e3e 30-Jul-2009 Joe Onorato <joeo@android.com> Move com/android/launcher -> com/android/launcher2
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java