Searched refs:menuState (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipMenuActivityController.java | 95 void onPipMenuStateChanged(int menuState, boolean resize); in onPipMenuStateChanged() argument 140 int menuState = msg.arg1; 141 onMenuStateChanged(menuState, true /* resize */); 270 public void showMenu(int menuState, Rect stackBounds, Rect movementBounds, in showMenu() argument 273 Log.d(TAG, "showMenu() state=" + menuState in showMenu() 280 data.putInt(EXTRA_MENU_STATE, menuState); in showMenu() 296 startMenuActivity(menuState, stackBounds, movementBounds, allowMenuTimeout, in showMenu() 399 private void startMenuActivity(int menuState, Rect stackBounds, Rect movementBounds, in startMenuActivity() argument 415 intent.putExtra(EXTRA_MENU_STATE, menuState); in startMenuActivity() 482 private void onMenuStateChanged(int menuState, boolean resize) { in onMenuStateChanged() argument [all …]
|
D | PipMenuActivity.java | 299 private void showMenu(int menuState, Rect stackBounds, Rect movementBounds, in showMenu() argument 302 if (mMenuState != menuState) { in showMenu() 306 (mMenuState == MENU_STATE_FULL || menuState == MENU_STATE_FULL); in showMenu() 313 notifyMenuStateChange(menuState); in showMenu() 322 if (menuState == MENU_STATE_FULL) { in showMenu() 409 final int menuState = intent.getIntExtra(EXTRA_MENU_STATE, MENU_STATE_NONE); in updateFromIntent() local 410 if (menuState != MENU_STATE_NONE) { in updateFromIntent() 415 showMenu(menuState, stackBounds, movementBounds, allowMenuTimeout, willResizeMenu); in updateFromIntent() 518 private void notifyMenuStateChange(int menuState) { in notifyMenuStateChange() argument 519 mMenuState = menuState; in notifyMenuStateChange() [all …]
|
D | PipTouchHandler.java | 148 public void onPipMenuStateChanged(int menuState, boolean resize) { in onPipMenuStateChanged() argument 149 setMenuState(menuState, resize); in onPipMenuStateChanged() 520 private void setMenuState(int menuState, boolean resize) { 521 if (menuState == MENU_STATE_FULL && mMenuState != MENU_STATE_FULL) { 530 } else if (menuState == MENU_STATE_NONE && mMenuState == MENU_STATE_FULL) { 567 mMenuState = menuState; 568 updateMovementBounds(menuState); 569 if (menuState != MENU_STATE_CLOSE) { 570 … MetricsLoggerWrapper.logPictureInPictureMenuVisible(mContext, menuState == MENU_STATE_FULL); 785 private void updateMovementBounds(int menuState) { in updateMovementBounds() argument [all …]
|
/frameworks/base/core/java/android/view/ |
D | MenuInflater.java | 130 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/base/core/java/com/android/internal/policy/ |
D | PhoneWindow.java | 3565 savedState.menuState = new Bundle(); 3566 menu.savePresenterStates(savedState.menuState); 3577 frozenMenuState = savedState.menuState; 3602 Bundle menuState; 3614 dest.writeBundle(menuState); 3625 savedState.menuState = source.readBundle();
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 4425 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode() local 4434 mSafeMode = menuState > 0 || sState > 0 || dpadState > 0 || trackballState > 0 in detectSafeMode() 4445 Log.i(TAG_WM, "SAFE MODE ENABLED (menu=" + menuState + " s=" + sState in detectSafeMode()
|