Searched refs:MenuAdapter (Results 1 – 6 of 6) sorted by relevance
31 import com.android.internal.view.menu.MenuAdapter;141 ((MenuAdapter) getAdapter()).getAdapterMenu().close(false /* closeAllMenus */); in onKeyDown()153 final MenuAdapter menuAdapter; in onHoverEvent()158 menuAdapter = (MenuAdapter) headerAdapter.getWrappedAdapter(); in onHoverEvent()161 menuAdapter = (MenuAdapter) adapter; in onHoverEvent()
124 MenuAdapter wrappedAdapter = toMenuAdapter(outerAdapter); in onItemClick()180 protected static MenuAdapter toMenuAdapter(ListAdapter adapter) { in toMenuAdapter()182 return (MenuAdapter) ((HeaderViewListAdapter) adapter).getWrappedAdapter(); in toMenuAdapter()184 return (MenuAdapter) adapter; in toMenuAdapter()
52 MenuAdapter mAdapter;103 mAdapter = new MenuAdapter(); in getMenuView()120 mAdapter = new MenuAdapter(); in getAdapter()223 private class MenuAdapter extends BaseAdapter { class in ListMenuPresenter226 public MenuAdapter() { in MenuAdapter() method in ListMenuPresenter.MenuAdapter
25 public class MenuAdapter extends BaseAdapter { class35 public MenuAdapter(MenuBuilder menu, LayoutInflater inflater, boolean overflowOnly, in MenuAdapter() method in MenuAdapter
352 final MenuAdapter adapter = new MenuAdapter(menu, inflater, mOverflowOnly, ITEM_LAYOUT); in showMenu()491 final MenuAdapter menuAdapter; in findParentViewForSubmenu()497 menuAdapter = (MenuAdapter) headerAdapter.getWrappedAdapter(); in findParentViewForSubmenu()500 menuAdapter = (MenuAdapter) listAdapter; in findParentViewForSubmenu()
51 private final MenuAdapter mAdapter;120 mAdapter = new MenuAdapter(menu, inflater, mOverflowOnly, ITEM_LAYOUT); in StandardMenuPopup()