Allow dragging items off customization tray

Long press is no longer required

Change-Id: Ie122e298ab8782522b650551b8004c53b514bdd1
This commit is contained in:
Michael Jurka
2010-11-11 15:23:47 -08:00
parent 4f9e107a11
commit 7426c42ce0
3 changed files with 107 additions and 5 deletions
+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;