Home
last modified time | relevance | path

Searched refs:componentAsyncEvent (Results 1 – 25 of 29) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_scroll_modifier.cpp685 event.componentAsyncEvent.subKind = ON_SCROLL; in SetOnScroll()
704 event.componentAsyncEvent.subKind = ON_SCROLL_FRAME_BEGIN; in SetOnScrollFrameBegin()
706 event.componentAsyncEvent.data[1].i32 = static_cast<int>(state); in SetOnScrollFrameBegin()
725 event.componentAsyncEvent.subKind = ON_SCROLL_WILL_SCROLL; in SetScrollOnWillScroll()
760 event.componentAsyncEvent.subKind = ON_SCROLL_DID_SCROLL; in SetScrollOnDidScroll()
784 event.componentAsyncEvent.subKind = ON_SCROLL_START; in SetOnScrollStart()
799 event.componentAsyncEvent.subKind = ON_SCROLL_STOP; in SetOnScrollStop()
813 event.componentAsyncEvent.data[0].i32 = static_cast<int>(edge); in SetOnScrollEdge()
814 event.componentAsyncEvent.subKind = ON_SCROLL_EDGE; in SetOnScrollEdge()
828 event.componentAsyncEvent.subKind = ON_SCROLL_REACH_START; in SetOnScrollReachStart()
[all …]
H A Dnode_refresh_modifier.cpp154 event.componentAsyncEvent.subKind = ON_REFRESH_STATE_CHANGE; in SetRefreshOnStateChange()
155 event.componentAsyncEvent.data[0].i32 = value; in SetRefreshOnStateChange()
169 event.componentAsyncEvent.subKind = ON_REFRESH_REFRESHING; in SetOnRefreshing()
183 event.componentAsyncEvent.subKind = ON_REFRESH_ON_OFFSET_CHANGE; in SetRefreshOnOffsetChange()
184 event.componentAsyncEvent.data[0].f32 = value; in SetRefreshOnOffsetChange()
198 event.componentAsyncEvent.subKind = ON_REFRESH_CHANGE_EVENT; in SetRefreshChangeEvent()
200 event.componentAsyncEvent.data[0].u32 = newValue; in SetRefreshChangeEvent()
H A Dwater_flow_modifier.cpp710 event.componentAsyncEvent.subKind = ON_WATER_FLOW_WILL_SCROLL; in SetOnWillScroll()
712 event.componentAsyncEvent.data[0].f32 = in SetOnWillScroll()
731 event.componentAsyncEvent.subKind = ON_WATER_FLOW_REACH_END; in SetOnWaterFlowReachEnd()
747 event.componentAsyncEvent.subKind = ON_WATER_FLOW_DID_SCROLL; in SetOnDidScroll()
748 event.componentAsyncEvent.data[0].f32 = in SetOnDidScroll()
765 event.componentAsyncEvent.subKind = ON_WATER_FLOW_SCROLL_START; in SetOnWaterFlowScrollStart()
780 event.componentAsyncEvent.subKind = ON_WATER_FLOW_SCROLL_STOP; in SetOnWaterFlowScrollStop()
799 event.componentAsyncEvent.data[0].f32 = in SetOnWaterFlowScrollFrameBegin()
820 event.componentAsyncEvent.data[0].i32 = first; in SetOnWaterFlowScrollIndex()
821 event.componentAsyncEvent.data[1].i32 = last; in SetOnWaterFlowScrollIndex()
[all …]
H A Dnode_list_modifier.cpp759 event.componentAsyncEvent.subKind = ON_LIST_SCROLL; in SetOnListScroll()
812 event.componentAsyncEvent.subKind = ON_LIST_SCROLL_STOP; in SetOnListScrollStop()
830 event.componentAsyncEvent.subKind = ON_LIST_WILL_SCROLL; in SetOnListWillScroll()
831 event.componentAsyncEvent.data[0].f32 = in SetOnListWillScroll()
853 event.componentAsyncEvent.subKind = ON_LIST_DID_SCROLL; in SetOnListDidScroll()
854 event.componentAsyncEvent.data[0].f32 = in SetOnListDidScroll()
872 event.componentAsyncEvent.data[0].i32 = first; in SetOnListScrollIndex()
873 event.componentAsyncEvent.data[1].i32 = last; in SetOnListScrollIndex()
874 event.componentAsyncEvent.data[2].i32 = center; in SetOnListScrollIndex()
888 event.componentAsyncEvent.subKind = ON_LIST_REACH_START; in SetOnListReachStart()
[all …]
H A Dnode_date_picker_modifier.cpp432 event.componentAsyncEvent.subKind = ON_DATE_PICKER_DATE_CHANGE; in SetDatePickerOnDateChange()
436 event.componentAsyncEvent.data[0].i32 = 1970; in SetDatePickerOnDateChange()
437 event.componentAsyncEvent.data[1].i32 = 1; in SetDatePickerOnDateChange()
438 event.componentAsyncEvent.data[1].i32 = 1; in SetDatePickerOnDateChange()
439 event.componentAsyncEvent.data[1].i32 = 0; in SetDatePickerOnDateChange()
440 event.componentAsyncEvent.data[1].i32 = 0; in SetDatePickerOnDateChange()
448 event.componentAsyncEvent.data[0].i32 = year->GetInt(); in SetDatePickerOnDateChange()
451 event.componentAsyncEvent.data[1].i32 = month->GetInt(); in SetDatePickerOnDateChange()
454 event.componentAsyncEvent.data[2].i32 = day->GetInt(); in SetDatePickerOnDateChange()
457 event.componentAsyncEvent.data[3].i32 = hour->GetInt(); in SetDatePickerOnDateChange()
[all …]
H A Dnode_image_modifier.cpp936 event.componentAsyncEvent.subKind = ON_IMAGE_COMPLETE; in SetImageOnComplete()
937 event.componentAsyncEvent.data[IMAGE_LOAD_STATUS_INDEX].i32 = info.GetLoadingStatus(); in SetImageOnComplete()
938 event.componentAsyncEvent.data[IMAGE_WIDTH_INDEX].f32 = info.GetWidth(); in SetImageOnComplete()
939 event.componentAsyncEvent.data[IMAGE_HEIGHT_INDEX].f32 = info.GetHeight(); in SetImageOnComplete()
944 event.componentAsyncEvent.data[IMAGE_CONTENT_WIDTH_INDEX].f32 = info.GetContentWidth(); in SetImageOnComplete()
959 event.componentAsyncEvent.subKind = ON_IMAGE_ERROR; in SetImageOnError()
960 event.componentAsyncEvent.data[0].i32 = LOAD_ERROR_CODE; in SetImageOnError()
974 event.componentAsyncEvent.subKind = ON_IMAGE_SVG_PLAY_FINISH; in SetImageOnSvgPlayFinish()
988 event.componentAsyncEvent.subKind = ON_IMAGE_DOWNLOAD_PROGRESS; in SetImageOnDownloadProgress()
989 event.componentAsyncEvent.data[0].u32 = dlNow; in SetImageOnDownloadProgress()
[all …]
H A Dnode_swiper_modifier.cpp1212 event.componentAsyncEvent.subKind = ON_SWIPER_CHANGE; in SetSwiperChange()
1213 event.componentAsyncEvent.data[NUM_0].i32 = index; in SetSwiperChange()
1228 event.componentAsyncEvent.data[NUM_0].i32 = index; in SetSwiperAnimationStart()
1229 event.componentAsyncEvent.data[NUM_1].i32 = targetIndex; in SetSwiperAnimationStart()
1246 event.componentAsyncEvent.subKind = ON_SWIPER_ANIMATION_END; in SetSwiperAnimationEnd()
1247 event.componentAsyncEvent.data[NUM_0].i32 = index; in SetSwiperAnimationEnd()
1262 event.componentAsyncEvent.subKind = ON_SWIPER_GESTURE_SWIPE; in SetSwiperGestureSwipe()
1263 event.componentAsyncEvent.data[NUM_0].i32 = index; in SetSwiperGestureSwipe()
1281 event.componentAsyncEvent.data[NUM_0].i32 = selectedIndex; in SetSwiperOnContentDidScroll()
1282 event.componentAsyncEvent.data[NUM_1].i32 = index; in SetSwiperOnContentDidScroll()
[all …]
H A Dalphabet_indexer_modifier.cpp596 event.componentAsyncEvent.subKind = ON_ALPHABET_INDEXER_SELECTED; in SetOnIndexerSelected()
597 event.componentAsyncEvent.data[0].i32 = selected; in SetOnIndexerSelected()
611 event.componentAsyncEvent.subKind = ON_ALPHABET_INDEXER_REQUEST_POPUP_DATA; in SetOnIndexerRequestPopupData()
612 event.componentAsyncEvent.data[0].i32 = selected; in SetOnIndexerRequestPopupData()
637 event.componentAsyncEvent.subKind = ON_ALPHABET_INDEXER_POPUP_SELECTED; in SetOnIndexerPopupSelected()
638 event.componentAsyncEvent.data[0].i32 = selected; in SetOnIndexerPopupSelected()
652 event.componentAsyncEvent.subKind = ON_ALPHABET_INDEXER_CHANGE_EVENT; in SetIndexerChangeEvent()
653 event.componentAsyncEvent.data[0].i32 = selected; in SetIndexerChangeEvent()
667 event.componentAsyncEvent.subKind = ON_ALPHABET_INDEXER_CREAT_CHANGE_EVENT; in SetIndexerCreatChangeEvent()
668 event.componentAsyncEvent.data[0].i32 = selected; in SetIndexerCreatChangeEvent()
H A Dimage_animator_modifier.cpp339 event.componentAsyncEvent.subKind = ON_IMAGE_ANIMATOR_ON_START; in SetImageAnimatorOnStart()
353 event.componentAsyncEvent.subKind = ON_IMAGE_ANIMATOR_ON_PAUSE; in SetImageAnimatorOnPause()
367 event.componentAsyncEvent.subKind = ON_IMAGE_ANIMATOR_ON_REPEAT; in SetImageAnimatorOnRepeat()
381 event.componentAsyncEvent.subKind = ON_IMAGE_ANIMATOR_ON_CANCEL; in SetImageAnimatorOnCancel()
395 event.componentAsyncEvent.subKind = ON_IMAGE_ANIMATOR_ON_FINISH; in SetImageAnimatorOnFinish()
H A Dnode_timepicker_modifier.cpp403 event.componentAsyncEvent.subKind = ON_TIME_PICKER_CHANGE; in SetTimePickerOnChange()
408 event.componentAsyncEvent.data[0].i32 = 0; in SetTimePickerOnChange()
409 event.componentAsyncEvent.data[1].i32 = 0; in SetTimePickerOnChange()
414 event.componentAsyncEvent.data[0].i32 = hour->GetInt(); in SetTimePickerOnChange()
417 event.componentAsyncEvent.data[1].i32 = minute->GetInt(); in SetTimePickerOnChange()
H A Dnode_list_item_modifier.cpp146 event.componentAsyncEvent.subKind = ON_LIST_ITEM_SELECTED; in SetListItemOnSelect()
147 event.componentAsyncEvent.data[0].i32 = static_cast<int32_t>(isSelected); in SetListItemOnSelect()
H A Dnode_canvas_modifier.cpp30 event.componentAsyncEvent.subKind = ON_CANVAS_READY; in SetCanvasOnReady()
H A Dcalendar_picker_modifier.cpp383 event.componentAsyncEvent.subKind = ON_CALENDAR_PICKER_CHANGE; in SetCalendarPickerOnChange()
384 event.componentAsyncEvent.data[NUM_0].u32 = selectedDate.year; in SetCalendarPickerOnChange()
385 event.componentAsyncEvent.data[NUM_1].u32 = selectedDate.month; in SetCalendarPickerOnChange()
386 event.componentAsyncEvent.data[NUM_2].u32 = selectedDate.day; in SetCalendarPickerOnChange()
H A Dnode_text_area_modifier.cpp1801 event.componentAsyncEvent.subKind = ON_TEXTAREA_TEXT_SELECTION_CHANGE; in SetOnTextAreaSelectionChange()
1802 event.componentAsyncEvent.data[0].i32 = static_cast<int>(start); in SetOnTextAreaSelectionChange()
1803 event.componentAsyncEvent.data[1].i32 = static_cast<int>(end); in SetOnTextAreaSelectionChange()
1817 event.componentAsyncEvent.subKind = ON_TEXTAREA_EDIT_CHANGE; in SetOnTextAreaEditChange()
1818 event.componentAsyncEvent.data[0].i32 = static_cast<int32_t>(isEditing); in SetOnTextAreaEditChange()
1832 event.componentAsyncEvent.subKind = ON_TEXTAREA_CONTENT_SIZE_CHANGE; in SetOnTextAreaContentSizeChange()
1867 event.componentAsyncEvent.subKind = ON_TEXT_AREA_CONTENT_SCROLL; in SetTextAreaOnTextContentScroll()
1868 event.componentAsyncEvent.data[0].f32 = totalOffsetX; in SetTextAreaOnTextContentScroll()
1869 event.componentAsyncEvent.data[1].f32 = totalOffsetY; in SetTextAreaOnTextContentScroll()
1883 event.componentAsyncEvent.subKind = ON_TEXTAREA_ON_SUBMIT; in SetTextAreaOnSubmit()
[all …]
H A Dnode_text_input_modifier.cpp1955 event.componentAsyncEvent.subKind = ON_TEXT_INPUT_SUBMIT; in SetTextInputOnSubmit()
1956 event.componentAsyncEvent.data[0].i32 = value; in SetTextInputOnSubmit()
2000 event.componentAsyncEvent.subKind = ON_TEXT_INPUT_TEXT_SELECTION_CHANGE; in SetOnTextInputSelectionChange()
2001 event.componentAsyncEvent.data[0].i32 = static_cast<int>(start); in SetOnTextInputSelectionChange()
2002 event.componentAsyncEvent.data[1].i32 = static_cast<int>(end); in SetOnTextInputSelectionChange()
2016 event.componentAsyncEvent.subKind = ON_TEXT_INPUT_EDIT_CHANGE; in SetOnTextInputEditChange()
2017 event.componentAsyncEvent.data[0].i32 = static_cast<int>(isEditing); in SetOnTextInputEditChange()
2031 event.componentAsyncEvent.subKind = ON_TEXT_INPUT_CONTENT_SIZE_CHANGE; in SetOnTextInputContentSizeChange()
2066 event.componentAsyncEvent.subKind = ON_TEXT_INPUT_CONTENT_SCROLL; in SetTextInputOnTextContentScroll()
2067 event.componentAsyncEvent.data[0].f32 = totalOffsetX; in SetTextInputOnTextContentScroll()
[all …]
H A Dgrid_modifier.cpp530 event.componentAsyncEvent.subKind = ON_GRID_SCROLL_TO_INDEX; in SetOnGridScrollIndex()
531 event.componentAsyncEvent.data[0].i32 = first; in SetOnGridScrollIndex()
532 event.componentAsyncEvent.data[1].i32 = last; in SetOnGridScrollIndex()
H A Dnode_textpicker_modifier.cpp670 event.componentAsyncEvent.subKind = ON_TEXT_PICKER_CHANGE; in SetTextPickerOnChange()
672 event.componentAsyncEvent.data[i].i32 = static_cast<int32_t>(indexVector[i]); in SetTextPickerOnChange()
688 event.componentAsyncEvent.subKind = ON_TEXT_PICKER_SCROLL_STOP; in SetTextPickerOnScrollStop()
690 event.componentAsyncEvent.data[i].i32 = static_cast<int32_t>(indexVector[i]); in SetTextPickerOnScrollStop()
H A Dnode_checkbox_modifier.cpp309 event.componentAsyncEvent.subKind = ON_CHECKBOX_CHANGE; in SetCheckboxChange()
310 event.componentAsyncEvent.data[0].i32 = static_cast<int>(value); in SetCheckboxChange()
H A Dnode_common_modifier.cpp6498 event.componentAsyncEvent.subKind = ON_BLUR; in SetOnBlur()
6522 event.componentAsyncEvent.data[4].f32 = in SetOnAreaChange()
6524 event.componentAsyncEvent.data[5].f32 = in SetOnAreaChange()
6532 event.componentAsyncEvent.data[10].f32 = in SetOnAreaChange()
6534 event.componentAsyncEvent.data[11].f32 = in SetOnAreaChange()
6571 event.componentAsyncEvent.data[0].f32 = in SetOnClick()
6574 event.componentAsyncEvent.data[1].f32 = in SetOnClick()
6581 event.componentAsyncEvent.data[4].f32 = in SetOnClick()
6584 event.componentAsyncEvent.data[5].f32 = in SetOnClick()
6587 event.componentAsyncEvent.data[6].f32 = in SetOnClick()
[all …]
H A Dradio_modifier.cpp337 event.componentAsyncEvent.subKind = ON_RADIO_CHANGE; in SetOnRadioChange()
338 event.componentAsyncEvent.data[0].i32 = static_cast<int>(value); in SetOnRadioChange()
H A Dnode_drag_modifier.cpp333 event.componentAsyncEvent.subKind = ON_PRE_DRAG; in SetOnPreDrag()
336 event.componentAsyncEvent.data[0].i32 = static_cast<ArkUI_Int32>(preDragStatus); in SetOnPreDrag()
H A Dnode_toggle_modifier.cpp419 event.componentAsyncEvent.subKind = ON_TOGGLE_CHANGE; in SetOnToggleChange()
420 event.componentAsyncEvent.data[0].u32 = isOn; in SetOnToggleChange()
H A Dnode_slider_modifier.cpp829 event.componentAsyncEvent.subKind = ON_SLIDER_CHANGE; in SetSliderChange()
830 event.componentAsyncEvent.data[0].f32 = value; in SetSliderChange()
831 event.componentAsyncEvent.data[1].i32 = mode; in SetSliderChange()
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/
H A Devent_converter.cpp587 … ArkUIEventSubKind subKind = static_cast<ArkUIEventSubKind>(origin->componentAsyncEvent.subKind); in ConvertEvent()
722 … ArkUIEventSubKind subKind = static_cast<ArkUIEventSubKind>(origin->componentAsyncEvent.subKind); in ConvertEvent()
725 … origin->componentAsyncEvent.data, MAX_COMPONENT_EVENT_ARG_NUM * sizeof(ArkUI_NumberValue)) != 0) { in ConvertEvent()
757 …if (memcpy_sp(origin->componentAsyncEvent.data, MAX_COMPONENT_EVENT_ARG_NUM * sizeof(ArkUI_NumberV… in ConvertEventResult()
814 reinterpret_cast<const ArkUI_NodeComponentEvent*>(&(originNodeEvent->componentAsyncEvent))); in OH_ArkUI_NodeEvent_GetNodeComponentEvent()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Ddrag_and_drop_test.cpp186 event.componentAsyncEvent.subKind = ON_PRE_DRAG;
187 event.componentAsyncEvent.data[0].i32 =

12