Home
last modified time | relevance | path

Searched refs:menuState (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/view/
DSupportMenuInflater.java134 MenuState menuState = new MenuState(menu); in parseMenu() local
166 menuState.readGroup(attrs); in parseMenu()
168 menuState.readItem(attrs); in parseMenu()
171 SubMenu subMenu = menuState.addSubMenuItem(); in parseMenu()
187 menuState.resetGroup(); in parseMenu()
191 if (!menuState.hasAddedItem()) { in parseMenu()
192 if (menuState.itemActionProvider != null && in parseMenu()
193 menuState.itemActionProvider.hasSubMenu()) { in parseMenu()
194 menuState.addSubMenuItem(); in parseMenu()
196 menuState.addItem(); in parseMenu()
/frameworks/base/core/java/android/view/
DMenuInflater.java127 MenuState menuState = new MenuState(menu); in parseMenu() local
159 menuState.readGroup(attrs); in parseMenu()
161 menuState.readItem(attrs); in parseMenu()
164 SubMenu subMenu = menuState.addSubMenuItem(); in parseMenu()
181 menuState.resetGroup(); in parseMenu()
185 if (!menuState.hasAddedItem()) { in parseMenu()
186 if (menuState.itemActionProvider != null && in parseMenu()
187 menuState.itemActionProvider.hasSubMenu()) { in parseMenu()
188 registerMenu(menuState.addSubMenuItem(), attrs); in parseMenu()
190 registerMenu(menuState.addItem(), attrs); in parseMenu()
/frameworks/support/design/src/android/support/design/widget/
DNavigationView.java185 state.menuState = new Bundle(); in onSaveInstanceState()
186 mMenu.savePresenterStates(state.menuState); in onSaveInstanceState()
198 mMenu.restorePresenterStates(state.menuState); in onRestoreInstanceState()
457 public Bundle menuState; field in NavigationView.SavedState
461 menuState = in.readBundle(loader); in SavedState()
471 dest.writeBundle(menuState); in writeToParcel()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplV9.java2020 savedState.menuState = new Bundle(); in onSaveInstanceState()
2021 menu.savePresenterStates(savedState.menuState); in onSaveInstanceState()
2031 frozenMenuState = savedState.menuState; in onRestoreInstanceState()
2047 Bundle menuState; field in PanelFeatureState.SavedState
2060 dest.writeBundle(menuState); in writeToParcel()
2070 savedState.menuState = source.readBundle(loader); in readFromParcel()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java3465 savedState.menuState = new Bundle();
3466 menu.savePresenterStates(savedState.menuState);
3477 frozenMenuState = savedState.menuState;
3502 Bundle menuState;
3514 dest.writeBundle(menuState);
3525 savedState.menuState = source.readBundle();
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java8006 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode() local
8015 mSafeMode = menuState > 0 || sState > 0 || dpadState > 0 || trackballState > 0 in detectSafeMode()
8041 Log.i(TAG_WM, "SAFE MODE ENABLED (menu=" + menuState + " s=" + sState in detectSafeMode()
/frameworks/support/api/
Dcurrent.txt604 field public android.os.Bundle menuState;