Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DRtlCompatibleViewPager.java64 RtlSavedState rtlSavedState = new RtlSavedState(parcelable); in onSaveInstanceState() local
65 rtlSavedState.position = getCurrentItem(); in onSaveInstanceState()
66 return rtlSavedState; in onSaveInstanceState()
71 RtlSavedState rtlSavedState = (RtlSavedState) state; in onRestoreInstanceState() local
72 super.onRestoreInstanceState(rtlSavedState.getSuperState()); in onRestoreInstanceState()
74 setCurrentItem(rtlSavedState.position); in onRestoreInstanceState()
/packages/apps/Settings/src/com/android/settings/widget/
DRtlCompatibleViewPager.java64 RtlSavedState rtlSavedState = new RtlSavedState(parcelable); in onSaveInstanceState() local
65 rtlSavedState.position = getCurrentItem(); in onSaveInstanceState()
66 return rtlSavedState; in onSaveInstanceState()
71 RtlSavedState rtlSavedState = (RtlSavedState) state; in onRestoreInstanceState() local
72 super.onRestoreInstanceState(rtlSavedState.getSuperState()); in onRestoreInstanceState()
74 setCurrentItem(rtlSavedState.position); in onRestoreInstanceState()