diff options
| author | Christopher Tate <ctate@google.com> | 2010-10-04 14:13:40 -0700 |
|---|---|---|
| committer | Christopher Tate <ctate@google.com> | 2010-10-04 18:29:09 -0700 |
| commit | 2c095f367779ef32130c72849936a2e3013c8492 (patch) | |
| tree | f22e11880dff84df547fb39441b171985668905d /core/java/android/view/ViewDebug.java | |
| parent | b6b193013d4641cbbf0170c98aebc5c3f6a2214b (diff) | |
Refinements to drag/drop
Thumbnail measurement & drawing has been moved out into a delegate
class called View.DragThumbnailBuilder. This consolidates the
thumbnail-related code as well as ensuring that the drag initiator
does not have to know a priori where to place the thumbnail relative
to the touch point *before* the thumbnail measurement step, as was
previously the case.
startDrag() no longer needs to be told where the current touch point
is at the time the drag is launched.
Drag events are now dispatched only to VISIBLE views.
Dispatch shouldn't double-recycle events any more when the target
window is local to the system process.
Change-Id: I49419103765a0cad2e18ddfcdd6dacb94daf1ff1
Diffstat (limited to 'core/java/android/view/ViewDebug.java')
| -rw-r--r-- | core/java/android/view/ViewDebug.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/view/ViewDebug.java b/core/java/android/view/ViewDebug.java index b1d52725257e..727cf17e9dfd 100644 --- a/core/java/android/view/ViewDebug.java +++ b/core/java/android/view/ViewDebug.java @@ -136,6 +136,12 @@ public class ViewDebug { public static final boolean DEBUG_SHOW_FPS = false; /** + * Enables detailed logging of drag/drop operations. + * @hide + */ + public static final boolean DEBUG_DRAG = true; + + /** * <p>Enables or disables views consistency check. Even when this property is enabled, * view consistency checks happen only if {@link android.util.Config#DEBUG} is set * to true. The value of this property can be configured externally in one of the |
