Home
last modified time | relevance | path

Searched refs:AnyRes (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/content/res/
DResourceId.java18 import android.annotation.AnyRes;
29 public static final @AnyRes int ID_NULL = 0;
38 public static boolean isValid(@AnyRes int id) { in isValid()
DAssetManager.java19 import android.annotation.AnyRes;
460 boolean getResourceValue(@AnyRes int resId, int densityDpi, @NonNull TypedValue outValue, in getResourceValue()
639 boolean getThemeValue(long theme, @AnyRes int resId, @NonNull TypedValue outValue, in getThemeValue()
668 @Nullable String getResourceName(@AnyRes int resId) { in getResourceName()
675 @Nullable String getResourcePackageName(@AnyRes int resId) { in getResourcePackageName()
682 @Nullable String getResourceTypeName(@AnyRes int resId) { in getResourceTypeName()
689 @Nullable String getResourceEntryName(@AnyRes int resId) { in getResourceEntryName()
696 @AnyRes int getResourceIdentifier(@NonNull String name, @Nullable String defType, in getResourceIdentifier()
1306 private static native int nativeGetResourceValue(long ptr, @AnyRes int resId, short density, in nativeGetResourceValue()
1308 private static native int nativeGetResourceBagValue(long ptr, @AnyRes int resId, int bagEntryId, in nativeGetResourceBagValue()
[all …]
DResources.java23 import android.annotation.AnyRes;
1329 public void getValue(@AnyRes int id, TypedValue outValue, boolean resolveRefs) in getValue()
1347 public void getValueForDensity(@AnyRes int id, int density, TypedValue outValue, in getValueForDensity()
1935 public static boolean resourceHasPackage(@AnyRes int resid) { in resourceHasPackage()
1953 public String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName()
1969 public String getResourcePackageName(@AnyRes int resid) throws NotFoundException { in getResourcePackageName()
1985 public String getResourceTypeName(@AnyRes int resid) throws NotFoundException { in getResourceTypeName()
2001 public String getResourceEntryName(@AnyRes int resid) throws NotFoundException { in getResourceEntryName()
2150 XmlResourceParser loadXmlResourceParser(@AnyRes int id, @NonNull String type) in loadXmlResourceParser()
DResourcesImpl.java20 import android.annotation.AnyRes;
210 void getValue(@AnyRes int id, TypedValue outValue, boolean resolveRefs) in getValue()
219 void getValueForDensity(@AnyRes int id, int density, TypedValue outValue, in getValueForDensity()
251 String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName()
259 String getResourcePackageName(@AnyRes int resid) throws NotFoundException { in getResourcePackageName()
267 String getResourceTypeName(@AnyRes int resid) throws NotFoundException { in getResourceTypeName()
275 String getResourceEntryName(@AnyRes int resid) throws NotFoundException { in getResourceEntryName()
721 @Config int allowVarying, @AnyRes int resourceId, @Nullable String name) { in verifyPreloadConfig()
1156 XmlResourceParser loadXmlResourceParser(@NonNull String file, @AnyRes int id, int assetCookie, in loadXmlResourceParser()
DTypedArray.java19 import android.annotation.AnyRes;
873 @AnyRes
/frameworks/support/compat/src/main/java/androidx/core/content/res/
DTypedArrayUtils.java27 import androidx.annotation.AnyRes;
136 @AnyRes
138 @NonNull String attrName, @StyleableRes int resId, @AnyRes int defaultValue) { in getNamedResourceId()
232 @AnyRes
234 @StyleableRes int fallbackIndex, @AnyRes int defaultValue) { in getResourceId()
/frameworks/support/core/ktx/src/main/java/androidx/core/content/res/
DTypedArray.kt23 import androidx.annotation.AnyRes
180 @AnyRes
/frameworks/base/core/java/android/annotation/
DAnyRes.java38 public @interface AnyRes { annotation
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java29 import android.support.annotation.AnyRes;
107 public static ResourceEntry getResourceEntry(Context context, @AnyRes int id) { in getResourceEntry()
/frameworks/support/annotations/src/main/java/androidx/annotation/
DAnyRes.java37 public @interface AnyRes { annotation
/frameworks/base/core/java/android/util/
DTypedValue.java19 import android.annotation.AnyRes;
184 @AnyRes
/frameworks/support/annotations/api/
Dcurrent.txt9 public abstract class AnyRes implements java.lang.annotation.Annotation {
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java19 import android.annotation.AnyRes;
1072 private static @Config int getChangingConfigs(@NonNull Resources resources, @AnyRes int id) { in getChangingConfigs()
/frameworks/base/core/java/android/content/
DIntent.java21 import android.annotation.AnyRes;
844 public static ShortcutIconResource fromContext(Context context, @AnyRes int resourceId) { in fromContext()
/frameworks/support/core/ktx/api/
Dcurrent.txt52 …method @AnyRes public static int getResourceIdOrThrow(android.content.res.TypedArray, @StyleableRe…
D0.2.txt52 …method @AnyRes public static int getResourceIdOrThrow(android.content.res.TypedArray, @StyleableRe…
/frameworks/support/jetifier/jetifier/core/src/main/resources/
Ddefault.generated.config2582 "android/support/annotation/AnyRes": "androidx/annotation/AnyRes",