Searched refs:lab (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/hwui/ |
D | CanvasTransform.cpp | 35 Lab lab = sRGBToLab(color); in makeLight() local 36 float invertedL = std::min(110 - lab.L, 100.0f); in makeLight() 37 if (invertedL > lab.L) { in makeLight() 38 lab.L = invertedL; in makeLight() 39 return LabToSRGB(lab, SkColorGetA(color)); in makeLight() 46 Lab lab = sRGBToLab(color); in makeDark() local 47 float invertedL = std::min(110 - lab.L, 100.0f); in makeDark() 48 if (invertedL < lab.L) { in makeDark() 49 lab.L = invertedL; in makeDark() 50 return LabToSRGB(lab, SkColorGetA(color)); in makeDark()
|
/frameworks/base/libs/hwui/utils/ |
D | Color.cpp | 294 float3 toXyz(const Lab& lab) { in toXyz() argument 295 float3 v { lab.L, lab.a, lab.b }; in toXyz() 348 SkColor LabToSRGB(const Lab& lab, SkAlpha alpha) { in LabToSRGB() argument 350 float3 xyz = LabColorSpace::toXyz(lab); in LabToSRGB()
|
D | Color.h | 128 SkColor LabToSRGB(const Lab& lab, SkAlpha alpha);
|
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/ |
D | BaseDrawingView.kt | 28 val lab = ColorSpace.get(ColorSpace.Named.CIE_LAB) constant in com.android.test.silkfx.common.BaseDrawingView
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 307 double[] lab = new double[3]; in findContrastColor() local 308 ColorUtilsFromCompat.colorToLAB(findFg ? fg : bg, lab); in findContrastColor() 310 double low = 0, high = lab[0]; in findContrastColor() 311 final double a = lab[1], b = lab[2]; in findContrastColor()
|
/frameworks/base/core/proto/android/ |
D | privacy.proto | 29 // by tools on the developer's workstation or test lab devices.
|