/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 | 67 public static Drawable applyTintColor(Context context, int drawableId, int tintColorId) { in applyTintColor() argument 68 final Drawable icon = context.getDrawable(drawableId); in applyTintColor() 78 public static Drawable applyTintAttr(Context context, int drawableId, int tintAttrId) { in applyTintAttr() argument 81 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/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | ButtonProvider.java | 71 private View getButtonForDrawable(@DrawableRes int drawableId, @TaskbarButton int buttonType) { in getButtonForDrawable() argument 73 buttonView.setImageResource(drawableId); in getButtonForDrawable()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/matchers/ |
D | DrawableMatcher.java | 36 DrawableMatcher(@NonNull Context context, @DrawableRes int drawableId) { in DrawableMatcher() argument 37 this(context.getDrawable(drawableId)); in DrawableMatcher()
|
D | ViewMatchers.java | 38 @NonNull Context context, @DrawableRes int drawableId) { in withDrawable() argument 39 return new DrawableMatcher(context, drawableId); in withDrawable()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ItemInfoArrayAdapter.java | 85 @DrawableRes int drawableId) { in ItemInfo() argument 88 mDrawableId = drawableId; in ItemInfo()
|
D | MagnificationModePreferenceController.java | 295 @DrawableRes int drawableId, @MagnificationMode int magnificationMode) { in MagnificationModeInfo() argument 296 super(title, summary, drawableId); in MagnificationModeInfo()
|
/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/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | TopLevelPickerActivity.java | 1075 int drawableId = isSelected ? R.drawable.center_blue : R.drawable.center_grey; in setCenterWallpaperPositionButtonSelected() local 1076 ButtonDrawableSetterCompat.setDrawableToButtonStart(button, getDrawable(drawableId)); in setCenterWallpaperPositionButtonSelected() 1081 int drawableId = isSelected ? R.drawable.center_crop_blue : R.drawable.center_crop_grey; in setCenterCropWallpaperPositionButtonSelected() local 1082 ButtonDrawableSetterCompat.setDrawableToButtonStart(button, getDrawable(drawableId)); in setCenterCropWallpaperPositionButtonSelected() 1087 int drawableId = isSelected ? R.drawable.stretch_blue : R.drawable.stretch_grey; in setStretchWallpaperPositionButtonSelected() local 1088 ButtonDrawableSetterCompat.setDrawableToButtonStart(button, getDrawable(drawableId)); in setStretchWallpaperPositionButtonSelected()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | GrantPermissionsViewHandlerImpl.kt | 258 private fun getDrawableFromId(drawableId: Int): Drawable { in <lambda>() 259 val source = ImageDecoder.createSource(mActivity.resources, drawableId) in <lambda>()
|
/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()
|