Home
last modified time | relevance | path

Searched refs:ambientColor (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/libs/renderengine/gl/
DGLShadowVertexGenerator.cpp32 bool casterIsTranslucent, const vec4& ambientColor, in GLShadowVertexGenerator() argument
35 mDrawAmbientShadow = ambientColor.a > 0.f; in GLShadowVertexGenerator()
41 casterIsTranslucent, ambientColor); in GLShadowVertexGenerator()
DGLShadowVertexGenerator.h41 bool casterIsTranslucent, const vec4& ambientColor,
DGLSkiaShadowPort.h67 const vec4& ambientColor);
DGLSkiaShadowPort.cpp551 const vec4& ambientColor) { in getAmbientShadowGeometry() argument
570 return getShadowGeometry(ambientColor, outsetRect, std::abs(outsetRad), devSpaceAmbientBlur, in getAmbientShadowGeometry()
DGLESRenderEngine.cpp1687 settings.casterIsTranslucent, settings.ambientColor, in handleShadow()
/frameworks/native/libs/renderengine/include/renderengine/
DLayerSettings.h109 vec4 ambientColor = vec4(); member
180 return lhs.ambientColor == rhs.ambientColor && lhs.spotColor == rhs.spotColor &&
231 *os << "\n .ambientColor = " << settings.ambientColor; in PrintTo()
/frameworks/base/libs/hwui/pipeline/skia/
DReorderBarrierDrawables.cpp206 SkColor ambientColor = multiplyAlpha(casterProperties.getAmbientShadowColor(), ambientAlpha); in drawShadow() local
210 ambientColor, spotColor, in drawShadow()
/frameworks/native/libs/gui/
DISurfaceComposer.cpp1117 virtual status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor, in setGlobalShadowSettings() argument
1126 std::vector<float> shadowConfig = {ambientColor.r, ambientColor.g, ambientColor.b, in setGlobalShadowSettings()
1127 ambientColor.a, spotColor.r, spotColor.g, in setGlobalShadowSettings()
2012 half4 ambientColor = {shadowConfig[0], shadowConfig[1], shadowConfig[2], in onTransact() local
2018 return setGlobalShadowSettings(ambientColor, spotColor, lightPosY, lightPosZ, in onTransact()
DSurfaceComposerClient.cpp1900 status_t SurfaceComposerClient::setGlobalShadowSettings(const half4& ambientColor, in setGlobalShadowSettings() argument
1903 return ComposerService::getComposerService()->setGlobalShadowSettings(ambientColor, spotColor, in setGlobalShadowSettings()
/frameworks/base/core/java/android/view/
DSurfaceControl.java219 private static native void nativeSetGlobalShadowSettings(@Size(4) float[] ambientColor, in nativeSetGlobalShadowSettings() argument
2261 public static void setGlobalShadowSettings(@Size(4) float[] ambientColor, in setGlobalShadowSettings() argument
2263 validateColorArg(ambientColor); in setGlobalShadowSettings()
2265 nativeSetGlobalShadowSettings(ambientColor, spotColor, lightPosY, lightPosZ, lightRadius); in setGlobalShadowSettings()
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h526 virtual status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor,
DSurfaceComposerClient.h247 static status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor,
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp1470 half4 ambientColor = half4(floatAmbientColor[0], floatAmbientColor[1], floatAmbientColor[2], in nativeSetGlobalShadowSettings() local
1479 client->setGlobalShadowSettings(ambientColor, spotColor, lightPosY, lightPosZ, lightRadius); in nativeSetGlobalShadowSettings()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h502 status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor,
DLayer.cpp661 shadowLayer.shadow.ambientColor *= casterAlpha; in prepareShadowClientComposition()
669 if (shadowLayer.shadow.ambientColor.a <= 0.f && shadowLayer.shadow.spotColor.a <= 0.f) { in prepareShadowClientComposition()
DSurfaceFlinger.cpp6189 status_t SurfaceFlinger::setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor, in setGlobalShadowSettings() argument
6193 mCurrentState.globalShadowSettings.ambientColor = vec4(ambientColor); in setGlobalShadowSettings()
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp230 shadow.ambientColor = {0.0f, 0.0f, 0.0f, 0.039f}; in getShadowSettings()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java1322 float[] ambientColor = {0.f, 0.f, 0.f, ambientShadowAlpha}; in setGlobalShadowSettings() local
1324 SurfaceControl.setGlobalShadowSettings(ambientColor, spotColor, lightY, lightZ, in setGlobalShadowSettings()