Home
last modified time | relevance | path

Searched refs:mTouchMode (Results 1 – 4 of 4) 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
462 mTouchMode = MODE_DRAG; in onTouchEvent()
471 mTouchMode = MODE_LABEL; in onTouchEvent()
474 mTouchMode = MODE_NONE; in onTouchEvent()
479 if (mTouchMode == MODE_LABEL) { in onTouchEvent()
519 if (mTouchMode == MODE_LABEL) { in onTouchEvent()
521 } else if (mTouchMode == MODE_DRAG) { in onTouchEvent()
531 mTouchMode = MODE_NONE; in onTouchEvent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DChartSweepView.java90 private int mTouchMode = MODE_NONE; field in ChartSweepView
462 mTouchMode = MODE_DRAG; in onTouchEvent()
471 mTouchMode = MODE_LABEL; in onTouchEvent()
474 mTouchMode = MODE_NONE; in onTouchEvent()
479 if (mTouchMode == MODE_LABEL) { in onTouchEvent()
519 if (mTouchMode == MODE_LABEL) { in onTouchEvent()
521 } else if (mTouchMode == MODE_DRAG) { in onTouchEvent()
531 mTouchMode = MODE_NONE; in onTouchEvent()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java593 private int mTouchMode = TOUCH_MODE_INITIAL_STATE; field in DayView
1921 if ((mTouchMode & TOUCH_MODE_HSCROLL) != 0) { in onDraw()
1935 nextView.mTouchMode = TOUCH_MODE_INITIAL_STATE; in onDraw()
2900 mTouchMode = TOUCH_MODE_DOWN; in doDown()
3184 if (mTouchMode == TOUCH_MODE_DOWN) { in doScroll()
3193 mTouchMode = TOUCH_MODE_HSCROLL; in doScroll()
3198 mTouchMode = TOUCH_MODE_VSCROLL; in doScroll()
3200 } else if ((mTouchMode & TOUCH_MODE_HSCROLL) != 0) { in doScroll()
3216 if ((mTouchMode & TOUCH_MODE_VSCROLL) != 0) { in doScroll()
3289 if ((mTouchMode & TOUCH_MODE_HSCROLL) != 0) { in doFling()
[all …]