Home
last modified time | relevance | path

Searched refs:MenuAdapter (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/widget/
DMenuPopupWindow.java31 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()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopup.java124 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()
DListMenuPresenter.java52 MenuAdapter mAdapter;
103 mAdapter = new MenuAdapter(); in getMenuView()
120 mAdapter = new MenuAdapter(); in getAdapter()
223 private class MenuAdapter extends BaseAdapter { class in ListMenuPresenter
226 public MenuAdapter() { in MenuAdapter() method in ListMenuPresenter.MenuAdapter
DMenuAdapter.java25 public class MenuAdapter extends BaseAdapter { class
35 public MenuAdapter(MenuBuilder menu, LayoutInflater inflater, boolean overflowOnly, in MenuAdapter() method in MenuAdapter
DCascadingMenuPopup.java352 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()
DStandardMenuPopup.java51 private final MenuAdapter mAdapter;
120 mAdapter = new MenuAdapter(menu, inflater, mOverflowOnly, ITEM_LAYOUT); in StandardMenuPopup()