Home
last modified time | relevance | path

Searched refs:mTouchMode (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/widget/
DAbsListView.java373 int mTouchMode = TOUCH_MODE_REST; field in AbsListView
2147 switch (mTouchMode) { in touchModeDrawsInPressedState()
2533 mTouchMode = TOUCH_MODE_REST; in run()
2537 mTouchMode = TOUCH_MODE_DONE_WAITING; in run()
2719 if (mTouchMode == TOUCH_MODE_DOWN) { in run()
2720 mTouchMode = TOUCH_MODE_TAP; in run()
2753 mTouchMode = TOUCH_MODE_DONE_WAITING; in run()
2756 mTouchMode = TOUCH_MODE_DONE_WAITING; in run()
2772 mTouchMode = TOUCH_MODE_OVERSCROLL; in startScrollIfNeeded()
2775 mTouchMode = TOUCH_MODE_SCROLL; in startScrollIfNeeded()
[all …]
DSwitch.java72 private int mTouchMode; field in Switch
412 mTouchMode = TOUCH_MODE_DOWN; in onTouchEvent()
420 switch (mTouchMode) { in onTouchEvent()
430 mTouchMode = TOUCH_MODE_DRAGGING; in onTouchEvent()
457 if (mTouchMode == TOUCH_MODE_DRAGGING) { in onTouchEvent()
461 mTouchMode = TOUCH_MODE_IDLE; in onTouchEvent()
483 mTouchMode = TOUCH_MODE_IDLE; in stopDrag()
DAdapterViewAnimator.java151 private int mTouchMode = TOUCH_MODE_NONE; field in AdapterViewAnimator
590 mTouchMode = TOUCH_MODE_NONE; in cancelHandleClick()
595 if (mTouchMode == TOUCH_MODE_DOWN_IN_CURRENT_VIEW) { in run()
614 mTouchMode = TOUCH_MODE_DOWN_IN_CURRENT_VIEW; in onTouchEvent()
623 if (mTouchMode == TOUCH_MODE_DOWN_IN_CURRENT_VIEW) { in onTouchEvent()
652 mTouchMode = TOUCH_MODE_NONE; in onTouchEvent()
660 mTouchMode = TOUCH_MODE_NONE; in onTouchEvent()
DGridView.java1264 } else if (mTouchMode > TOUCH_MODE_DOWN && mTouchMode < TOUCH_MODE_SCROLL) { in layoutChildren()
1351 final int mode = mTouchMode; in setupChild()
DListView.java1672 if (mTouchMode > TOUCH_MODE_DOWN && mTouchMode < TOUCH_MODE_SCROLL) { in layoutChildren()
1798 final int mode = mTouchMode; in setupChild()
/frameworks/base/core/java/android/webkit/
DWebView.java511 private int mTouchMode = TOUCH_DONE_MODE; field in WebView
3081 if (mTouchMode == TOUCH_DRAG_LAYER_MODE) { in onOverScrolled()
3541 if (mTouchMode == TOUCH_DRAG_LAYER_MODE) { in computeScroll()
3558 if (mTouchMode != TOUCH_DRAG_LAYER_MODE) { in computeScroll()
4126 boolean pressed = (mTouchMode == TOUCH_SHORTPRESS_START_MODE in drawContent()
4127 || mTouchMode == TOUCH_INIT_MODE in drawContent()
4128 || mTouchMode == TOUCH_SHORTPRESS_MODE); in drawContent()
4200 && (mTouchMode == TOUCH_INIT_MODE in onDraw()
4201 || mTouchMode == TOUCH_SHORTPRESS_START_MODE in onDraw()
4202 || mTouchMode == TOUCH_SHORTPRESS_MODE in onDraw()
[all …]