Home
last modified time | relevance | path

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

12

/aosp12/frameworks/native/libs/renderengine/gl/
H A DGLShadowVertexGenerator.cpp32 bool casterIsTranslucent, const vec4& ambientColor, in GLShadowVertexGenerator() argument
35 mDrawAmbientShadow = ambientColor.a > 0.f; in GLShadowVertexGenerator()
41 casterIsTranslucent, ambientColor); in GLShadowVertexGenerator()
H A DGLShadowVertexGenerator.h41 bool casterIsTranslucent, const vec4& ambientColor,
H A DGLSkiaShadowPort.h67 const vec4& ambientColor);
H A DGLSkiaShadowPort.cpp551 const vec4& ambientColor) { in getAmbientShadowGeometry() argument
570 return getShadowGeometry(ambientColor, outsetRect, std::abs(outsetRad), devSpaceAmbientBlur, in getAmbientShadowGeometry()
H A DGLESRenderEngine.cpp1833 settings.casterIsTranslucent, settings.ambientColor, in handleShadow()
/aosp12/frameworks/av/media/libstagefright/renderfright/gl/
H A DGLShadowVertexGenerator.cpp32 bool casterIsTranslucent, const vec4& ambientColor, in GLShadowVertexGenerator() argument
35 mDrawAmbientShadow = ambientColor.a > 0.f; in GLShadowVertexGenerator()
41 casterIsTranslucent, ambientColor); in GLShadowVertexGenerator()
H A DGLShadowVertexGenerator.h41 bool casterIsTranslucent, const vec4& ambientColor,
H A DGLSkiaShadowPort.h67 const vec4& ambientColor);
H A DGLSkiaShadowPort.cpp551 const vec4& ambientColor) { in getAmbientShadowGeometry() argument
570 return getShadowGeometry(ambientColor, outsetRect, std::abs(outsetRad), devSpaceAmbientBlur, in getAmbientShadowGeometry()
H A DGLESRenderEngine.cpp1739 settings.casterIsTranslucent, settings.ambientColor, in handleShadow()
/aosp12/frameworks/av/media/libstagefright/renderfright/include/renderengine/
H A DLayerSettings.h109 vec4 ambientColor = vec4();
180 return lhs.ambientColor == rhs.ambientColor && lhs.spotColor == rhs.spotColor &&
231 *os << "\n .ambientColor = " << settings.ambientColor; in PrintTo()
/aosp12/frameworks/native/libs/renderengine/include/renderengine/
H A DLayerSettings.h114 vec4 ambientColor = vec4();
199 return lhs.boundaries == rhs.boundaries && lhs.ambientColor == rhs.ambientColor &&
265 *os << "\n .ambientColor = " << settings.ambientColor; in PrintTo()
/aosp12/frameworks/base/libs/hwui/pipeline/skia/
H A DReorderBarrierDrawables.cpp206 SkColor ambientColor = multiplyAlpha(casterProperties.getAmbientShadowColor(), ambientAlpha); in drawShadow() local
210 ambientColor, spotColor, in drawShadow()
/aosp12/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp1098 status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor, in setGlobalShadowSettings() argument
1107 std::vector<float> shadowConfig = {ambientColor.r, ambientColor.g, ambientColor.b, in setGlobalShadowSettings()
1108 ambientColor.a, spotColor.r, spotColor.g, in setGlobalShadowSettings()
2032 half4 ambientColor = {shadowConfig[0], shadowConfig[1], shadowConfig[2], in onTransact() local
2038 return setGlobalShadowSettings(ambientColor, spotColor, lightPosY, lightPosZ, in onTransact()
H A DSurfaceComposerClient.cpp2185 status_t SurfaceComposerClient::setGlobalShadowSettings(const half4& ambientColor, in setGlobalShadowSettings() argument
2188 return ComposerService::getComposerService()->setGlobalShadowSettings(ambientColor, spotColor, in setGlobalShadowSettings()
/aosp12/frameworks/native/libs/gui/include/gui/
H A DISurfaceComposer.h506 virtual status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor,
H A DSurfaceComposerClient.h256 static status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor,
/aosp12/frameworks/native/libs/renderengine/skia/
H A DCache.cpp74 .ambientColor = vec4(0, 0, 0, 0.00935997f), in drawShadowLayers()
H A DSkiaGLRenderEngine.cpp1295 getSkColor(settings.ambientColor), getSkColor(settings.spotColor), in drawShadow()
/aosp12/frameworks/base/core/java/android/view/
H A DSurfaceControl.java224 private static native void nativeSetGlobalShadowSettings(@Size(4) float[] ambientColor, in nativeSetGlobalShadowSettings() argument
2635 public static void setGlobalShadowSettings(@Size(4) float[] ambientColor, in setGlobalShadowSettings() argument
2637 validateColorArg(ambientColor); in setGlobalShadowSettings()
2639 nativeSetGlobalShadowSettings(ambientColor, spotColor, lightPosY, lightPosZ, lightRadius); in setGlobalShadowSettings()
/aosp12/frameworks/native/services/surfaceflinger/
H A DLayer.cpp1997 state.ambientColor *= casterAlpha; in prepareShadowClientComposition()
2000 if (state.ambientColor.a > 0.f && state.spotColor.a > 0.f) { in prepareShadowClientComposition()
H A DSurfaceFlinger.h708 status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor,
/aosp12/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp1683 half4 ambientColor = half4(floatAmbientColor[0], floatAmbientColor[1], floatAmbientColor[2], in nativeSetGlobalShadowSettings() local
1692 client->setGlobalShadowSettings(ambientColor, spotColor, lightPosY, lightPosZ, lightRadius); in nativeSetGlobalShadowSettings()
/aosp12/frameworks/av/media/libstagefright/renderfright/tests/
H A DRenderEngineTest.cpp233 shadow.ambientColor = {0.0f, 0.0f, 0.0f, 0.039f}; in getShadowSettings()
/aosp12/frameworks/native/libs/renderengine/tests/
H A DRenderEngineTest.cpp399 shadow.ambientColor = {0.0f, 0.0f, 0.0f, 0.039f}; in getShadowSettings()

12