/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | property_util.cpp | 46 case PropertyType::UINT32_T: in GetPropertyTypeByteSize() 47 case PropertyType::INT32_T: in GetPropertyTypeByteSize() 48 case PropertyType::FLOAT_T: in GetPropertyTypeByteSize() 49 case PropertyType::BOOL_T: in GetPropertyTypeByteSize() 52 case PropertyType::UVEC2_T: in GetPropertyTypeByteSize() 53 case PropertyType::IVEC2_T: in GetPropertyTypeByteSize() 54 case PropertyType::VEC2_T: in GetPropertyTypeByteSize() 57 case PropertyType::UVEC3_T: in GetPropertyTypeByteSize() 58 case PropertyType::IVEC3_T: in GetPropertyTypeByteSize() 59 case PropertyType in GetPropertyTypeByteSize() [all...] |
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/ |
H A D | asset_migration.cpp | 36 { PROPERTYTYPE(Math::IVec2), PropertyType::IVEC2_T }, // Math::IVec2 to Math::IVec2 37 { PROPERTYTYPE(Math::IVec3), PropertyType::IVEC3_T }, // Math::IVec3 to Math::IVec3 38 { PROPERTYTYPE(Math::IVec4), PropertyType::IVEC4_T }, // Math::IVec4 to Math::IVec4 40 { PROPERTYTYPE(Math::UVec2), PropertyType::UVEC2_T }, // Math::UVec2 to Math::UVec2 41 { PROPERTYTYPE(Math::UVec3), PropertyType::UVEC3_T }, // Math::UVec3 to Math::UVec3 42 { PROPERTYTYPE(Math::UVec4), PropertyType::UVEC4_T }, // Math::UVec4 to Math::UVec4 44 { PROPERTYTYPE(Math::Vec2), PropertyType::VEC2_T }, // Math::Vec2 to Math::Vec2 45 { PROPERTYTYPE(Math::Vec3), PropertyType::VEC3_T }, // Math::Vec3 to Math::Vec3 46 { PROPERTYTYPE(Math::Vec4), PropertyType::VEC4_T }, // Math::Vec4 to Math::Vec4 48 { PROPERTYTYPE(Math::Quat), PropertyType [all...] |
H A D | ecs_serializer.cpp | 391 SetSerializer(PropertyType::FLOAT_T, Add(PropertyToJson<float>, PropertyFromJson<float>)); in SetDefaultSerializers() 392 SetSerializer(PropertyType::DOUBLE_T, Add(PropertyToJson<double>, PropertyFromJson<double>)); in SetDefaultSerializers() 394 SetSerializer(PropertyType::UINT8_T, Add(PropertyToJson<uint8_t>, PropertyFromJson<uint8_t>)); in SetDefaultSerializers() 395 SetSerializer(PropertyType::UINT16_T, Add(PropertyToJson<uint16_t>, PropertyFromJson<uint16_t>)); in SetDefaultSerializers() 396 SetSerializer(PropertyType::UINT32_T, Add(PropertyToJson<uint32_t>, PropertyFromJson<uint32_t>)); in SetDefaultSerializers() 397 SetSerializer(PropertyType::UINT64_T, Add(PropertyToJson<uint64_t>, PropertyFromJson<uint64_t>)); in SetDefaultSerializers() 399 SetSerializer(PropertyType::INT8_T, Add(PropertyToJson<int8_t>, PropertyFromJson<int8_t>)); in SetDefaultSerializers() 400 SetSerializer(PropertyType::INT16_T, Add(PropertyToJson<int16_t>, PropertyFromJson<int16_t>)); in SetDefaultSerializers() 401 SetSerializer(PropertyType::INT32_T, Add(PropertyToJson<int32_t>, PropertyFromJson<int32_t>)); in SetDefaultSerializers() 402 SetSerializer(PropertyType in SetDefaultSerializers() [all...] |
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | asset_migration.cpp | 36 { PROPERTYTYPE(Math::IVec2), PropertyType::IVEC2_T }, // Math::IVec2 to BASE_NS::Math::IVec2 37 { PROPERTYTYPE(Math::IVec3), PropertyType::IVEC3_T }, // Math::IVec3 to BASE_NS::Math::IVec3 38 { PROPERTYTYPE(Math::IVec4), PropertyType::IVEC4_T }, // Math::IVec4 to BASE_NS::Math::IVec4 40 { PROPERTYTYPE(Math::UVec2), PropertyType::UVEC2_T }, // Math::UVec2 to BASE_NS::Math::UVec2 41 { PROPERTYTYPE(Math::UVec3), PropertyType::UVEC3_T }, // Math::UVec3 to BASE_NS::Math::UVec3 42 { PROPERTYTYPE(Math::UVec4), PropertyType::UVEC4_T }, // Math::UVec4 to BASE_NS::Math::UVec4 44 { PROPERTYTYPE(Math::Vec2), PropertyType::VEC2_T }, // Math::Vec2 to BASE_NS::Math::Vec2 45 { PROPERTYTYPE(Math::Vec3), PropertyType::VEC3_T }, // Math::Vec3 to BASE_NS::Math::Vec3 46 { PROPERTYTYPE(Math::Vec4), PropertyType::VEC4_T }, // Math::Vec4 to BASE_NS::Math::Vec4 48 { PROPERTYTYPE(Math::Quat), PropertyType [all...] |
H A D | ecs_serializer.cpp | 448 SetSerializer(PropertyType::FLOAT_T, Add(PropertyToJson<float>, PropertyFromJson<float>)); in SetDefaultSerializers() 449 SetSerializer(PropertyType::DOUBLE_T, Add(PropertyToJson<double>, PropertyFromJson<double>)); in SetDefaultSerializers() 451 SetSerializer(PropertyType::UINT8_T, Add(PropertyToJson<uint8_t>, PropertyFromJson<uint8_t>)); in SetDefaultSerializers() 452 SetSerializer(PropertyType::UINT16_T, Add(PropertyToJson<uint16_t>, PropertyFromJson<uint16_t>)); in SetDefaultSerializers() 453 SetSerializer(PropertyType::UINT32_T, Add(PropertyToJson<uint32_t>, PropertyFromJson<uint32_t>)); in SetDefaultSerializers() 454 SetSerializer(PropertyType::UINT64_T, Add(PropertyToJson<uint64_t>, PropertyFromJson<uint64_t>)); in SetDefaultSerializers() 456 SetSerializer(PropertyType::INT8_T, Add(PropertyToJson<int8_t>, PropertyFromJson<int8_t>)); in SetDefaultSerializers() 457 SetSerializer(PropertyType::INT16_T, Add(PropertyToJson<int16_t>, PropertyFromJson<int16_t>)); in SetDefaultSerializers() 458 SetSerializer(PropertyType::INT32_T, Add(PropertyToJson<int32_t>, PropertyFromJson<int32_t>)); in SetDefaultSerializers() 459 SetSerializer(PropertyType in SetDefaultSerializers() [all...] |
H A D | ecs_util.h | 81 if (property.type == CORE_NS::PropertyType::ENTITY_T) { in GatherEntityReferences() 83 } else if (property.type == CORE_NS::PropertyType::ENTITY_REFERENCE_T) { in GatherEntityReferences()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/util/ |
H A D | property_util.cpp | 45 case PropertyType::UINT32_T: in GetPropertyTypeByteSize() 46 case PropertyType::INT32_T: in GetPropertyTypeByteSize() 47 case PropertyType::FLOAT_T: in GetPropertyTypeByteSize() 48 case PropertyType::BOOL_T: in GetPropertyTypeByteSize() 51 case PropertyType::UVEC2_T: in GetPropertyTypeByteSize() 52 case PropertyType::IVEC2_T: in GetPropertyTypeByteSize() 53 case PropertyType::VEC2_T: in GetPropertyTypeByteSize() 56 case PropertyType::UVEC3_T: in GetPropertyTypeByteSize() 57 case PropertyType::IVEC3_T: in GetPropertyTypeByteSize() 58 case PropertyType in GetPropertyTypeByteSize() [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/ |
H A D | initial_transform_component_manager.cpp | 84 if (type == CORE_NS::PropertyType::FLOAT_VECTOR_T) { in ~InitialTransformComponent() 89 InitialTransformComponent::InitialTransformComponent() : type(CORE_NS::PropertyType::FLOAT_T) in InitialTransformComponent() 94 InitialTransformComponent::InitialTransformComponent(float value) : type(CORE_NS::PropertyType::FLOAT_T) in InitialTransformComponent() 99 InitialTransformComponent::InitialTransformComponent(BASE_NS::Math::Vec2 value) : type(CORE_NS::PropertyType::VEC2_T) in InitialTransformComponent() 104 InitialTransformComponent::InitialTransformComponent(BASE_NS::Math::Vec3 value) : type(CORE_NS::PropertyType::VEC3_T) in InitialTransformComponent() 109 InitialTransformComponent::InitialTransformComponent(BASE_NS::Math::Vec4 value) : type(CORE_NS::PropertyType::VEC4_T) in InitialTransformComponent() 114 InitialTransformComponent::InitialTransformComponent(BASE_NS::Math::Quat value) : type(CORE_NS::PropertyType::QUAT_T) in InitialTransformComponent() 120 : type(CORE_NS::PropertyType::FLOAT_VECTOR_T) in InitialTransformComponent() 127 if (type != CORE_NS::PropertyType::FLOAT_VECTOR_T) { in type() 136 if (type != CORE_NS::PropertyType in type() [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/src/loader/ |
H A D | system_graph_loader.cpp | 203 case PropertyType::BOOL_T: in ParseProperties() 204 case PropertyType::BOOL_ARRAY_T: in ParseProperties() 208 case PropertyType::CHAR_T: in ParseProperties() 209 case PropertyType::CHAR_ARRAY_T: in ParseProperties() 213 case PropertyType::INT8_T: in ParseProperties() 214 case PropertyType::INT8_ARRAY_T: in ParseProperties() 218 case PropertyType::INT16_T: in ParseProperties() 219 case PropertyType::INT16_ARRAY_T: in ParseProperties() 223 case PropertyType::INT32_T: in ParseProperties() 224 case PropertyType in ParseProperties() [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/detail/ |
H A D | property.h | 34 using PropertyType = const IProperty*; 36 explicit ConstTypelessPropertyInterface(PropertyType p) : p_(p) {} in ConstTypelessPropertyInterface() 90 PropertyType GetProperty() const in GetProperty() 128 PropertyType p_; 133 using PropertyType = IProperty*; 135 TypelessPropertyInterface(PropertyType p) : ConstTypelessPropertyInterface(p), p_(p) {} in TypelessPropertyInterface() 229 PropertyType GetProperty() in GetProperty() 249 PropertyType p_; 263 using PropertyType = typename Super::PropertyType; [all...] |
H A D | array_property.h | 53 using PropertyType = IProperty*; 56 TypelessArrayPropertyInterface(PropertyType p) in TypelessArrayPropertyInterface() 106 using PropertyType = typename PropertyBaseType<Type>::PropertyType; 109 explicit ArrayPropertyInterface(PropertyType p) : Super(p) {} in ArrayPropertyInterface() 202 using PropertyType = typename ArrayPropertyInterface<Type>::PropertyType; 209 explicit TypedArrayPropertyLock(PropertyType p) : ArrayPropertyInterface<Type>(p) in TypedArrayPropertyLock()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/internal/ |
H A D | object_api.h | 571 #define META_API_INTERFACE_PROPERTY_CACHED(InterfaceCachedName, PropertyName, PropertyType) \ 572 inline META_NS::Property<PropertyType> PropertyName() noexcept \ 576 inline FinalClassType& PropertyName(const PropertyType& value) \ 586 inline FinalClassType& PropertyName(const META_NS::Property<const PropertyType>& property) \ 591 inline FinalClassType& PropertyName(const META_NS::Property<PropertyType>& property) \ 608 #define META_API_INTERFACE_READONLY_PROPERTY_CACHED(InterfaceCachedName, PropertyName, PropertyType) \ 609 META_NS::Property<const PropertyType> PropertyName() const \ 615 #define META_API_INTERFACE_ARRAY_PROPERTY_CACHED(InterfaceCachedName, PropertyName, PropertyType) \ 616 inline META_NS::ArrayProperty<PropertyType> PropertyName() noexcept \ 621 META_NS::ArrayProperty<PropertyType> [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_transition_effect_impl.h | 45 template<typename Modifier, typename PropertyType> 49 PropertyTransitionEffectTemplate(PropertyType identityProperty, PropertyType activeValue) in PropertyTransitionEffectTemplate() 54 void SetIdentityValue(PropertyType identityValue); 55 void SetActiveValue(PropertyType activeValue); 57 void SetKeyframes(const std::vector<std::pair<float, PropertyType>>& keyframes) in SetKeyframes() 96 std::shared_ptr<Rosen::RSAnimatableProperty<PropertyType>> property_; 97 PropertyType identityValue_ {}; 98 PropertyType activeValue_ {}; 99 std::vector<std::pair<float, PropertyType>> keyframes [all...] |
H A D | rosen_transition_effect.cpp | 285 template<typename Modifier, typename PropertyType> 286 void PropertyTransitionEffectTemplate<Modifier, PropertyType>::SetIdentityValue(PropertyType identityValue) in SetIdentityValue() 294 template<typename Modifier, typename PropertyType> 295 void PropertyTransitionEffectTemplate<Modifier, PropertyType>::SetActiveValue(PropertyType activeValue) in SetActiveValue() 303 template<typename Modifier, typename PropertyType> 304 void PropertyTransitionEffectTemplate<Modifier, PropertyType>::OnAttach( in OnAttach() 316 std::make_shared<Rosen::RSAnimatableProperty<PropertyType>>(activeTransition ? activeValue_ : identityValue_); in OnAttach() 322 template<typename Modifier, typename PropertyType> [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/property/ |
H A D | property.h | 29 using PropertyType = BASE_NS::shared_ptr<PropertyInterfaceType>; 96 PropertyType GetProperty() const in GetProperty() 102 PropertyType p_;
|
H A D | array_property.h | 29 using PropertyType = BASE_NS::shared_ptr<PropertyInterfaceType>; 92 PropertyType GetProperty() const in GetProperty() 98 PropertyType p_;
|
H A D | construct_property.h | 44 struct PropertyType { struct 48 struct PropertyType<ValuePtr<T, ClassInfo>> { struct 52 using PropertyType_v = typename PropertyType<T>::Type; // NOLINT(readability-identifier-naming)
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/property/ |
H A D | binding.h | 74 using PropertyType = Property<BASE_NS::remove_const_t<Type>>; 82 explicit TypedBinding(const PropertyType& source) noexcept : Binding(source) {} in Binding()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | animation_system.cpp | 185 case PropertyType::FLOAT_T: { in Assign() 191 case PropertyType::VEC2_T: { in Assign() 196 case PropertyType::VEC3_T: { in Assign() 201 case PropertyType::VEC4_T: { in Assign() 206 case PropertyType::QUAT_T: { in Assign() 211 case PropertyType::FLOAT_VECTOR_T: { in Assign() 246 case PropertyType::FLOAT_T: { in Add() 252 case PropertyType::VEC2_T: { in Add() 257 case PropertyType::VEC3_T: { in Add() 262 case PropertyType in Add() [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/property/ |
H A D | property_types.h | 26 namespace PropertyType { namespace 33 } // namespace PropertyType
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_encoder.cpp | 865 static bool FillLitePropertyItem(std::vector<uint8_t>& properties, size_t& offset, PropertyType type,
in FillLitePropertyItem() 905 (sizeof(PropertyType::COLOR_TYPE) + sizeof(ColorType) + sizeof(PropertyType::COLOR_INFO) + sizeof(ColourInfo));
in AssembleHdrBaseImageItem() 907 propertiesSize += (sizeof(PropertyType::CONTENT_LIGHT_LEVEL) + sizeof(ContentLightLevel));
in AssembleHdrBaseImageItem() 915 PropertyType::CONTENT_LIGHT_LEVEL, &colour, sizeof(ContentLightLevel)))) {
in AssembleHdrBaseImageItem() 941 (sizeof(PropertyType::COLOR_TYPE) + sizeof(ColorType) + sizeof(PropertyType::COLOR_INFO) + sizeof(ColourInfo));
in AssembleGainmapImageItem() 1007 uint32_t litePropertiesSize = (sizeof(PropertyType::COLOR_TYPE) + sizeof(ColorType));
in AssembleSdrImageItem() 1011 if (!FillLitePropertyItem(item.liteProperties, offset, PropertyType::COLOR_TYPE, &colorType, sizeof(ColorType))) {
in AssembleSdrImageItem() 1171 uint32_t litePropertiesSize = (sizeof(PropertyType in EncodeHeifSdrImage() [all...] |
/foundation/CastEngine/castengine_cast_framework/interfaces/inner_api/include/ |
H A D | cast_engine_common.h | 167 enum class EXPORT PropertyType { class in OHOS::CastEngine::SubDeviceType::EventCode 175 return (type >= static_cast<int32_t>(PropertyType::VIDEO_SIZE)) && in IsPropertyType() 176 (type <= static_cast<int32_t>(PropertyType::WINDOW_SIZE)); in IsPropertyType() 249 PropertyType type;
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/include/ecs_serializer/ |
H A D | ecs_clone_util.h | 78 if (property.type == PropertyType::ENTITY_T) { in GatherEntityReferences() 80 } else if (property.type == PropertyType::ENTITY_REFERENCE_T) { in GatherEntityReferences()
|
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/src/ |
H A D | napi_castengine_enum.cpp | 232 (void)SetNamedProperty(env, result, "VIDEO_SIZE", static_cast<int32_t>(PropertyType::VIDEO_SIZE)); in ExportPropertyType() 233 (void)SetNamedProperty(env, result, "VIDEO_FPS", static_cast<int32_t>(PropertyType::VIDEO_FPS)); in ExportPropertyType() 234 (void)SetNamedProperty(env, result, "WINDOW_SIZE", static_cast<int32_t>(PropertyType::WINDOW_SIZE)); in ExportPropertyType() 345 DECLARE_NAPI_PROPERTY("PropertyType", ExportPropertyType(env)), in InitEnums()
|
/foundation/CastEngine/castengine_cast_framework/common/src/ |
H A D | cast_engine_common_helper.cpp | 353 (((container.type == PropertyType::VIDEO_SIZE) && WriteVideoSize(parcel, container.videoSize)) || in WritePropertyContainer() 354 ((container.type == PropertyType::VIDEO_FPS) && parcel.WriteInt32(container.videoFps)) || in WritePropertyContainer() 355 ((container.type == PropertyType::WINDOW_SIZE) && WriteWindowProperty(parcel, container.windowProperty))); in WritePropertyContainer() 369 container->type = static_cast<PropertyType>(type); in ReadPropertyContainer() 370 if (container->type == PropertyType::VIDEO_SIZE) { in ReadPropertyContainer() 372 } else if (container->type == PropertyType::VIDEO_FPS) { in ReadPropertyContainer()
|