Home
last modified time | relevance | path

Searched refs:iconResId (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/java/android/provider/
DSearchIndexableResource.java52 public SearchIndexableResource(int rank, int xmlResId, String className, int iconResId) { in SearchIndexableResource() argument
57 this.iconResId = iconResId; in SearchIndexableResource()
DSearchIndexableData.java97 public int iconResId; field in SearchIndexableData
170 sb.append(iconResId); in toString()
/frameworks/base/core/java/com/android/internal/globalactions/
DSinglePressAction.java35 protected SinglePressAction(int iconResId, int messageResId) { in SinglePressAction() argument
36 mIconResId = iconResId; in SinglePressAction()
42 protected SinglePressAction(int iconResId, Drawable icon, CharSequence message) { in SinglePressAction() argument
43 mIconResId = iconResId; in SinglePressAction()
/frameworks/base/telecomm/java/android/telecom/
DStatusHints.java43 public StatusHints(ComponentName packageName, CharSequence label, int iconResId, in StatusHints() argument
45 this(label, iconResId == 0 ? null : Icon.createWithResource(packageName.getPackageName(), in StatusHints()
46 iconResId), extras); in StatusHints()
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/
DActionBarActivity.java56 private ImageButton createButton(Context context, @DrawableRes int iconResId) { in createButton() argument
59 button.setImageDrawable(context.getDrawable(iconResId)); in createButton()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutParser.java299 final int iconResId = sa.getResourceId(R.styleable.Shortcut_icon, 0); in parseShortcutAttributes() local
324 iconResId, in parseShortcutAttributes()
334 int rank, int iconResId, boolean enabled) { in createShortcutFromManifest() argument
339 | ((iconResId != 0) ? ShortcutInfo.FLAG_HAS_ICON_RES : 0); in createShortcutFromManifest()
367 iconResId, in createShortcutFromManifest()
DShortcutPackage.java1525 int iconResId; in parseShortcut() local
1550 iconResId = (int) ShortcutService.parseLongAttribute(parser, ATTR_ICON_RES_ID); in parseShortcut()
1622 iconResId, iconResName, bitmapPath, disabledReason); in parseShortcut()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPointPreference.java109 int iconResId, boolean forSavedNetworks) { in AccessPointPreference() argument
110 this(accessPoint, context, cache, iconResId, forSavedNetworks, in AccessPointPreference()
116 int iconResId, boolean forSavedNetworks, StateListDrawable frictionSld, in AccessPointPreference() argument
126 mDefaultIconResId = iconResId; in AccessPointPreference()
/frameworks/support/car/src/main/java/androidx/car/widget/
DTextListItem.java603 public void setPrimaryActionIcon(@DrawableRes int iconResId, boolean useLargeIcon) { in setPrimaryActionIcon() argument
604 setPrimaryActionIcon(mContext.getDrawable(iconResId), useLargeIcon); in setPrimaryActionIcon()
687 public void setSupplementalIcon(int iconResId, boolean showDivider) { in setSupplementalIcon() argument
688 setSupplementalIcon(mContext.getDrawable(iconResId), showDivider, null); in setSupplementalIcon()
710 public void setSupplementalIcon(int iconResId, boolean showDivider, in setSupplementalIcon() argument
712 setSupplementalIcon(mContext.getDrawable(iconResId), showDivider, listener); in setSupplementalIcon()
DSeekbarListItem.java464 public void setPrimaryActionIcon(@DrawableRes int iconResId) { in setPrimaryActionIcon() argument
465 setPrimaryActionIcon(mContext.getDrawable(iconResId)); in setPrimaryActionIcon()
503 public void setSupplementalIcon(@DrawableRes int iconResId, in setSupplementalIcon() argument
505 setSupplementalIconInfo(mContext.getDrawable(iconResId), showSupplementalIconDivider); in setSupplementalIcon()
DActionBar.java221 private ImageButton createIconButton(Context context, @DrawableRes int iconResId) { in createIconButton() argument
223 Drawable icon = context.getDrawable(iconResId); in createIconButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutParser.java109 final int iconResId = sa.getResourceId(R.styleable.Shortcut_icon, 0); in parseShortcut() local
113 c.icon = Icon.createWithResource(mPkg, iconResId); in parseShortcut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistManager.java284 int iconResId = metaData.getInt(name); in replaceDrawable() local
285 if (iconResId != 0) { in replaceDrawable()
288 v.setImageDrawable(res.getDrawable(iconResId)); in replaceDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBluetoothTile.java385 item.iconResId = R.drawable.ic_qs_bluetooth_on; in updateItems()
390 item.iconResId = R.drawable.ic_qs_bluetooth_connected; in updateItems()
404 item.iconResId = R.drawable.ic_qs_bluetooth_connecting; in updateItems()
DCastTile.java272 item.iconResId = R.drawable.ic_qs_cast_on; in updateItems()
292 item.iconResId = R.drawable.ic_qs_cast_off; in updateItems()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailItems.java191 iv.setImageResource(item.iconResId); in getView()
261 public int iconResId; field in QSDetailItems.Item
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMenuRow.java663 public NotificationMenuItem(Context context, String s, GutsContent content, int iconResId) {
667 if (iconResId >= 0) {
670 Drawable icon = context.getResources().getDrawable(iconResId);
/frameworks/base/core/java/android/preference/
DPreference.java776 public void setIcon(@DrawableRes int iconResId) { in setIcon() argument
777 if (mIconResId != iconResId) { in setIcon()
778 mIconResId = iconResId; in setIcon()
779 setIcon(mContext.getDrawable(iconResId)); in setIcon()
/frameworks/support/jetifier/jetifier/processor/src/test/resources/changeDetectionTest/
DtestPreference.classPreference.java package android.support.v7.preference public android.support.v7.preference ...
/frameworks/support/preference/src/main/java/androidx/preference/
DPreference.java750 public void setIcon(int iconResId) { in setIcon() argument
751 setIcon(ContextCompat.getDrawable(mContext, iconResId)); in setIcon()
752 mIconResId = iconResId; in setIcon()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
DMenuItemImpl.java525 public MenuItem setIcon(int iconResId) { in setIcon() argument
527 mIconResId = iconResId; in setIcon()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuItemImpl.java491 public MenuItem setIcon(int iconResId) { in setIcon() argument
493 mIconResId = iconResId; in setIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java954 protected SinglePressAction(int iconResId, int messageResId) {
955 mIconResId = iconResId;
961 protected SinglePressAction(int iconResId, Drawable icon, CharSequence message) {
962 mIconResId = iconResId;
/frameworks/support/media/src/main/java/androidx/media/
DMediaSession2.java1320 private CommandButton(@Nullable SessionCommand2 command, int iconResId, in CommandButton() argument
1323 mIconResId = iconResId; in CommandButton()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java1516 public void showStatusIcon(@DrawableRes int iconResId) { in showStatusIcon() argument
1517 mStatusIcon = iconResId; in showStatusIcon()
1518 mImm.showStatusIconInternal(mToken, getPackageName(), iconResId); in showStatusIcon()

12