Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DPopupMenuTest.java361 verify(menuBuilder.mOnMenuItemClickListener, never()).onMenuItemClick(any(MenuItem.class));
368 verify(menuBuilder.mOnMenuItemClickListener, times(1)).onMenuItemClick(
384 verify(menuBuilder.mOnMenuItemClickListener, never()).onMenuItemClick(any(MenuItem.class));
394 verify(menuBuilder.mOnMenuItemClickListener, times(1)).onMenuItemClick(
410 verify(menuBuilder.mOnMenuItemClickListener, never()).onMenuItemClick(any(MenuItem.class));
417 verify(menuBuilder.mOnMenuItemClickListener, times(1)).onMenuItemClick(
456 verify(menuBuilder.mOnMenuItemClickListener, times(1)).onMenuItemClick(
472 verify(menuBuilder.mOnMenuItemClickListener, never()).onMenuItemClick(any(MenuItem.class));
482 verify(menuBuilder.mOnMenuItemClickListener, times(1)).onMenuItemClick(
525 verify(menuBuilder.mOnMenuItemClickListener, times(1)).onMenuItemClick(
[all …]
/frameworks/base/core/java/android/widget/
DShareActionProvider.java111 private final ShareMenuItemOnMenuItemClickListener mOnMenuItemClickListener = field in ShareActionProvider
213 .setOnMenuItemClickListener(mOnMenuItemClickListener); in onPrepareSubMenu()
225 .setOnMenuItemClickListener(mOnMenuItemClickListener); in onPrepareSubMenu()
DActionMenuView.java69 private OnMenuItemClickListener mOnMenuItemClickListener; field in ActionMenuView
136 mOnMenuItemClickListener = listener; in setOnMenuItemClickListener()
760 return mOnMenuItemClickListener != null && in onMenuItemSelected()
761 mOnMenuItemClickListener.onMenuItemClick(item); in onMenuItemSelected()
DToolbar.java186 private OnMenuItemClickListener mOnMenuItemClickListener; field in Toolbar
192 if (mOnMenuItemClickListener != null) {
193 return mOnMenuItemClickListener.onMenuItemClick(item);
1073 mOnMenuItemClickListener = listener; in setOnMenuItemClickListener()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DShareActionProvider.java167 private final ShareMenuItemOnMenuItemClickListener mOnMenuItemClickListener = field in ShareActionProvider
270 .setOnMenuItemClickListener(mOnMenuItemClickListener); in onPrepareSubMenu()
282 .setOnMenuItemClickListener(mOnMenuItemClickListener); in onPrepareSubMenu()
DActionMenuView.java70 private OnMenuItemClickListener mOnMenuItemClickListener; field in ActionMenuView
139 mOnMenuItemClickListener = listener; in setOnMenuItemClickListener()
760 return mOnMenuItemClickListener != null && in onMenuItemSelected()
761 mOnMenuItemClickListener.onMenuItemClick(item); in onMenuItemSelected()
DToolbar.java195 private OnMenuItemClickListener mOnMenuItemClickListener; field in Toolbar
201 if (mOnMenuItemClickListener != null) {
202 return mOnMenuItemClickListener.onMenuItemClick(item);
1078 mOnMenuItemClickListener = listener; in setOnMenuItemClickListener()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java387 private MenuItem.OnMenuItemClickListener mOnMenuItemClickListener; field in FloatingToolbar.FloatingToolbarPopup
393 if (mOnMenuItemClickListener != null) {
394 mOnMenuItemClickListener.onMenuItemClick((MenuItem) v.getTag());
487 mOnMenuItemClickListener = menuItemClickListener; in layoutMenuItems()
1377 if (mOnMenuItemClickListener != null) { in createOverflowPanel()
1378 mOnMenuItemClickListener.onMenuItemClick(menuItem); in createOverflowPanel()