Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java548 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/
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/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintManager.java261 private static boolean isInTintList(int drawableId) {
262 return arrayContains(TINT_COLOR_CONTROL_NORMAL, drawableId) ||
263 arrayContains(COLORFILTER_TINT_COLOR_CONTROL_NORMAL, drawableId) ||
264 arrayContains(COLORFILTER_COLOR_CONTROL_ACTIVATED, drawableId) ||
265 arrayContains(TINT_COLOR_CONTROL_STATE_LIST, drawableId) ||
266 arrayContains(COLORFILTER_COLOR_BACKGROUND_MULTIPLY, drawableId) ||
267 arrayContains(TINT_CHECKABLE_BUTTON_LIST, drawableId) ||
268 drawableId == R.drawable.abc_cab_background_top_material;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DIconUtils.java268 public static Drawable applyTintColor(Context context, int drawableId, int tintColorId) { in applyTintColor() argument
269 final Drawable icon = context.getDrawable(drawableId); in applyTintColor()
275 public static Drawable applyTintAttr(Context context, int drawableId, int tintAttrId) { in applyTintAttr() argument
278 return applyTintColor(context, drawableId, outValue.resourceId); in applyTintAttr()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBottomAreaView.java283 int drawableId; in updateLeftAffordanceIcon() local
287 drawableId = R.drawable.ic_mic_26dp; in updateLeftAffordanceIcon()
291 drawableId = R.drawable.ic_phone_24dp; in updateLeftAffordanceIcon()
295 mLeftAffordanceView.setImageDrawable(mContext.getDrawable(drawableId)); in updateLeftAffordanceIcon()