Home
last modified time | relevance | path

Searched refs:setter (Results 1 - 25 of 47) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimatable_properties.cpp104 auto setter = DimensionHelper(&Edge::SetLeft, &Edge::Left); in UpdatePropAnimation() local
106 setter = DimensionHelper(&Edge::SetTop, &Edge::Top); in UpdatePropAnimation()
108 setter = DimensionHelper(&Edge::SetRight, &Edge::Right); in UpdatePropAnimation()
110 setter = DimensionHelper(&Edge::SetBottom, &Edge::Bottom); in UpdatePropAnimation()
113 [weak = AceType::WeakClaim(this), setter = setter, weakAnimation](const RefPtr<Animatable>& data) { in UpdatePropAnimation()
119 const Dimension& dimension = animatableProperties->GetMargin(setter); in UpdatePropAnimation()
123 animatableProperties->SetMargin(AnimatableDimension(margin->GetValue()), setter); in UpdatePropAnimation()
132 auto setter = DimensionHelper(&Edge::SetLeft, &Edge::Left); in UpdatePropAnimation() local
134 setter in UpdatePropAnimation()
264 auto setter = BorderEdgeHelper(&Border::SetLeftEdge, &Border::Left); UpdatePropAnimation() local
292 auto setter = BorderEdgeHelper(&Border::SetLeftEdge, &Border::Left); UpdatePropAnimation() local
320 auto setter = BorderEdgeHelper(&Border::SetLeftEdge, &Border::Left); UpdatePropAnimation() local
348 auto setter = BorderRadiusHelper(&Border::SetTopLeftRadius, &Border::TopLeftRadius); UpdatePropAnimation() local
[all...]
H A Dproperty_animatable_helper.h33 BorderEdgeHelper(Setter setter, Getter getter) : setter_(setter), getter_(getter) {} in BorderEdgeHelper() argument
89 BorderRadiusHelper(Setter setter, Getter getter) : setter_(setter), getter_(getter) {} in BorderRadiusHelper() argument
120 DimensionHelper(Setter setter, Getter getter) : setter_(setter), getter_(getter) {} in DimensionHelper() argument
H A Dproperty_animatable.h78 LOGW("Create property animation failed. no setter found for property: %{public}d", property); in AddPropertyAnimation()
81 auto& setter = setterIter->second; in AddPropertyAnimation() local
82 if (!setter) { in AddPropertyAnimation()
83 LOGE("Create property animation failed. setter is null for property: %{public}d", property); in AddPropertyAnimation()
96 animation->AddListener(setter); in AddPropertyAnimation()
/foundation/arkui/napi/interfaces/inner_api/napi/
H A Dnative_common.h116 #define DECLARE_NAPI_SETTER(name, setter) \
118 (name), nullptr, nullptr, nullptr, (setter), nullptr, napi_default, nullptr \
121 #define DECLARE_NAPI_GETTER_SETTER(name, getter, setter) \
123 (name), nullptr, nullptr, (getter), (setter), nullptr, napi_default, nullptr \
/foundation/arkui/napi/native_engine/
H A Dnative_sendable.cpp71 if (propertyDescriptor.getter != nullptr || propertyDescriptor.setter != nullptr) { in InitSendablePropertiesInfo()
79 if (propertyDescriptor.setter != nullptr) { in InitSendablePropertiesInfo()
81 NapiNativeCreateSendableFunction(env, "setter", propertyDescriptor.setter, propertyDescriptor.data); in InitSendablePropertiesInfo()
146 if (propertyDescriptor.getter != nullptr || propertyDescriptor.setter != nullptr) { in NapiDefineSendabledProperty()
154 if (propertyDescriptor.setter != nullptr) { in NapiDefineSendabledProperty()
156 NapiNativeCreateSendableFunction(env, "setter", propertyDescriptor.setter, propertyDescriptor.data); in NapiDefineSendabledProperty()
H A Dnative_property.h45 NapiNativeCallback setter = nullptr; member
/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/
H A Dark_interop_object.cpp109 ARKTS_ASSERT_V(accessor.setter == undefined || ARKTS_IsCallable(env, accessor.setter), "setter not callable"); in ARKTS_DefineAccessors()
111 ARKTS_ASSERT_V(accessor.getter != undefined || accessor.setter != undefined, "getter and setter is undefined"); in ARKTS_DefineAccessors()
118 auto handledSetter = accessor.setter != undefined ? BIT_CAST(accessor.setter, Local<JSValueRef>) : handledUndef; in ARKTS_DefineAccessors()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A Dbindings_implementation.h305 const char* name, MemberFunctionGetCallback<T> getter, MemberFunctionSetCallback<T> setter);
307 static void CustomProperty(const char* name, FunctionGetCallback getter, FunctionSetCallback setter);
311 const char* name, JSMemberFunctionCallback<T> getter, JSMemberFunctionCallback<T> setter);
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djs_value.h69 const shared_ptr<JsValue> &getter, const shared_ptr<JsValue> &setter) = 0;
71 const shared_ptr<JsValue> &getter, const shared_ptr<JsValue> &setter) = 0;
H A Dark_js_value.h79 const shared_ptr<JsValue> &setter) override;
81 const shared_ptr<JsValue> &getter, const shared_ptr<JsValue> &setter) override;
H A Dark_js_value.cpp296 const shared_ptr<JsValue> &getter, const shared_ptr<JsValue> &setter) in SetAccessorProperty()
301 return SetAccessorProperty(runtime, key, getter, setter); in SetAccessorProperty()
305 const shared_ptr<JsValue> &getter, const shared_ptr<JsValue> &setter) in SetAccessorProperty()
321 Local<JSValueRef> setterValue = std::static_pointer_cast<ArkJSValue>(setter)->GetValue(pandaRuntime); in SetAccessorProperty()
295 SetAccessorProperty(shared_ptr<JsRuntime> runtime, const std::string &name, const shared_ptr<JsValue> &getter, const shared_ptr<JsValue> &setter) SetAccessorProperty() argument
304 SetAccessorProperty(shared_ptr<JsRuntime> runtime, const shared_ptr<JsValue> &name, const shared_ptr<JsValue> &getter, const shared_ptr<JsValue> &setter) SetAccessorProperty() argument
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_media_info_holder.cpp74 auto setter = setterMap_[i]; in SetValue() local
75 if (setter(env, in, out) != napi_ok) { in SetValue()
H A Dnapi_queue_item.cpp60 auto setter = setterMap_[i]; in SetValue() local
61 if (setter(env, in, out) != napi_ok) { in SetValue()
H A Dnapi_avcall_state.cpp106 auto setter = setterMap_[i]; in SetValue() local
107 if (setter(env, in, out) != napi_ok) { in SetValue()
/foundation/filemanagement/file_api/interfaces/kits/js/src/common/napi/
H A Dn_val.h84 static napi_property_descriptor DeclareNapiSetter(const char *name, napi_callback setter);
87 napi_callback setter);
H A Dn_val.cpp393 napi_property_descriptor NVal::DeclareNapiSetter(const char *name, napi_callback setter) in DeclareNapiSetter() argument
395 return { (name), nullptr, nullptr, nullptr, (setter), nullptr, napi_default, nullptr }; in DeclareNapiSetter()
398 napi_property_descriptor NVal::DeclareNapiGetterSetter(const char *name, napi_callback getter, napi_callback setter) in DeclareNapiGetterSetter() argument
400 return { (name), nullptr, nullptr, (getter), (setter), nullptr, napi_default, nullptr }; in DeclareNapiGetterSetter()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/common/napi/
H A Dn_val.h129 static napi_property_descriptor DeclareNapiSetter(const char *name, napi_callback setter);
132 napi_callback getter, napi_callback setter);
H A Dn_val.cpp437 napi_property_descriptor NVal::DeclareNapiSetter(const char *name, napi_callback setter) in DeclareNapiSetter() argument
439 return {(name), nullptr, nullptr, nullptr, (setter), nullptr, napi_default, nullptr}; in DeclareNapiSetter()
442 napi_property_descriptor NVal::DeclareNapiGetterSetter(const char *name, napi_callback getter, napi_callback setter) in DeclareNapiGetterSetter() argument
444 return {(name), nullptr, nullptr, (getter), (setter), nullptr, napi_default, nullptr}; in DeclareNapiGetterSetter()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_bindings.h64 FunctionBinding<T, panda::Local<panda::JSValueRef>, panda::JsiRuntimeCallInfo*>* setter);
66 static void CustomProperty(const char* name, FunctionGetCallback getter, FunctionSetCallback setter);
70 FunctionBinding<T, void, const JSCallbackInfo&>* setter);
/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi/
H A Djsi.h73 JSIFunctionHandler setter; // access function for setting value member
76 JSPropertyDescriptor() : setter(nullptr), getter(nullptr) {} in JSPropertyDescriptor()
717 * @brief Define a property on the specified object with the given setter and getter.
721 * @param [in] setter: access function for setting value
728 JSIFunctionHandler setter,
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/
H A Dnapi_value.h91 static napi_property_descriptor DeclareNapiSetter(const char *name, napi_callback setter);
93 const char *name, napi_callback getter, napi_callback setter);
H A Dnapi_value.cpp434 napi_property_descriptor NapiValue::DeclareNapiSetter(const char *name, napi_callback setter) in DeclareNapiSetter() argument
436 return {(name), nullptr, nullptr, nullptr, (setter), nullptr, napi_default, nullptr}; in DeclareNapiSetter()
440 const char* name, napi_callback getter, napi_callback setter) in DeclareNapiGetterSetter()
442 return { (name), nullptr, nullptr, (getter), (setter), nullptr, napi_default, nullptr }; in DeclareNapiGetterSetter()
439 DeclareNapiGetterSetter( const char* name, napi_callback getter, napi_callback setter) DeclareNapiGetterSetter() argument
/foundation/filemanagement/file_api/utils/filemgmt_libn/include/
H A Dn_val.h94 static napi_property_descriptor DeclareNapiSetter(const char *name, napi_callback setter);
96 DeclareNapiGetterSetter(const char *name, napi_callback getter, napi_callback setter);
/foundation/filemanagement/file_api/utils/filemgmt_libn/src/
H A Dn_val.cpp423 napi_property_descriptor NVal::DeclareNapiSetter(const char *name, napi_callback setter) in DeclareNapiSetter() argument
425 return {(name), nullptr, nullptr, nullptr, (setter), nullptr, napi_default, nullptr}; in DeclareNapiSetter()
428 napi_property_descriptor NVal::DeclareNapiGetterSetter(const char *name, napi_callback getter, napi_callback setter) in DeclareNapiGetterSetter() argument
430 return {(name), nullptr, nullptr, (getter), (setter), nullptr, napi_default, nullptr}; in DeclareNapiGetterSetter()
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/
H A Djsi.cpp1093 if (descriptor.setter != nullptr) { in DefineProperty()
1095 jerryDesc.setter = AS_JERRY_VALUE(CreateFunction(descriptor.setter)); in DefineProperty()
1136 JSIFunctionHandler setter, in DefineNamedProperty()
1140 desc.setter = setter; in DefineNamedProperty()
1134 DefineNamedProperty(JSIValue object, const char * const propNameStr, JSIFunctionHandler setter, JSIFunctionHandler getter) DefineNamedProperty() argument

Completed in 15 milliseconds

12