Searched defs:itemData (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuView.java53 * @param itemData The item that this ItemView should display.
58 public void initialize(MenuItemImpl itemData, int menuType); argument
H A DListMenuItemView.java98 public void initialize(MenuItemImpl itemData, int menuType) { argument
99 mItemData = itemData;
102 setVisibility(itemData.isVisible() ? View.VISIBLE : View.GONE);
104 setTitle(itemData.getTitleForItemView(this));
105 setCheckable(itemData.isCheckable());
106 setShortcut(itemData.shouldShowShortcut(), itemData.getShortcut());
107 setIcon(itemData.getIcon());
108 setEnabled(itemData.isEnabled());
H A DActionMenuItemView.java112 public void initialize(MenuItemImpl itemData, int menuType) { argument
113 mItemData = itemData;
115 setIcon(itemData.getIcon());
116 setTitle(itemData.getTitleForItemView(this)); // Title only takes effect if there is no icon
117 setId(itemData.getItemId());
119 setVisibility(itemData.isVisible() ? View.VISIBLE : View.GONE);
120 setEnabled(itemData.isEnabled());
122 if (itemData.hasSubMenu()) {
H A DIconMenuItemView.java109 public void initialize(MenuItemImpl itemData, int menuType) { argument
110 mItemData = itemData;
112 initialize(itemData.getTitleForItemView(this), itemData.getIcon());
114 setVisibility(itemData.isVisible() ? View.VISIBLE : View.GONE);
115 setEnabled(itemData.isEnabled());
/frameworks/support/design/src/android/support/design/internal/
H A DNavigationMenuItemView.java60 public void initialize(MenuItemImpl itemData, int menuType) { argument
61 mItemData = itemData;
63 setVisibility(itemData.isVisible() ? VISIBLE : GONE);
69 setCheckable(itemData.isCheckable());
70 setChecked(itemData.isChecked());
71 setEnabled(itemData.isEnabled());
72 setTitle(itemData.getTitle());
73 setIcon(itemData.getIcon());
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuView.java50 * @param itemData The item that this ItemView should display.
55 public void initialize(MenuItemImpl itemData, int menuType); argument
H A DListMenuItemView.java98 public void initialize(MenuItemImpl itemData, int menuType) { argument
99 mItemData = itemData;
102 setVisibility(itemData.isVisible() ? View.VISIBLE : View.GONE);
104 setTitle(itemData.getTitleForItemView(this));
105 setCheckable(itemData.isCheckable());
106 setShortcut(itemData.shouldShowShortcut(), itemData.getShortcut());
107 setIcon(itemData.getIcon());
108 setEnabled(itemData.isEnabled());
H A DActionMenuItemView.java111 public void initialize(MenuItemImpl itemData, int menuType) { argument
112 mItemData = itemData;
114 setIcon(itemData.getIcon());
115 setTitle(itemData.getTitleForItemView(this)); // Title only takes effect if there is no icon
116 setId(itemData.getItemId());
118 setVisibility(itemData.isVisible() ? View.VISIBLE : View.GONE);
119 setEnabled(itemData.isEnabled());
120 if (itemData.hasSubMenu()) {
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL_Android.h80 XAuint8 itemData[0]; member in struct:XAAndroidBufferItem_
/frameworks/wilhelm/include/SLES/
H A DOpenSLES_Android.h260 SLuint8 itemData[0]; member in struct:SLAndroidBufferItem_

Completed in 360 milliseconds