Home
last modified time | relevance | path

Searched refs:funcValue (Results 1 - 25 of 40) sorted by relevance

12

/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dlist_component.cpp88 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 Dinput_radio_component.cpp73 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 Dinput_checkbox_component.cpp60 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 Dswitch_component.cpp90 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 Dvideo_component.cpp264 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 Dpicker_view_component.cpp468 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 Dinput_edittext_component.cpp126 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 Dswiper_component.cpp130 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 Dpicker_view_component.h137 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) override;
165 void SetPickerListener(jerry_value_t funcValue) const;
H A Dswitch_component.h35 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) override;
H A Dinput_radio_component.h40 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) override;
H A Dlist_component.h37 bool RegisterPrivateEventListener(uint16_t eventTypeId, JSValue funcValue, bool isStopPropagation) override;
H A Dinput_checkbox_component.h39 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) override;
H A Dslider_component.h36 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) override;
H A Dslider_component.cpp66 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 Dinput_edittext_component.h45 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) override;
H A Dtabs_component.h47 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue) override;
H A Dswiper_component.h39 bool RegisterPrivateEventListener(uint16_t eventTypeId, jerry_value_t funcValue, bool isStopPropagation) override;
/foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/
H A Ddrag_preview.h157 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 Dark_interop_engine.cpp264 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 Djs_color_space_utils.cpp37 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 Djs_ability_context_test.cpp223 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 Djs_ui_extension_context_test.cpp221 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 Djs_inspector.cpp149 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 Djs_media_query.cpp271 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);

Completed in 12 milliseconds

12