Searched refs:drawableId (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | SuggestionsAdapter.java | 548 private Drawable getDrawableFromResourceValue(String drawableId) { in getDrawableFromResourceValue() argument 549 if (drawableId == null || drawableId.length() == 0 || "0".equals(drawableId)) { in getDrawableFromResourceValue() 554 int resourceId = Integer.parseInt(drawableId); in getDrawableFromResourceValue() 570 Drawable drawable = checkIconCache(drawableId); in getDrawableFromResourceValue() 574 Uri uri = Uri.parse(drawableId); in getDrawableFromResourceValue() 576 storeInIconCache(drawableId, drawable); in getDrawableFromResourceValue() 580 Log.w(LOG_TAG, "Icon resource not found: " + drawableId); in getDrawableFromResourceValue()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SuggestionsAdapter.java | 482 private Drawable getDrawableFromResourceValue(String drawableId) { in getDrawableFromResourceValue() argument 483 if (drawableId == null || drawableId.length() == 0 || "0".equals(drawableId)) { in getDrawableFromResourceValue() 488 int resourceId = Integer.parseInt(drawableId); in getDrawableFromResourceValue() 504 Drawable drawable = checkIconCache(drawableId); in getDrawableFromResourceValue() 508 Uri uri = Uri.parse(drawableId); in getDrawableFromResourceValue() 510 storeInIconCache(drawableId, drawable); in getDrawableFromResourceValue() 514 Log.w(LOG_TAG, "Icon resource not found: " + drawableId); in getDrawableFromResourceValue()
|
D | AppCompatTextHelper.java | 176 AppCompatDrawableManager drawableManager, int drawableId) { in createTintInfo() argument 177 final ColorStateList tintList = drawableManager.getTintList(context, drawableId); in createTintInfo()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | IconUtils.java | 266 public static Drawable applyTintColor(Context context, int drawableId, int tintColorId) { in applyTintColor() argument 267 final Drawable icon = context.getDrawable(drawableId); in applyTintColor() 273 public static Drawable applyTintAttr(Context context, int drawableId, int tintAttrId) { in applyTintAttr() argument 276 return applyTintColor(context, drawableId, outValue.resourceId); in applyTintAttr()
|
/frameworks/base/core/java/android/view/ |
D | NotificationHeaderView.java | 293 int drawableId; in updateExpandButton() local 295 drawableId = com.android.internal.R.drawable.ic_collapse_notification; in updateExpandButton() 297 drawableId = com.android.internal.R.drawable.ic_expand_notification; in updateExpandButton() 299 mExpandButton.setImageDrawable(getContext().getDrawable(drawableId)); in updateExpandButton()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBottomAreaView.java | 309 int drawableId; in updateLeftAffordanceIcon() local 313 drawableId = R.drawable.ic_mic_26dp; in updateLeftAffordanceIcon() 317 drawableId = R.drawable.ic_phone_24dp; in updateLeftAffordanceIcon() 321 mLeftAffordanceView.setImageDrawable(mContext.getDrawable(drawableId)); in updateLeftAffordanceIcon()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 1211 private Drawable getDrawableForDensity(int drawableId, int density) { in getDrawableForDensity() argument 1215 return Resources.getSystem().getDrawableForDensity(drawableId, density); in getDrawableForDensity() 1218 private Drawable getManagedProfileIconForDensity(UserHandle user, int drawableId, int density) { in getManagedProfileIconForDensity() argument 1220 return getDrawableForDensity(drawableId, density); in getManagedProfileIconForDensity()
|