Home
last modified time | relevance | path

Searched refs:mActionMenuPresenter (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DAbsActionBarView.java46 protected ActionMenuPresenter mActionMenuPresenter; field in AbsActionBarView
87 if (mActionMenuPresenter != null) { in onConfigurationChanged()
88 mActionMenuPresenter.onConfigurationChanged(newConfig); in onConfigurationChanged()
199 if (mActionMenuPresenter != null) { in showOverflowMenu()
200 return mActionMenuPresenter.showOverflowMenu(); in showOverflowMenu()
214 if (mActionMenuPresenter != null) { in hideOverflowMenu()
215 return mActionMenuPresenter.hideOverflowMenu(); in hideOverflowMenu()
221 if (mActionMenuPresenter != null) { in isOverflowMenuShowing()
222 return mActionMenuPresenter.isOverflowMenuShowing(); in isOverflowMenuShowing()
228 if (mActionMenuPresenter != null) { in isOverflowMenuShowPending()
[all …]
DActionBarContextView.java88 if (mActionMenuPresenter != null) { in onDetachedFromWindow()
89 mActionMenuPresenter.hideOverflowMenu(); in onDetachedFromWindow()
90 mActionMenuPresenter.hideSubMenus(); in onDetachedFromWindow()
175 if (mActionMenuPresenter != null) { in initForMode()
176 mActionMenuPresenter.dismissPopupMenus(); in initForMode()
178 mActionMenuPresenter = new ActionMenuPresenter(getContext()); in initForMode()
179 mActionMenuPresenter.setReserveOverflow(true); in initForMode()
183 menu.addMenuPresenter(mActionMenuPresenter, mPopupContext); in initForMode()
184 mMenuView = (ActionMenuView) mActionMenuPresenter.getMenuView(this); in initForMode()
204 if (mActionMenuPresenter != null) { in showOverflowMenu()
[all …]
DToolbarWidgetWrapper.java84 private ActionMenuPresenter mActionMenuPresenter; field in ToolbarWidgetWrapper
389 if (mActionMenuPresenter == null) { in setMenu()
390 mActionMenuPresenter = new ActionMenuPresenter(mToolbar.getContext()); in setMenu()
391 mActionMenuPresenter.setId(R.id.action_menu_presenter); in setMenu()
393 mActionMenuPresenter.setCallback(cb); in setMenu()
394 mToolbar.setMenu((MenuBuilder) menu, mActionMenuPresenter); in setMenu() local
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java98 if (mActionMenuPresenter != null) { in onDetachedFromWindow()
99 mActionMenuPresenter.hideOverflowMenu(); in onDetachedFromWindow()
100 mActionMenuPresenter.hideSubMenus(); in onDetachedFromWindow()
107 if (mActionMenuPresenter != null) { in setSplitToolbar()
112 mMenuView = (ActionMenuView) mActionMenuPresenter.getMenuView(this); in setSplitToolbar()
119 mActionMenuPresenter.setWidthLimit( in setSplitToolbar()
122 mActionMenuPresenter.setItemLimit(Integer.MAX_VALUE); in setSplitToolbar()
126 mMenuView = (ActionMenuView) mActionMenuPresenter.getMenuView(this); in setSplitToolbar()
218 if (mActionMenuPresenter != null) { in initForMode()
219 mActionMenuPresenter.dismissPopupMenus(); in initForMode()
[all …]
DAbsActionBarView.java48 protected ActionMenuPresenter mActionMenuPresenter; field in AbsActionBarView
95 if (mActionMenuPresenter != null) { in onConfigurationChanged()
96 mActionMenuPresenter.onConfigurationChanged(newConfig); in onConfigurationChanged()
199 if (mActionMenuPresenter != null) { in showOverflowMenu()
200 return mActionMenuPresenter.showOverflowMenu(); in showOverflowMenu()
214 if (mActionMenuPresenter != null) { in hideOverflowMenu()
215 return mActionMenuPresenter.hideOverflowMenu(); in hideOverflowMenu()
221 if (mActionMenuPresenter != null) { in isOverflowMenuShowing()
222 return mActionMenuPresenter.isOverflowMenuShowing(); in isOverflowMenuShowing()
228 if (mActionMenuPresenter != null) { in isOverflowMenuShowPending()
[all …]
DActionBarView.java270 if (mActionMenuPresenter != null) { in onDetachedFromWindow()
271 mActionMenuPresenter.hideOverflowMenu(); in onDetachedFromWindow()
272 mActionMenuPresenter.hideSubMenus(); in onDetachedFromWindow()
320 if (mActionMenuPresenter != null) { in setSplitToolbar()
322 mActionMenuPresenter.setExpandedActionViewsExclusive( in setSplitToolbar()
326 mActionMenuPresenter.setExpandedActionViewsExclusive(false); in setSplitToolbar()
328 mActionMenuPresenter.setWidthLimit( in setSplitToolbar()
331 mActionMenuPresenter.setItemLimit(Integer.MAX_VALUE); in setSplitToolbar()
374 mOptionsMenu.removeMenuPresenter(mActionMenuPresenter); in setMenu()
386 if (mActionMenuPresenter == null) { in setMenu()
[all …]
DToolbarWidgetWrapper.java84 private ActionMenuPresenter mActionMenuPresenter; field in ToolbarWidgetWrapper
386 if (mActionMenuPresenter == null) { in setMenu()
387 mActionMenuPresenter = new ActionMenuPresenter(mToolbar.getContext()); in setMenu()
388 mActionMenuPresenter.setId(com.android.internal.R.id.action_menu_presenter); in setMenu()
390 mActionMenuPresenter.setCallback(cb); in setMenu()
391 mToolbar.setMenu((MenuBuilder) menu, mActionMenuPresenter); in setMenu() local
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/widget/
DActionBarAccessor.java30 return view.mActionMenuPresenter; in getActionMenuPresenter()