/external/skia/modules/sksg/src/ |
D | SkSGOpacityEffect.cpp | 14 , 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()
|
D | SkSGRenderNode.cpp | 82 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()
|
D | SkSGPaint.cpp | 33 paint.setAlpha(SkScalarRoundToInt(paint.getAlpha() * SkTPin<SkScalar>(fOpacity, 0, 1))); in makePaint()
|
/external/skqp/modules/sksg/src/ |
D | SkSGOpacityEffect.cpp | 14 , 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()
|
D | SkSGRenderNode.cpp | 24 alpha = SkToU8(sk_float_round2int(initial_alpha * fOpacity)); in modulatePaint() 50 fCtx.fOpacity *= opacity; in modulateOpacity()
|
D | SkSGPaintNode.cpp | 31 paint.setAlpha(SkScalarRoundToInt(paint.getAlpha() * SkTPin<SkScalar>(fOpacity, 0, 1))); in makePaint()
|
/external/skia/modules/skottie/src/effects/ |
D | FillEffect.cpp | 51 .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
|
D | TransformEffect.cpp | 32 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
|
D | DropShadowEffect.cpp | 46 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/ |
D | SkSGOpacityEffect.h | 25 SG_ATTRIBUTE(Opacity, float, fOpacity) 35 float fOpacity;
|
D | SkSGPaintNode.h | 28 SG_ATTRIBUTE(Opacity , SkScalar , fOpacity ) 44 SkScalar fOpacity = 1,
|
D | SkSGRenderNode.h | 41 float fOpacity = 1; member
|
/external/skia/modules/sksg/include/ |
D | SkSGOpacityEffect.h | 25 SG_ATTRIBUTE(Opacity, float, fOpacity) 36 float fOpacity;
|
D | SkSGPaint.h | 31 SG_ATTRIBUTE(Opacity , SkScalar , fOpacity ) 45 SkScalar fOpacity = 1,
|
D | SkSGRenderNode.h | 59 float fOpacity = 1; member
|
/external/skia/modules/skottie/src/layers/shapelayer/ |
D | FillStroke.cpp | 34 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/ |
D | Layer.cpp | 70 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
|
D | Skottie.cpp | 79 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/ |
D | SkSVGAttribute.h | 84 SkTLazy<SkSVGNumberType> fOpacity; member
|
D | SkSVGNode.cpp | 85 fPresentationAttributes.fOpacity.set( in setOpacity()
|
/external/skqp/experimental/svg/model/ |
D | SkSVGAttribute.h | 84 SkTLazy<SkSVGNumberType> fOpacity; member
|
D | SkSVGNode.cpp | 85 fPresentationAttributes.fOpacity.set( in setOpacity()
|
D | SkSVGRenderContext.cpp | 355 if (auto* opacity = attrs.fOpacity.getMaybeNull()) { in applyPresentationAttributes()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_annot.cpp | 233 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/ |
D | cpvt_generateap.cpp | 484 float fOpacity = in GenerateExtGStateDict() local 486 pGSDict->SetNewFor<CPDF_Number>("CA", fOpacity); in GenerateExtGStateDict() 487 pGSDict->SetNewFor<CPDF_Number>("ca", fOpacity); in GenerateExtGStateDict()
|