Searched refs:drawableId (Results 1 – 5 of 5) 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()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | TintManager.java | 261 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/ |
D | IconUtils.java | 268 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/ |
D | KeyguardBottomAreaView.java | 283 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()
|