Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivityController.java90 void onPipMenuStateChanged(int menuState, boolean resize); in onPipMenuStateChanged() argument
134 int menuState = msg.arg1;
135 onMenuStateChanged(menuState, true /* resize */);
255 public void showMenu(int menuState, Rect stackBounds, Rect movementBounds, in showMenu() argument
258 Log.d(TAG, "showMenu() state=" + menuState in showMenu()
264 data.putInt(EXTRA_MENU_STATE, menuState); in showMenu()
277 startMenuActivity(menuState, stackBounds, movementBounds, allowMenuTimeout); in showMenu()
349 private void startMenuActivity(int menuState, Rect stackBounds, Rect movementBounds, in startMenuActivity() argument
364 intent.putExtra(EXTRA_MENU_STATE, menuState); in startMenuActivity()
421 private void onMenuStateChanged(int menuState, boolean resize) { in onMenuStateChanged() argument
[all …]
DPipMenuActivity.java309 private void showMenu(int menuState, Rect stackBounds, Rect movementBounds, in showMenu() argument
312 if (mMenuState != menuState) { in showMenu()
314 (menuState == MENU_STATE_FULL); in showMenu()
321 notifyMenuStateChange(menuState); in showMenu()
328 if (menuState == MENU_STATE_FULL) { in showMenu()
402 final int menuState = intent.getIntExtra(EXTRA_MENU_STATE, MENU_STATE_NONE); in updateFromIntent() local
403 if (menuState != MENU_STATE_NONE) { in updateFromIntent()
407 showMenu(menuState, stackBounds, movementBounds, allowMenuTimeout); in updateFromIntent()
519 private void notifyMenuStateChange(int menuState) { in notifyMenuStateChange() argument
520 mMenuState = menuState; in notifyMenuStateChange()
[all …]
DPipTouchHandler.java142 public void onPipMenuStateChanged(int menuState, boolean resize) { in onPipMenuStateChanged() argument
143 setMenuState(menuState, resize); in onPipMenuStateChanged()
473 void setMenuState(int menuState, boolean resize) { in setMenuState() argument
474 if (menuState == MENU_STATE_FULL) { in setMenuState()
483 } else if (menuState == MENU_STATE_NONE) { in setMenuState()
520 mMenuState = menuState; in setMenuState()
521 updateMovementBounds(menuState); in setMenuState()
522 if (menuState != MENU_STATE_CLOSE) { in setMenuState()
524 menuState == MENU_STATE_FULL); in setMenuState()
718 private void updateMovementBounds(int menuState) { in updateMovementBounds() argument
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DSupportMenuInflater.java142 MenuState menuState = new MenuState(menu); in parseMenu() local
174 menuState.readGroup(attrs); in parseMenu()
176 menuState.readItem(attrs); in parseMenu()
179 SubMenu subMenu = menuState.addSubMenuItem(); in parseMenu()
195 menuState.resetGroup(); in parseMenu()
199 if (!menuState.hasAddedItem()) { in parseMenu()
200 if (menuState.itemActionProvider != null && in parseMenu()
201 menuState.itemActionProvider.hasSubMenu()) { in parseMenu()
202 menuState.addSubMenuItem(); in parseMenu()
204 menuState.addItem(); in parseMenu()
/frameworks/base/core/java/android/view/
DMenuInflater.java130 MenuState menuState = new MenuState(menu); in parseMenu() local
162 menuState.readGroup(attrs); in parseMenu()
164 menuState.readItem(attrs); in parseMenu()
167 SubMenu subMenu = menuState.addSubMenuItem(); in parseMenu()
184 menuState.resetGroup(); in parseMenu()
188 if (!menuState.hasAddedItem()) { in parseMenu()
189 if (menuState.itemActionProvider != null && in parseMenu()
190 menuState.itemActionProvider.hasSubMenu()) { in parseMenu()
191 registerMenu(menuState.addSubMenuItem(), attrs); in parseMenu()
193 registerMenu(menuState.addItem(), attrs); in parseMenu()
/frameworks/support/design/src/android/support/design/widget/
DNavigationView.java186 state.menuState = new Bundle(); in onSaveInstanceState()
187 mMenu.savePresenterStates(state.menuState); in onSaveInstanceState()
199 mMenu.restorePresenterStates(state.menuState); in onRestoreInstanceState()
459 public Bundle menuState; field in NavigationView.SavedState
463 menuState = in.readBundle(loader); in SavedState()
473 dest.writeBundle(menuState); in writeToParcel()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplV9.java2043 savedState.menuState = new Bundle();
2044 menu.savePresenterStates(savedState.menuState);
2054 frozenMenuState = savedState.menuState;
2070 Bundle menuState;
2086 dest.writeBundle(menuState);
2096 savedState.menuState = source.readBundle(loader);
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java3523 savedState.menuState = new Bundle();
3524 menu.savePresenterStates(savedState.menuState);
3535 frozenMenuState = savedState.menuState;
3560 Bundle menuState;
3572 dest.writeBundle(menuState);
3583 savedState.menuState = source.readBundle();
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java4667 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode() local
4676 mSafeMode = menuState > 0 || sState > 0 || dpadState > 0 || trackballState > 0 in detectSafeMode()
4687 Log.i(TAG_WM, "SAFE MODE ENABLED (menu=" + menuState + " s=" + sState in detectSafeMode()
/frameworks/support/api/
D22.2.0.txt209 field public android.os.Bundle menuState;
D22.2.1.txt214 field public android.os.Bundle menuState;
D25.1.0.txt637 field public android.os.Bundle menuState;
D25.0.0.txt604 field public android.os.Bundle menuState;
D23.0.0.txt306 field public android.os.Bundle menuState;
D25.2.0.txt637 field public android.os.Bundle menuState;
D24.2.0.txt583 field public android.os.Bundle menuState;
D26.0.0-alpha1.txt674 field public android.os.Bundle menuState;
D23.2.1.txt411 field public android.os.Bundle menuState;
D25.3.0.txt747 field public android.os.Bundle menuState;
D23.2.0.txt411 field public android.os.Bundle menuState;
D23.1.1.txt346 field public android.os.Bundle menuState;
D25.4.0.txt777 field public android.os.Bundle menuState;
D23.4.0.txt413 field public android.os.Bundle menuState;
D23.1.0.txt344 field public android.os.Bundle menuState;
D24.0.0.txt434 field public android.os.Bundle menuState;

12