Home
last modified time | relevance | path

Searched refs:fOpacity (Results 1 – 25 of 28) sorted by relevance

12

/external/skia/modules/sksg/src/
DSkSGOpacityEffect.cpp14 , fOpacity(opacity) {} in OpacityEffect()
18 if (fOpacity <= 0) in onRender()
21 const auto local_context = ScopedRenderContext(canvas, ctx).modulateOpacity(fOpacity); in onRender()
27 return (fOpacity > 0) ? this->INHERITED::onNodeAt(p) : nullptr; in onNodeAt()
34 return fOpacity > 0 ? this->INHERITED::onRevalidate(ic, ctm) : SkRect::MakeEmpty(); in onRevalidate()
DSkSGRenderNode.cpp88 return ScaleAlpha(SK_AlphaOPAQUE, fOpacity) != SK_AlphaOPAQUE in requiresIsolation()
96 paint->setAlpha(ScaleAlpha(paint->getAlpha(), fOpacity)); in modulatePaint()
134 fCtx.fOpacity *= opacity; in modulateOpacity()
201 fCtx.fOpacity = 1; in setIsolation()
DSkSGPaint.cpp34 paint.setAlpha(SkScalarRoundToInt(paint.getAlpha() * SkTPin<SkScalar>(fOpacity, 0, 1))); in makePaint()
/external/skqp/modules/sksg/src/
DSkSGOpacityEffect.cpp14 , fOpacity(opacity) {} in OpacityEffect()
18 if (fOpacity <= 0) in onRender()
21 const auto local_context = ScopedRenderContext(canvas, ctx).modulateOpacity(fOpacity); in onRender()
30 return fOpacity > 0 ? this->INHERITED::onRevalidate(ic, ctm) : SkRect::MakeEmpty(); in onRevalidate()
DSkSGRenderNode.cpp24 alpha = SkToU8(sk_float_round2int(initial_alpha * fOpacity)); in modulatePaint()
50 fCtx.fOpacity *= opacity; in modulateOpacity()
DSkSGPaintNode.cpp31 paint.setAlpha(SkScalarRoundToInt(paint.getAlpha() * SkTPin<SkScalar>(fOpacity, 0, 1))); in makePaint()
/external/skia/modules/skottie/src/effects/
DFillEffect.cpp52 .bind(kOpacity_Index, fOpacity); in FillAdapter()
60 sk_float_round2int_no_saturate(SkColorGetA(c) * SkTPin(fOpacity, 0.0f, 1.0f)); in onSync()
68 ScalarValue fOpacity = 1; member in skottie::internal::__anon21dcd2ad0111::FillAdapter
DTransformEffect.cpp32 this->bind(abuilder, jopacity , fOpacity ); in TransformEffectAdapter()
42 this->node()->setOpacity(fOpacity * 0.01f); in onSync()
55 ScalarValue fOpacity = 100, member in skottie::internal::__anonde72b5220111::TransformEffectAdapter
DDropShadowEffect.cpp38 .bind( kOpacity_Index, adapter->fOpacity ) in Make()
57 fDropShadow->setColor(SkColorSetA(color, SkTPin(SkScalarRoundToInt(fOpacity), 0, 255))); in onSync()
76 ScalarValue fOpacity = 255, member in skottie::internal::__anon8c7dfce10111::DropShadowAdapter
DShadowStyles.cpp36 this->bind(abuilder, jstyle["o"], fOpacity); in ShadowAdapter()
46 opacity = SkTPin(fOpacity / 100, 0.0f, 1.0f); in onSync()
108 ScalarValue fOpacity = 100, // percentage member in skottie::internal::__anond1c36e030111::ShadowAdapter
DGlowStyles.cpp35 this->bind(abuilder, jstyle["o" ], fOpacity); in GlowAdapter()
44 opacity = SkTPin(fOpacity / 100, 0.0f, 1.0f), in onSync()
134 ScalarValue fOpacity = 100, // percentage member in skottie::internal::__anond8c4d7560111::GlowAdapter
DFractalNoiseEffect.cpp374 .bind(29, fOpacity ); in FractalNoiseAdapter()
462 fOpacity = 100, // TODO member in skottie::internal::__anon2c2fe6c10111::FractalNoiseAdapter
/external/skqp/modules/sksg/include/
DSkSGOpacityEffect.h25 SG_ATTRIBUTE(Opacity, float, fOpacity)
35 float fOpacity;
DSkSGPaintNode.h28 SG_ATTRIBUTE(Opacity , SkScalar , fOpacity )
44 SkScalar fOpacity = 1,
DSkSGRenderNode.h41 float fOpacity = 1; member
/external/skia/modules/sksg/include/
DSkSGOpacityEffect.h25 SG_ATTRIBUTE(Opacity, float, fOpacity)
36 float fOpacity;
DSkSGPaint.h31 SG_ATTRIBUTE(Opacity , SkScalar , fOpacity )
45 SkScalar fOpacity = 1,
DSkSGRenderNode.h58 float fOpacity = 1; member
/external/skia/modules/skottie/src/layers/shapelayer/
DFillStroke.cpp35 this->bind(abuilder, jpaint["o"], fOpacity); in FillStrokeAdapter()
71 this->node()->setOpacity(fOpacity * 0.01f); in onSync()
85 ScalarValue fOpacity = 100, member in skottie::internal::__anon54940c650111::FillStrokeAdapter
/external/skia/modules/skottie/src/
DLayer.cpp71 this->bind(abuilder, jmask["o"], fOpacity); in MaskAdapter()
80 || fOpacity < 100 in hasEffect()
99 fMaskPaint->setOpacity(fOpacity * 0.01f); in onSync()
129 ScalarValue fOpacity = 100; member in skottie::internal::__anonacb323c70111::MaskAdapter
DSkottie.cpp82 this->bind(abuilder, jobject["o"], fOpacity); in OpacityAdapter()
87 this->node()->setOpacity(fOpacity * 0.01f); in onSync()
90 ScalarValue fOpacity = 100; member in skottie::internal::__anone2918eed0111::OpacityAdapter
/external/skqp/experimental/svg/model/
DSkSVGAttribute.h84 SkTLazy<SkSVGNumberType> fOpacity; member
DSkSVGNode.cpp85 fPresentationAttributes.fOpacity.set( in setOpacity()
/external/skia/modules/svg/include/
DSkSVGAttribute.h101 SkSVGProperty<SkSVGNumberType, false> fOpacity; member
/external/skia/modules/svg/src/
DSkSVGRenderContext.cpp242 if (attrs.fOpacity.isValue()) { in applyPresentationAttributes()
243 this->applyOpacity(*attrs.fOpacity, flags, hasFilter); in applyPresentationAttributes()

12