Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
DMenuDialogHelper.java40 private MenuPresenter.Callback mPresenterCallback; field in MenuDialogHelper
130 mPresenterCallback = cb; in setPresenterCallback()
154 if (mPresenterCallback != null) { in onCloseMenu()
155 mPresenterCallback.onCloseMenu(menu, allMenusAreClosing); in onCloseMenu()
161 if (mPresenterCallback != null) { in onOpenSubMenu()
162 return mPresenterCallback.onOpenSubMenu(subMenu); in onOpenSubMenu()
DStandardMenuPopup.java98 private Callback mPresenterCallback; field in StandardMenuPopup
256 mPresenterCallback = cb; in setCallback()
264 subPopup.setPresenterCallback(mPresenterCallback); in onSubMenuSelected()
287 if (mPresenterCallback != null) { in onSubMenuSelected()
288 mPresenterCallback.onOpenSubMenu(subMenu); in onSubMenuSelected()
302 if (mPresenterCallback != null) { in onCloseMenu()
303 mPresenterCallback.onCloseMenu(menu, allMenusAreClosing); in onCloseMenu()
DMenuPopupHelper.java62 private MenuPresenter.Callback mPresenterCallback; field in MenuPopupHelper
255 popup.setCallback(mPresenterCallback); in createPopup()
325 mPresenterCallback = cb; in setPresenterCallback()
DCascadingMenuPopup.java207 private Callback mPresenterCallback; field in CascadingMenuPopup
621 mPresenterCallback = cb; in setCallback()
638 if (mPresenterCallback != null) { in onSubMenuSelected()
639 mPresenterCallback.onOpenSubMenu(subMenu); in onSubMenuSelected()
698 if (mPresenterCallback != null) { in onCloseMenu()
699 mPresenterCallback.onCloseMenu(menu, true); in onCloseMenu()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java37 private MenuPresenter.Callback mPresenterCallback; field in MenuDialogHelper
127 mPresenterCallback = cb; in setPresenterCallback()
152 if (mPresenterCallback != null) { in onCloseMenu()
153 mPresenterCallback.onCloseMenu(menu, allMenusAreClosing); in onCloseMenu()
159 if (mPresenterCallback != null) { in onOpenSubMenu()
160 return mPresenterCallback.onOpenSubMenu(subMenu); in onOpenSubMenu()
DStandardMenuPopup.java98 private Callback mPresenterCallback; field in StandardMenuPopup
257 mPresenterCallback = cb; in setCallback()
265 subPopup.setPresenterCallback(mPresenterCallback); in onSubMenuSelected()
288 if (mPresenterCallback != null) { in onSubMenuSelected()
289 mPresenterCallback.onOpenSubMenu(subMenu); in onSubMenuSelected()
303 if (mPresenterCallback != null) { in onCloseMenu()
304 mPresenterCallback.onCloseMenu(menu, allMenusAreClosing); in onCloseMenu()
DMenuPopupHelper.java53 private Callback mPresenterCallback; field in MenuPopupHelper
241 popup.setCallback(mPresenterCallback); in createPopup()
311 mPresenterCallback = cb; in setPresenterCallback()
DCascadingMenuPopup.java191 private Callback mPresenterCallback; field in CascadingMenuPopup
569 mPresenterCallback = cb; in setCallback()
586 if (mPresenterCallback != null) { in onSubMenuSelected()
587 mPresenterCallback.onOpenSubMenu(subMenu); in onSubMenuSelected()
646 if (mPresenterCallback != null) { in onCloseMenu()
647 mPresenterCallback.onCloseMenu(menu, true); in onCloseMenu()