Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewBasicTest.java157 Parcelable savedState = mRecyclerView.onSaveInstanceState(); in testSavedStateWithStatelessLayoutManager() local
158 savedState.writeToParcel(parcel, 0); in testSavedStateWithStatelessLayoutManager()
167 savedState = RecyclerView.SavedState.CREATOR.createFromParcel(parcel); in testSavedStateWithStatelessLayoutManager()
168 restored.onRestoreInstanceState(savedState); in testSavedStateWithStatelessLayoutManager()
181 Parcelable savedState = mRecyclerView.onSaveInstanceState(); in testSavedState() local
185 savedState.writeToParcel(parcel, 0); in testSavedState()
191 savedState = RecyclerView.SavedState.CREATOR.createFromParcel(parcel); in testSavedState()
197 restored.onRestoreInstanceState(savedState); in testSavedState()
DStaggeredGridLayoutManagerTest.java880 Parcelable savedState = mRecyclerView.onSaveInstanceState(); in testSpanCountChangeOnRestoreSavedState() local
884 savedState.writeToParcel(parcel, 0); in testSpanCountChangeOnRestoreSavedState()
890 savedState = RecyclerView.SavedState.CREATOR.createFromParcel(parcel); in testSpanCountChangeOnRestoreSavedState()
900 restored.onRestoreInstanceState(savedState); in testSpanCountChangeOnRestoreSavedState()
1003 Parcelable savedState = mRecyclerView.onSaveInstanceState(); in saveRestore()
1007 savedState.writeToParcel(parcel, 0); in saveRestore()
1013 savedState = RecyclerView.SavedState.CREATOR.createFromParcel(parcel); in saveRestore()
1021 restored.onRestoreInstanceState(savedState); in saveRestore()
1052 Parcelable savedState = mRecyclerView.onSaveInstanceState(); in savedStateTest() local
1056 savedState.writeToParcel(parcel, 0); in savedStateTest()
[all …]
DLinearLayoutManagerTest.java741 Parcelable savedState = mRecyclerView.onSaveInstanceState(); in savedStateTest() local
745 savedState.writeToParcel(parcel, 0); in savedStateTest()
751 savedState = RecyclerView.SavedState.CREATOR.createFromParcel(parcel); in savedStateTest()
762 restored.onRestoreInstanceState(savedState); in savedStateTest()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarActivityDelegateBase.java1682 SavedState savedState = new SavedState();
1683 savedState.featureId = featureId;
1684 savedState.isOpen = isOpen;
1687 savedState.menuState = new Bundle();
1688 menu.savePresenterStates(savedState.menuState);
1691 return savedState;
1695 SavedState savedState = (SavedState) state;
1696 featureId = savedState.featureId;
1697 wasLastOpen = savedState.isOpen;
1698 frozenMenuState = savedState.menuState;
[all …]
/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp250 jobject jAssetMgr, jbyteArray savedState) in loadNativeCode_native() argument
343 if (savedState != NULL) { in loadNativeCode_native()
344 rawSavedState = env->GetByteArrayElements(savedState, NULL); in loadNativeCode_native()
345 rawSavedSize = env->GetArrayLength(savedState); in loadNativeCode_native()
351 env->ReleaseByteArrayElements(savedState, rawSavedState, 0); in loadNativeCode_native()
/frameworks/native/include/android/
Dnative_activity.h236 void* savedState, size_t savedStateSize);
/frameworks/base/docs/html/training/wearables/ui/
Dexit.jd84 public void onCreate(Bundle savedState) {
85 super.onCreate(savedState);
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java4506 SavedState savedState = new SavedState();
4507 savedState.featureId = featureId;
4508 savedState.isOpen = isOpen;
4509 savedState.isInExpandedMode = isInExpandedMode;
4512 savedState.menuState = new Bundle();
4513 menu.savePresenterStates(savedState.menuState);
4516 return savedState;
4520 SavedState savedState = (SavedState) state;
4521 featureId = savedState.featureId;
4522 wasLastOpen = savedState.isOpen;
[all …]
/frameworks/base/core/java/android/app/
DNativeActivity.java96 AssetManager assetMgr, byte[] savedState); in loadNativeCode() argument