Home
last modified time | relevance | path

Searched refs:propertyType (Results 1 - 18 of 18) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/property/
H A Dproperty_handle_util.h29 IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType) in MakeScopedHandle()
33 if (metaData.type == propertyType) { in MakeScopedHandle()
50 constexpr const auto propertyType = PropertySystem::PropertyTypeDeclFromType<BaseT, BASE_NS::is_array_t<T>>(); in MakeScopedHandle() local
51 return MakeScopedHandle<T>(handle, propertyName, propertyType); in MakeScopedHandle()
56 IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType, T&& propertyValue) in SetPropertyValue()
59 if (auto scoped = MakeScopedHandle<BaseT>(handle, propertyName, propertyType); scoped) { in SetPropertyValue()
70 constexpr const auto propertyType = PropertySystem::PropertyTypeDeclFromType<BaseT, BASE_NS::is_array_t<T>>(); in SetPropertyValue() local
71 return SetPropertyValue(handle, propertyName, propertyType, BASE_NS::forward<T>(propertyValue)); in SetPropertyValue()
75 T GetPropertyValue(IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType) in GetPropertyValue() argument
78 if (auto scoped = MakeScopedHandle<const BaseT>(handle, propertyName, propertyType); scope in GetPropertyValue()
28 MakeScopedHandle( IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType) MakeScopedHandle() argument
55 SetPropertyValue( IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType, T&& propertyValue) SetPropertyValue() argument
87 constexpr const auto propertyType = PropertySystem::PropertyTypeDeclFromType<T, BASE_NS::is_array_t<T>>(); GetPropertyValue() local
[all...]
H A Dscoped_handle.h111 IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType);
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dproperty_util.cpp348 size_t CustomPropertyPodHelper::GetPropertyTypeAlignment(const PropertyTypeDecl& propertyType) in GetPropertyTypeAlignment() argument
352 switch (propertyType) { in GetPropertyTypeAlignment()
392 void CustomPropertyPodHelper::SetCustomPropertyBlobValue(const PropertyTypeDecl& propertyType, const json::value* value, in SetCustomPropertyBlobValue() argument
395 if (propertyType == PropertyType::VEC4_T) { in SetCustomPropertyBlobValue()
399 } else if (propertyType == PropertyType::UVEC4_T) { in SetCustomPropertyBlobValue()
403 } else if (propertyType == PropertyType::IVEC4_T) { in SetCustomPropertyBlobValue()
407 } else if (propertyType == PropertyType::VEC3_T) { in SetCustomPropertyBlobValue()
411 } else if (propertyType == PropertyType::UVEC3_T) { in SetCustomPropertyBlobValue()
415 } else if (propertyType == PropertyType::IVEC3_T) { in SetCustomPropertyBlobValue()
419 } else if (propertyType in SetCustomPropertyBlobValue()
[all...]
H A Dproperty_util.h119 static size_t GetPropertyTypeAlignment(const CORE_NS::PropertyTypeDecl& propertyType);
120 static void SetCustomPropertyBlobValue(const CORE_NS::PropertyTypeDecl& propertyType,
/foundation/graphic/graphic_3d/lume/LumeRender/src/util/
H A Dproperty_util.cpp345 size_t CustomPropertyPodHelper::GetPropertyTypeAlignment(const PropertyTypeDecl& propertyType) in GetPropertyTypeAlignment() argument
349 switch (propertyType) { in GetPropertyTypeAlignment()
389 void CustomPropertyPodHelper::SetCustomPropertyBlobValue(const PropertyTypeDecl& propertyType, const json::value* value, in SetCustomPropertyBlobValue() argument
392 if (propertyType == PropertyType::VEC4_T) { in SetCustomPropertyBlobValue()
396 } else if (propertyType == PropertyType::UVEC4_T) { in SetCustomPropertyBlobValue()
400 } else if (propertyType == PropertyType::IVEC4_T) { in SetCustomPropertyBlobValue()
404 } else if (propertyType == PropertyType::VEC3_T) { in SetCustomPropertyBlobValue()
408 } else if (propertyType == PropertyType::UVEC3_T) { in SetCustomPropertyBlobValue()
412 } else if (propertyType == PropertyType::IVEC3_T) { in SetCustomPropertyBlobValue()
416 } else if (propertyType in SetCustomPropertyBlobValue()
671 GetPropertyTypeAlignment(const PropertyTypeDecl& propertyType) GetPropertyTypeAlignment() argument
[all...]
H A Dproperty_util.h119 static size_t GetPropertyTypeAlignment(const CORE_NS::PropertyTypeDecl& propertyType);
120 static void SetCustomPropertyBlobValue(const CORE_NS::PropertyTypeDecl& propertyType,
223 static size_t GetPropertyTypeAlignment(const CORE_NS::PropertyTypeDecl& propertyType);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_animation_trace_utils.cpp37 auto propertyType = value->GetPropertyType() == RSRenderPropertyType::INVALID ? type : value->GetPropertyType(); in ParseRenderPropertyVauleInner() local
38 switch (propertyType) { in ParseRenderPropertyVauleInner()
142 const uint64_t propertyId, const uint64_t animationId, const int animationType, const int propertyType, in addAnimationCreateTrace()
150 "CreateImplicitAnimation node[%llu] name[%s] pro[%llu] animate[%llu], animateType %d, propertyType %d, " in addAnimationCreateTrace()
152 nodeId, nodeName.c_str(), propertyId, animationId, animationType, propertyType, startStr.c_str(), in addAnimationCreateTrace()
141 addAnimationCreateTrace(const uint64_t nodeId, const std::string& nodeName, const uint64_t propertyId, const uint64_t animationId, const int animationType, const int propertyType, const std::shared_ptr<RSRenderPropertyBase>& startValue, const std::shared_ptr<RSRenderPropertyBase>& endValue, const int animationDelay, const int animationDur, const int repeat) const addAnimationCreateTrace() argument
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_modifier_extractor.cpp31 #define GET_PROPERTY_FROM_MODIFIERS(T, propertyType, defaultValue, operator) \
42 if (modifier->GetModifierType() == RSModifierType::propertyType) { \
49 #define GET_PROPERTY_FROM_MODIFIERS_EQRETURN(T, propertyType, defaultValue, operator) \
55 auto typeIter = node_->modifiersTypeMap_.find((int16_t)RSModifierType::propertyType); \
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_animation_trace_utils.h35 const uint64_t animationId, const int animationType, const int propertyType,
/foundation/arkui/ace_engine/frameworks/core/components/tween/
H A Dtween_element.cpp759 PropertyAnimatableType propertyType; in CreateColorAnimation() local
761 propertyType = PropertyAnimatableType::PROPERTY_BACK_DECORATION_COLOR; in CreateColorAnimation()
763 propertyType = PropertyAnimatableType::PROPERTY_FRONT_DECORATION_COLOR; in CreateColorAnimation()
765 CreatePropertyAnimation<ColorPropertyAnimatable, Color>(animatable, propertyType, option, colorAnimation); in CreateColorAnimation()
770 PropertyAnimatableType propertyType, const TweenOption& option, RefPtr<Animation<V>>& animation) in CreatePropertyAnimation()
778 PropertyAnimatable::AddPropertyAnimation<U, V>(propertyAnimatable, propertyType, animation, initValue); in CreatePropertyAnimation()
780 LOGE("create property animation failed. property: %{public}d", propertyType); in CreatePropertyAnimation()
769 CreatePropertyAnimation(const RefPtr<PropertyAnimatable>& propertyAnimatable, PropertyAnimatableType propertyType, const TweenOption& option, RefPtr<Animation<V>>& animation) CreatePropertyAnimation() argument
H A Dtween_element.h81 PropertyAnimatableType propertyType, const TweenOption& option, RefPtr<Animation<V>>& animation);
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/installer/
H A Dinstaller.cpp584 .propertyType = napi_string in ParseBundleName()
608 .propertyType = napi_string in ParseModuleName()
631 .propertyType = napi_number in ParseVersionCode()
652 .propertyType = napi_number in ParseUserId()
673 .propertyType = napi_number in ParseAppIndex()
694 .propertyType = napi_number in ParseInstallFlag()
724 .propertyType = napi_boolean in ParseIsKeepData()
745 .propertyType = napi_number in ParseCrowdtestDeadline()
789 .propertyType = napi_string in ParseSpecifiedDistributionType()
813 .propertyType in ParseAdditionalInfo()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/fuzztest/rsanimationbase_fuzzer/
H A Drsanimationbase_fuzzer.cpp206 const int propertyType = GetData<int>(); in RSAnimationTraceUtilsFuzzerTest() local
223 nodeId, nodeName, propertyId, animationId, animationType, propertyType, startValue, endValue, in RSAnimationTraceUtilsFuzzerTest()
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_dirty_manager_test2.cpp96 void InitSceneSession(sptr<SceneSession> &sceneSession, int32_t pid, int windowId, WindowType propertyType) in InitSceneSession() argument
104 windowSessionProperty->SetWindowType(propertyType); in InitSceneSession()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/
H A Dcommon_func.h40 napi_valuetype propertyType = napi_undefined; member
H A Dcommon_func.cpp340 if (type != propertyInfo.propertyType) { in ParsePropertyFromObject()
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dframe_node.h684 const std::function<void(float)>& onCallbackEvent, const PropertyUnit& propertyType = PropertyUnit::UNKNOWN);
H A Dframe_node.cpp3744 const std::function<void(float)>& onCallbackEvent, const PropertyUnit& propertyType) in CreateAnimatablePropertyFloat()
3754 if (propertyType == PropertyUnit::PIXEL_POSITION) { in CreateAnimatablePropertyFloat()
3755 property->SetPropertyUnit(propertyType); in CreateAnimatablePropertyFloat()
3743 CreateAnimatablePropertyFloat(const std::string& propertyName, float value, const std::function<void(float)>& onCallbackEvent, const PropertyUnit& propertyType) CreateAnimatablePropertyFloat() argument

Completed in 32 milliseconds