Home
last modified time | relevance | path

Searched refs:propertyType (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/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 CORE_BEGIN_NAMESPACE()
33 if (metaData.type == propertyType) { in CORE_BEGIN_NAMESPACE()
50 …constexpr const auto propertyType = PropertySystem::PropertyTypeDeclFromType<BaseT, BASE_NS::is_ar… in MakeScopedHandle() local
51 return MakeScopedHandle<T>(handle, propertyName, propertyType); in MakeScopedHandle()
59 if (auto scoped = MakeScopedHandle<BaseT>(handle, propertyName, propertyType); scoped) { in SetPropertyValue()
70 …constexpr const auto propertyType = PropertySystem::PropertyTypeDeclFromType<BaseT, BASE_NS::is_ar… in SetPropertyValue() local
71 return SetPropertyValue(handle, propertyName, propertyType, BASE_NS::forward<T>(propertyValue)); in SetPropertyValue()
75 …e(IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType) in GetPropertyValue() argument
78 if (auto scoped = MakeScopedHandle<const BaseT>(handle, propertyName, propertyType); scoped) { in GetPropertyValue()
87 …constexpr const auto propertyType = PropertySystem::PropertyTypeDeclFromType<T, BASE_NS::is_array_… in GetPropertyValue() local
[all …]
H A Dscoped_handle.h111 … IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType);
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dproperty_util.cpp352 switch (propertyType) { in GetPropertyTypeAlignment()
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 == PropertyType::VEC2_T) { in SetCustomPropertyBlobValue()
423 } else if (propertyType == PropertyType::UVEC2_T) { in SetCustomPropertyBlobValue()
427 } else if (propertyType == PropertyType::IVEC2_T) { 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,
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/util/
H A Dproperty_util.cpp349 switch (propertyType) { in GetPropertyTypeAlignment()
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 == PropertyType::VEC2_T) { in SetCustomPropertyBlobValue()
420 } else if (propertyType == PropertyType::UVEC2_T) { in SetCustomPropertyBlobValue()
440 } else if (propertyType == PropertyType::BOOL_T) { 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,
223 static size_t GetPropertyTypeAlignment(const CORE_NS::PropertyTypeDecl& propertyType);
/ohos5.0/commonlibrary/ets_utils/js_sys_module/process/
H A Dnative_module_process.cpp46 napi_valuetype propertyType = napi_undefined; in DealType() local
52 napi_typeof(env, property, &propertyType); in DealType()
53 … NAPI_ASSERT(env, propertyType == napi_number || propertyType == napi_undefined || in DealType()
54propertyType == napi_null, "Wrong timeout argument type: number expected."); in DealType()
64 napi_typeof(env, property, &propertyType); in DealType()
65 NAPI_ASSERT(env, propertyType == napi_string || propertyType == napi_number in DealType()
66 || propertyType == napi_undefined || propertyType == napi_null, in DealType()
70 napi_typeof(env, property, &propertyType); in DealType()
71 … NAPI_ASSERT(env, propertyType == napi_number || propertyType == napi_undefined || in DealType()
72propertyType == napi_null, "Wrong maxBuffer argument type: number expected."); in DealType()
/ohos5.0/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->GetP… in ParseRenderPropertyVauleInner() local
38 switch (propertyType) { in ParseRenderPropertyVauleInner()
142 …t uint64_t propertyId, const uint64_t animationId, const int animationType, const int propertyType, in addAnimationCreateTrace() argument
152 … nodeId, nodeName.c_str(), propertyId, animationId, animationType, propertyType, startStr.c_str(), in addAnimationCreateTrace()
/ohos5.0/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) … argument
43 …if (modifier->GetModifierType() == RSModifierType::propertyType) { …
50 #define GET_PROPERTY_FROM_MODIFIERS_EQRETURN(T, propertyType, defaultValue, operator) … argument
57 …auto typeIter = node->modifiersTypeMap_.find((int16_t)RSModifierType::propertyType); …
/ohos5.0/docs/zh-cn/application-dev/media/media/
H A Dstreaming-media-playback-development-guide.md135 let propertyType: Object = arrList[i][media.MediaDescriptionKey.MD_KEY_TRACK_TYPE];
138 …if (propertyType == media.MediaType.MEDIA_TYPE_VID && propertyWidth == 1920 && propertyHeight == 1…
282 let propertyType: Object = arrList[i][media.MediaDescriptionKey.MD_KEY_TRACK_TYPE];
283 if (propertyType == 0) {
285 } else if (propertyType == 1) {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tween/
H A Dtween_element.cpp768 PropertyAnimatableType propertyType; in CreateColorAnimation() local
770 propertyType = PropertyAnimatableType::PROPERTY_BACK_DECORATION_COLOR; in CreateColorAnimation()
772 propertyType = PropertyAnimatableType::PROPERTY_FRONT_DECORATION_COLOR; in CreateColorAnimation()
774 …CreatePropertyAnimation<ColorPropertyAnimatable, Color>(animatable, propertyType, option, colorAni… in CreateColorAnimation()
779 PropertyAnimatableType propertyType, const TweenOption& option, RefPtr<Animation<V>>& animation) in CreatePropertyAnimation() argument
787 …PropertyAnimatable::AddPropertyAnimation<U, V>(propertyAnimatable, propertyType, animation, initVa… in CreatePropertyAnimation()
789 LOGE("create property animation failed. property: %{public}d", propertyType); in CreatePropertyAnimation()
H A Dtween_element.h81 … PropertyAnimatableType propertyType, const TweenOption& option, RefPtr<Animation<V>>& animation);
/ohos5.0/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,
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/installer/
H A Dinstaller.cpp634 .propertyType = napi_string in ParseBundleName()
658 .propertyType = napi_string in ParseModuleName()
681 .propertyType = napi_number in ParseVersionCode()
702 .propertyType = napi_number in ParseUserId()
723 .propertyType = napi_number in ParseAppIndex()
744 .propertyType = napi_number in ParseInstallFlag()
774 .propertyType = napi_boolean in ParseIsKeepData()
795 .propertyType = napi_number in ParseCrowdtestDeadline()
839 .propertyType = napi_string in ParseSpecifiedDistributionType()
863 .propertyType = napi_string in ParseAdditionalInfo()
/ohos5.0/docs/en/application-dev/media/media/
H A Dstreaming-media-playback-development-guide.md132 let propertyType: Object = arrList[i][media.MediaDescriptionKey.MD_KEY_TRACK_TYPE];
135 …if (propertyType == media.MediaType.MEDIA_TYPE_VID && propertyWidth == 1920 && propertyHeight == 1…
272 let propertyType: Object = arrList[i][media.MediaDescriptionKey.MD_KEY_TRACK_TYPE];
273 if (propertyType == 0) {
275 } else if (propertyType == 1) {
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_dirty_manager_test2.cpp96 …tSceneSession(sptr<SceneSession> &sceneSession, int32_t pid, int windowId, WindowType propertyType) in InitSceneSession() argument
104 windowSessionProperty->SetWindowType(propertyType); in InitSceneSession()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/
H A Dcommon_func.h40 napi_valuetype propertyType = napi_undefined; member
H A Dcommon_func.cpp343 if (type != propertyInfo.propertyType) { in ParsePropertyFromObject()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dframe_node.h684 …const std::function<void(float)>& onCallbackEvent, const PropertyUnit& propertyType = PropertyUnit…
H A Dframe_node.cpp3790 const std::function<void(float)>& onCallbackEvent, const PropertyUnit& propertyType) in CreateAnimatablePropertyFloat() argument
3800 if (propertyType == PropertyUnit::PIXEL_POSITION) { in CreateAnimatablePropertyFloat()
3801 property->SetPropertyUnit(propertyType); in CreateAnimatablePropertyFloat()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-media-kit/
H A Djs-apis-media.md2715 let propertyType: Object = info[i][media.MediaDescriptionKey.MD_KEY_TRACK_TYPE];
2716 console.info('track info: index=' + propertyIndex + ' tracktype=' + propertyType)
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/
H A Djs-apis-media.md2710 let propertyType: Object = info[i][media.MediaDescriptionKey.MD_KEY_TRACK_TYPE];
2711 console.info('track info: index=' + propertyIndex + ' tracktype=' + propertyType)