Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java82 private int mTouchMode; field in GalleryThumbnailView
290 if (mTouchMode == TOUCH_MODE_FLINGING) { in onInterceptTouchEvent()
292 mTouchMode = TOUCH_MODE_DRAGGING; in onInterceptTouchEvent()
311 mTouchMode = TOUCH_MODE_DRAGGING; in onInterceptTouchEvent()
347 mTouchMode = TOUCH_MODE_DRAGGING; in onTouchEvent()
350 if (mTouchMode == TOUCH_MODE_DRAGGING) { in onTouchEvent()
361 mTouchMode = TOUCH_MODE_IDLE; in onTouchEvent()
369 mTouchMode = TOUCH_MODE_FLINGING; in onTouchEvent()
375 mTouchMode = TOUCH_MODE_IDLE; in onTouchEvent()
557 mTouchMode = TOUCH_MODE_IDLE; in computeScroll()
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java90 private int mTouchMode = MODE_NONE; field in ChartSweepView
459 mTouchMode = MODE_DRAG; in onTouchEvent()
468 mTouchMode = MODE_LABEL; in onTouchEvent()
471 mTouchMode = MODE_NONE; in onTouchEvent()
476 if (mTouchMode == MODE_LABEL) { in onTouchEvent()
516 if (mTouchMode == MODE_LABEL) { in onTouchEvent()
518 } else if (mTouchMode == MODE_DRAG) { in onTouchEvent()
528 mTouchMode = MODE_NONE; in onTouchEvent()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java601 private int mTouchMode = TOUCH_MODE_INITIAL_STATE; field in DayView
2192 if ((mTouchMode & TOUCH_MODE_HSCROLL) != 0) { in onDraw()
2206 nextView.mTouchMode = TOUCH_MODE_INITIAL_STATE; in onDraw()
3684 mTouchMode = TOUCH_MODE_DOWN; in doDown()
3993 if (mTouchMode == TOUCH_MODE_DOWN) { in doScroll()
4002 mTouchMode = TOUCH_MODE_HSCROLL; in doScroll()
4007 mTouchMode = TOUCH_MODE_VSCROLL; in doScroll()
4009 } else if ((mTouchMode & TOUCH_MODE_HSCROLL) != 0) { in doScroll()
4025 if ((mTouchMode & TOUCH_MODE_VSCROLL) != 0) { in doScroll()
4098 if ((mTouchMode & TOUCH_MODE_HSCROLL) != 0) { in doFling()
[all …]