Home
last modified time | relevance | path

Searched refs:MenuView (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/view/menu/
DBaseMenuPresenter.java44 protected MenuView mMenuView;
70 public MenuView getMenuView(ViewGroup root) { in getMenuView()
72 mMenuView = (MenuView) mSystemInflater.inflate(mMenuLayoutRes, root, false); in getMenuView()
96 final MenuItemImpl oldItem = convertView instanceof MenuView.ItemView ? in updateMenuView()
97 ((MenuView.ItemView) convertView).getItemData() : null; in updateMenuView()
158 public MenuView.ItemView createItemView(ViewGroup parent) { in createItemView()
159 return (MenuView.ItemView) mSystemInflater.inflate(mItemLayoutRes, parent, false); in createItemView()
174 MenuView.ItemView itemView; in getItemView()
175 if (convertView instanceof MenuView.ItemView) { in getItemView()
176 itemView = (MenuView.ItemView) convertView; in getItemView()
[all …]
DExpandedMenuView.java34 public final class ExpandedMenuView extends ListView implements ItemInvoker, MenuView, OnItemClickL…
47 …edArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.MenuView, 0, 0); in ExpandedMenuView()
DMenuAdapter.java93 MenuView.ItemView itemView = (MenuView.ItemView) convertView; in getView()
DListMenuPresenter.java98 public MenuView getMenuView(ViewGroup root) { in getMenuView()
259 MenuView.ItemView itemView = (MenuView.ItemView) convertView; in getView()
DMenuView.java30 public interface MenuView { interface
DMenuPresenter.java72 public MenuView getMenuView(ViewGroup root); in getMenuView()
DIconMenuItemView.java37 public final class IconMenuItemView extends TextView implements MenuView.ItemView {
74 attrs, com.android.internal.R.styleable.MenuView, defStyleAttr, defStyleRes); in IconMenuItemView()
DListMenuItemView.java42 implements MenuView.ItemView, AbsListView.SelectionBoundsAdjuster {
73 attrs, com.android.internal.R.styleable.MenuView, defStyleAttr, defStyleRes); in ListMenuItemView()
DMenuPopup.java102 public MenuView getMenuView(ViewGroup root) { in getMenuView()
DIconMenuView.java51 public final class IconMenuView extends ViewGroup implements ItemInvoker, MenuView, Runnable {
140 a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.MenuView, 0, 0); in IconMenuView()
DIconMenuPresenter.java18 import com.android.internal.view.menu.MenuView.ItemView;
DMenuItemImpl.java19 import com.android.internal.view.menu.MenuView.ItemView;
428 CharSequence getTitleForItemView(MenuView.ItemView itemView) { in getTitleForItemView()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
DBaseMenuPresenter.java50 protected MenuView mMenuView;
76 public MenuView getMenuView(ViewGroup root) { in getMenuView()
78 mMenuView = (MenuView) mSystemInflater.inflate(mMenuLayoutRes, root, false); in getMenuView()
103 final MenuItemImpl oldItem = convertView instanceof MenuView.ItemView ? in updateMenuView()
104 ((MenuView.ItemView) convertView).getItemData() : null; in updateMenuView()
166 public MenuView.ItemView createItemView(ViewGroup parent) { in createItemView()
167 return (MenuView.ItemView) mSystemInflater.inflate(mItemLayoutRes, parent, false); in createItemView()
182 MenuView.ItemView itemView; in getItemView()
183 if (convertView instanceof MenuView.ItemView) { in getItemView()
184 itemView = (MenuView.ItemView) convertView; in getItemView()
[all …]
DMenuAdapter.java105 MenuView.ItemView itemView = (MenuView.ItemView) convertView; in getView()
DListMenuPresenter.java104 public MenuView getMenuView(ViewGroup root) { in getMenuView()
271 MenuView.ItemView itemView = (MenuView.ItemView) convertView; in getView()
DMenuView.java32 public interface MenuView { interface
DMenuPresenter.java78 MenuView getMenuView(ViewGroup root); in getMenuView()
DExpandedMenuView.java40 implements ItemInvoker, MenuView, OnItemClickListener {
DListMenuItemView.java49 implements MenuView.ItemView, AbsListView.SelectionBoundsAdjuster {
83 attrs, R.styleable.MenuView, defStyleAttr, 0); in ListMenuItemView()
DMenuPopup.java102 public MenuView getMenuView(ViewGroup root) { in getMenuView()
DActionMenuItemView.java44 implements MenuView.ItemView, View.OnClickListener, ActionMenuView.ActionMenuChildView {
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DOverflowMenuAdapter.java21 import com.android.internal.view.menu.MenuView;
80 MenuView.ItemView itemView = (MenuView.ItemView) convertView; in getView()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DActionMenuPresenter.java41 import androidx.appcompat.view.menu.MenuView;
184 public MenuView getMenuView(ViewGroup root) { in getMenuView()
185 MenuView oldMenuView = mMenuView; in getMenuView()
186 MenuView result = super.getMenuView(root); in getMenuView()
210 public void bindItemView(MenuItemImpl item, MenuView.ItemView itemView) { in bindItemView()
327 if (child instanceof MenuView.ItemView && in findViewForItem()
328 ((MenuView.ItemView) child).getItemData() == item) { in findViewForItem()
/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java49 import com.android.internal.view.menu.MenuView;
221 public MenuView getMenuView(ViewGroup root) { in getMenuView()
222 MenuView oldMenuView = mMenuView; in getMenuView()
223 MenuView result = super.getMenuView(root); in getMenuView()
251 public void bindItemView(MenuItemImpl item, MenuView.ItemView itemView) { in bindItemView()
536 if (child instanceof MenuView.ItemView && in findViewForItem()
537 ((MenuView.ItemView) child).getItemData() == item) { in findViewForItem()
/frameworks/layoutlib/bridge/src/android/view/
DMenuInflater_Delegate.java23 import com.android.internal.view.menu.MenuView;

12