Home
last modified time | relevance | path

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

12

/frameworks/native/libs/ui/include/ui/
DShadowSettings.h33 vec4 ambientColor = vec4(); member
55 return lhs.boundaries == rhs.boundaries && lhs.ambientColor == rhs.ambientColor &&
/frameworks/av/media/libstagefright/renderfright/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.cpp1739 settings.casterIsTranslucent, settings.ambientColor, in handleShadow()
/frameworks/av/media/libstagefright/renderfright/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.cpp212 SkColor ambientColor = multiplyAlpha(casterProperties.getAmbientShadowColor(), ambientAlpha); in drawShadow() local
216 ambientColor, spotColor, in drawShadow()
/frameworks/native/services/surfaceflinger/
DLayerFE.cpp335 if (state.length <= 0.f || (state.ambientColor.a <= 0.f && state.spotColor.a <= 0.f)) { in prepareShadowClientComposition()
395 (mSnapshot->shadowSettings.ambientColor.a > 0 || in drawShadows()
DSurfaceFlinger.h638 status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor,
1671 binder::Status setGlobalShadowSettings(const gui::Color& ambientColor,
DSurfaceFlinger.cpp8906 status_t SurfaceFlinger::setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor, in setGlobalShadowSettings() argument
8910 mCurrentState.globalShadowSettings.ambientColor = vec4(ambientColor); in setGlobalShadowSettings()
10302 binder::Status SurfaceComposerAIDL::setGlobalShadowSettings(const gui::Color& ambientColor, in setGlobalShadowSettings() argument
10311 half4 ambientColorHalf = {ambientColor.r, ambientColor.g, ambientColor.b, ambientColor.a}; in setGlobalShadowSettings()
/frameworks/native/services/surfaceflinger/Tracing/tools/
DLayerTraceGenerator.cpp74 ShadowSettings globalShadowSettings{.ambientColor = {1, 1, 1, 1}}; in generate()
/frameworks/native/libs/gui/aidl/android/gui/
DISurfaceComposer.aidl466 …oneway void setGlobalShadowSettings(in Color ambientColor, in Color spotColor, float lightPosY, fl… in setGlobalShadowSettings() argument
/frameworks/native/libs/renderengine/include/renderengine/
DLayerSettings.h233 *os << "\n .ambientColor = " << settings.ambientColor; in PrintTo()
/frameworks/av/media/libstagefright/renderfright/fuzzer/
Dlibstagefright_renderfright_fuzzer.cpp176 layerSetting.shadow.ambientColor = { in getLayerSetting()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshotBuilder.cpp1026 snapshot.shadowSettings.ambientColor = globalShadowSettings.ambientColor; in updateShadows()
1040 snapshot.shadowSettings.ambientColor *= snapshot.alpha; in updateShadows()
/frameworks/base/core/java/android/view/
DSurfaceControl.java254 private static native void nativeSetGlobalShadowSettings(@Size(4) float[] ambientColor, in nativeSetGlobalShadowSettings() argument
2611 public static void setGlobalShadowSettings(@Size(4) float[] ambientColor, in setGlobalShadowSettings() argument
2613 validateColorArg(ambientColor); in setGlobalShadowSettings()
2615 nativeSetGlobalShadowSettings(ambientColor, spotColor, lightPosY, lightPosZ, lightRadius); in setGlobalShadowSettings()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp3063 status_t SurfaceComposerClient::setGlobalShadowSettings(const half4& ambientColor, in setGlobalShadowSettings() argument
3067 ambientColorG.r = ambientColor.r; in setGlobalShadowSettings()
3068 ambientColorG.g = ambientColor.g; in setGlobalShadowSettings()
3069 ambientColorG.b = ambientColor.b; in setGlobalShadowSettings()
3070 ambientColorG.a = ambientColor.a; in setGlobalShadowSettings()
/frameworks/native/libs/renderengine/skia/
DCache.cpp86 .ambientColor = vec4(0, 0, 0, 0.00935997f), in drawShadowLayers()
DSkiaRenderEngine.cpp1195 getSkColor(settings.ambientColor), getSkColor(settings.spotColor), in drawShadow()
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h325 static status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor,
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp1903 half4 ambientColor = half4(floatAmbientColor[0], floatAmbientColor[1], floatAmbientColor[2], in nativeSetGlobalShadowSettings() local
1912 client->setGlobalShadowSettings(ambientColor, spotColor, lightPosY, lightPosZ, lightRadius); in nativeSetGlobalShadowSettings()
/frameworks/av/media/libstagefright/renderfright/tests/
DRenderEngineTest.cpp233 shadow.ambientColor = {0.0f, 0.0f, 0.0f, 0.039f}; in getShadowSettings()
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp451 shadow.ambientColor = {0.0f, 0.0f, 0.0f, 0.039f}; in getShadowSettings()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java1469 float[] ambientColor = {0.f, 0.f, 0.f, ambientShadowAlpha}; in setGlobalShadowSettings() local
1471 SurfaceControl.setGlobalShadowSettings(ambientColor, spotColor, lightY, lightZ, in setGlobalShadowSettings()

12