/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | list_component.cpp | 88 bool ListComponent::RegisterPrivateEventListener(uint16_t eventTypeId, JSValue funcValue, bool isSt… in RegisterPrivateEventListener() argument 97 listEventListener_->SetBindScrollStartFuncName(funcValue); in RegisterPrivateEventListener() 101 listEventListener_->SetBindScrollItemSelectedFuncName(funcValue); in RegisterPrivateEventListener() 106 listEventListener_.SetBindScrollEndFuncName(funcValue); in RegisterPrivateEventListener() 109 listEventListener_.SetBindScrollTopFuncName(funcValue); in RegisterPrivateEventListener() 112 listEventListener_.SetBindScrollBottomFuncName(funcValue); in RegisterPrivateEventListener()
|
H A D | video_component.cpp | 264 bool VideoComponent::RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bo… in RegisterPrivateEventListener() argument 272 videoEventListener_->SetOnErrorFuncName(funcValue); in RegisterPrivateEventListener() 276 videoView_->SetPrepareSyncCBFunc(funcValue); in RegisterPrivateEventListener() 280 videoView_->SetStartSyncCBFunc(funcValue); in RegisterPrivateEventListener() 284 videoView_->SetPauseSyncCBFunc(funcValue); in RegisterPrivateEventListener() 288 videoEventListener_->SetOnPlayCompleteFuncName(funcValue); in RegisterPrivateEventListener() 292 videoSliderListener_->SetOnPlaySeekingFuncName(funcValue); in RegisterPrivateEventListener() 296 videoEventListener_->SetOnPlaySeekedFuncName(funcValue); in RegisterPrivateEventListener() 300 videoView_->SetTimeUpdateSyncCBFunc(funcValue); in RegisterPrivateEventListener()
|
H A D | input_checkbox_component.cpp | 60 jerry_value_t funcValue, in RegisterPrivateEventListener() argument 64 changeListener_ = new StateChangeListener(funcValue); in RegisterPrivateEventListener() 72 clickListener_ = new ViewOnClickListener(GetViewModel(), funcValue, isStopPropagation); in RegisterPrivateEventListener()
|
H A D | switch_component.cpp | 90 jerry_value_t funcValue, in RegisterPrivateEventListener() argument 94 changeListener_ = new StateChangeListener(funcValue); in RegisterPrivateEventListener() 102 clickListener_ = new ViewOnClickListener(GetViewModel(), funcValue, isStopPropagation); in RegisterPrivateEventListener()
|
H A D | input_radio_component.cpp | 73 jerry_value_t funcValue, in RegisterPrivateEventListener() argument 77 changeListener_ = new StateChangeListener(funcValue); in RegisterPrivateEventListener() 85 clickListener_ = new ViewOnClickListener(GetViewModel(), funcValue, isStopPropagation); in RegisterPrivateEventListener()
|
H A D | picker_view_component.cpp | 468 jerry_value_t funcValue, in RegisterPrivateEventListener() argument 474 SetPickerListener(funcValue); in RegisterPrivateEventListener() 556 void PickerViewComponent::SetPickerListener(jerry_value_t funcValue) const in SetPickerListener() 562 textPickerListener_->SetTextCallback(funcValue); in SetPickerListener() 570 timePickerListener_->SetTimeCallback(funcValue); in SetPickerListener() 579 datePickerListener_->SetDateCallback(funcValue); in SetPickerListener()
|
H A D | input_edittext_component.cpp | 106 jerry_value_t funcValue, in RegisterPrivateEventListener() argument 114 onValueChangeListener_ = new ValueChangeListener(funcValue); in RegisterPrivateEventListener()
|
H A D | component.cpp | 1252 if (!KeyParser::IsKeyValid(eventTypeId) || IS_UNDEFINED(funcValue)) { in RegisterEventListener() 1268 return RegisterCommonEventListener(*uiView, eventTypeId, funcValue, isStopPropagation); in RegisterEventListener() 1273 const jerry_value_t funcValue, in RegisterCommonEventListener() argument 1278 SetClickEventListener(view, funcValue, isStopPropagation); in RegisterCommonEventListener() 1282 SetLongPressEventListener(view, funcValue, isStopPropagation); in RegisterCommonEventListener() 1286 SetSwipeEventListener(view, funcValue, isStopPropagation); in RegisterCommonEventListener() 1290 SetTouchStartEventListener(view, funcValue, isStopPropagation); in RegisterCommonEventListener() 1294 SetTouchMoveEventListener(view, funcValue, isStopPropagation); in RegisterCommonEventListener() 1298 SetTouchEndEventListener(view, funcValue, isStopPropagation); in RegisterCommonEventListener() 1304 SetKeyBoardEventListener(funcValue, eventTypeId); in RegisterCommonEventListener() [all …]
|
H A D | picker_view_component.h | 137 …bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropag… 165 void SetPickerListener(jerry_value_t funcValue) const;
|
H A D | swiper_component.cpp | 130 jerry_value_t funcValue, in RegisterPrivateEventListener() argument 134 changeListener_ = new ChangeListener(funcValue); in RegisterPrivateEventListener()
|
H A D | slider_component.cpp | 66 jerry_value_t funcValue, in RegisterPrivateEventListener() argument 72 eventListener_.SetBindChangeFuncName(funcValue); in RegisterPrivateEventListener()
|
H A D | tabs_component.cpp | 145 bool TabsComponent::RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue) in RegisterPrivateEventListener() argument 147 if (!KeyParser::IsKeyValid(eventTypeId) || IS_UNDEFINED(funcValue)) { in RegisterPrivateEventListener() 152 changeListener_ = new ChangeListener(funcValue); in RegisterPrivateEventListener()
|
H A D | component.h | 330 …virtual bool RegisterEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropa… 338 const jerry_value_t funcValue, 345 …virtual bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isSt… in RegisterPrivateEventListener() argument
|
H A D | switch_component.h | 35 …bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropag…
|
H A D | list_component.h | 37 …bool RegisterPrivateEventListener(uint16_t eventTypeId, JSValue funcValue, bool isStopPropagation)…
|
H A D | input_checkbox_component.h | 39 …bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropag…
|
H A D | input_radio_component.h | 40 …bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropag…
|
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/test/ |
H A D | test_concurrent.cpp | 178 napi_value funcValue = nullptr; variable 180 ASSERT_NE(funcValue, nullptr); 247 napi_value funcValue = nullptr; variable 249 ASSERT_NE(funcValue, nullptr); 289 napi_value funcValue = nullptr; variable 291 ASSERT_NE(funcValue, nullptr); 309 napi_value funcValue = nullptr; variable 311 ASSERT_NE(funcValue, nullptr); 764 napi_value funcValue = nullptr; variable 772 nullptr, &funcValue); [all …]
|
/ohos5.0/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/ |
H A D | ark_interop_engine.cpp | 264 auto funcValue = ARKTS_GetProperty(env, global, funcName); in ARKTS_Require() local 266 return ARKTS_Call(env, funcValue, ARKTS_CreateUndefined(), 1, &targetValue); in ARKTS_Require() 269 auto funcValue = ARKTS_GetProperty(env, global, funcName); in ARKTS_Require() local 270 ARKTS_ASSERT_P(ARKTS_IsCallable(env, funcValue), "global func requireNapi is undefined"); in ARKTS_Require() 275 …return ARKTS_Call(env, funcValue, ARKTS_CreateUndefined(), sizeof(args) / sizeof(ARKTS_Value), arg… in ARKTS_Require() 278 …return ARKTS_Call(env, funcValue, ARKTS_CreateUndefined(), sizeof(args) / sizeof(ARKTS_Value), arg… in ARKTS_Require()
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/ |
H A D | drag_preview.h | 157 napi_value funcValue = nullptr; in NapiSerializer() local 158 … napi_create_function(env, funName, NAPI_AUTO_LENGTH, SetForegroundColor, nullptr, &funcValue); in NapiSerializer() 159 napi_set_named_property(env, result, funName, funcValue); in NapiSerializer() 162 napi_create_function(env, funName, NAPI_AUTO_LENGTH, Animate, nullptr, &funcValue); in NapiSerializer() 163 napi_set_named_property(env, result, funName, funcValue); in NapiSerializer()
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/inspector/ |
H A D | js_inspector.cpp | 156 napi_value funcValue = nullptr; in FunctionOn() local 185 napi_create_function(env, funName, NAPI_AUTO_LENGTH, On, nullptr, &funcValue); in FunctionOn() 186 napi_set_named_property(env, result, funName, funcValue); in FunctionOn() 191 napi_value funcValue = nullptr; in FunctionOff() local 214 napi_create_function(env, funName, NAPI_AUTO_LENGTH, Off, nullptr, &funcValue); in FunctionOff() 215 napi_set_named_property(env, result, funName, funcValue); in FunctionOff()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/color_manager/color_space_object_convertor/ |
H A D | js_color_space_utils.cpp | 37 napi_value funcValue = nullptr; in BindNativeFunction() local 39 … status = napi_create_function(env, fullName.c_str(), fullName.size(), func, nullptr, &funcValue); in BindNativeFunction() 43 status = napi_set_named_property(env, object, fullName.c_str(), funcValue); in BindNativeFunction()
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/mediaquery/ |
H A D | js_media_query.cpp | 269 napi_value funcValue = nullptr; in NapiSerializer() local 270 napi_create_function(env, funName, NAPI_AUTO_LENGTH, On, nullptr, &funcValue); in NapiSerializer() 271 napi_set_named_property(env, result, funName, funcValue); in NapiSerializer() 274 napi_create_function(env, funName, NAPI_AUTO_LENGTH, Off, nullptr, &funcValue); in NapiSerializer() 275 napi_set_named_property(env, result, funName, funcValue); in NapiSerializer()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/ |
H A D | js_drawing_utils.cpp | 42 napi_value funcValue = nullptr; in BindNativeFunction() local 43 napi_create_function(env, fullName.c_str(), fullName.size(), func, nullptr, &funcValue); in BindNativeFunction() 44 napi_set_named_property(env, object, fullName.c_str(), funcValue); in BindNativeFunction()
|
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/worker/test/ |
H A D | test_worker.cpp | 475 napi_value funcValue = nullptr; variable 477 argv[1] = funcValue; 525 napi_value funcValue = nullptr; variable 527 argv[1] = funcValue; 560 napi_value funcValue = nullptr; variable 562 argv1[1] = funcValue; 608 napi_value funcValue = nullptr; variable 610 argv[1] = funcValue; 611 ASSERT_TRUE(funcValue != nullptr); 722 napi_value funcValue = nullptr; variable [all …]
|