Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java83 public static final int TYPE_RESOURCE = 2; field in Icon
109 @IntDef({TYPE_BITMAP, TYPE_RESOURCE, TYPE_DATA, TYPE_URI, TYPE_ADAPTIVE_BITMAP,
238 if (mType != TYPE_RESOURCE) { in getResources()
253 if (mType != TYPE_RESOURCE) { in getResPackage()
268 if (mType != TYPE_RESOURCE) { in getResId()
303 case TYPE_RESOURCE: return "RESOURCE"; in typeToString()
373 case TYPE_RESOURCE: in loadDrawableInner()
460 if (mType == TYPE_RESOURCE) { in loadDrawableAsUser()
530 case TYPE_RESOURCE: in writeToStream()
567 case TYPE_RESOURCE: in createFromStream()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DLocalImageResolver.java113 case Icon.TYPE_RESOURCE: in resolveImage()
284 if (icon.getType() != Icon.TYPE_RESOURCE) {
DCachingIconView.java221 if (icon != null && icon.getType() == Icon.TYPE_RESOURCE) { in testAndSetCache()
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java36 if (icon.getType() == Icon.TYPE_RESOURCE in StatusBarIcon()
/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.java219 if (icon1.getType() != android.graphics.drawable.Icon.TYPE_RESOURCE in iconEquals()
220 || icon2.getType() != android.graphics.drawable.Icon.TYPE_RESOURCE) { in iconEquals()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java177 private static final int TYPE_RESOURCE = 4; field in PackageManager.Property
215 this(name, isResource ? TYPE_RESOURCE : TYPE_INTEGER, packageName, className); in Property()
304 return mType == TYPE_RESOURCE ? mIntegerValue : 0; in getResourceId()
311 return mType == TYPE_RESOURCE; in isResourceId()
344 } else if (mType == TYPE_RESOURCE) { in toBundle()
369 } else if (mType == TYPE_RESOURCE) { in writeToParcel()
390 } else if (type == TYPE_RESOURCE) {
DLauncherApps.java1419 case Icon.TYPE_RESOURCE: { in getShortcutIconDrawable()
DShortcutInfo.java1030 case Icon.TYPE_RESOURCE: in validateIcon()
/frameworks/base/core/java/android/app/
DActivityManager.java1715 if (mIcon != null && mIcon.getType() == Icon.TYPE_RESOURCE) { in getIconResourcePackage()
1724 if (mIcon != null && mIcon.getType() == Icon.TYPE_RESOURCE) { in getIconResource()
1869 if (mIcon != null && mIcon.getType() == Icon.TYPE_RESOURCE) { in saveToXml()
DNotification.java1766 if (mIcon.getType() == Icon.TYPE_RESOURCE) { in Action()
1797 if (icon != null && icon.getType() == Icon.TYPE_RESOURCE) { in Action()
2571 if (mSmallIcon.getType() == Icon.TYPE_RESOURCE) { in readFromParcelImpl()
4205 if (icon != null && icon.getType() == Icon.TYPE_RESOURCE) { in setSmallIcon()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java149 case Icon.TYPE_RESOURCE: in isGrayscaleIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java329 case Icon.TYPE_RESOURCE: in equalIcons()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java1322 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.java1338 if (smallIcon != null && smallIcon.getType() == Icon.TYPE_RESOURCE) { in createLegacyIconExtras()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/pipeline/
DMediaDataManager.kt1007 if (action.getIcon()?.getType() == Icon.TYPE_RESOURCE) { in createActionsFromNotification()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1518 case Icon.TYPE_RESOURCE: { in saveIconAndFixUpShortcutLocked()
/frameworks/base/core/api/
Dcurrent.txt16077 field public static final int TYPE_RESOURCE = 2; // 0x2
33626 field public static final int TYPE_RESOURCE = 3; // 0x3
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt23331 field public static final int TYPE_RESOURCE = 3; // 0x3