/frameworks/base/graphics/java/android/graphics/ |
H A D | LightingColorFilter.java | 24 import android.annotation.ColorInt; 42 @ColorInt 44 @ColorInt 52 public LightingColorFilter(@ColorInt int mul, @ColorInt int add) { 61 @ColorInt 75 public void setColorMultiply(@ColorInt int mul) { 86 @ColorInt 100 public void setColorAdd(@ColorInt int add) {
|
H A D | PorterDuffColorFilter.java | 19 import android.annotation.ColorInt; 27 @ColorInt 41 public PorterDuffColorFilter(@ColorInt int color, @NonNull PorterDuff.Mode mode) { 55 @ColorInt 72 public void setColor(@ColorInt int color) {
|
H A D | RadialGradient.java | 21 import android.annotation.ColorInt; 58 @NonNull @ColorInt int colors[], @Nullable float stops[], 89 @ColorInt int centerColor, @ColorInt int edgeColor, @NonNull TileMode tileMode) {
|
H A D | SweepGradient.java | 19 import android.annotation.ColorInt; 56 @NonNull @ColorInt int colors[], @Nullable float positions[]) { 79 public SweepGradient(float cx, float cy, @ColorInt int color0, @ColorInt int color1) {
|
H A D | Color.java | 20 import android.annotation.ColorInt; 70 * good practice to annotate them with the <code>@ColorInt</code> annotation 294 @ColorInt public static final int BLACK = 0xFF000000; 295 @ColorInt public static final int DKGRAY = 0xFF444444; 296 @ColorInt public static final int GRAY = 0xFF888888; 297 @ColorInt public static final int LTGRAY = 0xFFCCCCCC; 298 @ColorInt public static final int WHITE = 0xFFFFFFFF; 299 @ColorInt public static final int RED = 0xFFFF0000; 300 @ColorInt public static final int GREEN = 0xFF00FF00; 301 @ColorInt publi [all...] |
H A D | LinearGradient.java | 19 import android.annotation.ColorInt; 58 public LinearGradient(float x0, float y0, float x1, float y1, @NonNull @ColorInt int colors[], 88 @ColorInt int color0, @ColorInt int color1,
|
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/drawable/ |
H A D | ColorDrawable.kt | 23 import androidx.annotation.ColorInt 27 inline fun @receiver:ColorInt Int.toDrawable() = ColorDrawable(this)
|
/frameworks/base/core/java/android/content/res/ |
H A D | ComplexColor.java | 19 import android.annotation.ColorInt; 40 @ColorInt
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/ |
H A D | TintAwareDrawable.java | 24 import androidx.annotation.ColorInt; 35 void setTint(@ColorInt int tint);
|
/frameworks/base/core/java/android/widget/ |
H A D | CalendarView.java | 20 import android.annotation.ColorInt; 164 public void setSelectedWeekBackgroundColor(@ColorInt int color) { 176 @ColorInt 191 public void setFocusedMonthDateColor(@ColorInt int color) { 203 @ColorInt 218 public void setUnfocusedMonthDateColor(@ColorInt int color) { 230 @ColorInt 245 public void setWeekNumberColor(@ColorInt int color) { 257 @ColorInt 272 public void setWeekSeparatorLineColor(@ColorInt in [all...] |
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/ |
H A D | Color.kt | 23 import androidx.annotation.ColorInt 111 inline val @receiver:ColorInt Int.alpha get() = (this shr 24) and 0xff 119 inline val @receiver:ColorInt Int.red get() = (this shr 16) and 0xff 127 inline val @receiver:ColorInt Int.green get() = (this shr 8) and 0xff 135 inline val @receiver:ColorInt Int.blue get() = this and 0xff 149 inline operator fun @receiver:ColorInt Int.component1() = (this shr 24) and 0xff 163 inline operator fun @receiver:ColorInt Int.component2() = (this shr 16) and 0xff 177 inline operator fun @receiver:ColorInt Int.component3() = (this shr 8) and 0xff 191 inline operator fun @receiver:ColorInt Int.component4() = this and 0xff 199 inline val @receiver:ColorInt In [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | BackgroundColorSpan.java | 19 import android.annotation.ColorInt; 49 public BackgroundColorSpan(@ColorInt int color) { 91 @ColorInt
|
H A D | ForegroundColorSpan.java | 19 import android.annotation.ColorInt; 50 public ForegroundColorSpan(@ColorInt int color) { 92 @ColorInt
|
H A D | QuoteSpan.java | 19 import android.annotation.ColorInt; 74 @ColorInt 77 @ColorInt 96 public QuoteSpan(@ColorInt int color) { 108 public QuoteSpan(@ColorInt int color, @IntRange(from = 0) int stripeWidth, 162 @ColorInt
|
/frameworks/base/core/java/android/text/ |
H A D | TextPaint.java | 19 import android.annotation.ColorInt; 30 @ColorInt 33 @ColorInt 41 @ColorInt
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | InvalidateActivity.java | 24 import android.support.annotation.ColorInt; 35 @ColorInt 42 public void setColor(@ColorInt int color) { 57 @ColorInt int a = Color.rgb(colorValue, 255 - colorValue, 255); 58 @ColorInt int b = Color.rgb(255, colorValue, 255 - colorValue);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AnimationAdapter.java | 19 import android.annotation.ColorInt; 52 @ColorInt int getBackgroundColor();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | TintedKeyButtonDrawable.java | 19 import android.annotation.ColorInt; 38 public static TintedKeyButtonDrawable create(Drawable drawable, @ColorInt int lightColor, 39 @ColorInt int darkColor) {
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/ |
H A D | AppCompatBaseImageViewTest.java | 31 import androidx.annotation.ColorInt; 55 @ColorInt int color, int allowedComponentVariance) { 74 @ColorInt int lilacDefault = ResourcesCompat.getColor(res, R.color.lilac_default, null); 75 @ColorInt int lilacDisabled = ResourcesCompat.getColor(res, R.color.lilac_disabled, null); 76 @ColorInt int sandDefault = ResourcesCompat.getColor(res, R.color.sand_default, null); 77 @ColorInt int sandDisabled = ResourcesCompat.getColor(res, R.color.sand_disabled, null); 78 @ColorInt int oceanDefault = ResourcesCompat.getColor(res, R.color.ocean_default, null); 79 @ColorInt int oceanDisabled = ResourcesCompat.getColor(res, R.color.ocean_disabled, null); 152 @ColorInt int emeraldDefault = ResourcesCompat.getColor( 154 @ColorInt in [all...] |
H A D | AppCompatBaseViewTest.java | 42 import androidx.annotation.ColorInt; 93 @ColorInt int color, int allowedComponentVariance) { 198 final @ColorInt int lilacDefault = ResourcesCompat.getColor( 200 final @ColorInt int lilacDisabled = ResourcesCompat.getColor( 202 final @ColorInt int sandDefault = ResourcesCompat.getColor( 204 final @ColorInt int sandDisabled = ResourcesCompat.getColor( 206 final @ColorInt int oceanDefault = ResourcesCompat.getColor( 208 final @ColorInt int oceanDisabled = ResourcesCompat.getColor( 279 final @ColorInt int lilacDefault = ResourcesCompat.getColor( 281 final @ColorInt in [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | SearchOrbView.java | 34 import androidx.annotation.ColorInt; 71 public Colors(@ColorInt int color) { 82 public Colors(@ColorInt int color, @ColorInt int brightColor) { 93 public Colors(@ColorInt int color, @ColorInt int brightColor, @ColorInt int iconColor) { 102 @ColorInt 108 @ColorInt 114 @ColorInt [all...] |
/frameworks/base/core/java/android/annotation/ |
H A D | ColorInt.java | 34 * public abstract void setTextColor(@ColorInt int color); 41 public @interface ColorInt { interface
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
H A D | WorkLockActivityTest.java | 27 import android.annotation.ColorInt; 84 final @ColorInt int orgColor = Color.rgb(250, 199, 67); 87 final @ColorInt int opaqueColor= Color.rgb(164, 198, 57); 88 final @ColorInt int transparentColor = Color.argb(0, 0, 0, 0);
|
/frameworks/support/annotations/src/main/java/androidx/annotation/ |
H A D | ColorInt.java | 34 * public abstract void setTextColor(@ColorInt int color); 39 public @interface ColorInt { interface
|
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
H A D | SliceViewUtil.java | 39 import androidx.annotation.ColorInt; 57 @ColorInt 64 @ColorInt 71 @ColorInt 79 @ColorInt 86 @ColorInt 98 @ColorInt 107 @ColorInt 112 @ColorInt int colorAccent = ta.getColor(0, 0);
|