Home
last modified time | relevance | path

Searched refs:mIconResId (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DMenuItemImpl.java62 private int mIconResId = NO_ICON; field in MenuItemImpl
387 if (mIconResId != NO_ICON) { in getIcon()
388 Drawable icon = mMenu.getContext().getDrawable(mIconResId); in getIcon()
389 mIconResId = NO_ICON; in getIcon()
398 mIconResId = NO_ICON; in setIcon()
407 mIconResId = iconResId; in setIcon()
DActionMenuItem.java44 private int mIconResId = NO_ICON; field in ActionMenuItem
160 mIconResId = NO_ICON; in setIcon()
165 mIconResId = iconRes; in setIcon()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuItemImpl.java66 private int mIconResId = NO_ICON; field in MenuItemImpl
420 if (mIconResId != NO_ICON) { in getIcon()
422 .getDrawable(mMenu.getContext(), mIconResId); in getIcon()
423 mIconResId = NO_ICON; in getIcon()
433 mIconResId = NO_ICON; in setIcon()
443 mIconResId = iconResId; in setIcon()
DActionMenuItem.java48 private int mIconResId = NO_ICON; field in ActionMenuItem
164 mIconResId = NO_ICON; in setIcon()
169 mIconResId = iconRes; in setIcon()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreference.java112 private int mIconResId; field in Preference
240 mIconResId = TypedArrayUtils.getResourceId(a, R.styleable.Preference_icon, in Preference()
509 if (mIconResId != 0 || mIcon != null) { in onBindViewHolder()
511 mIcon = ContextCompat.getDrawable(getContext(), mIconResId); in onBindViewHolder()
645 mIconResId = 0; in setIcon()
658 mIconResId = iconResId; in setIcon()
/frameworks/base/core/java/android/preference/
DPreference.java109 private int mIconResId; field in Preference
226 mIconResId = a.getResourceId(attr, 0); in Preference()
569 if (mIconResId != 0 || mIcon != null) { in onBindView()
571 mIcon = getContext().getDrawable(mIconResId); in onBindView()
709 if (mIconResId != iconResId) { in setIcon()
710 mIconResId = iconResId; in setIcon()
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalActions.java738 private final int mIconResId;
744 mIconResId = iconResId;
751 mIconResId = iconResId;
792 } else if (mIconResId != 0) {
793 icon.setImageDrawable(context.getDrawable(mIconResId));