Home
last modified time | relevance | path

Searched refs:mTouchState (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher/src/com/android/launcher/
DWorkspace.java82 private int mTouchState = TOUCH_STATE_REST; field in Workspace
435 boolean fastDraw = mTouchState != TOUCH_STATE_SCROLLING && mNextScreen == INVALID_SCREEN; in dispatchDraw()
589 if ((action == MotionEvent.ACTION_MOVE) && (mTouchState != TOUCH_STATE_REST)) { in onInterceptTouchEvent()
618 mTouchState = TOUCH_STATE_SCROLLING; in onInterceptTouchEvent()
644 mTouchState = mScroller.isFinished() ? TOUCH_STATE_REST : TOUCH_STATE_SCROLLING; in onInterceptTouchEvent()
651 mTouchState = TOUCH_STATE_REST; in onInterceptTouchEvent()
660 return mTouchState != TOUCH_STATE_REST; in onInterceptTouchEvent()
708 if (mTouchState == TOUCH_STATE_SCROLLING) { in onTouchEvent()
729 if (mTouchState == TOUCH_STATE_SCROLLING) { in onTouchEvent()
749 mTouchState = TOUCH_STATE_REST; in onTouchEvent()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java86 private int mTouchState = TOUCH_STATE_REST; field in Workspace
531 boolean fastDraw = mTouchState != TOUCH_STATE_SCROLLING && mNextScreen == INVALID_SCREEN in dispatchDraw()
713 if ((action == MotionEvent.ACTION_MOVE) && (mTouchState != TOUCH_STATE_REST)) { in onInterceptTouchEvent()
742 mTouchState = TOUCH_STATE_SCROLLING; in onInterceptTouchEvent()
768 mTouchState = mScroller.isFinished() ? TOUCH_STATE_REST : TOUCH_STATE_SCROLLING; in onInterceptTouchEvent()
774 if (mTouchState != TOUCH_STATE_SCROLLING) { in onInterceptTouchEvent()
786 mTouchState = TOUCH_STATE_REST; in onInterceptTouchEvent()
796 return mTouchState != TOUCH_STATE_REST; in onInterceptTouchEvent()
890 if (mTouchState == TOUCH_STATE_SCROLLING) { in onTouchEvent()
913 if (mTouchState == TOUCH_STATE_SCROLLING) { in onTouchEvent()
[all …]