Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivityController.java97 void onPipMenuStateChanged(int menuState, boolean resize); in onPipMenuStateChanged() argument
142 int menuState = msg.arg1;
143 onMenuStateChanged(menuState, true /* resize */);
285 public void showMenu(int menuState, Rect stackBounds, Rect movementBounds, in showMenu() argument
288 Log.d(TAG, "showMenu() state=" + menuState in showMenu()
295 data.putInt(EXTRA_MENU_STATE, menuState); in showMenu()
311 startMenuActivity(menuState, stackBounds, movementBounds, allowMenuTimeout, in showMenu()
384 private void startMenuActivity(int menuState, Rect stackBounds, Rect movementBounds, in startMenuActivity() argument
400 intent.putExtra(EXTRA_MENU_STATE, menuState); in startMenuActivity()
467 private void onMenuStateChanged(int menuState, boolean resize) { in onMenuStateChanged() argument
[all …]
DPipMenuActivity.java349 private void showMenu(int menuState, Rect stackBounds, Rect movementBounds, in showMenu() argument
352 if (mMenuState != menuState) { in showMenu()
356 (mMenuState == MENU_STATE_FULL || menuState == MENU_STATE_FULL); in showMenu()
363 notifyMenuStateChange(menuState); in showMenu()
372 if (menuState == MENU_STATE_FULL) { in showMenu()
460 final int menuState = intent.getIntExtra(EXTRA_MENU_STATE, MENU_STATE_NONE); in updateFromIntent() local
461 if (menuState != MENU_STATE_NONE) { in updateFromIntent()
466 showMenu(menuState, stackBounds, movementBounds, allowMenuTimeout, willResizeMenu); in updateFromIntent()
579 private void notifyMenuStateChange(int menuState) { in notifyMenuStateChange() argument
580 mMenuState = menuState; in notifyMenuStateChange()
[all …]
DPipTouchHandler.java144 public void onPipMenuStateChanged(int menuState, boolean resize) { in onPipMenuStateChanged() argument
145 setMenuState(menuState, resize); in onPipMenuStateChanged()
512 private void setMenuState(int menuState, boolean resize) { in setMenuState() argument
513 if (menuState == MENU_STATE_FULL) { in setMenuState()
522 } else if (menuState == MENU_STATE_NONE) { in setMenuState()
559 mMenuState = menuState; in setMenuState()
560 updateMovementBounds(menuState); in setMenuState()
561 if (menuState != MENU_STATE_CLOSE) { in setMenuState()
562 … MetricsLoggerWrapper.logPictureInPictureMenuVisible(mContext, menuState == MENU_STATE_FULL); in setMenuState()
780 private void updateMovementBounds(int menuState) { in updateMovementBounds() argument
[all …]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/
DSupportMenuInflater.java144 MenuState menuState = new MenuState(menu); in parseMenu() local
176 menuState.readGroup(attrs); in parseMenu()
178 menuState.readItem(attrs); in parseMenu()
181 SubMenu subMenu = menuState.addSubMenuItem(); in parseMenu()
197 menuState.resetGroup(); in parseMenu()
201 if (!menuState.hasAddedItem()) { in parseMenu()
202 if (menuState.itemActionProvider != null && in parseMenu()
203 menuState.itemActionProvider.hasSubMenu()) { in parseMenu()
204 menuState.addSubMenuItem(); in parseMenu()
206 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/v7/appcompat/src/main/java/androidx/appcompat/app/
DAppCompatDelegateImpl.java2392 savedState.menuState = new Bundle();
2393 menu.savePresenterStates(savedState.menuState);
2403 frozenMenuState = savedState.menuState;
2419 Bundle menuState;
2435 dest.writeBundle(menuState);
2445 savedState.menuState = source.readBundle(loader);
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java3543 savedState.menuState = new Bundle();
3544 menu.savePresenterStates(savedState.menuState);
3555 frozenMenuState = savedState.menuState;
3580 Bundle menuState;
3592 dest.writeBundle(menuState);
3603 savedState.menuState = source.readBundle();
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java4490 int menuState = mInputManager.getKeyCodeState(-1, InputDevice.SOURCE_ANY, in detectSafeMode() local
4499 mSafeMode = menuState > 0 || sState > 0 || dpadState > 0 || trackballState > 0 in detectSafeMode()
4510 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.2.0.txt637 field public android.os.Bundle menuState;
D25.0.0.txt604 field public android.os.Bundle menuState;
D24.2.0.txt583 field public android.os.Bundle menuState;
D23.0.0.txt306 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.2.1.txt411 field public android.os.Bundle menuState;
D26.0.0-alpha1.txt674 field public android.os.Bundle menuState;
D23.2.0.txt411 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;
D25.3.0.txt747 field public android.os.Bundle menuState;
D24.0.0.txt434 field public android.os.Bundle menuState;
D26.0.0-beta1.txt774 field public android.os.Bundle menuState;
D26.0.0-beta2.txt783 field public android.os.Bundle menuState;

12