Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java45 private MenuItemImpl mItemData; field in IconMenuItemView
110 if (mItemData != null) { in initialize()
111 final CharSequence contentDescription = mItemData.getContentDescription(); in initialize()
117 setTooltipText(mItemData.getTooltipText()); in initialize()
122 mItemData = itemData; in initialize()
131 mItemData = data; in setItemData()
141 if ((mItemInvoker != null) && (mItemInvoker.invokeItem(mItemData))) { in performClick()
169 if (mItemData == null) { in setCaptionMode()
173 mShortcutCaptionMode = shortcut && (mItemData.shouldShowShortcut()); in setCaptionMode()
175 CharSequence text = mItemData.getTitleForItemView(this); in setCaptionMode()
[all …]
DActionMenuItemView.java42 private MenuItemImpl mItemData; field in ActionMenuItemView
115 return mItemData; in getItemData()
120 mItemData = itemData; in initialize()
138 if (mItemData.hasSubMenu() && mForwardingListener != null in onTouchEvent()
148 mItemInvoker.invokeItem(mItemData); in onClick()
175 if (mItemData != null) { in setExpandedFormat()
176 mItemData.actionFormatChanged(); in setExpandedFormat()
184 (mItemData.showsTextAsAction() && (mAllowTextWithIcon || mExpandedFormat)); in updateTextButtonVisibility()
188 final CharSequence contentDescription = mItemData.getContentDescription(); in updateTextButtonVisibility()
192 setContentDescription(visible ? null : mItemData.getTitle()); in updateTextButtonVisibility()
[all …]
DListMenuItemView.java44 private MenuItemImpl mItemData; field in ListMenuItemView
123 mItemData = itemData; in initialize()
164 return mItemData; in getItemData()
177 if (mItemData.isExclusiveCheckable()) { in setCheckable()
192 compoundButton.setChecked(mItemData.isChecked()); in setCheckable()
212 if (mItemData.isExclusiveCheckable()) { in setChecked()
234 final int newVisibility = (showShortcut && mItemData.shouldShowShortcut()) in setShortcut()
238 mShortcutView.setText(mItemData.getShortcutLabel()); in setShortcut()
247 final boolean showIcon = mItemData.shouldShowIcon() || mForceShowIcon; in setIcon()
326 if (mItemData != null && mItemData.hasSubMenu()) { in onInitializeAccessibilityNodeInfoInternal()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt100379 Lcom/android/internal/view/menu/ActionMenuItemView;->mItemData:Lcom/android/internal/view/menu/Menu…