Home
last modified time | relevance | path

Searched refs:fOpacity (Results 1 – 25 of 26) 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.cpp82 return ScaleAlpha(SK_AlphaOPAQUE, fOpacity) != SK_AlphaOPAQUE in requiresIsolation()
89 paint->setAlpha(ScaleAlpha(paint->getAlpha(), fOpacity)); in modulatePaint()
114 fCtx.fOpacity *= opacity; in modulateOpacity()
175 fCtx.fOpacity = 1; in setIsolation()
DSkSGPaint.cpp33 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.cpp51 .bind(kOpacity_Index, fOpacity); in FillAdapter()
59 sk_float_round2int_no_saturate(SkColorGetA(c) * SkTPin(fOpacity, 0.0f, 1.0f)); in onSync()
67 ScalarValue fOpacity = 1; member in skottie::internal::__anon372ef8380111::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::__anonaa21098d0111::TransformEffectAdapter
DDropShadowEffect.cpp46 this->bind(*abuilder, EffectBuilder::GetPropValue(jprops, kOpacity_Index), &fOpacity ); in DropShadowAdapter()
56 fDropShadow->setColor(SkColorSetA(color, SkTPin(SkScalarRoundToInt(fOpacity), 0, 255))); in onSync()
77 ScalarValue fOpacity = 255.f, member in skottie::internal::__anoncdf6deac0111::DropShadowAdapter
/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.h59 float fOpacity = 1; member
/external/skia/modules/skottie/src/layers/shapelayer/
DFillStroke.cpp34 this->bind(abuilder, jpaint["o"], fOpacity); in FillStrokeAdapter()
70 this->node()->setOpacity(fOpacity * 0.01f); in onSync()
84 ScalarValue fOpacity = 100, member in skottie::internal::__anon87eedbb00111::FillStrokeAdapter
/external/skia/modules/skottie/src/
DLayer.cpp70 this->bind(abuilder, jmask["o"], fOpacity); in MaskAdapter()
79 || fOpacity < 100 in hasEffect()
92 fMaskPaint->setOpacity(fOpacity * 0.01f); in onSync()
106 ScalarValue fOpacity = 100; member in skottie::internal::__anon48236b720111::MaskAdapter
DSkottie.cpp79 this->bind(abuilder, jobject["o"], fOpacity); in OpacityAdapter()
84 this->node()->setOpacity(fOpacity * 0.01f); in onSync()
87 ScalarValue fOpacity = 100; member in skottie::internal::__anon1b326d580111::OpacityAdapter
/external/skia/experimental/svg/model/
DSkSVGAttribute.h84 SkTLazy<SkSVGNumberType> fOpacity; member
DSkSVGNode.cpp85 fPresentationAttributes.fOpacity.set( in setOpacity()
/external/skqp/experimental/svg/model/
DSkSVGAttribute.h84 SkTLazy<SkSVGNumberType> fOpacity; member
DSkSVGNode.cpp85 fPresentationAttributes.fOpacity.set( in setOpacity()
DSkSVGRenderContext.cpp355 if (auto* opacity = attrs.fOpacity.getMaybeNull()) { in applyPresentationAttributes()
/external/pdfium/fpdfsdk/
Dfpdf_annot.cpp233 float fOpacity = pAnnotDict->GetNumberFor("CA"); in SetExtGStateInResourceDict() local
235 pGSDict->SetNewFor<CPDF_Number>("CA", fOpacity); in SetExtGStateInResourceDict()
239 pGSDict->SetNewFor<CPDF_Number>("ca", fOpacity); in SetExtGStateInResourceDict()
/external/pdfium/core/fpdfdoc/
Dcpvt_generateap.cpp484 float fOpacity = in GenerateExtGStateDict() local
486 pGSDict->SetNewFor<CPDF_Number>("CA", fOpacity); in GenerateExtGStateDict()
487 pGSDict->SetNewFor<CPDF_Number>("ca", fOpacity); in GenerateExtGStateDict()

12