/frameworks/base/core/java/android/widget/ |
D | CalendarView.java | 20 import android.annotation.ColorInt; 170 public void setSelectedWeekBackgroundColor(@ColorInt int color) { in setSelectedWeekBackgroundColor() 183 @ColorInt 198 public void setFocusedMonthDateColor(@ColorInt int color) { in setFocusedMonthDateColor() 211 @ColorInt 226 public void setUnfocusedMonthDateColor(@ColorInt int color) { in setUnfocusedMonthDateColor() 239 @ColorInt 254 public void setWeekNumberColor(@ColorInt int color) { in setWeekNumberColor() 267 @ColorInt 282 public void setWeekSeparatorLineColor(@ColorInt int color) { in setWeekSeparatorLineColor() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | LightingColorFilter.java | 24 import android.annotation.ColorInt; 44 @ColorInt 46 @ColorInt 54 public LightingColorFilter(@ColorInt int mul, @ColorInt int add) { in LightingColorFilter() 63 @ColorInt 78 public void setColorMultiply(@ColorInt int mul) { in setColorMultiply() 89 @ColorInt 104 public void setColorAdd(@ColorInt int add) { in setColorAdd()
|
D | Color.java | 20 import android.annotation.ColorInt; 296 @ColorInt public static final int BLACK = 0xFF000000; 297 @ColorInt public static final int DKGRAY = 0xFF444444; 298 @ColorInt public static final int GRAY = 0xFF888888; 299 @ColorInt public static final int LTGRAY = 0xFFCCCCCC; 300 @ColorInt public static final int WHITE = 0xFFFFFFFF; 301 @ColorInt public static final int RED = 0xFFFF0000; 302 @ColorInt public static final int GREEN = 0xFF00FF00; 303 @ColorInt public static final int BLUE = 0xFF0000FF; 304 @ColorInt public static final int YELLOW = 0xFFFFFF00; [all …]
|
D | SweepGradient.java | 19 import android.annotation.ColorInt; 36 @ColorInt 39 @ColorInt 42 @ColorInt 62 public SweepGradient(float cx, float cy, @NonNull @ColorInt int[] colors, in SweepGradient() 115 public SweepGradient(float cx, float cy, @ColorInt int color0, @ColorInt int color1) { in SweepGradient()
|
D | LinearGradient.java | 19 import android.annotation.ColorInt; 43 @ColorInt 46 @ColorInt 49 @ColorInt 69 public LinearGradient(float x0, float y0, float x1, float y1, @NonNull @ColorInt int[] colors, in LinearGradient() 130 @ColorInt int color0, @ColorInt int color1, in LinearGradient()
|
D | BlendModeColorFilter.java | 19 import android.annotation.ColorInt; 28 @ColorInt final int mColor; 31 public BlendModeColorFilter(@ColorInt int color, @NonNull BlendMode mode) { in BlendModeColorFilter() 44 @ColorInt
|
D | PorterDuffColorFilter.java | 19 import android.annotation.ColorInt; 29 @ColorInt 41 public PorterDuffColorFilter(@ColorInt int color, @NonNull PorterDuff.Mode mode) { in PorterDuffColorFilter() 54 @ColorInt
|
D | RadialGradient.java | 19 import android.annotation.ColorInt; 45 @ColorInt 48 @ColorInt 51 @ColorInt 71 @NonNull @ColorInt int[] colors, @Nullable float[] stops, in RadialGradient() 190 @ColorInt int centerColor, @ColorInt int edgeColor, @NonNull TileMode tileMode) { in RadialGradient()
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 19 import android.annotation.ColorInt; 50 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { in compositeColors() 82 public static double calculateLuminance(@ColorInt int color) { in calculateLuminance() 96 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() 123 public static int calculateMinimumBackgroundAlpha(@ColorInt int foreground, in calculateMinimumBackgroundAlpha() 124 @ColorInt int background, float minContrastRatio) { in calculateMinimumBackgroundAlpha() 148 public static int calculateMinimumAlpha(@ColorInt int foreground, @ColorInt int background, in calculateMinimumAlpha() 180 private static int binaryAlphaSearch(@ColorInt int foreground, @ColorInt int background, in binaryAlphaSearch() 269 public static void colorToHSL(@ColorInt int color, @NonNull float[] outHsl) { in colorToHSL() 285 @ColorInt [all …]
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | NavigationBarConstants.java | 19 import android.annotation.ColorInt; 31 @ColorInt 35 @ColorInt 60 @ColorInt
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | TextAppearanceInfo.java | 21 import android.annotation.ColorInt; 101 private final @ColorInt int mShadowColor; 146 private final @ColorInt int mHighlightTextColor; 151 private final @ColorInt int mTextColor; 156 private final @ColorInt int mHintTextColor; 161 private final @ColorInt int mLinkTextColor; 412 public @ColorInt int getShadowColor() { in getShadowColor() 495 public @ColorInt int getHighlightTextColor() { in getHighlightTextColor() 504 public @ColorInt int getTextColor() { in getTextColor() 513 public @ColorInt int getHintTextColor() { in getHintTextColor() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | GutsViewModel.kt | 19 import android.annotation.ColorInt 25 @ColorInt val textPrimaryColor: Int, 26 @ColorInt val accentPrimaryColor: Int, 27 @ColorInt val surfaceColor: Int,
|
D | MediaRecViewModel.kt | 19 import android.annotation.ColorInt 27 @ColorInt val titleColor: Int, 29 @ColorInt val subtitleColor: Int, 32 @ColorInt val progressColor: Int,
|
D | MediaRecsCardViewModel.kt | 19 import android.annotation.ColorInt 25 @ColorInt val cardColor: Int, 26 @ColorInt val cardTitleColor: Int,
|
/frameworks/base/core/java/android/window/ |
D | TaskFragmentAnimationParams.java | 22 import android.annotation.ColorInt; 44 @ColorInt 47 @ColorInt 59 private TaskFragmentAnimationParams(@ColorInt int animationBackgroundColor, in TaskFragmentAnimationParams() 74 @ColorInt 186 @ColorInt 208 public Builder setAnimationBackgroundColor(@ColorInt int color) { in setAnimationBackgroundColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | EdgeLight.java | 21 import androidx.annotation.ColorInt; 37 @ColorInt 51 public EdgeLight(@ColorInt int color, float offset, float length) { in EdgeLight() 64 @ColorInt 70 public boolean setColor(@ColorInt int color) { in setColor()
|
D | InvocationLightsView.java | 20 import android.annotation.ColorInt; 62 @ColorInt 64 @ColorInt 168 public void setColors(@Nullable @ColorInt Integer color) { in setColors() 181 public void setColors(@ColorInt int color1, @ColorInt int color2, in setColors() 182 @ColorInt int color3, @ColorInt int color4) { in setColors() 261 @ColorInt int invocationColor = (int) ArgbEvaluator.getInstance().evaluate( in updateDarkness()
|
/frameworks/base/core/java/android/hardware/lights/ |
D | LightState.java | 19 import android.annotation.ColorInt; 51 public LightState(@ColorInt int color) { in LightState() 63 public LightState(@ColorInt int color, int playerId) { in LightState() 90 public Builder setColor(@ColorInt int color) { in setColor() 140 public @ColorInt int getColor() { in getColor()
|
/frameworks/base/core/java/android/text/style/ |
D | QuoteSpan.java | 19 import android.annotation.ColorInt; 74 @ColorInt 77 @ColorInt 96 public QuoteSpan(@ColorInt int color) { in QuoteSpan() 108 public QuoteSpan(@ColorInt int color, @IntRange(from = 0) int stripeWidth, in QuoteSpan() 162 @ColorInt
|
/frameworks/base/core/java/android/text/ |
D | TextPaint.java | 19 import android.annotation.ColorInt; 31 @ColorInt 34 @ColorInt 41 @ColorInt
|
D | SpanColors.java | 19 import android.annotation.ColorInt; 31 public static final @ColorInt int NO_COLOR_FOUND = Color.TRANSPARENT; 67 public @ColorInt int getColorAt(int index) { in getColorAt() 84 private @ColorInt int calculateFinalColor(TextPaint workPaint) { in calculateFinalColor()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | PointProvider.java | 19 import android.annotation.ColorInt; 27 float[] fromInt(@ColorInt int argb); in fromInt() 30 @ColorInt
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | InvalidateActivity.java | 24 import androidx.annotation.ColorInt; 35 @ColorInt 42 public void setColor(@ColorInt int color) { in setColor() 57 @ColorInt int a = Color.rgb(colorValue, 255 - colorValue, 255); in setColorValue() 58 @ColorInt int b = Color.rgb(255, colorValue, 255 - colorValue); in setColorValue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/ |
D | KeyboardBacklightDialog.kt | 21 import android.annotation.ColorInt in <lambda>() 81 @ColorInt in <lambda>() 84 @ColorInt in <lambda>() 87 @ColorInt in <lambda>() 90 @ColorInt in <lambda>() 93 @ColorInt in <lambda>() 96 @ColorInt in <lambda>() 99 @ColorInt in <lambda>() 156 @ColorInt in <lambda>() 201 private fun updateColor(drawable: ShapeDrawable, @ColorInt color: Int) { in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/ |
D | QrCodeGenerator.kt | 19 import android.annotation.ColorInt 71 @ColorInt val setColor = if (invert) Color.WHITE else Color.BLACK in encodeQrCode() 72 @ColorInt val unsetColor = if (invert) Color.BLACK else Color.WHITE in encodeQrCode() 73 @ColorInt val pixels = IntArray(size * size) in encodeQrCode()
|