/external/skia/modules/skottie/src/effects/ |
D | Effects.h | 28 sk_sp<sksg::RenderNode> attachEffects(const skjson::ArrayValue&, 29 sk_sp<sksg::RenderNode>) const; 31 sk_sp<sksg::RenderNode> attachStyles(const skjson::ArrayValue&, 32 sk_sp<sksg::RenderNode>) const; 41 using EffectBuilderT = sk_sp<sksg::RenderNode>(EffectBuilder::*)(const skjson::ArrayValue&, 42 sk_sp<sksg::RenderNode>) const; 44 sk_sp<sksg::RenderNode> attachBlackAndWhiteEffect (const skjson::ArrayValue&, 45 sk_sp<sksg::RenderNode>) const; 46 sk_sp<sksg::RenderNode> attachBrightnessContrastEffect(const skjson::ArrayValue&, 47 sk_sp<sksg::RenderNode>) const; [all …]
|
D | GaussianBlurEffect.cpp | 23 sk_sp<sksg::RenderNode> layer, in Make() 30 const sk_sp<sksg::RenderNode>& node() const { return fImageFilterEffect; } in node() 34 sk_sp<sksg::RenderNode> layer, in GaussianBlurEffectAdapter() 76 const sk_sp<sksg::RenderNode> fImageFilterEffect; 85 sk_sp<sksg::RenderNode> EffectBuilder::attachGaussianBlurEffect( in attachGaussianBlurEffect() 87 sk_sp<sksg::RenderNode> layer) const { in attachGaussianBlurEffect()
|
D | DropShadowEffect.cpp | 23 sk_sp<sksg::RenderNode> layer, in Make() 47 const sk_sp<sksg::RenderNode>& node() const { return fImageFilterEffect; } in node() 50 explicit DropShadowAdapter(sk_sp<sksg::RenderNode> layer) in DropShadowAdapter() 73 const sk_sp<sksg::RenderNode> fImageFilterEffect; 85 sk_sp<sksg::RenderNode> EffectBuilder::attachDropShadowEffect(const skjson::ArrayValue& jprops, in attachDropShadowEffect() 86 sk_sp<sksg::RenderNode> layer) const { in attachDropShadowEffect()
|
D | DisplacementMapEffect.cpp | 78 static sk_sp<DisplacementNode> Make(sk_sp<RenderNode> child, in Make() 80 sk_sp<RenderNode> displ, in Make() 122 DisplacementNode(sk_sp<RenderNode> child, const SkSize& child_size, in DisplacementNode() 123 sk_sp<RenderNode> displ, const SkSize& displ_size) in DisplacementNode() 175 auto get_content_picture = [](const sk_sp<sksg::RenderNode>& node, in buildEffectShader() 291 const RenderNode* onNodeAt(const SkPoint&) const override { return nullptr; } // no hit-testing in onNodeAt() 293 const sk_sp<sksg::RenderNode> fDisplSource; 327 static std::tuple<sk_sp<sksg::RenderNode>, SkSize> GetDisplacementSource( in GetDisplacementSource() 338 return std::make_tuple<sk_sp<sksg::RenderNode>, SkSize>(nullptr, {0,0}); in GetDisplacementSource() 392 sk_sp<sksg::RenderNode> EffectBuilder::attachDisplacementMapEffect( in attachDisplacementMapEffect() [all …]
|
D | ShadowStyles.cpp | 116 static sk_sp<sksg::RenderNode> make_shadow_effect(const skjson::ObjectValue& jstyle, in make_shadow_effect() 118 sk_sp<sksg::RenderNode> layer, in make_shadow_effect() 127 sk_sp<sksg::RenderNode> EffectBuilder::attachDropShadowStyle(const skjson::ObjectValue& jstyle, in attachDropShadowStyle() 128 sk_sp<sksg::RenderNode> layer) const { in attachDropShadowStyle() 133 sk_sp<sksg::RenderNode> EffectBuilder::attachInnerShadowStyle(const skjson::ObjectValue& jstyle, in attachInnerShadowStyle() 134 sk_sp<sksg::RenderNode> layer) const { in attachInnerShadowStyle()
|
D | Effects.cpp | 107 sk_sp<sksg::RenderNode> EffectBuilder::attachEffects(const skjson::ArrayValue& jeffects, in attachEffects() 108 sk_sp<sksg::RenderNode> layer) const { in attachEffects() 136 sk_sp<sksg::RenderNode> EffectBuilder::attachStyles(const skjson::ArrayValue& jstyles, in attachStyles() 137 sk_sp<sksg::RenderNode> layer) const { in attachStyles() 144 sk_sp<sksg::RenderNode> (EffectBuilder::*)(const skjson::ObjectValue&, in attachStyles() 145 sk_sp<sksg::RenderNode>) const; in attachStyles() 189 MaskShaderEffectBase::MaskShaderEffectBase(sk_sp<sksg::RenderNode> child, const SkSize& ls) in MaskShaderEffectBase()
|
D | GlowStyles.cpp | 142 static sk_sp<sksg::RenderNode> make_glow_effect(const skjson::ObjectValue& jstyle, in make_glow_effect() 144 sk_sp<sksg::RenderNode> layer, in make_glow_effect() 153 sk_sp<sksg::RenderNode> EffectBuilder::attachOuterGlowStyle(const skjson::ObjectValue& jstyle, in attachOuterGlowStyle() 154 sk_sp<sksg::RenderNode> layer) const { in attachOuterGlowStyle() 158 sk_sp<sksg::RenderNode> EffectBuilder::attachInnerGlowStyle(const skjson::ObjectValue& jstyle, in attachInnerGlowStyle() 159 sk_sp<sksg::RenderNode> layer) const { in attachInnerGlowStyle()
|
D | FillEffect.cpp | 25 sk_sp<sksg::RenderNode> layer, in Make() 34 sk_sp<sksg::RenderNode> layer, in FillAdapter() 73 sk_sp<sksg::RenderNode> EffectBuilder::attachFillEffect(const skjson::ArrayValue& jprops, in attachFillEffect() 74 sk_sp<sksg::RenderNode> layer) const { in attachFillEffect()
|
D | TintEffect.cpp | 23 sk_sp<sksg::RenderNode> layer, in Make() 32 sk_sp<sksg::RenderNode> layer, in TintAdapter() 71 sk_sp<sksg::RenderNode> EffectBuilder::attachTintEffect(const skjson::ArrayValue& jprops, in attachTintEffect() 72 sk_sp<sksg::RenderNode> layer) const { in attachTintEffect()
|
D | GradientEffect.cpp | 23 sk_sp<sksg::RenderNode> layer, in Make() 30 sk_sp<sksg::RenderNode> node() const { return fShaderEffect; } in node() 34 sk_sp<sksg::RenderNode> layer, in GradientRampEffectAdapter() 129 sk_sp<sksg::RenderNode> EffectBuilder::attachGradientEffect(const skjson::ArrayValue& jprops, in attachGradientEffect() 130 sk_sp<sksg::RenderNode> layer) const { in attachGradientEffect()
|
D | TritoneEffect.cpp | 24 sk_sp<sksg::RenderNode> layer, in Make() 33 sk_sp<sksg::RenderNode> layer, in TritoneAdapter() 76 sk_sp<sksg::RenderNode> EffectBuilder::attachTritoneEffect(const skjson::ArrayValue& jprops, in attachTritoneEffect() 77 sk_sp<sksg::RenderNode> layer) const { in attachTritoneEffect()
|
D | RadialWipeEffect.cpp | 26 explicit RWipeRenderNode(sk_sp<sksg::RenderNode> layer) in RWipeRenderNode() 36 const RenderNode* onNodeAt(const SkPoint&) const override { return nullptr; } // no hit-testing in onNodeAt() 129 sk_sp<sksg::RenderNode> layer, in RadialWipeAdapter() 171 sk_sp<sksg::RenderNode> EffectBuilder::attachRadialWipeEffect(const skjson::ArrayValue& jprops, in attachRadialWipeEffect() 172 sk_sp<sksg::RenderNode> layer) const { in attachRadialWipeEffect()
|
/external/skia/modules/sksg/src/ |
D | SkSGRenderNode.cpp | 25 RenderNode::RenderNode(uint32_t inval_traits) : INHERITED(inval_traits) {} in RenderNode() function in sksg::RenderNode 27 bool RenderNode::isVisible() const { in isVisible() 31 void RenderNode::setVisible(bool v) { in setVisible() 41 void RenderNode::render(SkCanvas* canvas, const RenderContext* ctx) const { in render() 49 const RenderNode* RenderNode::nodeAt(const SkPoint& p) const { in nodeAt() 86 bool RenderNode::RenderContext::requiresIsolation() const { in requiresIsolation() 94 void RenderNode::RenderContext::modulatePaint(const SkMatrix& ctm, SkPaint* paint, in modulatePaint() 114 RenderNode::ScopedRenderContext::ScopedRenderContext(SkCanvas* canvas, const RenderContext* ctx) in ScopedRenderContext() 119 RenderNode::ScopedRenderContext::~ScopedRenderContext() { in ~ScopedRenderContext() 131 RenderNode::ScopedRenderContext&& [all …]
|
D | SkSGRenderEffect.cpp | 18 sk_sp<MaskShaderEffect> MaskShaderEffect::Make(sk_sp<RenderNode> child, sk_sp<SkShader> sh) { in Make() 23 MaskShaderEffect::MaskShaderEffect(sk_sp<RenderNode> child, sk_sp<SkShader> sh) in MaskShaderEffect() 35 sk_sp<ShaderEffect> ShaderEffect::Make(sk_sp<RenderNode> child, sk_sp<Shader> shader) { in Make() 40 ShaderEffect::ShaderEffect(sk_sp<RenderNode> child, sk_sp<Shader> shader) in ShaderEffect() 91 sk_sp<RenderNode> ImageFilterEffect::Make(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter) { in Make() 92 return filter ? sk_sp<RenderNode>(new ImageFilterEffect(std::move(child), std::move(filter))) in Make() 96 ImageFilterEffect::ImageFilterEffect(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter) in ImageFilterEffect() 123 const RenderNode* ImageFilterEffect::onNodeAt(const SkPoint& p) const { in onNodeAt() 206 sk_sp<BlenderEffect> BlenderEffect::Make(sk_sp<RenderNode> child, sk_sp<SkBlender> blender) { in Make() 211 BlenderEffect::BlenderEffect(sk_sp<RenderNode> child, sk_sp<SkBlender> blender) in BlenderEffect() [all …]
|
D | SkSGColorFilter.cpp | 18 ColorFilter::ColorFilter(sk_sp<RenderNode> child) in ColorFilter() 27 const RenderNode* ColorFilter::onNodeAt(const SkPoint& p) const { in onNodeAt() 40 sk_sp<ExternalColorFilter> ExternalColorFilter::Make(sk_sp<RenderNode> child) { in Make() 45 ExternalColorFilter::ExternalColorFilter(sk_sp<RenderNode> child) : INHERITED(std::move(child)) {} in ExternalColorFilter() 55 sk_sp<ModeColorFilter> ModeColorFilter::Make(sk_sp<RenderNode> child, sk_sp<Color> color, in Make() 62 ModeColorFilter::ModeColorFilter(sk_sp<RenderNode> child, sk_sp<Color> color, SkBlendMode mode) in ModeColorFilter() 78 sk_sp<GradientColorFilter> GradientColorFilter::Make(sk_sp<RenderNode> child, in Make() 83 sk_sp<GradientColorFilter> GradientColorFilter::Make(sk_sp<RenderNode> child, in Make() 90 GradientColorFilter::GradientColorFilter(sk_sp<RenderNode> child, std::vector<sk_sp<Color>> colors) in GradientColorFilter()
|
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/ |
D | ShadowNativeRenderNodeTest.java | 18 import android.graphics.RenderNode; 35 final RenderNode renderNode = new RenderNode(null); in testDefaults() 81 final RenderNode renderNode = new RenderNode("Blue rect"); in testBasicDraw() 104 final RenderNode renderNode = new RenderNode("translation"); in testTranslationGetSet() 132 final RenderNode renderNode = new RenderNode("alpha"); in testAlphaGetSet() 142 final RenderNode renderNode = new RenderNode("rotation"); in testRotationGetSet() 165 final RenderNode renderNode = new RenderNode("scale"); in testScaleGetSet() 181 final RenderNode renderNode = new RenderNode(null); in testStartEndRecordingEmpty() 193 final RenderNode renderNode = new RenderNode(null); in testStartEndRecordingWithBounds() 206 final RenderNode renderNode = new RenderNode(null); in testStartEndRecordingEmptyWithSize() [all …]
|
/external/skia/modules/sksg/include/ |
D | SkSGGroup.h | 20 class Group : public RenderNode { 23 return sk_sp<Group>(new Group(std::vector<sk_sp<RenderNode>>())); in Make() 26 static sk_sp<Group> Make(std::vector<sk_sp<RenderNode>> children) { in Make() 30 void addChild(sk_sp<RenderNode>); 31 void removeChild(const sk_sp<RenderNode>&); 39 explicit Group(std::vector<sk_sp<RenderNode>>); 43 const RenderNode* onNodeAt(const SkPoint&) const override; 48 std::vector<sk_sp<RenderNode>> fChildren; 51 using INHERITED = RenderNode;
|
D | SkSGColorFilter.h | 28 explicit ColorFilter(sk_sp<RenderNode>); 31 const RenderNode* onNodeAt(const SkPoint&) const final; 50 static sk_sp<ExternalColorFilter> Make(sk_sp<RenderNode> child); 60 explicit ExternalColorFilter(sk_sp<RenderNode>); 74 static sk_sp<ModeColorFilter> Make(sk_sp<RenderNode> child, 82 ModeColorFilter(sk_sp<RenderNode>, sk_sp<Color>, SkBlendMode); 99 static sk_sp<GradientColorFilter> Make(sk_sp<RenderNode> child, 101 static sk_sp<GradientColorFilter> Make(sk_sp<RenderNode> child, 110 GradientColorFilter(sk_sp<RenderNode>, std::vector<sk_sp<Color>>);
|
D | SkSGEffectNode.h | 21 class EffectNode : public RenderNode { 23 explicit EffectNode(sk_sp<RenderNode>, uint32_t inval_traits = 0); 27 const RenderNode* onNodeAt(const SkPoint&) const override; 31 const sk_sp<RenderNode>& getChild() const { return fChild; } in getChild() 34 sk_sp<RenderNode> fChild; 36 using INHERITED = RenderNode;
|
D | SkSGRenderNode.h | 26 class RenderNode : public Node { 36 const RenderNode* nodeAt(const SkPoint& point) const; 44 explicit RenderNode(uint32_t inval_traits = 0); 47 virtual const RenderNode* onNodeAt(const SkPoint& p) const = 0; 132 class CustomRenderNode : public RenderNode { 134 explicit CustomRenderNode(std::vector<sk_sp<RenderNode>>&& children); 137 const std::vector<sk_sp<RenderNode>>& children() const { return fChildren; } in children() 142 std::vector<sk_sp<RenderNode>> fChildren; 144 using INHERITED = RenderNode;
|
D | SkSGRenderEffect.h | 61 static sk_sp<ShaderEffect> Make(sk_sp<RenderNode> child, sk_sp<Shader> shader = nullptr); 71 ShaderEffect(sk_sp<RenderNode> child, sk_sp<Shader> shader); 83 static sk_sp<MaskShaderEffect> Make(sk_sp<RenderNode>, sk_sp<SkShader> = nullptr); 91 MaskShaderEffect(sk_sp<RenderNode>, sk_sp<SkShader>); 137 static sk_sp<RenderNode> Make(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter); 141 const RenderNode* onNodeAt(const SkPoint&) const override; 146 ImageFilterEffect(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter); 235 static sk_sp<BlenderEffect> Make(sk_sp<RenderNode> child, sk_sp<SkBlender> = nullptr); 241 const RenderNode* onNodeAt(const SkPoint&) const override; 244 BlenderEffect(sk_sp<RenderNode>, sk_sp<SkBlender>); [all …]
|
D | SkSGMaskEffect.h | 28 static sk_sp<MaskEffect> Make(sk_sp<RenderNode> child, sk_sp<RenderNode> mask, 38 MaskEffect(sk_sp<RenderNode>, sk_sp<RenderNode> mask, Mode); 41 const RenderNode* onNodeAt(const SkPoint&) const override; 46 const sk_sp<RenderNode> fMaskNode;
|
D | SkSGScene.h | 23 class RenderNode; variable 31 static std::unique_ptr<Scene> Make(sk_sp<RenderNode> root); 38 const RenderNode* nodeAt(const SkPoint&) const; 41 explicit Scene(sk_sp<RenderNode> root); 43 const sk_sp<RenderNode> fRoot;
|
/external/skia/modules/skottie/src/ |
D | SkottiePriv.h | 36 class RenderNode; variable 91 sk_sp<sksg::RenderNode> attachOpacity(const skjson::ObjectValue&, 92 sk_sp<sksg::RenderNode>) const; 201 sk_sp<sksg::RenderNode> attachBlendMode(const skjson::ObjectValue&, 202 sk_sp<sksg::RenderNode>) const; 204 sk_sp<sksg::RenderNode> attachShape(const skjson::ArrayValue*, AttachShapeContext*, 207 sk_sp<sksg::RenderNode> attachFootageAsset(const skjson::ObjectValue&, LayerInfo*) const; 209 sk_sp<sksg::RenderNode> attachExternalPrecompLayer(const skjson::ObjectValue&, 212 sk_sp<sksg::RenderNode> attachFootageLayer(const skjson::ObjectValue&, LayerInfo*) const; 213 sk_sp<sksg::RenderNode> attachNullLayer (const skjson::ObjectValue&, LayerInfo*) const; [all …]
|
/external/skia/modules/skottie/src/layers/shapelayer/ |
D | Repeater.cpp | 28 RepeaterRenderNode(std::vector<sk_sp<RenderNode>>&& children, CompositeMode mode) in RepeaterRenderNode() 42 const RenderNode* onNodeAt(const SkPoint&) const override { return nullptr; } // no hit-testing in onNodeAt() 120 std::vector<sk_sp<sksg::RenderNode>>&& draws) in RepeaterAdapter() 167 std::vector<sk_sp<sksg::RenderNode>> ShapeBuilder::AttachRepeaterDrawEffect( in AttachRepeaterDrawEffect() 170 std::vector<sk_sp<sksg::RenderNode>>&& draws) { in AttachRepeaterDrawEffect() 171 std::vector<sk_sp<sksg::RenderNode>> repeater_draws; in AttachRepeaterDrawEffect()
|