Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java210 private ExpandedActionViewMenuPresenter mExpandedMenuPresenter; field in Toolbar
555 oldMenu.removeMenuPresenter(mExpandedMenuPresenter); in setMenu()
558 if (mExpandedMenuPresenter == null) { in setMenu()
559 mExpandedMenuPresenter = new ExpandedActionViewMenuPresenter(); in setMenu()
565 menu.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in setMenu()
568 mExpandedMenuPresenter.initForMenu(mPopupContext, null); in setMenu()
570 mExpandedMenuPresenter.updateMenuView(true); in setMenu()
696 return mExpandedMenuPresenter != null && in hasExpandedActionView()
697 mExpandedMenuPresenter.mCurrentExpandedItem != null; in hasExpandedActionView()
710 final MenuItemImpl item = mExpandedMenuPresenter == null ? null : in collapseActionView()
[all …]
/frameworks/base/core/java/android/widget/
DToolbar.java201 private ExpandedActionViewMenuPresenter mExpandedMenuPresenter; field in Toolbar
541 oldMenu.removeMenuPresenter(mExpandedMenuPresenter); in setMenu()
544 if (mExpandedMenuPresenter == null) { in setMenu()
545 mExpandedMenuPresenter = new ExpandedActionViewMenuPresenter(); in setMenu()
551 menu.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in setMenu()
554 mExpandedMenuPresenter.initForMenu(mPopupContext, null); in setMenu()
556 mExpandedMenuPresenter.updateMenuView(true); in setMenu()
682 return mExpandedMenuPresenter != null && in hasExpandedActionView()
683 mExpandedMenuPresenter.mCurrentExpandedItem != null; in hasExpandedActionView()
696 final MenuItemImpl item = mExpandedMenuPresenter == null ? null : in collapseActionView()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java133 private ExpandedActionViewMenuPresenter mExpandedMenuPresenter; field in ActionBarView
142 final MenuItemImpl item = mExpandedMenuPresenter.mCurrentExpandedItem;
377 mOptionsMenu.removeMenuPresenter(mExpandedMenuPresenter); in setMenu()
392 mExpandedMenuPresenter = new ExpandedActionViewMenuPresenter(); in setMenu()
439 builder.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in configPresenters()
442 mExpandedMenuPresenter.initForMenu(mPopupContext, null); in configPresenters()
444 mExpandedMenuPresenter.updateMenuView(true); in configPresenters()
449 return mExpandedMenuPresenter != null && in hasExpandedActionView()
450 mExpandedMenuPresenter.mCurrentExpandedItem != null; in hasExpandedActionView()
454 final MenuItemImpl item = mExpandedMenuPresenter == null ? null : in collapseActionView()
[all …]