Home
last modified time | relevance | path

Searched refs:lightZ (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/core/
DSkDrawShadowInfo.h53 inline SkScalar SpotBlurRadius(SkScalar occluderZ, SkScalar lightZ, SkScalar lightRadius) { in SpotBlurRadius() argument
54 return lightRadius*divide_and_pin(occluderZ, lightZ - occluderZ, 0.0f, 0.95f); in SpotBlurRadius()
57 inline void GetSpotParams(SkScalar occluderZ, SkScalar lightX, SkScalar lightY, SkScalar lightZ, in GetSpotParams() argument
60 SkScalar zRatio = divide_and_pin(occluderZ, lightZ - occluderZ, 0.0f, 0.95f); in GetSpotParams()
62 *scale = divide_and_pin(lightZ, lightZ - occluderZ, 1.0f, 1.95f); in GetSpotParams()
67 SkScalar lightZ, SkScalar lightRadius, in GetDirectionalParams() argument
73 SkScalar zRatio = divide_and_pin(occluderZ, lightZ, 0.0f, kMaxZRatio); 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