Updating fling to delete anim

Change-Id: I1c63e88b3e605113ea66afca9dcfbc30de1d4c8e
This commit is contained in:
Sunny Goyal
2015-04-29 18:12:37 -07:00
parent 9aaef938c3
commit ddec73471e
7 changed files with 124 additions and 169 deletions

View File

@@ -29,7 +29,7 @@ public interface DropTarget {
public static final String TAG = "DropTarget";
class DragObject {
public static class DragObject {
public int x = -1;
public int y = -1;
@@ -164,7 +164,7 @@ public interface DropTarget {
* of onDrop(). (This is only called on objects that are set as the DragController's
* fling-to-delete target.
*/
void onFlingToDelete(DragObject dragObject, int x, int y, PointF vec);
void onFlingToDelete(DragObject dragObject, PointF vec);
/**
* Check if a drop action can occur at, or near, the requested location.