/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_render_property_animation_test.cpp | 107 auto propertyValue = renderPropertyAnimation->GetPropertyValue(); in HWTEST_F() local 109 EXPECT_NE(propertyValue, nullptr); in HWTEST_F() 112 propertyValue = renderPropertyAnimation->GetPropertyValue(); in HWTEST_F() 113 EXPECT_NE(propertyValue, nullptr); in HWTEST_F() 115 propertyValue = renderPropertyAnimation->GetPropertyValue(); in HWTEST_F() 116 EXPECT_EQ(propertyValue, nullptr); in HWTEST_F() 117 propertyValue = propertyValue + property; in HWTEST_F() 119 EXPECT_EQ(propertyValue, nullptr); in HWTEST_F() 120 propertyValue in HWTEST_F() [all...] |
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/ |
H A D | js_pip_window_listener.cpp | 123 napi_value propertyValue = nullptr; in OnControlEvent() 124 napi_create_object(env, &propertyValue); in OnControlEvent() 125 if (propertyValue == nullptr) { in OnControlEvent() 126 TLOGE(WmsLogTag::WMS_PIP, "propertyValue is nullptr"); in OnControlEvent() 129 napi_set_named_property(env, propertyValue, "controlType", CreateJsValue(env, controlType)); in OnControlEvent() 130 napi_set_named_property(env, propertyValue, "status", CreateJsValue(env, statusCode)); in OnControlEvent() 131 napi_value argv[] = {propertyValue}; in OnControlEvent()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/property/ |
H A D | property_handle_util.h | 56 IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType, T&& propertyValue) in SetPropertyValue() 60 *scoped = BASE_NS::forward<T>(propertyValue); in SetPropertyValue() 67 bool SetPropertyValue(IPropertyHandle& handle, BASE_NS::string_view propertyName, T&& propertyValue) in SetPropertyValue() argument 71 return SetPropertyValue(handle, propertyName, propertyType, BASE_NS::forward<T>(propertyValue)); in SetPropertyValue() 55 SetPropertyValue( IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType, T&& propertyValue) SetPropertyValue() argument
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_animation_rate_decider.cpp | 150 float propertyValue = property->ToFloat(); in ProcessFloat() local 155 // let w = propertyValue => w *= H * FLOAT_PI / 360 in ProcessFloat() 157 propertyValue *= height * FLOAT_PI / 360; in ProcessFloat() 158 ROSEN_LOGD("%{public}s, ANGLE_ROTATION scene, propertyValue: %{public}f", __func__, propertyValue); in ProcessFloat() 160 return func(propertyUnit, propertyValue); in ProcessFloat()
|
H A D | rs_animation_trace_utils.cpp | 162 auto propertyValue = ParseRenderPropertyVaule(value); in addAnimationFrameTrace() local 165 propertyValue.c_str(), time, dur, repeat); in addAnimationFrameTrace() 174 auto propertyValue = ParseRenderPropertyVaule(initialVelocity, value->GetPropertyType()); in addSpringInitialVelocityTrace() local 176 propertyId, animationId, propertyValue.c_str()); in addSpringInitialVelocityTrace()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/util/ |
H A D | property_util.h | 88 bool SetValue(const BASE_NS::string_view propertyName, T&& propertyValue) in SetValue() argument 90 CORE_NS::SetPropertyValue<T>(*this, propertyName, propertyValue); in SetValue() 177 bool SetValue(const BASE_NS::string_view propertyName, T&& propertyValue) in SetValue() argument 179 CORE_NS::SetPropertyValue<T>(*this, propertyName, propertyValue); in SetValue()
|
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/ |
H A D | napi_common_want.h | 64 napi_value propertyValue = OHOS::AbilityRuntime::CreateJsValue(env, natValue); in InnerWrapJsWantParams() local 65 napi_set_named_property(env, object, key.c_str(), propertyValue); in InnerWrapJsWantParams()
|
H A D | napi_common_want.cpp | 1283 napi_value propertyValue = CreateJsWantParams(env, wp); in InnerWrapJsWantParamsWantParams() local 1284 napi_set_named_property(env, object, key.c_str(), propertyValue); in InnerWrapJsWantParamsWantParams()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | property_util.h | 88 bool SetValue(BASE_NS::string_view propertyName, T&& propertyValue) in SetValue() argument 90 return CORE_NS::SetPropertyValue(*this, propertyName, BASE_NS::forward<T>(propertyValue)); in SetValue()
|
/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/mode/ |
H A D | slow_motion_session_napi.h | 65 double& propertyValue);
|
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/ |
H A D | js_window_listener.cpp | 129 napi_value propertyValue = nullptr;
in OnSystemBarPropertyChange() 130 napi_create_object(eng, &propertyValue);
in OnSystemBarPropertyChange() 131 if (propertyValue == nullptr) {
in OnSystemBarPropertyChange() 135 napi_set_named_property(env, propertyValue, "displayId",
in OnSystemBarPropertyChange() 137 napi_set_named_property(env, propertyValue, "regionTint",
in OnSystemBarPropertyChange() 139 napi_value argv[] = {propertyValue};
in OnSystemBarPropertyChange()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/ |
H A D | napi_common.h | 519 bool GetNamePropertyFromJS(napi_env env, napi_value argValue, const std::string& str, napi_value& propertyValue);
524 napi_value propertyValue = nullptr;
in SetEnumValueFromJS() local 525 if (!GetNamePropertyFromJS(env, argValue, str, propertyValue)) {
in SetEnumValueFromJS() 529 ConvertFromJsValue(env, propertyValue, typeValue);
in SetEnumValueFromJS()
|
H A D | napi_common.cpp | 174 bool GetNamePropertyFromJS(napi_env env, napi_value argValue, const std::string& str, napi_value& propertyValue)
in GetNamePropertyFromJS() argument 181 if (napi_get_named_property(env, argValue, str.c_str(), &propertyValue) != napi_ok) {
in GetNamePropertyFromJS()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_interactive_implict_animator.cpp | 339 const auto& [propertyValue, animations] = value; in FinishOnCurrent() 340 if (propertyValue != nullptr) { in FinishOnCurrent() 341 property->SetValueFromRender(propertyValue); in FinishOnCurrent()
|
H A D | rs_implicit_animation_param.cpp | 132 const auto& [propertyValue, animations] = value; in ExecuteSyncPropertiesTask() 133 if (propertyValue != nullptr) { in ExecuteSyncPropertiesTask() 135 property->SetValueFromRender(propertyValue); in ExecuteSyncPropertiesTask()
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/ |
H A D | slow_motion_session_napi.cpp | 216 double& propertyValue) in GetDoubleProperty() 224 status = napi_get_value_double(env, property, &propertyValue); in GetDoubleProperty() 215 GetDoubleProperty(napi_env env, napi_value param, const std::string& propertyName, double& propertyValue) GetDoubleProperty() argument
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/ |
H A D | hdi_device_impl.cpp | 122 int32_t HdiDeviceImpl::GetDisplayProperty(uint32_t screenId, uint32_t propertyId, uint64_t& propertyValue) in GetDisplayProperty() argument 125 return g_composer->GetDisplayProperty(screenId, propertyId, propertyValue); in GetDisplayProperty() 142 uint64_t propertyValue; in GetScreenCapability() local 165 (void)g_composer->GetDisplayProperty(screenId, propertyId, propertyValue); in GetScreenCapability()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/internal/ |
H A D | object_api.h | 361 Object& MetaProperty(BASE_NS::string_view propertyName, const PropertyValueType& propertyValue) in MetaProperty() argument 366 typed->SetValue(propertyValue); in MetaProperty() 371 meta->AddProperty(ConstructProperty<PropertyValueType>(propertyName, propertyValue)); in MetaProperty()
|
/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | profile_utils.cpp | 742 std::string propertyValue = propertyMap.at(property); in IsPropertyValid() local 743 if (!IsNumStr(propertyValue)) { in IsPropertyValid() 744 HILOGE("%{public}s is not numeric string", GetAnonyString(propertyValue).c_str()); in IsPropertyValid() 747 if (minValue < std::atoi(propertyValue.c_str()) && std::atoi(propertyValue.c_str()) < maxValue) { in IsPropertyValid()
|
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_runtime.cpp | 550 napi_value propertyValue = nullptr; in LoadSystemModuleByEngine() local 551 napi_get_named_property(env, globalObj, "requireNapi", &propertyValue); in LoadSystemModuleByEngine() 555 napi_create_reference(env, propertyValue, 1, &tmpRef); in LoadSystemModuleByEngine() 682 napi_value propertyValue = nullptr; in Initialize() local 683 napi_get_named_property(env, globalObj, "requireNapi", &propertyValue); in Initialize() 685 napi_create_reference(env, propertyValue, 1, &tmpRef); in Initialize()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/ |
H A D | hdi_device_impl.h | 36 int32_t GetDisplayProperty(uint32_t screenId, uint32_t propertyId, uint64_t& propertyValue) override;
|
H A D | hdi_device.h | 39 virtual int32_t GetDisplayProperty(uint32_t screenId, uint32_t propertyId, uint64_t& propertyValue) = 0;
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/ |
H A D | material_component_manager.cpp | 252 for (const CORE_NS::json::value& propertyValue : customProperties.array_) { in UpdateCustomPropertyMetadata() 253 if (propertyValue.is_object()) { in UpdateCustomPropertyMetadata() 256 for (const auto& object : propertyValue.object_) { in UpdateCustomPropertyMetadata()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_base.cpp | 994 auto propertyValue = propertyPtr ? propertyPtr->Get() : nullptr; in CalcNodeCmdListCount() local 995 if (propertyValue && propertyValue->GetOpItemSize() > 0) { in CalcNodeCmdListCount()
|
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/ |
H A D | napi_pastedata.cpp | 912 napi_value propertyValue = nullptr; in IsProperty() local 918 NAPI_CALL_BASE(env, napi_get_named_property(env, in, key[i], &propertyValue), false); in IsProperty() 921 NAPI_CALL_BASE(env, napi_is_array(env, propertyValue, &isArray), false); in IsProperty() 927 NAPI_CALL_BASE(env, napi_typeof(env, propertyValue, &valueType), false); in IsProperty()
|