Searched refs:mIconResId (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/core/java/com/android/internal/globalactions/
H A DSinglePressAction.java30 private final int mIconResId; field in class:SinglePressAction
36 mIconResId = iconResId;
43 mIconResId = iconResId;
91 } else if (mIconResId != 0) {
92 icon.setImageDrawable(context.getDrawable(mIconResId));
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItem.java50 private int mIconResId = NO_ICON; field in class:ActionMenuItem
187 mIconResId = NO_ICON;
194 mIconResId = iconRes;
H A DMenuItemImpl.java70 private int mIconResId = NO_ICON; field in class:MenuItemImpl
472 if (mIconResId != NO_ICON) {
473 Drawable icon = mMenu.getContext().getDrawable(mIconResId);
474 mIconResId = NO_ICON;
483 mIconResId = NO_ICON;
493 mIconResId = iconResId;
/frameworks/base/core/java/android/content/pm/
H A DShortcutInfo.java366 private int mIconResId; field in class:ShortcutInfo
496 mIconResId = source.mIconResId;
710 && (mIconResId == 0)) {
721 mIconResName = lookUpResourceName(res, mIconResId, /*withType=*/ true, mPackageName);
744 mIconResId = lookUpResourceId(res, mIconResName, null, mPackageName);
799 mIconResId = 0;
1731 if (mIconResId != iconResourceId) {
1734 mIconResId = iconResourceId;
1742 return mIconResId;
[all...]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
H A DMenuItemImpl.java80 private int mIconResId = NO_ICON; field in class:MenuItemImpl
504 if (mIconResId != NO_ICON) {
505 Drawable icon = AppCompatResources.getDrawable(mMenu.getContext(), mIconResId);
506 mIconResId = NO_ICON;
516 mIconResId = NO_ICON;
527 mIconResId = iconResId;
H A DActionMenuItem.java59 private int mIconResId = NO_ICON; field in class:ActionMenuItem
221 mIconResId = NO_ICON;
229 mIconResId = iconRes;
/frameworks/base/core/java/android/preference/
H A DPreference.java121 * mIconResId is overridden by mIcon, if mIcon is specified.
123 private int mIconResId; field in class:Preference
245 mIconResId = a.getResourceId(attr, 0);
636 if (mIconResId != 0 || mIcon != null) {
638 mIcon = getContext().getDrawable(mIconResId);
777 if (mIconResId != iconResId) {
778 mIconResId = iconResId;
790 if (mIcon == null && mIconResId != 0) {
791 mIcon = getContext().getDrawable(mIconResId);
/frameworks/support/preference/src/main/java/androidx/preference/
H A DPreference.java129 * mIconResId is overridden by mIcon, if mIcon is specified.
131 private int mIconResId; field in class:Preference
267 mIconResId = TypedArrayUtils.getResourceId(a, R.styleable.Preference_icon,
595 if (mIconResId != 0 || mIcon != null) {
597 mIcon = ContextCompat.getDrawable(getContext(), mIconResId);
739 mIconResId = 0;
752 mIconResId = iconResId;
762 if (mIcon == null && mIconResId != 0) {
763 mIcon = ContextCompat.getDrawable(mContext, mIconResId);
/frameworks/support/media/src/main/java/androidx/media/
H A DMediaSession2.java1315 private int mIconResId; field in class:MediaSession2.CommandButton
1323 mIconResId = iconResId;
1346 return mIconResId;
1385 bundle.putInt(KEY_ICON_RES_ID, mIconResId);
1420 private int mIconResId; field in class:MediaSession2.CommandButton.Builder
1446 mIconResId = resId;
1488 return new CommandButton(mCommand, mIconResId, mDisplayName, mExtras, mEnabled);
/frameworks/av/packages/MediaComponents/src/com/android/media/
H A DMediaSession2Impl.java1328 private int mIconResId; field in class:MediaSession2Impl.CommandButtonImpl
1336 mIconResId = iconResId;
1351 return mIconResId;
1372 bundle.putInt(KEY_ICON_RES_ID, mIconResId);
1403 private int mIconResId; field in class:MediaSession2Impl.CommandButtonImpl.BuilderImpl
1421 mIconResId = resId;
1450 && (mIconResId == 0 || TextUtils.isEmpty(mDisplayName))) {
1454 return new CommandButtonImpl(mCommand, mIconResId, mDisplayName, mExtras, mEnabled)
/frameworks/support/jetifier/jetifier/processor/src/test/resources/changeDetectionTest/
H A DtestPreference.classPreference.java package android.support.v7.preference public android.support.v7.preference ...
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DGlobalActionsDialog.java949 private final int mIconResId; field in class:GlobalActionsDialog.SinglePressAction
955 mIconResId = iconResId;
962 mIconResId = iconResId;
1004 } else if (mIconResId != 0) {
1005 icon.setImageDrawable(context.getDrawable(mIconResId));

Completed in 252 milliseconds