Home
last modified time | relevance | path

Searched refs:outState (Results 1 – 13 of 13) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DFragmentActivityTest.java81 Bundle outState = new Bundle(); in onSaveInstanceState_shouldStoreListOfFragments() local
82 activity.onSaveInstanceState(outState); in onSaveInstanceState_shouldStoreListOfFragments()
84 assertTrue(outState.containsKey(ShadowFragmentActivity.FRAGMENTS_TAG)); in onSaveInstanceState_shouldStoreListOfFragments()
86 Object[] states = (Object[]) outState.getSerializable(ShadowFragmentActivity.FRAGMENTS_TAG); in onSaveInstanceState_shouldStoreListOfFragments()
100 Bundle outState = new Bundle(); in onSaveInstanceState_shouldCallOnSaveInstanceStateOnFragments() local
101 activity.onSaveInstanceState(outState); in onSaveInstanceState_shouldCallOnSaveInstanceStateOnFragments()
176 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
177 super.onSaveInstanceState(outState); in onSaveInstanceState()
DFragmentManagerTest.java150 Bundle outState = new Bundle(); in getFragment_whenBundleSavedByShadowFragmentActivity_shouldGetFragmentByTagFromBundle() local
151 shadowOf(activity).onSaveInstanceState(outState); in getFragment_whenBundleSavedByShadowFragmentActivity_shouldGetFragmentByTagFromBundle()
153 Fragment retrievedFragment = manager.getFragment(outState, "fragment tag"); in getFragment_whenBundleSavedByShadowFragmentActivity_shouldGetFragmentByTagFromBundle()
DTestFragment.java91 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
DActivityTest.java484 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
487 outState.putString("TestActivityKey", "TestActivityValue"); in onSaveInstanceState()
488 super.onSaveInstanceState(outState); in onSaveInstanceState()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowFragmentActivity.java76 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
83 fragment.onSaveInstanceState(outState); in onSaveInstanceState()
87 outState.putSerializable(FRAGMENTS_TAG, fragmentStates.toArray()); in onSaveInstanceState()
DShadowActivity.java489 Bundle outState = new Bundle(); in recreate() local
492 invoker.call("onSaveInstanceState", Bundle.class).with(outState); in recreate()
500 invoker.call("onCreate", Bundle.class).with(outState); in recreate()
502 invoker.call("onRestoreInstanceState", Bundle.class).with(outState); in recreate()
/external/chromium_org/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/
DContentShellActivity.java126 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
127 super.onSaveInstanceState(outState); in onSaveInstanceState()
130 outState.putString(ACTIVE_SHELL_URL_KEY, contentViewCore.getUrl()); in onSaveInstanceState()
133 mWindowAndroid.saveInstanceState(outState); in onSaveInstanceState()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/crypto/
DCipherFactory.java210 public void saveToBundle(Bundle outState) {
216 outState.putByteArray(BUNDLE_KEY, wrappedKey);
217 outState.putByteArray(BUNDLE_IV, data.iv);
/external/chromium_org/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/
DChromiumLinkerTestActivity.java141 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
142 super.onSaveInstanceState(outState); in onSaveInstanceState()
143 mWindowAndroid.saveInstanceState(outState); in onSaveInstanceState()
/external/chromium_org/base/android/java/src/org/chromium/base/
DBaseChromiumApplication.java68 public void onActivitySaveInstanceState(Activity activity, Bundle outState) { in onCreate()
DApplicationStatus.java153 public void onActivitySaveInstanceState(Activity activity, Bundle outState) {} in initialize()
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/
DChromeShellActivity.java188 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
190 if (mWindow != null) mWindow.saveInstanceState(outState); in onSaveInstanceState()
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DAwContents.java1810 public boolean saveState(Bundle outState) { in saveState() argument
1811 if (mNativeAwContents == 0 || outState == null) return false; in saveState()
1816 outState.putByteArray(SAVE_RESTORE_STATE_KEY, state); in saveState()