Allow dragging items off customization tray

Long press is no longer required

Change-Id: Ie122e298ab8782522b650551b8004c53b514bdd1
This commit is contained in:
Michael Jurka committed 2010-11-16 14:24:56 -08:00
1 parent 4f9e107a11
commit 7426c42ce0
3 files changed
+107 -5

No files matched your search

+4 -4
View File
@@ -74,8 +74,8 @@ public abstract class PagedView extends ViewGroup {
private VelocityTracker mVelocityTracker;
private float mDownMotionX;
private float mLastMotionX;
private float mLastMotionY;
protected float mLastMotionX;
protected float mLastMotionY;
private int mLastScreenCenter = -1;
protected final static int TOUCH_STATE_REST = 0;
@@ -88,9 +88,9 @@ public abstract class PagedView extends ViewGroup {
protected OnLongClickListener mLongClickListener;
private boolean mAllowLongPress = true;
protected boolean mAllowLongPress = true;
private int mTouchSlop;
protected int mTouchSlop;
private int mPagingTouchSlop;
private int mMaximumVelocity;
protected int mPageSpacing;