Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/view/menu/
DMenuBuilder.java288 SparseArray<Parcelable> presenterStates = new SparseArray<Parcelable>(); in dispatchSaveInstanceState()
299 presenterStates.put(id, state); in dispatchSaveInstanceState()
305 outState.putSparseParcelableArray(PRESENTER_KEY, presenterStates); in dispatchSaveInstanceState()
309 SparseArray<Parcelable> presenterStates = state.getSparseParcelableArray(PRESENTER_KEY); in dispatchRestoreInstanceState() local
311 if (presenterStates == null || mPresenters.isEmpty()) return; in dispatchRestoreInstanceState()
320 Parcelable parcel = presenterStates.get(id); in dispatchRestoreInstanceState()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuBuilder.java322 SparseArray<Parcelable> presenterStates = new SparseArray<Parcelable>(); in dispatchSaveInstanceState()
333 presenterStates.put(id, state); in dispatchSaveInstanceState()
339 outState.putSparseParcelableArray(PRESENTER_KEY, presenterStates); in dispatchSaveInstanceState()
343 SparseArray<Parcelable> presenterStates = state.getSparseParcelableArray(PRESENTER_KEY); in dispatchRestoreInstanceState() local
345 if (presenterStates == null || mPresenters.isEmpty()) return; in dispatchRestoreInstanceState()
354 Parcelable parcel = presenterStates.get(id); in dispatchRestoreInstanceState()