/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | CachingIconLoader.java | 55 public NowOrLater<Drawable> getIcon(String drawableId) { in getIcon() argument 56 if (DBG) Log.d(TAG, "getIcon(" + drawableId + ")"); in getIcon() 57 if (TextUtils.isEmpty(drawableId) || "0".equals(drawableId)) { in getIcon() 63 drawableState = queryCache(drawableId); in getIcon() 66 storeInIconCache(drawableId, newEntry); in getIcon() 76 NowOrLater<Drawable> drawable = mWrapped.getIcon(drawableId); in getIcon() 78 storeInIconCache(drawableId, newEntry); in getIcon() argument 82 public Uri getIconUri(String drawableId) { 83 return mWrapped.getIconUri(drawableId); 86 private synchronized NowOrLater<Drawable.ConstantState> queryCache(String drawableId) { [all …]
|
D | PackageIconLoader.java | 92 public NowOrLater<Drawable> getIcon(final String drawableId) { in getIcon() argument 93 if (DBG) Log.d(TAG, "getIcon(" + drawableId + ")"); in getIcon() 94 if (TextUtils.isEmpty(drawableId) || "0".equals(drawableId)) { in getIcon() 103 int resourceId = Integer.parseInt(drawableId); in getIcon() 109 Uri uri = Uri.parse(drawableId); in getIcon() 118 Log.w(TAG, "Icon resource not found: " + drawableId); in getIcon() 124 public Uri getIconUri(String drawableId) { in getIconUri() argument 125 if (TextUtils.isEmpty(drawableId) || "0".equals(drawableId)) { in getIconUri() 130 int resourceId = Integer.parseInt(drawableId); in getIconUri() 133 return Uri.parse(drawableId); in getIconUri()
|
D | AbstractSource.java | 68 public NowOrLater<Drawable> getIcon(String drawableId) { in getIcon() argument 69 return getIconLoader().getIcon(drawableId); in getIcon() 73 public Uri getIconUri(String drawableId) { in getIconUri() argument 74 return getIconLoader().getIconUri(drawableId); in getIconUri()
|
D | IconLoader.java | 49 NowOrLater<Drawable> getIcon(String drawableId); in getIcon() argument 54 Uri getIconUri(String drawableId); in getIconUri() argument
|
D | Source.java | 63 NowOrLater<Drawable> getIcon(String drawableId); in getIcon() argument 70 Uri getIconUri(String drawableId); in getIconUri() argument
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | MockIconLoader.java | 40 public NowOrLater<Drawable> getIcon(String drawableId) { in getIcon() argument 41 if (TextUtils.isEmpty(drawableId) || "0".equals(drawableId)) { in getIcon() 49 public Uri getIconUri(String drawableId) { in getIconUri() argument 50 if (TextUtils.isEmpty(drawableId) || "0".equals(drawableId)) { in getIconUri()
|
D | MockSource.java | 84 public NowOrLater<Drawable> getIcon(String drawableId) { in getIcon() argument 88 public Uri getIconUri(String drawableId) { in getIconUri() argument
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | IconUtils.java | 59 public static Drawable applyTintColor(Context context, int drawableId, int tintColorId) { in applyTintColor() argument 60 final Drawable icon = context.getDrawable(drawableId); in applyTintColor() 70 public static Drawable applyTintAttr(Context context, int drawableId, int tintAttrId) { in applyTintAttr() argument 73 return applyTintColor(context, drawableId, outValue.resourceId); in applyTintAttr()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | RadioOptions.java | 66 int drawableId = a.getResourceId(R.styleable.RadioOptions_selected_drawable, 0); in RadioOptions() local 67 if (drawableId > 0) { in RadioOptions() 69 .getDrawable(drawableId); in RadioOptions()
|
D | BottomBar.java | 105 int drawableId = ar.getResourceId(i, -1); in BottomBar() local 107 context.getResources().getDrawable(drawableId).getConstantState(); in BottomBar()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | TopLevelPickerActivity.java | 1044 int drawableId = isSelected ? R.drawable.center_blue : R.drawable.center_grey; in setCenterWallpaperPositionButtonSelected() local 1045 ButtonDrawableSetterCompat.setDrawableToButtonStart(button, getDrawable(drawableId)); in setCenterWallpaperPositionButtonSelected() 1050 int drawableId = isSelected ? R.drawable.center_crop_blue : R.drawable.center_crop_grey; in setCenterCropWallpaperPositionButtonSelected() local 1051 ButtonDrawableSetterCompat.setDrawableToButtonStart(button, getDrawable(drawableId)); in setCenterCropWallpaperPositionButtonSelected() 1056 int drawableId = isSelected ? R.drawable.stretch_blue : R.drawable.stretch_grey; in setStretchWallpaperPositionButtonSelected() local 1057 ButtonDrawableSetterCompat.setDrawableToButtonStart(button, getDrawable(drawableId)); in setStretchWallpaperPositionButtonSelected()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | PinPadView.java | 113 public void setEnterKeyIcon(@DrawableRes int drawableId) { in setEnterKeyIcon() argument 114 mEnterKey.setImageResource(drawableId); in setEnterKeyIcon()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListItemView.java | 1860 public void setDrawableResource(int drawableId) { in setDrawableResource() argument 1863 final Drawable drawable = ContextCompat.getDrawable(getContext(), drawableId); in setDrawableResource()
|