Home
last modified time | relevance | path

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

/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/core/java/android/content/pm/
DShortcutInfo.java366 private int mIconResId; field in ShortcutInfo
496 mIconResId = source.mIconResId; in ShortcutInfo()
710 && (mIconResId == 0)) { in lookupAndFillInResourceNames()
721 mIconResName = lookUpResourceName(res, mIconResId, /*withType=*/ true, mPackageName); in lookupAndFillInResourceNames()
744 mIconResId = lookUpResourceId(res, mIconResName, null, mPackageName); in lookupAndFillInResourceIds()
799 mIconResId = 0; in copyNonNullFieldsFrom()
1731 if (mIconResId != iconResourceId) { in setIconResourceId()
1734 mIconResId = iconResourceId; in setIconResourceId()
1742 return mIconResId; in getIconResourceId()
1858 mIconResId = source.readInt(); in ShortcutInfo()
[all …]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
DMenuItemImpl.java80 private int mIconResId = NO_ICON; field in MenuItemImpl
504 if (mIconResId != NO_ICON) { in getIcon()
505 Drawable icon = AppCompatResources.getDrawable(mMenu.getContext(), mIconResId); in getIcon()
506 mIconResId = NO_ICON; in getIcon()
516 mIconResId = NO_ICON; in setIcon()
527 mIconResId = iconResId; in setIcon()
DActionMenuItem.java59 private int mIconResId = NO_ICON; field in ActionMenuItem
221 mIconResId = NO_ICON; in setIcon()
229 mIconResId = iconRes; in setIcon()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuItemImpl.java70 private int mIconResId = NO_ICON; field in MenuItemImpl
472 if (mIconResId != NO_ICON) { in getIcon()
473 Drawable icon = mMenu.getContext().getDrawable(mIconResId); in getIcon()
474 mIconResId = NO_ICON; in getIcon()
483 mIconResId = NO_ICON; in setIcon()
493 mIconResId = iconResId; in setIcon()
DActionMenuItem.java50 private int mIconResId = NO_ICON; field in ActionMenuItem
187 mIconResId = NO_ICON; in setIcon()
194 mIconResId = iconRes; in setIcon()
/frameworks/support/preference/src/main/java/androidx/preference/
DPreference.java131 private int mIconResId; field in Preference
267 mIconResId = TypedArrayUtils.getResourceId(a, R.styleable.Preference_icon, in Preference()
595 if (mIconResId != 0 || mIcon != null) { in onBindViewHolder()
597 mIcon = ContextCompat.getDrawable(getContext(), mIconResId); in onBindViewHolder()
739 mIconResId = 0; in setIcon()
752 mIconResId = iconResId; in setIcon()
762 if (mIcon == null && mIconResId != 0) { in getIcon()
763 mIcon = ContextCompat.getDrawable(mContext, mIconResId); in getIcon()
/frameworks/base/core/java/android/preference/
DPreference.java123 private int mIconResId; field in Preference
245 mIconResId = a.getResourceId(attr, 0); in Preference()
636 if (mIconResId != 0 || mIcon != null) { in onBindView()
638 mIcon = getContext().getDrawable(mIconResId); in onBindView()
777 if (mIconResId != iconResId) { in setIcon()
778 mIconResId = iconResId; in setIcon()
790 if (mIcon == null && mIconResId != 0) { in getIcon()
791 mIcon = getContext().getDrawable(mIconResId); in getIcon()
/frameworks/support/media/src/main/java/androidx/media/
DMediaSession2.java1315 private int mIconResId; field in MediaSession2.CommandButton
1323 mIconResId = iconResId; in CommandButton()
1346 return mIconResId; in getIconResId()
1385 bundle.putInt(KEY_ICON_RES_ID, mIconResId); in toBundle()
1420 private int mIconResId; field in MediaSession2.CommandButton.Builder
1446 mIconResId = resId; in setIconResId()
1488 return new CommandButton(mCommand, mIconResId, mDisplayName, mExtras, mEnabled); in build()
/frameworks/av/packages/MediaComponents/src/com/android/media/
DMediaSession2Impl.java1328 private int mIconResId; field in MediaSession2Impl.CommandButtonImpl
1336 mIconResId = iconResId; in CommandButtonImpl()
1351 return mIconResId; in getIconResId_impl()
1372 bundle.putInt(KEY_ICON_RES_ID, mIconResId); in toBundle()
1403 private int mIconResId; field in MediaSession2Impl.CommandButtonImpl.BuilderImpl
1421 mIconResId = resId; in setIconResId_impl()
1450 && (mIconResId == 0 || TextUtils.isEmpty(mDisplayName))) { in build_impl()
1454 return new CommandButtonImpl(mCommand, mIconResId, mDisplayName, mExtras, mEnabled) in build_impl()
/frameworks/support/jetifier/jetifier/processor/src/test/resources/changeDetectionTest/
DtestPreference.classPreference.java package android.support.v7.preference public android.support.v7.preference ...
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java949 private final int mIconResId;
955 mIconResId = iconResId;
962 mIconResId = iconResId;
1004 } else if (mIconResId != 0) {
1005 icon.setImageDrawable(context.getDrawable(mIconResId));
/frameworks/base/config/
Dhiddenapi-light-greylist.txt8510 Lcom/android/internal/view/menu/MenuItemImpl;->mIconResId:I