Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DAbsSavedStateTest.java37 MockAbsSavedState savedState = new MockAbsSavedState(source); in testConstructor() local
38 assertEquals(0, savedState.describeContents()); in testConstructor()
44 MockAbsSavedState savedState = new MockAbsSavedState(superState); in testGetSuperState() local
46 assertSame(superState, savedState.getSuperState()); in testGetSuperState()
52 MockAbsSavedState savedState = new MockAbsSavedState(superState); in testWriteToParcel() local
56 savedState.writeToParcel(dest, flags); in testWriteToParcel()
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/
DTestListFragment.java54 public void onViewCreated(View view, Bundle savedState) { in onViewCreated() argument
55 super.onViewCreated(view, savedState); in onViewCreated()
56 if (savedState != null && savedState.containsKey(STATE_ACTIVATED_POSITION)) { in onViewCreated()
57 setActivatedPosition(savedState.getInt(STATE_ACTIVATED_POSITION)); in onViewCreated()
DTest6DetailFragment.java44 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedState) { in onCreateView() argument
DTest1DetailFragment.java49 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedState) { in onCreateView() argument
DTest4DetailFragment.java65 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedState) { in onCreateView() argument
DTest5DetailFragment.java54 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedState) { in onCreateView() argument
DTest3DetailFragment.java88 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedState) { in onCreateView() argument
DTestGenericDetailFragment.java53 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedState) { in onCreateView() argument
DTest2DetailFragment.java60 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedState) { in onCreateView() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DInteractiveVerifierActivity.java131 protected void onCreate(Bundle savedState) { in onCreate() argument
132 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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java243 protected void onSaveInstanceState(final Bundle savedState) { in onSaveInstanceState() argument
244 super.onSaveInstanceState(savedState); in onSaveInstanceState()
246 savedState.putBundle(ORIGINAL_SETTINGS_NAME, mOriginalSettings); in onSaveInstanceState()