diff options
author | Michael Jurka <mikejurka@google.com> | 2010-09-17 10:59:31 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2010-09-17 10:59:31 -0700 |
commit | f79d5265c6446246f98e25e6b1b94d3bdc92ae29 (patch) | |
tree | b290ac5567f14f70b5214cee47f931c0d2658726 /src/com/android/launcher2/DropTarget.java | |
parent | 24ab2f1bb59a1b15f80bd398c7e3e3b3c98599fb (diff) | |
download | android_packages_apps_Trebuchet-f79d5265c6446246f98e25e6b1b94d3bdc92ae29.tar.gz android_packages_apps_Trebuchet-f79d5265c6446246f98e25e6b1b94d3bdc92ae29.tar.bz2 android_packages_apps_Trebuchet-f79d5265c6446246f98e25e6b1b94d3bdc92ae29.zip |
removing dead code
Diffstat (limited to 'src/com/android/launcher2/DropTarget.java')
-rw-r--r-- | src/com/android/launcher2/DropTarget.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/com/android/launcher2/DropTarget.java b/src/com/android/launcher2/DropTarget.java index e33ec9a63..d2e3ace90 100644 --- a/src/com/android/launcher2/DropTarget.java +++ b/src/com/android/launcher2/DropTarget.java @@ -88,27 +88,6 @@ public interface DropTarget { boolean acceptDrop(DragSource source, int x, int y, int xOffset, int yOffset, DragView dragView, Object dragInfo); - /** - * Estimate the surface area where this object would land if dropped at the - * given location. - * - * @param source DragSource where the drag started - * @param x X coordinate of the drop location - * @param y Y coordinate of the drop location - * @param xOffset Horizontal offset with the object being dragged where the - * original touch happened - * @param yOffset Vertical offset with the object being dragged where the - * original touch happened - * @param dragView The DragView that's being dragged around on screen. - * @param dragInfo Data associated with the object being dragged - * @param recycle {@link Rect} object to be possibly recycled. - * @return Estimated area that would be occupied if object was dropped at - * the given location. Should return null if no estimate is found, - * or if this target doesn't provide estimations. - */ - Rect estimateDropLocation(DragSource source, int x, int y, int xOffset, int yOffset, - DragView dragView, Object dragInfo, Rect recycle); - // These methods are implemented in Views void getHitRect(Rect outRect); void getLocationOnScreen(int[] loc); |