Home
last modified time | relevance | path

Searched refs:SwiperChangeEvent (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/swiper/
H A Dswiper_component.h32 class ACE_EXPORT SwiperChangeEvent : public BaseEventInfo, public EventToJSONStringAdapter {
33 DECLARE_RELATIONSHIP_OF_CLASSES(SwiperChangeEvent, BaseEventInfo, EventToJSONStringAdapter);
36 explicit SwiperChangeEvent(int32_t index) : BaseEventInfo("SwiperChangeEvent"), index_(index) {} in SwiperChangeEvent() function
37 ~SwiperChangeEvent() = default;
H A Drender_swiper.cpp1187 changeEvent_(std::make_shared<SwiperChangeEvent>(currentIndex_)); in FireItemChangedEvent()
1201 animationStartEvent_(std::make_shared<SwiperChangeEvent>(currentIndex_)); in FireAnimationStart()
1209 animationEndEvent_(std::make_shared<SwiperChangeEvent>(currentIndex_)); in FireAnimationEnd()
3088 changeEvent_(std::make_shared<SwiperChangeEvent>(currentIndex_)); in UpdateItemCount()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_swiper.cpp85 JSRef<JSVal> SwiperChangeEventToJSValue(const SwiperChangeEvent& eventInfo) in SwiperChangeEventToJSValue()
296 const auto* swiperInfo = TypeInfoHelper::DynamicCast<SwiperChangeEvent>(info); in ParseSwiperIndexObject()
898 auto changeHandler = AceType::MakeRefPtr<JsEventFunction<SwiperChangeEvent, 1>>( in SetOnChange()
904 const auto* swiperInfo = TypeInfoHelper::DynamicCast<SwiperChangeEvent>(info); in SetOnChange()
939 auto animationStartHandler = AceType::MakeRefPtr<JsEventFunction<SwiperChangeEvent, 1>>( in SetOnAnimationStart()
945 const auto* swiperInfo = TypeInfoHelper::DynamicCast<SwiperChangeEvent>(info); in SetOnAnimationStart()
979 auto animationEndHandler = AceType::MakeRefPtr<JsEventFunction<SwiperChangeEvent, 1>>( in SetOnAnimationEnd()
985 const auto* swiperInfo = TypeInfoHelper::DynamicCast<SwiperChangeEvent>(info); in SetOnAnimationEnd()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_swiper_ffi.cpp189 const auto* swiperInfo = TypeInfoHelper::DynamicCast<SwiperChangeEvent>(info); in FfiOHOSAceFrameworkSwiperSetOnChange()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_model_ng.cpp205 SwiperChangeEvent eventInfo(index); in SetOnChange()
335 SwiperChangeEvent eventInfo(index); in SetOnChangeEvent()
634 SwiperChangeEvent eventInfo(index); in SetOnChange()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_event_test_ng.cpp1168 const auto* swiperInfo = TypeInfoHelper::DynamicCast<SwiperChangeEvent>(info); in __anona048c02a2802()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_swiper_modifier.cpp1203 const auto* swiperInfo = TypeInfoHelper::DynamicCast<SwiperChangeEvent>(info); in SetSwiperChange()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_swiper_bridge.cpp807 const auto* swiperInfo = TypeInfoHelper::DynamicCast<SwiperChangeEvent>(info); in SetSwiperOnChange()