Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DSwapButton.java39 private int mCurrentMenuIndex; field in SwapButton
92 mCurrentMenuIndex++; in onFling()
93 if (mCurrentMenuIndex == mMenu.size()) { in onFling()
94 mCurrentMenuIndex = 0; in onFling()
97 mListener.swapRight(mMenu.getItem(mCurrentMenuIndex)); in onFling()
101 mCurrentMenuIndex--; in onFling()
102 if (mCurrentMenuIndex < 0) { in onFling()
103 mCurrentMenuIndex = mMenu.size() - 1; in onFling()
106 mListener.swapLeft(mMenu.getItem(mCurrentMenuIndex)); in onFling()