Searched refs:mCurrentPhotoIndex (Results 1 - 2 of 2) sorted by relevance

/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
H A DPhotoViewActivity.java108 private int mCurrentPhotoIndex; field in class:PhotoViewActivity
212 mCurrentPhotoIndex = -1;
220 mCurrentPhotoIndex = intent.getIntExtra(Intents.EXTRA_PHOTO_INDEX, -1);
229 mCurrentPhotoIndex = savedInstanceState.getInt(STATE_CURRENT_INDEX_KEY);
328 outState.putInt(STATE_CURRENT_INDEX_KEY, mCurrentPhotoIndex);
445 mCurrentPhotoIndex = index;
470 if (mCurrentPhotoIndex < 0) {
471 mCurrentPhotoIndex = 0;
474 mViewPager.setCurrentItem(mCurrentPhotoIndex, false);
476 setViewActivated(mCurrentPhotoIndex);
[all...]
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
H A DPhotoViewActivity.java107 private int mCurrentPhotoIndex; field in class:PhotoViewActivity
211 mCurrentPhotoIndex = -1;
219 mCurrentPhotoIndex = intent.getIntExtra(Intents.EXTRA_PHOTO_INDEX, -1);
228 mCurrentPhotoIndex = savedInstanceState.getInt(STATE_CURRENT_INDEX_KEY);
327 outState.putInt(STATE_CURRENT_INDEX_KEY, mCurrentPhotoIndex);
444 mCurrentPhotoIndex = index;
469 if (mCurrentPhotoIndex < 0) {
470 mCurrentPhotoIndex = 0;
473 mViewPager.setCurrentItem(mCurrentPhotoIndex, false);
475 setViewActivated(mCurrentPhotoIndex);
[all...]

Completed in 306 milliseconds