Home
last modified time | relevance | path

Searched refs:drawableId (Results 1 – 15 of 15) 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.aidl589 ParcelableResource getDrawable(String drawableId, String drawableStyle, String drawableSource); in getDrawable() argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceManagementResourcesProvider.java99 String drawableId = drawables.get(i).getDrawableId(); in updateDrawables() local
104 Objects.requireNonNull(drawableId, "drawableId must be provided."); in updateDrawables()
110 updated |= updateDrawable(drawableId, drawableStyle, resource); in updateDrawables()
113 drawableId, drawableSource, drawableStyle, resource); in updateDrawables()
126 String drawableId, String drawableStyle, ParcelableResource updatableResource) { in updateDrawable() argument
128 if (!mUpdatedDrawablesForStyle.containsKey(drawableId)) { in updateDrawable()
129 mUpdatedDrawablesForStyle.put(drawableId, new HashMap<>()); in updateDrawable()
131 ParcelableResource current = mUpdatedDrawablesForStyle.get(drawableId).get( in updateDrawable()
136 mUpdatedDrawablesForStyle.get(drawableId).put(drawableStyle, updatableResource); in updateDrawable()
142 String drawableId, String drawableSource, String drawableStyle, in updateDrawableForSource() argument
[all …]
DDevicePolicyManagerService.java22582 String drawableId, String drawableStyle, String drawableSource) {
22585 drawableId, drawableStyle, drawableSource));
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/widget/illustration/
DIllustrationTest.kt42 private val drawableId = SemanticsPropertyKey<Int>("DrawableResId") constant
43 private var SemanticsPropertyReceiver.drawableId by drawableId variable in com.android.settingslib.spa.widget.illustration.IllustrationTest
52 modifier = Modifier.semantics { drawableId = resId } in image_displayed()
57 SemanticsMatcher.expectValue(drawableId, id) in image_displayed()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/
DRemoteViewsFactory.kt78 val drawableId = in <lambda>() constant
83 android.R.id.content, SET_BACKGROUND_RESOURCE_METHOD_NAME, drawableId) in <lambda>()
133 val drawableId = in <lambda>() constant
136 android.R.id.content, SET_BACKGROUND_RESOURCE_METHOD_NAME, drawableId) in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/
DNotificationExpandButton.java130 int drawableId; in updateExpandedState() local
133 drawableId = R.drawable.ic_collapse_notification; in updateExpandedState()
136 drawableId = R.drawable.ic_expand_notification; in updateExpandedState()
140 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.kt127 private fun getTestsDrawable(@DrawableRes drawableId: Int): Drawable? { in <lambda>()
129 .getDrawable(drawableId) in <lambda>()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DClockDrawableWrapper.java168 int drawableId = metadata.getInt(ROUND_ICON_METADATA_KEY, 0); in forExtras() local
169 if (drawableId == 0) { in forExtras()
173 Drawable drawable = drawableProvider.apply(drawableId).mutate(); in forExtras()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationSnooze.java338 int drawableId = show ? com.android.internal.R.drawable.ic_collapse_notification in showSnoozeOptions() local
340 mExpandButton.setImageResource(drawableId); in showSnoozeOptions()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DScreenDecorationsTest.java1493 private Drawable getTestsDrawable(@DrawableRes int drawableId) { in getTestsDrawable() argument
1496 .getDrawable(drawableId); in getTestsDrawable()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2058 private Drawable getDrawableForDensity(int drawableId, int density) { in getDrawableForDensity() argument
2062 return mContext.getResources().getDrawableForDensity(drawableId, density); in getDrawableForDensity()
2065 private Drawable getProfileIconForDensity(UserHandle user, int drawableId, int density) { in getProfileIconForDensity() argument
2067 return getDrawableForDensity(drawableId, density); in getProfileIconForDensity()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...