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/internal/view/menu/
DMenuItemImpl.java67 private int mIconResId = NO_ICON; field in MenuItemImpl
421 if (mIconResId != NO_ICON) { in getIcon()
422 Drawable icon = TintManager.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.java103 private int mIconResId; field in Preference
231 mIconResId = TypedArrayUtils.getResourceId(a, R.styleable.Preference_icon, in Preference()
498 if (mIconResId != 0 || mIcon != null) { in onBindViewHolder()
500 mIcon = ContextCompat.getDrawable(getContext(), mIconResId); in onBindViewHolder()
614 mIconResId = 0; in setIcon()
627 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.java725 private final int mIconResId;
731 mIconResId = iconResId;
738 mIconResId = iconResId;
745 mIconResId = iconResId;
786 } else if (mIconResId != 0) {
787 icon.setImageDrawable(context.getDrawable(mIconResId));