Home
last modified time | relevance | path

Searched refs:lightY (Results 1 – 4 of 4) sorted by relevance

/external/libmonet/contrast/
DContrast.java131 final double lightY = ratio * (darkY + 5.0) - 5.0; in lighter() local
132 if (lightY < 0.0 || lightY > 100.0) { in lighter()
135 final double realContrast = ratioOfYs(lightY, darkY); in lighter()
141 final double returnValue = ColorUtils.lstarFromY(lightY) + LUMINANCE_GAMUT_MAP_TOLERANCE; in lighter()
175 final double lightY = ColorUtils.yFromLstar(tone); in darker() local
176 final double darkY = ((lightY + 5.0) / ratio) - 5.0; in darker()
180 final double realContrast = ratioOfYs(lightY, darkY); in darker()
/external/skia/src/core/
DSkDrawShadowInfo.h57 inline void GetSpotParams(SkScalar occluderZ, SkScalar lightX, SkScalar lightY, SkScalar lightZ, in GetSpotParams() argument
63 *translate = SkVector::Make(-zRatio * lightX, -zRatio * lightY); in GetSpotParams()
66 inline void GetDirectionalParams(SkScalar occluderZ, SkScalar lightX, SkScalar lightY, in GetDirectionalParams() argument
74 *translate = SkVector::Make(-zRatio * lightX, -zRatio * lightY); in GetDirectionalParams()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNativeHardwareRenderer.java125 long nativeProxy, float lightX, float lightY, float lightZ, float lightRadius) { in nSetLightGeometry() argument
126 HardwareRendererNatives.nSetLightGeometry(nativeProxy, lightX, lightY, lightZ, lightRadius); in nSetLightGeometry()
/external/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/
DHardwareRendererNatives.java68 long nativeProxy, float lightX, float lightY, float lightZ, float lightRadius); in nSetLightGeometry() argument