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, Runnable callback); in onPipMenuStateChanged() argument 134 final int menuState = msg.arg1; 136 onMenuStateChanged(menuState, resize, 263 public void showMenuWithDelay(int menuState, Rect stackBounds, boolean allowMenuTimeout, in showMenuWithDelay() argument 268 showMenuInternal(menuState, stackBounds, allowMenuTimeout, willResizeMenu, in showMenuWithDelay() 275 public void showMenu(int menuState, Rect stackBounds, boolean allowMenuTimeout, in showMenu() argument 277 showMenuInternal(menuState, stackBounds, allowMenuTimeout, willResizeMenu, in showMenu() 297 private void showMenuInternal(int menuState, Rect stackBounds, boolean allowMenuTimeout, 300 Log.d(TAG, "showMenu() state=" + menuState 311 data.putInt(EXTRA_MENU_STATE, menuState); [all …]
|
D | PipMenuActivity.java | 373 private void showMenu(int menuState, Rect stackBounds, boolean allowMenuTimeout, in showMenu() argument 376 if (mMenuState != menuState) { in showMenu() 380 (mMenuState == MENU_STATE_FULL || menuState == MENU_STATE_FULL); in showMenu() 397 ENABLE_RESIZE_HANDLE && menuState == MENU_STATE_CLOSE && showResizeHandle in showMenu() 399 if (menuState == MENU_STATE_FULL) { in showMenu() 406 mMenuContainerAnimator.setDuration(menuState == MENU_STATE_CLOSE in showMenu() 419 notifyMenuStateChange(menuState, resizeMenuOnShow, MESSAGE_MENU_EXPANDED); in showMenu() 421 notifyMenuStateChange(menuState, resizeMenuOnShow, MESSAGE_INVALID_TYPE); in showMenu() 510 final int menuState = intent.getIntExtra(EXTRA_MENU_STATE, MENU_STATE_NONE); in updateFromIntent() local 511 if (menuState != MENU_STATE_NONE) { in updateFromIntent() [all …]
|
D | PipTouchHandler.java | 190 public void onPipMenuStateChanged(int menuState, boolean resize, Runnable callback) { in onPipMenuStateChanged() argument 191 setMenuState(menuState, resize, callback); in onPipMenuStateChanged() 798 private void setMenuState(int menuState, boolean resize, Runnable callback) { in setMenuState() argument 799 if (mMenuState == menuState && !resize) { in setMenuState() 803 if (menuState == MENU_STATE_FULL && mMenuState != MENU_STATE_FULL) { in setMenuState() 814 } else if (menuState == MENU_STATE_NONE && mMenuState == MENU_STATE_FULL) { in setMenuState() 850 mMenuState = menuState; in setMenuState() 854 onRegistrationChanged(menuState == MENU_STATE_NONE); in setMenuState() 855 if (menuState != MENU_STATE_CLOSE) { in setMenuState() 856 … MetricsLoggerWrapper.logPictureInPictureMenuVisible(mContext, menuState == MENU_STATE_FULL); in setMenuState()
|
/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 | 3508 savedState.menuState = new Bundle(); 3509 menu.savePresenterStates(savedState.menuState); 3520 frozenMenuState = savedState.menuState; 3545 Bundle menuState; 3557 dest.writeBundle(menuState); 3568 savedState.menuState = source.readBundle();
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 4597 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode() local 4606 mSafeMode = menuState > 0 || sState > 0 || dpadState > 0 || trackballState > 0 in detectSafeMode() 4618 + " trackball=%d)", menuState, sState, dpadState, trackballState); in detectSafeMode()
|