Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/admin/
DDevicePolicyResourcesManager.java159 @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 …]
DDevicePolicyDrawableResource.java62 @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,
DIDevicePolicyManager.aidl556 ParcelableResource getDrawable(String drawableId, String drawableStyle, String drawableSource); in getDrawable() argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceManagementResourcesProvider.java98 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 …]
DBaseIDevicePolicyManager.java185 String drawableId, String drawableStyle, String drawableSource) { in getDrawable() argument
DDevicePolicyManagerService.java18673 String drawableId, String drawableStyle, String drawableSource) {
18676 drawableId, drawableStyle, drawableSource));
/frameworks/base/core/java/com/android/internal/widget/
DNotificationExpandButton.java125 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/
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/base/packages/SystemUI/tests/src/com/android/systemui/decor/
DRoundedCornerResDelegateTest.kt148 private fun getTestsDrawable(@DrawableRes drawableId: Int): Drawable? { in <lambda>()
150 .getDrawable(drawableId) in <lambda>()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DClockDrawableWrapper.java166 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/
DNotificationSnooze.java290 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/
DScreenDecorationsTest.java1391 private Drawable getTestsDrawable(@DrawableRes int drawableId) { in getTestsDrawable() argument
1394 .getDrawable(drawableId); in getTestsDrawable()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1989 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()