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;
32 public static boolean isValid(@AnyRes int id) { in isValid()
DAssetManager.java19 import android.annotation.AnyRes;
501 boolean getResourceValue(@AnyRes int resId, int densityDpi, @NonNull TypedValue outValue, in getResourceValue()
682 boolean getThemeValue(long theme, @AnyRes int resId, @NonNull TypedValue outValue, in getThemeValue()
712 @Nullable String getResourceName(@AnyRes int resId) { in getResourceName()
720 @Nullable String getResourcePackageName(@AnyRes int resId) { in getResourcePackageName()
728 @Nullable String getResourceTypeName(@AnyRes int resId) { in getResourceTypeName()
736 @Nullable String getResourceEntryName(@AnyRes int resId) { in getResourceEntryName()
744 @AnyRes int getResourceIdentifier(@NonNull String name, @Nullable String defType, in getResourceIdentifier()
1440 private static native int nativeGetResourceValue(long ptr, @AnyRes int resId, short density, in nativeGetResourceValue()
1442 private static native int nativeGetResourceBagValue(long ptr, @AnyRes int resId, int bagEntryId, in nativeGetResourceBagValue()
[all …]
DResources.java23 import android.annotation.AnyRes;
105 public static final @AnyRes int ID_NULL = 0;
1349 public void getValue(@AnyRes int id, TypedValue outValue, boolean resolveRefs) in getValue()
1367 public void getValueForDensity(@AnyRes int id, int density, TypedValue outValue, in getValueForDensity()
1405 @AnyRes
2045 public static boolean resourceHasPackage(@AnyRes int resid) { in resourceHasPackage()
2063 public String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName()
2079 public String getResourcePackageName(@AnyRes int resid) throws NotFoundException { in getResourcePackageName()
2095 public String getResourceTypeName(@AnyRes int resid) throws NotFoundException { in getResourceTypeName()
2111 public String getResourceEntryName(@AnyRes int resid) throws NotFoundException { in getResourceEntryName()
[all …]
DResourcesImpl.java22 import android.annotation.AnyRes;
231 void getValue(@AnyRes int id, TypedValue outValue, boolean resolveRefs) in getValue()
240 void getValueForDensity(@AnyRes int id, int density, TypedValue outValue, in getValueForDensity()
272 String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName()
280 String getResourcePackageName(@AnyRes int resid) throws NotFoundException { in getResourcePackageName()
288 String getResourceTypeName(@AnyRes int resid) throws NotFoundException { in getResourceTypeName()
296 String getResourceEntryName(@AnyRes int resid) throws NotFoundException { in getResourceEntryName()
749 @Config int allowVarying, @AnyRes int resourceId, @Nullable String name) { in verifyPreloadConfig()
1213 XmlResourceParser loadXmlResourceParser(@NonNull String file, @AnyRes int id, int assetCookie, in loadXmlResourceParser()
1304 @AnyRes
DXmlBlock.java21 import android.annotation.AnyRes;
82 public XmlResourceParser newParser(@AnyRes int resId) { in newParser()
98 @AnyRes
DTypedArray.java19 import android.annotation.AnyRes;
924 @AnyRes
1137 @AnyRes
1138 public int getSourceResourceId(@StyleableRes int index, @AnyRes int defaultValue) { in getSourceResourceId()
/frameworks/base/core/java/android/view/inspector/
DPropertyReader.java19 import android.annotation.AnyRes;
188 void readResourceId(int id, @AnyRes int value); in readResourceId()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/
DExternalResources.java30 import androidx.annotation.AnyRes;
83 public String getResourcePackageName(@AnyRes int resId) { in getResourcePackageName()
230 private Object get(@AnyRes int id, ResType type) { in get()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
DExternalResources.java26 import androidx.annotation.AnyRes;
144 private Object get(@AnyRes int id, ResType type) { in get()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java29 import androidx.annotation.AnyRes;
105 public static ResourceEntry getResourceEntry(Context context, @AnyRes int id) { in getResourceEntry()
/frameworks/base/core/java/android/annotation/
DAnyRes.java38 public @interface AnyRes { annotation
/frameworks/base/core/java/android/util/
DTypedValue.java19 import android.annotation.AnyRes;
184 @AnyRes
/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/
DAndroid.bp52 "core/java/android/annotation/AnyRes.java",
/frameworks/base/core/java/android/content/
DIntent.java21 import android.annotation.AnyRes;
857 public static ShortcutIconResource fromContext(Context context, @AnyRes int resourceId) { in fromContext()
/frameworks/base/non-updatable-api/
Dcurrent.txt10514 …atic android.content.Intent.ShortcutIconResource fromContext(android.content.Context, @AnyRes int);
12331 … method @AnyRes public static int getAttributeSetSourceResId(@Nullable android.util.AttributeSet);
12357 …method public String getResourceEntryName(@AnyRes int) throws android.content.res.Resources.NotFou…
12358 …method public String getResourceName(@AnyRes int) throws android.content.res.Resources.NotFoundExc…
12359 …method public String getResourcePackageName(@AnyRes int) throws android.content.res.Resources.NotF…
12360 …method public String getResourceTypeName(@AnyRes int) throws android.content.res.Resources.NotFoun…
12368 …method public void getValue(@AnyRes int, android.util.TypedValue, boolean) throws android.content.…
12370 …method public void getValueForDensity(@AnyRes int, int, android.util.TypedValue, boolean) throws a…
12381 field @AnyRes public static final int ID_NULL = 0; // 0x0
12426 method @AnyRes public int getResourceId(@StyleableRes int, int);
[all …]
/frameworks/base/api/
Dcurrent.txt10514 …atic android.content.Intent.ShortcutIconResource fromContext(android.content.Context, @AnyRes int);
12331 … method @AnyRes public static int getAttributeSetSourceResId(@Nullable android.util.AttributeSet);
12357 …method public String getResourceEntryName(@AnyRes int) throws android.content.res.Resources.NotFou…
12358 …method public String getResourceName(@AnyRes int) throws android.content.res.Resources.NotFoundExc…
12359 …method public String getResourcePackageName(@AnyRes int) throws android.content.res.Resources.NotF…
12360 …method public String getResourceTypeName(@AnyRes int) throws android.content.res.Resources.NotFoun…
12368 …method public void getValue(@AnyRes int, android.util.TypedValue, boolean) throws android.content.…
12370 …method public void getValueForDensity(@AnyRes int, int, android.util.TypedValue, boolean) throws a…
12381 field @AnyRes public static final int ID_NULL = 0; // 0x0
12426 method @AnyRes public int getResourceId(@StyleableRes int, int);
[all …]