Home
last modified time | relevance | path

Searched refs:scrollEffect (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/
H A Dscroll_pattern.h76 auto scrollEffect = GetScrollEdgeEffect(); in CreateNodePaintMethod() local
77 if (scrollEffect && scrollEffect->IsFadeEffect()) { in CreateNodePaintMethod()
78 paint->SetEdgeEffect(scrollEffect); in CreateNodePaintMethod()
405 void SetEdgeEffectCallback(const RefPtr<ScrollEdgeEffect>& scrollEffect) override;
H A Dscroll_pattern.cpp646 void ScrollPattern::SetEdgeEffectCallback(const RefPtr<ScrollEdgeEffect>& scrollEffect) in SetEdgeEffectCallback() argument
648 scrollEffect->SetCurrentPositionCallback([weakScroll = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
653 scrollEffect->SetLeadingCallback([weakScroll = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
660 scrollEffect->SetTrailingCallback([weakScroll = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
667 scrollEffect->SetInitLeadingCallback([weakScroll = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
674 scrollEffect->SetInitTrailingCallback([weakScroll = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/
H A Dwater_flow_pattern.cpp188 auto scrollEffect = GetScrollEdgeEffect(); in CreateNodePaintMethod() local
189 if (scrollEffect && scrollEffect->IsFadeEffect()) { in CreateNodePaintMethod()
190 paint->SetEdgeEffect(scrollEffect); in CreateNodePaintMethod()
554 void WaterFlowPattern::SetEdgeEffectCallback(const RefPtr<ScrollEdgeEffect>& scrollEffect) in SetEdgeEffectCallback() argument
556 scrollEffect->SetCurrentPositionCallback([weak = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
561 scrollEffect->SetLeadingCallback([weak = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
566 scrollEffect->SetTrailingCallback([weak = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
571 scrollEffect->SetInitLeadingCallback([weak = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
576 scrollEffect->SetInitTrailingCallback([weak = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
H A Dwater_flow_pattern.h219 void SetEdgeEffectCallback(const RefPtr<ScrollEdgeEffect>& scrollEffect) override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Dscroll_component.h120 void SetScrollEffect(const RefPtr<ScrollEdgeEffect>& scrollEffect) in SetScrollEffect() argument
123 scrollEffect_ = scrollEffect; in SetScrollEffect()
H A Drender_scroll.cpp57 auto scrollEffect = item->scrollEffect_; in Initialize() local
58 if (scrollEffect) { in Initialize()
59 scrollEffect->ProcessScrollOver(0.0); in Initialize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dgesture_event_hub.h222 void AddScrollEdgeEffect(const Axis& axis, RefPtr<ScrollEdgeEffect>& scrollEffect) in AddScrollEdgeEffect() argument
227 scrollableActuator_->AddScrollEdgeEffect(axis, scrollEffect); in AddScrollEdgeEffect()
230 void RemoveScrollEdgeEffect(const RefPtr<ScrollEdgeEffect>& scrollEffect) in RemoveScrollEdgeEffect() argument
235 scrollableActuator_->RemoveScrollEdgeEffect(scrollEffect); in RemoveScrollEdgeEffect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dlist_component.h205 void SetScrollEffect(const RefPtr<ScrollEdgeEffect>& scrollEffect) in SetScrollEffect() argument
207 scrollEffect_ = scrollEffect; in SetScrollEffect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_pattern.cpp123 auto scrollEffect = GetScrollEdgeEffect(); in CreateNodePaintMethod() local
124 if (scrollEffect && scrollEffect->IsFadeEffect()) { in CreateNodePaintMethod()
125 paint->SetEdgeEffect(scrollEffect); in CreateNodePaintMethod()
1630 void GridPattern::SetEdgeEffectCallback(const RefPtr<ScrollEdgeEffect>& scrollEffect) in SetEdgeEffectCallback() argument
1632 scrollEffect->SetCurrentPositionCallback([weak = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
1640 scrollEffect->SetLeadingCallback([weak = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
1645 scrollEffect->SetTrailingCallback([]() -> double { return 0.0; }); in SetEdgeEffectCallback()
1646 scrollEffect->SetInitLeadingCallback([weak = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
1651 scrollEffect->SetInitTrailingCallback([]() -> double { return 0.0; }); in SetEdgeEffectCallback()
H A Dgrid_pattern.h284 void SetEdgeEffectCallback(const RefPtr<ScrollEdgeEffect>& scrollEffect) override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_pattern.cpp326 auto scrollEffect = GetScrollEdgeEffect(); in CreateNodePaintMethod() local
327 if (scrollEffect && scrollEffect->IsFadeEffect()) { in CreateNodePaintMethod()
328 paint->SetEdgeEffect(scrollEffect); in CreateNodePaintMethod()
948 void ListPattern::SetEdgeEffectCallback(const RefPtr<ScrollEdgeEffect>& scrollEffect) in SetEdgeEffectCallback() argument
955 scrollEffect->SetLeadingCallback([weak = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
962 scrollEffect->SetTrailingCallback([weak = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
967 scrollEffect->SetInitLeadingCallback([weak = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
974 scrollEffect->SetInitTrailingCallback([weak = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
2002 auto scrollEffect = AceType::DynamicCast<ScrollSpringEffect>(GetScrollEdgeEffect()); in SetChainAnimationCallback() local
2003 CHECK_NULL_VOID(scrollEffect); in SetChainAnimationCallback()
[all …]
H A Dlist_pattern.h379 void SetEdgeEffectCallback(const RefPtr<ScrollEdgeEffect>& scrollEffect) override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_pattern.cpp2644 void TabBarPattern::SetEdgeEffectCallback(const RefPtr<ScrollEdgeEffect>& scrollEffect) in SetEdgeEffectCallback() argument
2646 scrollEffect->SetCurrentPositionCallback([weak = AceType::WeakClaim(this)]() -> double { in SetEdgeEffectCallback()
2682 scrollEffect->SetLeadingCallback(leadingCallback); in SetEdgeEffectCallback()
2683 scrollEffect->SetTrailingCallback(trailingCallback); in SetEdgeEffectCallback()
2684 scrollEffect->SetInitLeadingCallback(leadingCallback); in SetEdgeEffectCallback()
2685 scrollEffect->SetInitTrailingCallback(trailingCallback); in SetEdgeEffectCallback()
H A Dtab_bar_pattern.h539 void SetEdgeEffectCallback(const RefPtr<ScrollEdgeEffect>& scrollEffect);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_pattern.h201 virtual void SetEdgeEffectCallback(const RefPtr<ScrollEdgeEffect>& scrollEffect) {} in SetEdgeEffectCallback() argument