Home
last modified time | relevance | path

Searched refs:viewStates (Results 1 – 4 of 4) 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/services/autofill/java/com/android/server/autofill/
DSession.java1531 final Collection<ViewState> viewStates; in logFieldClassificationScore() local
1533 viewStates = mViewStates.values(); in logFieldClassificationScore()
1536 final int viewsSize = viewStates.size(); in logFieldClassificationScore()
1542 for (ViewState viewState : viewStates) { in logFieldClassificationScore()