summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AnotherWindowDropTarget.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring WallpaperOffsetInterpolator to a new fileSunny Goyal2015-10-161-9/+0
| | | | | | Removing some us unused methods Change-Id: Ife790e5ca6848fa13dc3fab1bba1e6220bf83743
* Moving drag-drop related code into a separate package.Vadim Tryshev2015-08-201-1/+1
| | | | | | | | | This is per an earlier CR comment "we should probably move all this code to its own package (launcher3.dragndrop) in a separate cl". I'm not moving DragSource because it's referred from gsa code. Bug: 22609426 Change-Id: Ia7204dab99c0c395c66b77143a2d60411153f5f3
* Code to enable dragging to System UI shelf.Vadim Tryshev2015-07-301-0/+73
This CL doesn’t let the new code run, it’s under a compile-time flag, and the behavior should be same as before. The change introduces a concept of a DragDriver, which encapsulates behavior of the existing DND (InternalDragDriver) or the framework- driven DND (SystemDragDriver). An instance of DragDriver gets created by DragController for the time while a DND operation is in progress, and it takes care of translating DND events for DragController. Also did some cleanups, like removing meaningless fields etc. Plans for future: keep working in Burnaby, and: * Perhaps, better separate DragDriver from DragController * Detect fling gesture for system DND * Look at accessibility * Polish animations and appearance * Fix dragging from folders * Support cancelling DND Then, it will become possible to enable new dragging (based on Android version). Bug: 22028725 Change-Id: I41b40e9d512d83937f5b101ac8e3e8e7e807c269