/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | event_listener.h | 39 : fn_(jerry_acquire_value(fn)), state_(false), isChanging_(false) {} in StateChangeListener() 59 if (jerry_value_is_function(fn_)) { 60 CallJSFunctionAutoRelease(fn_, appViewModel, args, 1); 74 jerry_release_value(fn_); in ~StateChangeListener() 78 jerry_value_t fn_; member in OHOS::ACELite::final 88 : fn_(jerry_acquire_value(fn)) {} in ValueChangeListener() 92 jerry_release_value(fn_); in ~ValueChangeListener() 97 jerry_value_t fn_; member in OHOS::ACELite::final 108 fn_(jerry_acquire_value(fn)), in ViewOnClickListener() 115 jerry_release_value(fn_); in ~ViewOnClickListener() 141 jerry_value_t fn_; global() member in OHOS::ACELite::final 170 jerry_value_t fn_; global() member in OHOS::ACELite::final 184 jerry_value_t fn_; global() member in OHOS::ACELite::final [all...] |
H A D | event_listener.cpp | 26 : fn_ (jerry_acquire_value(fn)), id_ (id) {} in KeyBoardEventListener() 30 jerry_release_value(fn_); in ~KeyBoardEventListener() 35 if (jerry_value_is_undefined(fn_)) { in OnKeyAct() 40 jerry_release_value(CallJSFunctionOnRoot(fn_, args, 1)); in OnKeyAct() 47 fn_ = jerry_acquire_value(fn); in ViewOnTouchCancelListener() 53 jerry_release_value(fn_); in ~ViewOnTouchCancelListener() 58 return CallBaseEvent(fn_, event, id_); in OnCancel() 153 if (IS_UNDEFINED(fn_)) { in OnChange() 159 if (jerry_value_is_function(fn_)) { in OnChange() 160 CallJSFunctionAutoRelease(fn_, UNDEFINE in OnChange() [all...] |
H A D | image_animator_component.h | 29 : fn_(jerry_acquire_value(fn)) {} in ImageAnimatorStopListener() 32 if (!jerry_value_is_undefined(fn_)) { in ~ImageAnimatorStopListener() 33 jerry_release_value(fn_); in ~ImageAnimatorStopListener() 39 if (jerry_value_is_undefined(fn_)) { 43 jerry_release_value(CallJSFunction(fn_, UNDEFINED, nullptr, 0)); 47 jerry_value_t fn_; member in OHOS::ACELite::final
|
H A D | tabs_component.h | 60 explicit ChangeListener(jerry_value_t fn) : fn_(jerry_acquire_value(fn)) {} in ChangeListener() 63 jerry_release_value(fn_); in ~ChangeListener() 68 jerry_value_t fn_ = 0; member in OHOS::ACELite::final::ChangeListener
|
H A D | swiper_component.h | 47 explicit ChangeListener(jerry_value_t fn) : fn_(jerry_acquire_value(fn)) {} in ChangeListener() 51 jerry_release_value(fn_); in ~ChangeListener() 56 jerry_value_t fn_; member in OHOS::ACELite::final::ChangeListener
|
H A D | swiper_component.cpp | 168 if (jerry_value_is_undefined(fn_)) { in OnSwipe() 187 if (jerry_value_is_function(fn_)) { in OnSwipe() 188 jerry_value_t retVal = CallJSFunctionOnRoot(fn_, args, argsNum); in OnSwipe()
|
H A D | tabs_component.cpp | 300 if (jerry_value_is_undefined(fn_)) { in OnSwipe() 327 if (jerry_value_is_function(fn_)) { in OnSwipe() 328 jerry_value_t retVal = CallJSFunction(fn_, appViewModel, args, argsNum); in OnSwipe()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | scope_guard.h | 25 explicit ScopeGuard(Function fn) : fn_(fn), dismissed_(false) in ScopeGuard() 31 fn_(); in ~ScopeGuard() 41 Function fn_; member in OHOS::AppExecFwk::final
|
/foundation/bundlemanager/app_domain_verify/services/include/manager/rdb/ |
H A D | scope_guard.h | 27 : fn_(fn), in ScopeGuard() 35 fn_(); in ~ScopeGuard() 45 Function fn_; member in OHOS::AppDomainVerify::final
|
/foundation/ability/ability_runtime/services/abilitymgr/include/rdb/ |
H A D | ability_resident_process_rdb.h | 40 explicit ScopeGuard(Function fn) : fn_(fn), dismissed(false) {} in ScopeGuard() 45 fn_(); in ~ScopeGuard() 55 Function fn_; member in OHOS::AbilityRuntime::final
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
H A D | hfp_ag_rfcomm_connection.h | 77 explicit HfpAgRfcommConnection(RFCOMM_EventCallback fn) : fn_(fn) in HfpAgRfcommConnection() 162 RFCOMM_EventCallback fn_; member in OHOS::bluetooth::HfpAgRfcommConnection
|
H A D | hfp_ag_rfcomm_connection.cpp | 43 HFP_RFCOMM_CONNECTION_EVENTS, fn_, nullptr in Create()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/ |
H A D | hfp_hf_rfcomm_connection.h | 77 explicit HfpHfRfcommConnection(RFCOMM_EventCallback fn) : fn_(fn) in HfpHfRfcommConnection() 161 RFCOMM_EventCallback fn_; member in OHOS::bluetooth::HfpHfRfcommConnection
|
H A D | hfp_hf_rfcomm_connection.cpp | 43 HFP_RFCOMM_CONNECTION_EVENTS, fn_, nullptr in Create()
|