Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DSuspendDialogInfo.java71 private final int mIconResId; field in SuspendDialogInfo
83 return mIconResId; in getIconResId()
127 if (mIconResId != ID_NULL) { in saveToXml()
128 XmlUtils.writeIntAttribute(out, XML_ATTR_ICON_RES_ID, mIconResId); in saveToXml()
179 int hashCode = mIconResId; in hashCode()
196 return mIconResId == otherDialogInfo.mIconResId in equals()
207 if (mIconResId != ID_NULL) { in toString()
209 builder.append(Integer.toHexString(mIconResId)); in toString()
242 dest.writeInt(mIconResId); in writeToParcel()
250 mIconResId = source.readInt(); in SuspendDialogInfo()
[all …]
DShortcutInfo.java394 private int mIconResId; field in ShortcutInfo
545 mIconResId = source.mIconResId; in ShortcutInfo()
762 && (mIconResId == 0)) { in lookupAndFillInResourceNames()
773 mIconResName = lookUpResourceName(res, mIconResId, /*withType=*/ true, mPackageName); in lookupAndFillInResourceNames()
796 mIconResId = lookUpResourceId(res, mIconResName, null, mPackageName); in lookupAndFillInResourceIds()
851 mIconResId = 0; in copyNonNullFieldsFrom()
1889 if (mIconResId != iconResourceId) { in setIconResourceId()
1892 mIconResId = iconResourceId; in setIconResourceId()
1900 return mIconResId; in getIconResourceId()
2016 mIconResId = source.readInt(); in ShortcutInfo()
[all …]
/frameworks/base/core/java/com/android/internal/globalactions/
DSinglePressAction.java30 private final int mIconResId; field in SinglePressAction
36 mIconResId = iconResId; in SinglePressAction()
43 mIconResId = iconResId; in SinglePressAction()
91 } else if (mIconResId != 0) { in create()
92 icon.setImageDrawable(context.getDrawable(mIconResId)); in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DContextualButton.java37 protected final @DrawableRes int mIconResId; field in ContextualButton
47 mIconResId = iconResId; in ContextualButton()
54 if (getCurrentView() == null || !getCurrentView().isAttachedToWindow() || mIconResId == 0) { in updateIcon()
120 return KeyButtonDrawable.create(getContext().getApplicationContext(), mIconResId, in getNewDrawable()
DRotationContextButton.java62 return KeyButtonDrawable.create(context, mIconResId, false /* shadow */, in getNewDrawable()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuItemImpl.java72 private int mIconResId = NO_ICON; field in MenuItemImpl
475 if (mIconResId != NO_ICON) { in getIcon()
476 Drawable icon = mMenu.getContext().getDrawable(mIconResId); in getIcon()
477 mIconResId = NO_ICON; in getIcon()
486 mIconResId = NO_ICON; in setIcon()
496 mIconResId = iconResId; in setIcon()
DActionMenuItem.java51 private int mIconResId = NO_ICON; field in ActionMenuItem
189 mIconResId = NO_ICON; in setIcon()
196 mIconResId = iconRes; in setIcon()
/frameworks/base/core/java/android/preference/
DPreference.java133 private int mIconResId; field in Preference
271 mIconResId = a.getResourceId(attr, 0); in Preference()
662 if (mIconResId != 0 || mIcon != null) { in onBindView()
664 mIcon = getContext().getDrawable(mIconResId); in onBindView()
803 if (mIconResId != iconResId) { in setIcon()
804 mIconResId = iconResId; in setIcon()
816 if (mIcon == null && mIconResId != 0) { in getIcon()
817 mIcon = getContext().getDrawable(mIconResId); in getIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java1101 private final int mIconResId;
1107 mIconResId = iconResId;
1114 mIconResId = iconResId;
1154 } else if (mIconResId != 0) {
1155 icon.setImageDrawable(context.getDrawable(mIconResId));
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt16195 Landroid/content/pm/ShortcutInfo;->mIconResId:I
54268 Landroid/preference/Preference;->mIconResId:I