Searched refs:savedState (Results 1 – 4 of 4) sorted by relevance
37 MockAbsSavedState savedState = new MockAbsSavedState(source); in testConstructor() local38 assertEquals(0, savedState.describeContents()); in testConstructor()44 MockAbsSavedState savedState = new MockAbsSavedState(superState); in testGetSuperState() local46 assertSame(superState, savedState.getSuperState()); in testGetSuperState()52 MockAbsSavedState savedState = new MockAbsSavedState(superState); in testWriteToParcel() local56 savedState.writeToParcel(dest, flags); in testWriteToParcel()
131 protected void onCreate(Bundle savedState) { in onCreate() argument132 super.onCreate(savedState); in onCreate()133 int savedStateIndex = (savedState == null) ? 0 : savedState.getInt(STATE, 0); in onCreate()134 int savedStatus = (savedState == null) ? SETUP : savedState.getInt(STATUS, SETUP); in onCreate()
66 protected void onCreate(Bundle savedState) { in onCreate() argument67 super.onCreate(savedState); in onCreate()68 mCurrentIdx = (savedState == null) ? 0 : savedState.getInt(STATE, 0); in onCreate()90 test.setStatus((savedState == null) ? Status.SETUP : in onCreate()91 Status.values()[savedState.getInt(test.getClass().getSimpleName(), 0)]); in onCreate()
363 protected void onSaveInstanceState(final Bundle savedState) { in onSaveInstanceState() argument364 super.onSaveInstanceState(savedState); in onSaveInstanceState()366 savedState.putBundle(ORIGINAL_SETTINGS_NAME, mOriginalSettings); in onSaveInstanceState()