Home
last modified time | relevance | path

Searched refs:drawableId (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java523 private Drawable getDrawableFromResourceValue(String drawableId) { in getDrawableFromResourceValue() argument
524 if (drawableId == null || drawableId.length() == 0 || "0".equals(drawableId)) { in getDrawableFromResourceValue()
529 int resourceId = Integer.parseInt(drawableId); in getDrawableFromResourceValue()
545 Drawable drawable = checkIconCache(drawableId); in getDrawableFromResourceValue()
549 Uri uri = Uri.parse(drawableId); in getDrawableFromResourceValue()
551 storeInIconCache(drawableId, drawable); in getDrawableFromResourceValue()
555 Log.w(LOG_TAG, "Icon resource not found: " + drawableId); in getDrawableFromResourceValue()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintManager.java220 private static boolean isInTintList(int drawableId) { in isInTintList() argument
221 return arrayContains(TINT_COLOR_BACKGROUND_MULTIPLY, drawableId) || in isInTintList()
222 arrayContains(TINT_COLOR_CONTROL_NORMAL, drawableId) || in isInTintList()
223 arrayContains(TINT_COLOR_CONTROL_ACTIVATED, drawableId) || in isInTintList()
224 arrayContains(TINT_COLOR_CONTROL_STATE_LIST, drawableId) || in isInTintList()
225 arrayContains(CONTAINERS_WITH_TINT_CHILDREN, drawableId); in isInTintList()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java482 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()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DIconUtils.java269 public static Drawable applyTintColor(Context context, int drawableId, int tintColorId) { in applyTintColor() argument
270 final Drawable icon = context.getDrawable(drawableId); in applyTintColor()
276 public static Drawable applyTintAttr(Context context, int drawableId, int tintAttrId) { in applyTintAttr() argument
279 return applyTintColor(context, drawableId, outValue.resourceId); in applyTintAttr()