Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/
DActionButtonsPreference.java126 public ActionButtonsPreference setButton1Icon(@DrawableRes int iconResId) { in setButton1Icon() argument
127 if (iconResId == 0) { in setButton1Icon()
133 icon = getContext().getDrawable(iconResId); in setButton1Icon()
137 Log.e(TAG, "Resource does not exist: " + iconResId); in setButton1Icon()
191 public ActionButtonsPreference setButton2Icon(@DrawableRes int iconResId) { in setButton2Icon() argument
192 if (iconResId == 0) { in setButton2Icon()
198 icon = getContext().getDrawable(iconResId); in setButton2Icon()
202 Log.e(TAG, "Resource does not exist: " + iconResId); in setButton2Icon()
256 public ActionButtonsPreference setButton3Icon(@DrawableRes int iconResId) { in setButton3Icon() argument
257 if (iconResId == 0) { in setButton3Icon()
[all …]
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DRotationContextButton.java37 public RotationContextButton(@IdRes int buttonResId, @DrawableRes int iconResId) { in RotationContextButton() argument
38 super(buttonResId, iconResId); in RotationContextButton()
DContextualButton.java45 public ContextualButton(@IdRes int buttonResId, @DrawableRes int iconResId) { in ContextualButton() argument
47 mIconResId = iconResId; in ContextualButton()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTile.java282 int iconResId = mMetaData.getInt(META_DATA_PREFERENCE_ICON); in getIcon() local
284 if (iconResId == 0) { in getIcon()
289 iconResId = activityInfo.icon; in getIcon()
292 if (iconResId != 0) { in getIcon()
293 final Icon icon = Icon.createWithResource(activityInfo.packageName, iconResId); in getIcon()
/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/base/services/core/java/com/android/server/pm/
DShortcutParser.java381 final int iconResId = sa.getResourceId(R.styleable.Shortcut_icon, 0); in parseShortcutAttributes() local
406 iconResId, in parseShortcutAttributes()
416 int rank, int iconResId, boolean enabled) { in createShortcutFromManifest() argument
421 | ((iconResId != 0) ? ShortcutInfo.FLAG_HAS_ICON_RES : 0); in createShortcutFromManifest()
449 iconResId, in createShortcutFromManifest()
DShortcutPackage.java1671 int iconResId; in parseShortcut() local
1698 iconResId = (int) ShortcutService.parseLongAttribute(parser, ATTR_ICON_RES_ID); in parseShortcut()
1776 iconResId, iconResName, bitmapPath, disabledReason, in parseShortcut()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstalledNotificationUtils.java146 int iconResId = appInfo.metaData.getInt( in getAppNotificationIcon() local
148 if (iconResId != 0) { in getAppNotificationIcon()
149 return Icon.createWithResource(appInfo.packageName, iconResId); in getAppNotificationIcon()
/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/core/java/com/android/internal/inputmethod/
DInputMethodPrivilegedOperations.java188 public void updateStatusIcon(String packageName, @DrawableRes int iconResId) { in updateStatusIcon() argument
194 ops.updateStatusIcon(packageName, iconResId); in updateStatusIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonDrawable.java457 @DrawableRes int iconResId, boolean hasShadow, Color ovalBackgroundColor) { in create() argument
461 iconResId, hasShadow, ovalBackgroundColor); in create()
469 @ColorInt int darkColor, @DrawableRes int iconResId, boolean hasShadow, in create() argument
473 Drawable d = context.getDrawable(iconResId); in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java680 int iconResId = isCurrentlySilent in createInfoItem() local
683 return new NotificationMenuItem(context, infoDescription, infoContent, iconResId); in createInfoItem()
785 int iconResId) { in NotificationMenuItem() argument
789 if (iconResId >= 0) { in NotificationMenuItem()
792 Drawable icon = context.getResources().getDrawable(iconResId); in NotificationMenuItem()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistManager.java404 int iconResId = metaData.getInt(name); in replaceDrawable() local
405 if (iconResId != 0) { in replaceDrawable()
408 v.setImageDrawable(res.getDrawable(iconResId)); in replaceDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBluetoothTile.java388 item.iconResId = com.android.internal.R.drawable.ic_qs_bluetooth; in updateItems()
393 item.iconResId = R.drawable.ic_bluetooth_connected; in updateItems()
407 item.iconResId = R.drawable.ic_qs_bluetooth_connecting; in updateItems()
DCastTile.java337 item.iconResId = R.drawable.ic_cast_connected; in updateItems()
357 item.iconResId = R.drawable.ic_cast; in updateItems()
DWifiTile.java437 item.iconResId = mWifiController.getIcon(ap); in updateItems()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailItems.java192 iv.setImageResource(item.iconResId); in getView()
262 public int iconResId; field in QSDetailItems.Item
/frameworks/base/core/java/android/preference/
DPreference.java802 public void setIcon(@DrawableRes int iconResId) { in setIcon() argument
803 if (mIconResId != iconResId) { in setIcon()
804 mIconResId = iconResId; in setIcon()
805 setIcon(mContext.getDrawable(iconResId)); in setIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java500 EmergencyAction(int iconResId, int messageResId) { in EmergencyAction() argument
501 super(iconResId, messageResId); in EmergencyAction()
1102 protected SinglePressAction(int iconResId, int messageResId) {
1103 mIconResId = iconResId;
1109 protected SinglePressAction(int iconResId, Drawable icon, CharSequence message) {
1110 mIconResId = iconResId;
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuItemImpl.java494 public MenuItem setIcon(int iconResId) { in setIcon() argument
496 mIconResId = iconResId; in setIcon()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java1596 public void showStatusIcon(@DrawableRes int iconResId) { in showStatusIcon() argument
1597 mStatusIcon = iconResId; in showStatusIcon()
1598 mPrivOps.updateStatusIcon(getPackageName(), iconResId); in showStatusIcon() local

12