/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 isStopPropagation) 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 | input_radio_component.cpp | 73 jerry_value_t funcValue, in RegisterPrivateEventListener() 77 changeListener_ = new StateChangeListener(funcValue); in RegisterPrivateEventListener() 85 clickListener_ = new ViewOnClickListener(GetViewModel(), funcValue, isStopPropagation); in RegisterPrivateEventListener() 72 RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) RegisterPrivateEventListener() argument
|
H A D | input_checkbox_component.cpp | 60 jerry_value_t funcValue, in RegisterPrivateEventListener() 64 changeListener_ = new StateChangeListener(funcValue); in RegisterPrivateEventListener() 72 clickListener_ = new ViewOnClickListener(GetViewModel(), funcValue, isStopPropagation); in RegisterPrivateEventListener() 59 RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) RegisterPrivateEventListener() argument
|
H A D | switch_component.cpp | 90 jerry_value_t funcValue, in RegisterPrivateEventListener() 94 changeListener_ = new StateChangeListener(funcValue); in RegisterPrivateEventListener() 102 clickListener_ = new ViewOnClickListener(GetViewModel(), funcValue, isStopPropagation); in RegisterPrivateEventListener() 89 RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) RegisterPrivateEventListener() argument
|
H A D | video_component.cpp | 264 bool VideoComponent::RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation)
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 | picker_view_component.cpp | 468 jerry_value_t funcValue, in RegisterPrivateEventListener() 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() 467 RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) RegisterPrivateEventListener() argument
|
H A D | input_edittext_component.cpp | 126 jerry_value_t funcValue, in RegisterPrivateEventListener() 134 onValueChangeListener_ = new ValueChangeListener(funcValue); in RegisterPrivateEventListener() 125 RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) RegisterPrivateEventListener() argument
|
H A D | swiper_component.cpp | 130 jerry_value_t funcValue, in RegisterPrivateEventListener() 134 changeListener_ = new ChangeListener(funcValue); in RegisterPrivateEventListener() 129 RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) RegisterPrivateEventListener() argument
|
H A D | picker_view_component.h | 137 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) override; 165 void SetPickerListener(jerry_value_t funcValue) const;
|
H A D | switch_component.h | 35 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) override;
|
H A D | input_radio_component.h | 40 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) override;
|
H A D | list_component.h | 37 bool RegisterPrivateEventListener(uint16_t eventTypeId, JSValue funcValue, bool isStopPropagation) override;
|
H A D | input_checkbox_component.h | 39 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) override;
|
H A D | slider_component.h | 36 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) override;
|
H A D | slider_component.cpp | 66 jerry_value_t funcValue, in RegisterPrivateEventListener() 72 eventListener_.SetBindChangeFuncName(funcValue); in RegisterPrivateEventListener() 65 RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) RegisterPrivateEventListener() argument
|
H A D | input_edittext_component.h | 45 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) override;
|
H A D | tabs_component.h | 47 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue) override;
|
H A D | swiper_component.h | 39 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) override;
|
/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()
|
/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), args); in ARKTS_Require() 278 return ARKTS_Call(env, funcValue, ARKTS_CreateUndefined(), sizeof(args) / sizeof(ARKTS_Value), args); in ARKTS_Require()
|
/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()
|
/foundation/ability/ability_runtime/test/unittest/js_ability_context_test/ |
H A D | js_ability_context_test.cpp | 223 napi_value funcValue = nullptr; in Connect() local 224 napi_create_function(env_, "testFunc", NAPI_AUTO_LENGTH, func, nullptr, &funcValue); in Connect() 227 napi_call_function(env_, recv, funcValue, argc, argv, &funcResultValue); in Connect() 246 napi_value funcValue = nullptr; in Disconnect() local 247 napi_create_function(env_, "disconnectFunc", NAPI_AUTO_LENGTH, func, nullptr, &funcValue); in Disconnect() 248 napi_call_function(env_, recv, funcValue, argc, argv, &funcResultValue); in Disconnect()
|
/foundation/ability/ability_runtime/test/unittest/js_ui_extension_context_test/ |
H A D | js_ui_extension_context_test.cpp | 221 napi_value funcValue = nullptr; in Connect() local 222 napi_create_function(env_, "testFunc", NAPI_AUTO_LENGTH, func, nullptr, &funcValue); in Connect() 225 napi_call_function(env_, recv, funcValue, argc, argv, &funcResultValue); in Connect() 244 napi_value funcValue = nullptr; in Disconnect() local 245 napi_create_function(env_, "disconnectFunc", NAPI_AUTO_LENGTH, func, nullptr, &funcValue); in Disconnect() 246 napi_call_function(env_, recv, funcValue, argc, argv, &funcResultValue); in Disconnect()
|
/foundation/arkui/ace_engine/interfaces/napi/kits/inspector/ |
H A D | js_inspector.cpp | 149 napi_value funcValue = nullptr; 178 napi_create_function(env, funName, NAPI_AUTO_LENGTH, On, nullptr, &funcValue); 179 napi_set_named_property(env, result, funName, funcValue); 184 napi_value funcValue = nullptr; 207 napi_create_function(env, funName, NAPI_AUTO_LENGTH, Off, nullptr, &funcValue); 208 napi_set_named_property(env, result, funName, funcValue);
|
/foundation/arkui/ace_engine/interfaces/napi/kits/mediaquery/ |
H A D | js_media_query.cpp | 271 napi_value funcValue = nullptr; variable 272 napi_create_function(env, funName, NAPI_AUTO_LENGTH, On, nullptr, &funcValue); 273 napi_set_named_property(env, result, funName, funcValue); 276 napi_create_function(env, funName, NAPI_AUTO_LENGTH, Off, nullptr, &funcValue); 277 napi_set_named_property(env, result, funName, funcValue);
|