/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 453 float[] color = new float[] { in convert() local 476 float[] color = new float[] { in toArgb() local 703 public static ColorSpace colorSpace(@ColorLong long color) { in colorSpace() 722 public static float red(@ColorLong long color) { in red() 742 public static float green(@ColorLong long color) { in green() 762 public static float blue(@ColorLong long color) { in blue() 779 public static float alpha(@ColorLong long color) { in alpha() 795 public static boolean isSrgb(@ColorLong long color) { in isSrgb() 812 public static boolean isWideGamut(@ColorLong long color) { in isWideGamut() 826 public static boolean isInColorSpace(@ColorLong long color, @NonNull ColorSpace colorSpace) { in isInColorSpace() [all …]
|
/frameworks/base/libs/hwui/ |
D | CanvasTransform.cpp | 35 static SkColor makeLight(SkColor color) { in makeLight() 46 static SkColor makeDark(SkColor color) { in makeDark() 57 static SkColor transformColor(ColorTransform transform, SkColor color) { in transformColor() 101 SkColor color; in applyColorTransform() local 110 static BitmapPalette paletteForColorHSV(SkColor color) { in paletteForColorHSV() 121 SkColor color = palette == BitmapPalette::Light ? SK_ColorWHITE : SK_ColorBLACK; in filterPalette() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileColorPickerTest.java | 50 final int color = mTileColorPicker.getColor(Tile.STATE_UNAVAILABLE); in testGetColor_StateUnavailable_ReturnUnavailableColor() local 59 final int color = mTileColorPicker.getColor(Tile.STATE_INACTIVE); in testGetColor_StateInactive_ReturnInactiveColor() local 68 final int color = mTileColorPicker.getColor(Tile.STATE_ACTIVE); in testGetColor_StateActive_ReturnActiveColor() local
|
/frameworks/base/core/java/android/widget/ |
D | CalendarView.java | 170 public void setSelectedWeekBackgroundColor(@ColorInt int color) { in setSelectedWeekBackgroundColor() 198 public void setFocusedMonthDateColor(@ColorInt int color) { in setFocusedMonthDateColor() 226 public void setUnfocusedMonthDateColor(@ColorInt int color) { in setUnfocusedMonthDateColor() 254 public void setWeekNumberColor(@ColorInt int color) { in setWeekNumberColor() 282 public void setWeekSeparatorLineColor(@ColorInt int color) { in setWeekSeparatorLineColor() 601 void setSelectedWeekBackgroundColor(@ColorInt int color); in setSelectedWeekBackgroundColor() 604 void setFocusedMonthDateColor(@ColorInt int color); in setFocusedMonthDateColor() 607 void setUnfocusedMonthDateColor(@ColorInt int color); in setUnfocusedMonthDateColor() 610 void setWeekNumberColor(@ColorInt int color); in setWeekNumberColor() 613 void setWeekSeparatorLineColor(@ColorInt int color); in setWeekSeparatorLineColor() [all …]
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
D | ColorPickerSwatch.java | 43 public void onColorSelected(int color); in onColorSelected() 46 public ColorPickerSwatch(Context context, int color, boolean checked, in ColorPickerSwatch() 60 protected void setColor(int color) { in setColor()
|
D | ColorStateDrawable.java | 34 public ColorStateDrawable(Drawable[] layers, int color) { in ColorStateDrawable() 61 private static int getPressedColor(int color) { in getPressedColor()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | ColorCutQuantizer.java | 276 final int color = colors[i]; in fitBox() local 400 final int color = colors[i]; in getAverageColor() local 432 final int color = a[i]; in modifySignificantOctet() local 441 final int color = a[i]; in modifySignificantOctet() local 456 private boolean shouldIgnoreColor(Swatch color) { in shouldIgnoreColor() 484 private static int quantizeFromRgb888(int color) { in quantizeFromRgb888() 500 private static int approximateToRgb888(int color) { in approximateToRgb888() 507 static int quantizedRed(int color) { in quantizedRed() 514 static int quantizedGreen(int color) { in quantizedGreen() 521 static int quantizedBlue(int color) { in quantizedBlue()
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LogicalLight.java | 70 public abstract void setColor(int color); in setColor() 75 public abstract void setFlashing(int color, int mode, int onMS, int offMS); in setFlashing() 85 public abstract void pulse(int color, int onMS); in pulse()
|
D | LightsService.java | 281 int color = brightness & 0x000000ff; in setBrightness() local 289 public void setColor(int color) { in setColor() 296 public void setFlashing(int color, int mode, int onMS, int offMS) { in setFlashing() 308 public void pulse(int color, int onMS) { in pulse() 352 private void setLightLocked(int color, int mode, int onMS, int offMS, int brightnessMode) { in setLightLocked() 376 private void setLightUnchecked(int color, int mode, int onMS, int offMS, in setLightUnchecked() 519 static native void setLight_native(int light, int color, int mode, in setLight_native()
|
/frameworks/wilhelm/src/itf/ |
D | ILEDArray.cpp | 63 SLHSL color = *pColor; in ILEDArray_SetColor() local 92 SLHSL color = thiz->mColors[index]; in ILEDArray_GetColor() local 114 SLHSL *color = thiz->mColors; in ILEDArray_init() local
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 283 private int processColor(int color) { in processColor() 300 public static int findContrastColor(int color, int other, boolean findFg, double minRatio) { in findContrastColor() 336 public static int findAlphaToMeetContrast(int color, int backgroundColor, double minRatio) { in findAlphaToMeetContrast() 370 public static int findContrastColorAgainstDark(int color, int other, boolean findFg, in findContrastColorAgainstDark() 399 public static int ensureTextContrastOnBlack(int color) { in ensureTextContrastOnBlack() 409 public static int ensureLargeTextContrast(int color, int bg, boolean isBgDarker) { in ensureLargeTextContrast() 421 public static int ensureTextContrast(int color, int bg, boolean isBgDarker) { in ensureTextContrast() 434 public static int ensureContrast(int color, int bg, boolean isBgDarker, double minRatio) { in ensureContrast() 443 public static int ensureTextBackgroundColor(int color, int textColor, int hintColor) { in ensureTextBackgroundColor() 457 public static int resolveColor(Context context, int color, boolean defaultBackgroundIsDark) { in resolveColor() [all …]
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
D | BufferQueueScheduler.cpp | 26 const sp<SurfaceControl>& surfaceControl, const HSV& color, int id) in BufferQueueScheduler() 68 const sp<SurfaceControl>& surfaceControl, const HSV& color) { in setSurfaceControl() 91 auto color = mColor.getRGB(); in fillSurface() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusIconDisplayable.java | 23 void setStaticDrawableColor(int color); in setStaticDrawableColor() 24 void setDecorColor(int color); in setDecorColor()
|
/frameworks/native/services/surfaceflinger/ |
D | ColorLayer.cpp | 57 half4 color(getColor()); in prepareClientLayer() local 67 bool ColorLayer::setColor(const half3& color) { in setColor() 129 half4 color = getColor(); in setPerFrameData() local
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | PartialDamageAnimation.cpp | 40 SkColor color = COLORS[static_cast<int>((y / dp(116))) % 4]; in createContent() local 58 SkColor color = TestUtils::interpolateColor(curFrame / 150.0f, 0xFFF44336, 0xFFF8BBD0); in doFrame() local
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | ProgressBarMixin.java | 34 @Nullable private ColorStateList color; field in ProgressBarMixin 100 public void setColor(@Nullable ColorStateList color) { in setColor()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | TextAttribute.java | 34 public TextColor color; field in TextAttribute 38 boolean strikeThrough, TextColor color) { in TextAttribute()
|
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/ |
D | parcelable_composer_layer.cpp | 78 uint32_t color = layer_.color.r | in writeToParcel() local 181 uint32_t color; in readFromParcel() local
|
/frameworks/base/core/java/android/text/style/ |
D | QuoteSpan.java | 96 public QuoteSpan(@ColorInt int color) { in QuoteSpan() 108 public QuoteSpan(@ColorInt int color, @IntRange(from = 0) int stripeWidth, in QuoteSpan() 196 int color = p.getColor(); in drawLeadingMargin() local
|
D | BulletSpan.java | 106 public BulletSpan(int gapWidth, @ColorInt int color) { in BulletSpan() 118 public BulletSpan(int gapWidth, @ColorInt int color, @IntRange(from = 0) int bulletRadius) { in BulletSpan() 122 private BulletSpan(int gapWidth, @ColorInt int color, boolean wantColor, in BulletSpan()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | EdgeLight.java | 46 public EdgeLight(@ColorInt int color, float offset, float length) { in EdgeLight() 65 public void setColor(@ColorInt int color) { in setColor()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | EmphasizedNotificationButton.java | 65 public void setRippleColor(ColorStateList color) { in setRippleColor() 71 public void setButtonBackground(ColorStateList color) { in setButtonBackground()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | Palette.kt | 47 val color = Color.HSVToColor(hsv) in randomize() constant
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 284 final int color, final int windowType, final int windowFlags) { in assertDisplayCanShowPresentation() 350 int color, int windowType, int windowFlags) { in TestPresentation() 387 public boolean waitForColor(int color, long timeoutMillis) { in waitForColor() 419 int color = scanImage(image); in onImageAvailable() local
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphExporter.java | 117 String color = filter.getSignature().getOutputPortInfo(portName).isRequired() in exportAsDot() local 135 String color = filter.getSignature().getInputPortInfo(portName).isRequired() in exportAsDot() local
|