Home
last modified time | relevance | path

Searched refs:ColorRes (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/content/res/
DCompatResources.java17 import android.annotation.ColorRes;
56 public int getColor(@ColorRes int id) throws NotFoundException { in getColor()
61 public ColorStateList getColorStateList(@ColorRes int id) throws NotFoundException { in getColorStateList()
DResources.java28 import android.annotation.ColorRes;
957 public int getColor(@ColorRes int id) throws NotFoundException { in getColor()
978 public int getColor(@ColorRes int id, @Nullable Theme theme) throws NotFoundException { in getColor()
1017 public ColorStateList getColorStateList(@ColorRes int id) throws NotFoundException { in getColorStateList()
1047 public ColorStateList getColorStateList(@ColorRes int id, @Nullable Theme theme) in getColorStateList()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/
DFakeOverrideContentProvider.java28 import androidx.annotation.ColorRes;
41 public static final @ColorRes int ANDROID_COLOR_DARK_GRAY = android.R.color.darker_gray;
/frameworks/base/core/java/android/annotation/
DColorRes.java36 public @interface ColorRes { annotation
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java30 import androidx.annotation.ColorRes;
81 public static int getColor(Context context, @ColorRes int id) { in getColor()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DCarSetupWizardCompatLayoutTest.java31 import androidx.annotation.ColorRes;
517 private @ColorRes int getDrawbleDefaultColor(Drawable drawable) { in getDrawbleDefaultColor()
/frameworks/base/core/java/android/content/
DContext.java23 import android.annotation.ColorRes;
670 public final int getColor(@ColorRes int id) { in getColor()
702 public final ColorStateList getColorStateList(@ColorRes int id) { in getColorStateList()
/frameworks/base/api/
Dcurrent.txt9707 method @ColorInt public final int getColor(@ColorRes int);
9708 … method @NonNull public final android.content.res.ColorStateList getColorStateList(@ColorRes int);
12316 …method @Deprecated @ColorInt public int getColor(@ColorRes int) throws android.content.res.Resourc…
12317 …method @ColorInt public int getColor(@ColorRes int, @Nullable android.content.res.Resources.Theme)…
12318 …d @NonNull public android.content.res.ColorStateList getColorStateList(@ColorRes int) throws andro…
12319 …method @NonNull public android.content.res.ColorStateList getColorStateList(@ColorRes int, @Nullab…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt1366 Landroid/annotation/ColorRes;