Home
last modified time | relevance | path

Searched refs:mExpandedMenuPresenter (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
DToolbar.java170 private ExpandedActionViewMenuPresenter mExpandedMenuPresenter; field in Toolbar
395 oldMenu.removeMenuPresenter(mExpandedMenuPresenter); in setMenu()
398 if (mExpandedMenuPresenter == null) { in setMenu()
399 mExpandedMenuPresenter = new ExpandedActionViewMenuPresenter(); in setMenu()
405 menu.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in setMenu()
408 mExpandedMenuPresenter.initForMenu(mPopupContext, null); in setMenu()
410 mExpandedMenuPresenter.updateMenuView(true); in setMenu()
536 return mExpandedMenuPresenter != null && in hasExpandedActionView()
537 mExpandedMenuPresenter.mCurrentExpandedItem != null; in hasExpandedActionView()
550 final MenuItemImpl item = mExpandedMenuPresenter == null ? null : in collapseActionView()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java188 private ExpandedActionViewMenuPresenter mExpandedMenuPresenter; field in Toolbar
412 oldMenu.removeMenuPresenter(mExpandedMenuPresenter); in setMenu()
415 if (mExpandedMenuPresenter == null) { in setMenu()
416 mExpandedMenuPresenter = new ExpandedActionViewMenuPresenter(); in setMenu()
422 menu.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in setMenu()
425 mExpandedMenuPresenter.initForMenu(mPopupContext, null); in setMenu()
427 mExpandedMenuPresenter.updateMenuView(true); in setMenu()
553 return mExpandedMenuPresenter != null && in hasExpandedActionView()
554 mExpandedMenuPresenter.mCurrentExpandedItem != null; in hasExpandedActionView()
567 final MenuItemImpl item = mExpandedMenuPresenter == null ? null : in collapseActionView()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java131 private ExpandedActionViewMenuPresenter mExpandedMenuPresenter; field in ActionBarView
140 final MenuItemImpl item = mExpandedMenuPresenter.mCurrentExpandedItem;
375 mOptionsMenu.removeMenuPresenter(mExpandedMenuPresenter); in setMenu()
390 mExpandedMenuPresenter = new ExpandedActionViewMenuPresenter(); in setMenu()
437 builder.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in configPresenters()
440 mExpandedMenuPresenter.initForMenu(mPopupContext, null); in configPresenters()
442 mExpandedMenuPresenter.updateMenuView(true); in configPresenters()
447 return mExpandedMenuPresenter != null && in hasExpandedActionView()
448 mExpandedMenuPresenter.mCurrentExpandedItem != null; in hasExpandedActionView()
452 final MenuItemImpl item = mExpandedMenuPresenter == null ? null : in collapseActionView()
[all …]