/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 | 88 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()
|
D | SkSGPaint.cpp | 34 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 | 52 .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
|
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::__anonde72b5220111::TransformEffectAdapter
|
D | DropShadowEffect.cpp | 38 .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
|
D | ShadowStyles.cpp | 36 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
|
D | GlowStyles.cpp | 35 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
|
D | FractalNoiseEffect.cpp | 374 .bind(29, fOpacity ); in FractalNoiseAdapter() 462 fOpacity = 100, // TODO member in skottie::internal::__anon2c2fe6c10111::FractalNoiseAdapter
|
/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 | 58 float fOpacity = 1; member
|
/external/skia/modules/skottie/src/layers/shapelayer/ |
D | FillStroke.cpp | 35 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/ |
D | Layer.cpp | 71 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
|
D | Skottie.cpp | 82 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/ |
D | SkSVGAttribute.h | 84 SkTLazy<SkSVGNumberType> fOpacity; member
|
D | SkSVGNode.cpp | 85 fPresentationAttributes.fOpacity.set( in setOpacity()
|
/external/skia/modules/svg/include/ |
D | SkSVGAttribute.h | 101 SkSVGProperty<SkSVGNumberType, false> fOpacity; member
|
/external/skia/modules/svg/src/ |
D | SkSVGRenderContext.cpp | 242 if (attrs.fOpacity.isValue()) { in applyPresentationAttributes() 243 this->applyOpacity(*attrs.fOpacity, flags, hasFilter); in applyPresentationAttributes()
|