/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyResourcesManager.java | 159 @NonNull String drawableId, in getDrawable() 163 drawableId, drawableStyle, DevicePolicyResources.UNDEFINED, defaultDrawableLoader); in getDrawable() 191 @NonNull String drawableId, in getDrawable() 196 Objects.requireNonNull(drawableId, "drawableId can't be null"); in getDrawable() 201 if (drawableId.equals(DevicePolicyResources.UNDEFINED) in getDrawable() 212 drawableId, drawableStyle, drawableSource); in getDrawable() 253 @NonNull String drawableId, in getDrawableForDensity() 258 drawableId, in getDrawableForDensity() 287 @NonNull String drawableId, in getDrawableForDensity() 293 Objects.requireNonNull(drawableId, "drawableId can't be null"); in getDrawableForDensity() [all …]
|
D | DevicePolicyDrawableResource.java | 62 @NonNull String drawableId, in DevicePolicyDrawableResource() argument 66 this(drawableId, drawableStyle, drawableSource, resourceIdInCallingPackage, in DevicePolicyDrawableResource() 72 @NonNull String drawableId, in DevicePolicyDrawableResource() 78 Objects.requireNonNull(drawableId); in DevicePolicyDrawableResource() 83 this.mDrawableId = drawableId; in DevicePolicyDrawableResource() 107 @NonNull String drawableId, in DevicePolicyDrawableResource() argument 110 this(context, drawableId, drawableStyle, DevicePolicyResources.UNDEFINED, in DevicePolicyDrawableResource() 193 String drawableId = in.readString(); 200 drawableId, drawableStyle, drawableSource, resourceIdInCallingPackage,
|
D | IDevicePolicyManager.aidl | 556 ParcelableResource getDrawable(String drawableId, String drawableStyle, String drawableSource); in getDrawable() argument
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DeviceManagementResourcesProvider.java | 98 String drawableId = drawables.get(i).getDrawableId(); in updateDrawables() local 103 Objects.requireNonNull(drawableId, "drawableId must be provided."); in updateDrawables() 109 updated |= updateDrawable(drawableId, drawableStyle, resource); in updateDrawables() 112 drawableId, drawableSource, drawableStyle, resource); in updateDrawables() 125 String drawableId, String drawableStyle, ParcelableResource updatableResource) { in updateDrawable() argument 127 if (!mUpdatedDrawablesForStyle.containsKey(drawableId)) { in updateDrawable() 128 mUpdatedDrawablesForStyle.put(drawableId, new HashMap<>()); in updateDrawable() 130 ParcelableResource current = mUpdatedDrawablesForStyle.get(drawableId).get( in updateDrawable() 135 mUpdatedDrawablesForStyle.get(drawableId).put(drawableStyle, updatableResource); in updateDrawable() 141 String drawableId, String drawableSource, String drawableStyle, in updateDrawableForSource() argument [all …]
|
D | BaseIDevicePolicyManager.java | 185 String drawableId, String drawableStyle, String drawableSource) { in getDrawable() argument
|
D | DevicePolicyManagerService.java | 18673 String drawableId, String drawableStyle, String drawableSource) { 18676 drawableId, drawableStyle, drawableSource));
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationExpandButton.java | 125 int drawableId; in updateExpandedState() local 128 drawableId = R.drawable.ic_collapse_notification; in updateExpandedState() 131 drawableId = R.drawable.ic_expand_notification; in updateExpandedState() 135 mIconView.setImageDrawable(getContext().getDrawable(drawableId)); in updateExpandedState()
|
/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/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
D | RoundedCornerResDelegateTest.kt | 148 private fun getTestsDrawable(@DrawableRes drawableId: Int): Drawable? { in <lambda>() 150 .getDrawable(drawableId) in <lambda>()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | ClockDrawableWrapper.java | 166 int drawableId = metadata.getInt(ROUND_ICON_METADATA_KEY, 0); in forExtras() local 167 if (drawableId == 0) { in forExtras() 171 Drawable drawable = drawableProvider.apply(drawableId).mutate(); in forExtras()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationSnooze.java | 290 int drawableId = show ? com.android.internal.R.drawable.ic_collapse_notification in showSnoozeOptions() local 292 mExpandButton.setImageResource(drawableId); in showSnoozeOptions()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorationsTest.java | 1391 private Drawable getTestsDrawable(@DrawableRes int drawableId) { in getTestsDrawable() argument 1394 .getDrawable(drawableId); in getTestsDrawable()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 1989 private Drawable getDrawableForDensity(int drawableId, int density) { in getDrawableForDensity() argument 1993 return mContext.getResources().getDrawableForDensity(drawableId, density); in getDrawableForDensity() 1996 private Drawable getProfileIconForDensity(UserHandle user, int drawableId, int density) { in getProfileIconForDensity() argument 1998 return getDrawableForDensity(drawableId, density); in getProfileIconForDensity()
|