/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/ |
D | ActionButtonsPreference.java | 126 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/ |
D | SearchIndexableResource.java | 52 public SearchIndexableResource(int rank, int xmlResId, String className, int iconResId) { in SearchIndexableResource() argument 57 this.iconResId = iconResId; in SearchIndexableResource()
|
D | SearchIndexableData.java | 97 public int iconResId; field in SearchIndexableData 170 sb.append(iconResId); in toString()
|
/frameworks/base/core/java/com/android/internal/globalactions/ |
D | SinglePressAction.java | 35 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/ |
D | StatusHints.java | 43 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/ |
D | RotationContextButton.java | 37 public RotationContextButton(@IdRes int buttonResId, @DrawableRes int iconResId) { in RotationContextButton() argument 38 super(buttonResId, iconResId); in RotationContextButton()
|
D | ContextualButton.java | 45 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/ |
D | Tile.java | 282 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/ |
D | AccessPointPreference.java | 109 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/ |
D | ShortcutParser.java | 381 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()
|
D | ShortcutPackage.java | 1671 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/ |
D | PackageInstalledNotificationUtils.java | 146 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/ |
D | ShortcutParser.java | 109 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/ |
D | InputMethodPrivilegedOperations.java | 188 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/ |
D | KeyButtonDrawable.java | 457 @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/ |
D | NotificationMenuRow.java | 680 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/ |
D | AssistManager.java | 404 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/ |
D | BluetoothTile.java | 388 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()
|
D | CastTile.java | 337 item.iconResId = R.drawable.ic_cast_connected; in updateItems() 357 item.iconResId = R.drawable.ic_cast; in updateItems()
|
D | WifiTile.java | 437 item.iconResId = mWifiController.getIcon(ap); in updateItems()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDetailItems.java | 192 iv.setImageResource(item.iconResId); in getView() 262 public int iconResId; field in QSDetailItems.Item
|
/frameworks/base/core/java/android/preference/ |
D | Preference.java | 802 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/ |
D | GlobalActionsDialog.java | 500 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/ |
D | MenuItemImpl.java | 494 public MenuItem setIcon(int iconResId) { in setIcon() argument 496 mIconResId = iconResId; in setIcon()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 1596 public void showStatusIcon(@DrawableRes int iconResId) { in showStatusIcon() argument 1597 mStatusIcon = iconResId; in showStatusIcon() 1598 mPrivOps.updateStatusIcon(getPackageName(), iconResId); in showStatusIcon() local
|