Home
last modified time | relevance | path

Searched refs:menuAdapter (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/widget/
DMenuPopupWindow.java153 final MenuAdapter menuAdapter; in onHoverEvent() local
158 menuAdapter = (MenuAdapter) headerAdapter.getWrappedAdapter(); in onHoverEvent()
161 menuAdapter = (MenuAdapter) adapter; in onHoverEvent()
170 if (itemPosition >= 0 && itemPosition < menuAdapter.getCount()) { in onHoverEvent()
171 menuItem = menuAdapter.getItem(itemPosition); in onHoverEvent()
178 final MenuBuilder menu = menuAdapter.getAdapterMenu(); in onHoverEvent()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DMenuPopupWindow.java184 final MenuAdapter menuAdapter; in onHoverEvent() local
189 menuAdapter = (MenuAdapter) headerAdapter.getWrappedAdapter(); in onHoverEvent()
192 menuAdapter = (MenuAdapter) adapter; in onHoverEvent()
201 if (itemPosition >= 0 && itemPosition < menuAdapter.getCount()) { in onHoverEvent()
202 menuItem = menuAdapter.getItem(itemPosition); in onHoverEvent()
209 final MenuBuilder menu = menuAdapter.getAdapterMenu(); in onHoverEvent()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DCascadingMenuPopup.java486 final MenuAdapter menuAdapter; in findParentViewForSubmenu() local
492 menuAdapter = (MenuAdapter) headerAdapter.getWrappedAdapter(); in findParentViewForSubmenu()
495 menuAdapter = (MenuAdapter) listAdapter; in findParentViewForSubmenu()
500 for (int i = 0, count = menuAdapter.getCount(); i < count; i++) { in findParentViewForSubmenu()
501 if (owner == menuAdapter.getItem(i)) { in findParentViewForSubmenu()
/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java492 final MenuAdapter menuAdapter; in findParentViewForSubmenu() local
498 menuAdapter = (MenuAdapter) headerAdapter.getWrappedAdapter(); in findParentViewForSubmenu()
501 menuAdapter = (MenuAdapter) listAdapter; in findParentViewForSubmenu()
506 for (int i = 0, count = menuAdapter.getCount(); i < count; i++) { in findParentViewForSubmenu()
507 if (owner == menuAdapter.getItem(i)) { in findParentViewForSubmenu()