Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java218 public void setLightSourceGeometry(float lightX, float lightY, float lightZ, in setLightSourceGeometry() argument
222 validatePositive(lightZ, "lightZ"); in setLightSourceGeometry()
224 nSetLightGeometry(mNativeProxy, lightX, lightY, lightZ, lightRadius); in setLightSourceGeometry()
1104 float lightX, float lightY, float lightZ, float lightRadius); in nSetLightGeometry() argument
/frameworks/base/core/java/com/android/internal/view/
DScrollCaptureViewSupport.java190 final int lightZ = (int) (LIGHT_Z_DP * metrics.density); in setupLighting() local
194 mRenderer.setLightSourceGeometry(lightX, lightY, lightZ, lightRadius); in setupLighting()
/frameworks/native/libs/renderengine/gl/
DGLSkiaShadowPort.cpp503 inline void GetSpotParams(float occluderZ, float lightX, float lightY, float lightZ, in GetSpotParams() argument
505 float zRatio = divide_and_pin(occluderZ, lightZ - occluderZ, 0.0f, 0.95f); in GetSpotParams()
507 scale = divide_and_pin(lightZ, lightZ - occluderZ, 1.0f, 1.95f); in GetSpotParams()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp210 jlong proxyPtr, jfloat lightX, jfloat lightY, jfloat lightZ, jfloat lightRadius) { in android_view_ThreadedRenderer_setLightGeometry() argument
212 proxy->setLightGeometry((Vector3){lightX, lightY, lightZ}, lightRadius); in android_view_ThreadedRenderer_setLightGeometry()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java1318 float lightZ = a.getDimension(R.styleable.Lighting_lightZ, 0); in setGlobalShadowSettings() local
1324 SurfaceControl.setGlobalShadowSettings(ambientColor, spotColor, lightY, lightZ, in setGlobalShadowSettings()