Lines Matching refs:mCurrentImageIdx
111 private int mCurrentImageIdx = NO_IMAGE; field in ImageReaderSubPane
311 if (mCurrentImageIdx == NO_IMAGE) return; in updateImage()
312 Image img = mCurrentImages.get(mCurrentImageIdx); in updateImage()
470 mCurrentImageIdx = NO_IMAGE; in getOutputSurface()
518 if (mCurrentImageIdx != NO_IMAGE) {
519 int prevIdx = mCurrentImageIdx;
520 mCurrentImageIdx = (mCurrentImageIdx == 0) ?
521 (mCurrentImages.size() - 1) : (mCurrentImageIdx - 1);
522 if (prevIdx != mCurrentImageIdx) {
532 if (mCurrentImageIdx != NO_IMAGE) {
533 int prevIdx = mCurrentImageIdx;
534 mCurrentImageIdx = (mCurrentImageIdx == mCurrentImages.size() - 1) ?
535 0 : (mCurrentImageIdx + 1);
536 if (prevIdx != mCurrentImageIdx) {
547 if (mCurrentImageIdx != NO_IMAGE) {
548 Image img = mCurrentImages.get(mCurrentImageIdx);
566 mCurrentImageIdx = Math.min(mCurrentImageIdx - 1, 0);
569 if (mCurrentImageIdx == NO_IMAGE) {
570 mCurrentImageIdx = 0;