Home
last modified time | relevance | path

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

/frameworks/base/telecomm/java/android/telecom/
DStatusHints.java40 private final int mIconResId; field in StatusHints
47 mIconResId = iconResId; in StatusHints()
71 return mIconResId; in getIconResId()
78 return getIcon(context, mIconResId); in getIcon()
97 out.writeInt(mIconResId); in writeToParcel()
115 mIconResId = in.readInt(); in StatusHints()
150 return Objects.hashCode(mPackageName) + Objects.hashCode(mLabel) + mIconResId + in hashCode()
DPhoneAccount.java150 private final int mIconResId; field in PhoneAccount
167 private int mIconResId; field in PhoneAccount.Builder
195 mIconResId = phoneAccount.getIconResId(); in Builder()
288 this.mIconResId = iconResId; in setIcon()
302 this.mIconResId = NO_RESOURCE_ID; in setIcon()
376 mIconResId, in build()
404 mIconResId = iconResId; in PhoneAccount()
543 return mIconResId; in getIconResId()
607 if (mIconResId != 0) { in createIconDrawable()
611 Drawable iconDrawable = packageContext.getDrawable(mIconResId); in createIconDrawable()
[all …]
/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/base/core/java/android/preference/
DPreference.java105 private int mIconResId; field in Preference
222 mIconResId = a.getResourceId(attr, 0); in Preference()
561 if (mIconResId != 0 || mIcon != null) { in onBindView()
563 mIcon = getContext().getDrawable(mIconResId); in onBindView()
700 mIconResId = iconResId; in setIcon()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DGlobalActions.java672 private final int mIconResId;
678 mIconResId = iconResId;
685 mIconResId = iconResId;
692 mIconResId = iconResId;
733 } else if (mIconResId != 0) {
734 icon.setImageDrawable(context.getDrawable(mIconResId));