Home
last modified time | relevance | path

Searched refs:TYPE_RESOURCE (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java95 public static final int TYPE_RESOURCE = 2; field in Icon
121 @IntDef({TYPE_BITMAP, TYPE_RESOURCE, TYPE_DATA, TYPE_URI, TYPE_ADAPTIVE_BITMAP,
257 if (mType != TYPE_RESOURCE) { in getResources()
272 if (mType != TYPE_RESOURCE) { in getResPackage()
287 if (mType != TYPE_RESOURCE) { in getResId()
322 case TYPE_RESOURCE: return "RESOURCE"; in typeToString()
453 case TYPE_RESOURCE: in loadDrawableInner()
554 if (mType == TYPE_RESOURCE) { in loadDrawableAsUser()
664 case TYPE_RESOURCE: in writeToStream()
701 case TYPE_RESOURCE: in createFromStream()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/data/repository/
DCustomTileRepository.kt223 if (type != Icon.TYPE_RESOURCE || icon2.type != Icon.TYPE_RESOURCE) { in restoreForTheUserIfNeeded()
/frameworks/base/core/java/com/android/internal/widget/
DLocalImageResolver.java113 case Icon.TYPE_RESOURCE: in resolveImage()
287 if (icon.getType() != Icon.TYPE_RESOURCE) {
DCachingIconView.java221 if (icon != null && icon.getType() == Icon.TYPE_RESOURCE) { in testAndSetCache()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DQuickAccessWalletTile.java22 import static android.graphics.drawable.Icon.TYPE_RESOURCE;
250 case TYPE_RESOURCE: in onWalletCardsRetrieved()
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java51 if (icon.getType() == Icon.TYPE_RESOURCE in StatusBarIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconsViewData.kt149 Icon.TYPE_RESOURCE -> { in hashCode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/graphics/
DImageLoader.kt330 Icon.TYPE_RESOURCE -> { in <lambda>()
514 if (icon.type != Icon.TYPE_RESOURCE) { in <lambda>()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java207 } else if (iconType == Icon.TYPE_RESOURCE) { in loadIcon()
239 case Icon.TYPE_RESOURCE: in writeIcon()
/frameworks/base/core/proto/android/server/
Dnotificationhistory.proto69 TYPE_RESOURCE = 2; enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java227 if (icon1.getType() != android.graphics.drawable.Icon.TYPE_RESOURCE in iconEquals()
228 || icon2.getType() != android.graphics.drawable.Icon.TYPE_RESOURCE) { in iconEquals()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java299 private static final int TYPE_RESOURCE = 4; field in PackageManager.Property
337 this(name, isResource ? TYPE_RESOURCE : TYPE_INTEGER, packageName, className); in Property()
426 return mType == TYPE_RESOURCE ? mIntegerValue : 0; in getResourceId()
433 return mType == TYPE_RESOURCE; in isResourceId()
466 } else if (mType == TYPE_RESOURCE) { in toBundle()
491 } else if (mType == TYPE_RESOURCE) { in writeToParcel()
512 } else if (type == TYPE_RESOURCE) {
DShortcutInfo.java1031 case Icon.TYPE_RESOURCE: in validateIcon()
DLauncherApps.java1741 case Icon.TYPE_RESOURCE: { in getShortcutIconDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java395 case Icon.TYPE_RESOURCE: in equalIcons()
/frameworks/base/core/java/android/app/
DActivityManager.java2218 if (mIcon != null && mIcon.getType() == Icon.TYPE_RESOURCE) { in getIconResourcePackage()
2227 if (mIcon != null && mIcon.getType() == Icon.TYPE_RESOURCE) { in getIconResource()
2402 if (mIcon != null && mIcon.getType() == Icon.TYPE_RESOURCE) { in saveToXml()
DNotification.java1861 if (mIcon.getType() == Icon.TYPE_RESOURCE) { in Action()
1892 if (icon != null && icon.getType() == Icon.TYPE_RESOURCE) { in Action()
2696 if (mSmallIcon.getType() == Icon.TYPE_RESOURCE) { in readFromParcelImpl()
4733 if (icon != null && icon.getType() == Icon.TYPE_RESOURCE) { in setSmallIcon()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java151 case Icon.TYPE_RESOURCE: in isGrayscaleIcon()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java1350 return action != null && action.getIcon().getType() == Icon.TYPE_RESOURCE; in shouldRewriteIcon()
/frameworks/base/core/java/android/provider/
DCalendarContract.java913 public static final int TYPE_RESOURCE = 3; field
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1394 if (smallIcon != null && smallIcon.getType() == Icon.TYPE_RESOURCE) { in createLegacyIconExtras()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessor.kt1004 if (action.getIcon()?.getType() == Icon.TYPE_RESOURCE) { in <lambda>()
DLegacyMediaDataManagerImpl.kt1058 if (action.getIcon()?.getType() == Icon.TYPE_RESOURCE) { in createActionsFromNotification()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1541 case Icon.TYPE_RESOURCE: { in saveIconAndFixUpShortcutLocked()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12