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()
280 if ((index != mPressedIndex) || (action == MotionEvent.ACTION_DOWN)) { in dispatchTouchEvent()
281 if (mPressedIndex != -1) { in dispatchTouchEvent()
282 injectMotionEvent(mPressedIndex, event, MotionEvent.ACTION_CANCEL); in dispatchTouchEvent()
303 mPressedIndex = (action == MotionEvent.ACTION_UP) ? -1 : index; in dispatchTouchEvent()
440 if (mPressedIndex != -1) { in getSelectedIndicatorIndex()
441 View v = getChildAt(mPressedIndex); in getSelectedIndicatorIndex()
443 return mPressedIndex; in getSelectedIndicatorIndex()
540 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()