Home
last modified time | relevance | path

Searched refs:mWindowCallback (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowActionModeTest.java44 private MockWindowCallback mWindowCallback; field in PhoneWindowActionModeTest
55 mWindowCallback = new MockWindowCallback(); in setUp()
56 mPhoneWindow.setCallback(mWindowCallback); in setUp()
61 mWindowCallback.mShouldReturnOwnActionMode = true; in testStartActionModeWithCallback()
66 assertEquals(mWindowCallback.mLastCreatedActionMode, mode); in testStartActionModeWithCallback()
71 mWindowCallback.mShouldReturnOwnActionMode = true; in testStartActionModePrimaryFinishesPreviousMode()
85 mWindowCallback.mShouldReturnOwnActionMode = true; in testStartActionModeFloatingFinishesPreviousMode()
99 mWindowCallback.mShouldReturnOwnActionMode = true; in testStartActionModePreservesPreviousModeOfDifferentType1()
113 mWindowCallback.mShouldReturnOwnActionMode = true; in testStartActionModePreservesPreviousModeOfDifferentType2()
126 mWindowCallback.mShouldReturnOwnActionMode = true; in testWindowCallbackModesLifecycleIsNotHandled()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java47 private Window.Callback mWindowCallback; field in ToolbarActionBar
65 return mWindowCallback.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, item);
71 mWindowCallback = new ToolbarCallbackWrapper(windowCallback); in ToolbarActionBar()
72 mDecorToolbar.setWindowCallback(mWindowCallback); in ToolbarActionBar()
78 return mWindowCallback; in getWrappedWindowCallback()
454 if (!mWindowCallback.onCreatePanelMenu(Window.FEATURE_OPTIONS_PANEL, menu) || in populateOptionsMenu()
455 !mWindowCallback.onPreparePanel(Window.FEATURE_OPTIONS_PANEL, null, menu)) { in populateOptionsMenu()
543 if (mWindowCallback != null) { in onOpenSubMenu()
544 mWindowCallback.onMenuOpened(Window.FEATURE_ACTION_BAR, subMenu); in onOpenSubMenu()
558 if (mWindowCallback != null) { in onCloseMenu()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DToolbarWidgetWrapper.java82 private Window.Callback mWindowCallback; field in ToolbarWidgetWrapper
182 if (mWindowCallback != null && mMenuPrepared) { in ToolbarWidgetWrapper()
183 mWindowCallback.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, mNavItem); in ToolbarWidgetWrapper()
237 mWindowCallback = cb; in setWindowCallback()
DActionBarView.java137 Window.Callback mWindowCallback; field in ActionBarView
153 mWindowCallback.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, mLogoNavItem);
265 mWindowCallback = cb; in setWindowCallback()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt101165 Lcom/android/internal/widget/ToolbarWidgetWrapper;->mWindowCallback:Landroid/view/Window$Callback;