Searched refs:viewStates (Results 1 – 5 of 5) sorted by relevance
138 SparseArray<Parcelable> viewStates = new SparseArray<Parcelable>();140 ((View) mMenuView).saveHierarchyState(viewStates);142 outState.putSparseParcelableArray(VIEWS_TAG, viewStates);146 SparseArray<Parcelable> viewStates = inState.getSparseParcelableArray(VIEWS_TAG);147 if (viewStates != null) {148 ((View) mMenuView).restoreHierarchyState(viewStates);
184 SparseArray<Parcelable> viewStates = new SparseArray<Parcelable>(); in saveHierarchyState() local186 ((View) mMenuView).saveHierarchyState(viewStates); in saveHierarchyState()188 outState.putSparseParcelableArray(VIEWS_TAG, viewStates); in saveHierarchyState()192 SparseArray<Parcelable> viewStates = inState.getSparseParcelableArray(VIEWS_TAG); in restoreHierarchyState() local193 if (viewStates != null) { in restoreHierarchyState()194 ((View) mMenuView).restoreHierarchyState(viewStates); in restoreHierarchyState()
353 SparseArray<Parcelable> viewStates = null; in saveActionViewStates() local360 if (viewStates == null) { in saveActionViewStates()361 viewStates = new SparseArray<Parcelable>(); in saveActionViewStates()363 v.saveHierarchyState(viewStates); in saveActionViewStates()374 if (viewStates != null) { in saveActionViewStates()375 outStates.putSparseParcelableArray(getActionViewStatesKey(), viewStates); in saveActionViewStates() local384 SparseArray<Parcelable> viewStates = states.getSparseParcelableArray( in restoreActionViewStates() local392 v.restoreHierarchyState(viewStates); in restoreActionViewStates()
55 private val viewStates: MutableMap<CacheKey, TransitionViewState?> = mutableMapOf() in <lambda>() constant215 val viewState = viewStates[cacheKey] in <lambda>()234 viewStates[cacheKey] = result in <lambda>()417 viewStates.clear() in <lambda>()
1862 final Collection<ViewState> viewStates;1864 viewStates = mViewStates.values();1867 final int viewsSize = viewStates.size();1873 for (ViewState viewState : viewStates) {