/frameworks/base/core/java/com/android/internal/globalactions/ |
H A D | SinglePressAction.java | 30 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 D | ActionMenuItem.java | 50 private int mIconResId = NO_ICON; field in class:ActionMenuItem 187 mIconResId = NO_ICON; 194 mIconResId = iconRes;
|
H A D | MenuItemImpl.java | 70 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/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/ |
H A D | ActionMenuItem.java | 59 private int mIconResId = NO_ICON; field in class:ActionMenuItem 221 mIconResId = NO_ICON; 229 mIconResId = iconRes;
|
H A D | MenuItemImpl.java | 80 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;
|
/frameworks/av/packages/MediaComponents/src/com/android/media/ |
H A D | MediaSession2Impl.java | 1328 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/base/core/java/android/content/pm/ |
H A D | ShortcutInfo.java | 366 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/base/core/java/android/preference/ |
H A D | Preference.java | 121 * 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/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
H A D | GlobalActionsDialog.java | 949 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));
|
/frameworks/support/media/src/main/java/androidx/media/ |
H A D | MediaSession2.java | 1315 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/support/preference/src/main/java/androidx/preference/ |
H A D | Preference.java | 129 * 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/jetifier/jetifier/processor/src/test/resources/changeDetectionTest/ |
H A D | testPreference.class | Preference.java package android.support.v7.preference public android.support.v7.preference ... |