Home
last modified time | relevance | path

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

/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlWheel.java85 private int mPressedIndex = -1; field in IndicatorControlWheel
145 mPressedIndex = -1; in changeIndicatorsLevel()
273 if ((index != mPressedIndex) || (action == MotionEvent.ACTION_DOWN)) { in dispatchTouchEvent()
274 if (mPressedIndex != -1) { in dispatchTouchEvent()
275 injectMotionEvent(mPressedIndex, event, MotionEvent.ACTION_CANCEL); in dispatchTouchEvent()
296 mPressedIndex = (action == MotionEvent.ACTION_UP) ? -1 : index; in dispatchTouchEvent()
433 if (mPressedIndex != -1) { in getSelectedIndicatorIndex()
434 View v = getChildAt(mPressedIndex); in getSelectedIndicatorIndex()
436 return mPressedIndex; in getSelectedIndicatorIndex()
533 if (mPressedIndex != -1) { in onTouchOutBound()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlotRenderer.java46 private int mPressedIndex = -1; field in AlbumSlotRenderer
66 if (mPressedIndex == index) return; in setPressedIndex()
67 mPressedIndex = index; in setPressedIndex()
72 if (mPressedIndex == -1) return; in setPressedUp()
142 if (mPressedIndex == index) { in renderOverlay()
148 mPressedIndex = -1; in renderOverlay()
DAlbumSetSlotRenderer.java48 private int mPressedIndex = -1; field in AlbumSetSlotRenderer
85 if (mPressedIndex == index) return; in setPressedIndex()
86 mPressedIndex = index; in setPressedIndex()
91 if (mPressedIndex == -1) return; in setPressedUp()
149 if (mPressedIndex == index) { in renderOverlay()
155 mPressedIndex = -1; in renderOverlay()