Home
last modified time | relevance | path

Searched refs:viewStates (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuPresenter.java138 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);
DListMenuPresenter.java184 SparseArray<Parcelable> viewStates = new SparseArray<Parcelable>(); in saveHierarchyState() local
186 ((View) mMenuView).saveHierarchyState(viewStates); in saveHierarchyState()
188 outState.putSparseParcelableArray(VIEWS_TAG, viewStates); in saveHierarchyState()
192 SparseArray<Parcelable> viewStates = inState.getSparseParcelableArray(VIEWS_TAG); in restoreHierarchyState() local
193 if (viewStates != null) { in restoreHierarchyState()
194 ((View) mMenuView).restoreHierarchyState(viewStates); in restoreHierarchyState()
DMenuBuilder.java353 SparseArray<Parcelable> viewStates = null; in saveActionViewStates() local
360 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() local
384 SparseArray<Parcelable> viewStates = states.getSparseParcelableArray( in restoreActionViewStates() local
392 v.restoreHierarchyState(viewStates); in restoreActionViewStates()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaViewController.kt55 private val viewStates: MutableMap<CacheKey, TransitionViewState?> = mutableMapOf() in <lambda>() constant
215 val viewState = viewStates[cacheKey] in <lambda>()
234 viewStates[cacheKey] = result in <lambda>()
417 viewStates.clear() in <lambda>()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java1862 final Collection<ViewState> viewStates;
1864 viewStates = mViewStates.values();
1867 final int viewsSize = viewStates.size();
1873 for (ViewState viewState : viewStates) {