/ohos5.0/foundation/window/window_manager/wmserver/src/ |
H A D | window_node.cpp | 33 property_->SetDisplayId(displayId); in SetDisplayId() 48 property_->SetWindowRect(rect); in SetWindowRect() 63 property_->SetRequestRect(rect); in SetRequestRect() 68 property_ = property; in SetWindowProperty() 78 property_->SetWindowMode(mode); in SetWindowMode() 175 property_->SetOriginRect(rect); in SetOriginRect() 200 property_->ComputeTransform(); in ComputeTransform() 205 property_->SetTransform(trans); in SetTransform() 234 return property_->GetDragType(); in GetDragType() 259 return property_->GetWindowId(); in GetWindowId() [all …]
|
/ohos5.0/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_scene_session_impl_test3.cpp | 794 ASSERT_NE(nullptr, subWindow->property_); 795 subWindow->property_->SetPersistentId(1002); 809 ASSERT_NE(nullptr, window->property_); 810 window->property_->SetPersistentId(1003); 1902 ASSERT_NE(nullptr, window->property_); 1903 window->property_->SetPersistentId(1); 1915 window->property_->SetRequestRect(request); 1918 window->property_->SetRequestRect(request); 1935 window->property_->SetPersistentId(1); 1940 window->property_->SetDragEnabled(true); [all …]
|
H A D | window_scene_session_impl_test.cpp | 111 window->property_->SetPersistentId(1); 135 window->property_->SetPersistentId(1); 657 window->property_->SetPersistentId(1); 789 window->property_->SetPersistentId(1); 824 window->property_->SetPersistentId(1); 851 ASSERT_NE(nullptr, window->property_); 852 window->property_->SetPersistentId(1); 882 window->property_->SetPersistentId(1); 947 window->property_->SetDisplayId(3); 1278 if (window->property_ == nullptr) { [all …]
|
H A D | window_scene_session_impl_test4.cpp | 577 window->property_->SetPersistentId(1); 651 window->property_->SetPersistentId(1); 771 ASSERT_NE(nullptr, window->property_); 772 window->property_->SetPersistentId(1); 780 ASSERT_NE(nullptr, window->property_); 785 ASSERT_NE(nullptr, window->property_); 805 window->property_->SetPersistentId(1); 829 window->property_->SetPersistentId(1); 855 window->property_->SetPersistentId(1); 937 ASSERT_NE(nullptr, window->property_); [all …]
|
H A D | window_impl_test5.cpp | 97 window->property_->SetWindowType(WindowType::APP_WINDOW_BASE); 141 window->property_->SetRequestedOrientation(Orientation::BEGIN); 574 window->property_->SetWindowRect(rect); 780 window->property_->SetWindowRect(rect); 812 window->property_->SetDisplayZoomState(true); 813 window->property_->SetTransform(Transform::Identity()); 816 window->property_->SetDisplayZoomState(false); 1112 window->property_->SetWindowFlags(1 << 2); 1115 window->property_->SetWindowFlags(1); 1351 window->property_->SetDisplayId(-1); [all …]
|
H A D | window_extension_session_impl_test.cpp | 108 ASSERT_NE(nullptr, window_->property_); 109 window_->property_->SetPersistentId(1); 147 ASSERT_NE(nullptr, window_->property_); 148 window_->property_->SetPersistentId(1); 164 ASSERT_NE(nullptr, window_->property_); 165 window_->property_->SetPersistentId(1); 176 ASSERT_NE(nullptr, window_->property_); 178 window_->property_->SetPersistentId(0); 289 ASSERT_NE(nullptr, window_->property_); 290 window_->property_->SetPersistentId(1); [all …]
|
H A D | window_scene_session_impl_test2.cpp | 171 window->property_->SetPersistentId(1); 191 window->property_->SetPersistentId(1); 209 window->property_->SetPersistentId(1); 233 window->property_->SetPersistentId(1); 237 window->property_->SetPersistentId(1); 1009 window->property_->SetPersistentId(1); 1012 window->property_->SetDisplayId(0); 1129 window->property_->SetDisplayId(0); 1159 window->property_->SetDisplayId(0); 1189 window->property_->SetDisplayId(0); [all …]
|
H A D | window_session_impl_test4.cpp | 136 window->property_->SetPersistentId(1); 168 window->property_->SetPersistentId(1); 203 window->property_->SetPersistentId(1); 239 ASSERT_NE(window->property_, nullptr); 240 window->property_->SetPersistentId(1); 271 window->property_->SetPersistentId(1); 308 window->property_->SetPersistentId(1); 332 window->property_->SetPersistentId(1); 359 window->property_->SetPersistentId(1); 1297 window->property_->SetDisplayId(-1); [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/session/screen/src/ |
H A D | screen_session.cpp | 102 property_.GetBounds().rect_.width_, property_.GetBounds().rect_.height_); in CreateDisplayNode() 104 property_.GetBounds().rect_.width_, property_.GetBounds().rect_.height_); in CreateDisplayNode() 132 property_.GetBounds().rect_.width_, property_.GetBounds().rect_.height_); in ScreenSession() 134 property_.GetBounds().rect_.width_, property_.GetBounds().rect_.height_); in ScreenSession() 152 property_.GetBounds().rect_.width_, property_.GetBounds().rect_.height_); in ScreenSession() 154 property_.GetBounds().rect_.width_, property_.GetBounds().rect_.height_); in ScreenSession() 171 property_.GetBounds().rect_.width_, property_.GetBounds().rect_.height_); in ScreenSession() 173 property_.GetBounds().rect_.width_, property_.GetBounds().rect_.height_); in ScreenSession() 325 return property_; in GetScreenProperty() 840 bool isVerticalScreen = property_.GetPhyWidth() < property_.GetPhyHeight(); in CalcDisplayOrientation() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | graphic_modifier.cpp | 39 if (!property_) { in SetCustomData() 40 property_ = std::make_shared<Rosen::RSAnimatableProperty<float>>(data); in SetCustomData() 41 AttachProperty(property_); in SetCustomData() 43 property_->Set(data); in SetCustomData() 79 if (property_) { in Draw() 91 if (property_) { in Draw() 103 if (property_) { in Draw() 115 if (property_) { in Draw() 127 if (property_) { in Draw() 139 if (property_) { in Draw() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/property/ |
H A D | default_value_bind.h | 36 property_.reset(); in META_BEGIN_NAMESPACE() 38 DefaultValueBind(const DefaultValueBind& other) : property_(other.property_) in META_BEGIN_NAMESPACE() 42 DefaultValueBind(DefaultValueBind&& other) : property_(other.property_) in META_BEGIN_NAMESPACE() 46 other.property_ = nullptr; in META_BEGIN_NAMESPACE() 51 property_ = other.property_; in META_BEGIN_NAMESPACE() 58 property_ = other.property_; in META_BEGIN_NAMESPACE() 61 other.property_ = nullptr; in META_BEGIN_NAMESPACE() 71 const auto property = property_.lock(); in META_BEGIN_NAMESPACE() 102 property_ = property; in META_BEGIN_NAMESPACE() 106 return property_.lock(); in META_BEGIN_NAMESPACE() [all …]
|
/ohos5.0/foundation/window/window_manager/wm/src/ |
H A D | window_impl.cpp | 102 if (property_ == nullptr) { in WindowImpl() 336 return property_->GetAlpha(); in GetAlpha() 385 return property_->GetWindowId(); in GetWindowId() 503 property_->SetAlpha(alpha); in SetAlpha() 516 property_->SetTransform(trans); in SetTransform() 727 property_->GetDisplayId(), property_->GetWindowId()); in GetVirtualPixelRatio() 930 if (property_ != nullptr) { in GetSystemBarProperties() 3263 property_->GetDisplayId(), property_->GetWindowId()); in HandlePointerStyle() 3329 if (property_) { in ConsumePointerEvent() 3666 return property_; in GetWindowProperty() [all …]
|
H A D | window_scene_session_impl.cpp | 365 property_->SetParentPersistentId(property_->GetParentId()); in CreateAndConnectSpecificSession() 395 property_->GetParentPersistentId(), GetType(), property_->GetTouchable()); in CreateAndConnectSpecificSession() 447 property_->GetWindowMode(), property_->GetWindowType(), persistentId, state_); in RecoverAndConnectSpecificSession() 578 if (property_ == nullptr) { in Create() 604 property_->SetWindowFlags(property_->GetWindowFlags() & in Create() 644 property_->GetWindowName().c_str(), property_->GetPersistentId(), state_, GetMode()); in Create() 1104 if (property_ == nullptr) { in Show() 1126 property_->GetWindowName().c_str(), property_->GetPersistentId(), type); in Show() 1194 if (property_ == nullptr) { in Hide() 1415 if (property_ == nullptr) { in Destroy() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_property_animation.cpp | 54 if (property_ != nullptr) { in SetPropertyValue() 55 property_->SetValue(value); in SetPropertyValue() 61 if (property_ != nullptr) { in GetPropertyValue() 62 return property_->Clone(); in GetPropertyValue() 70 if (property_ != nullptr) { in GetPropertyId() 71 return property_->GetId(); in GetPropertyId() 140 property_->SetValueFromRender(property_->GetRenderProperty()); in UpdateStagingValueOnInteractiveFinish() 149 if (property_ != nullptr) { in SetPropertyOnAllAnimationFinish() 150 property_->UpdateOnAllAnimationFinish(); in SetPropertyOnAllAnimationFinish() 156 if (property_ == nullptr) { in InitAdditiveMode() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_property_animation.cpp | 58 property_ = property; in AttachRenderProperty() 59 if (property_ == nullptr) { in AttachRenderProperty() 112 if (property_ != nullptr) { in SetPropertyValue() 113 property_->SetValue(value); in SetPropertyValue() 119 if (property_ != nullptr) { in GetPropertyValue() 120 return property_->Clone(); in GetPropertyValue() 143 if (GetAdditive() && (property_ != nullptr)) { in SetAnimationValue() 186 if (property_ != nullptr) { in RecordLastAnimateValue() 187 lastAnimateValue_ = property_->Clone(); in RecordLastAnimateValue() 204 auto currAnimateValue = property_->Clone(); in UpdateAnimateVelocity() [all …]
|
H A D | rs_render_transition_effect.cpp | 157 return std::make_shared<RSAlphaRenderModifier>(property_); in CreateModifier() 162 if (property_ == nullptr) { in UpdateFraction() 168 property_->Set(value); in UpdateFraction() 173 property_ = in CreateModifier() 180 if (property_ == nullptr) { in UpdateFraction() 186 property_->Set(value); in UpdateFraction() 191 property_ = in CreateModifier() 198 if (property_ == nullptr) { in UpdateFraction() 204 property_->Set(value); in UpdateFraction() 215 if (property_ == nullptr) { in UpdateFraction() [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | anomaly_detection_test.cpp | 68 result->property_ = new (std::nothrow) WindowSessionProperty(); in GetSceneSession() 69 if (result->property_ == nullptr) { in GetSceneSession() 145 sceneSession->property_->SetCallingSessionId(callingId); in WindowTypeTest() 176 sceneSession->property_->SetCallingSessionId(mainId); in SubWindowTest() 183 sceneSession->property_->SetWindowType(WindowType::WINDOW_TYPE_DIALOG); in SubWindowTest() 196 sceneSession->property_->SetWindowType(WindowType::APP_SUB_WINDOW_BASE); in SubWindowTest() 208 sceneSession->property_->SetWindowType(WindowType::WINDOW_TYPE_DIALOG); in SubWindowTest() 223 sceneSession->property_->SetWindowType(WindowType::WINDOW_TYPE_KEYGUARD); in KeyGUARDTest() 239 sceneSession1->property_->SetWindowType(WindowType::WINDOW_TYPE_KEYGUARD); in IsShowWhenLockedTest() 259 sceneSession2->property_->AddWindowFlag(WindowFlag::WINDOW_FLAG_NEED_AVOID); in IsShowWhenLockedTest() [all …]
|
H A D | session_test3.cpp | 144 session_->property_ = nullptr; 150 EXPECT_NE(session_->property_, nullptr); 151 session_->property_->SetFocusable(false); 194 ASSERT_NE(session_->property_, nullptr); 197 session_->property_ = nullptr; 250 ASSERT_NE(session_->property_, nullptr); 794 session_->property_ = nullptr; 980 session_->property_ = nullptr; 984 session_->property_ = nullptr; 1024 session_->property_ = nullptr; [all …]
|
H A D | scene_session_manager_test6.cpp | 580 sceneSessionFirst->property_ = nullptr; 802 sceneSession->property_ = nullptr; 1019 sceneSession->property_ = nullptr; 1032 sceneSession->property_->flags_ = 0; 1067 sceneSession->property_->flags_ = 0; 1121 sceneSession->property_ = nullptr; 1237 sceneSession->property_ = nullptr; 1529 session->property_ = nullptr; 1630 session->property_ = nullptr; 1636 ASSERT_NE(session->property_, nullptr); [all …]
|
H A D | scene_session_manager_test4.cpp | 447 ASSERT_NE(sceneSession->property_, nullptr); 633 sceneSession->property_ = nullptr; 693 ASSERT_NE(sceneSession->property_, nullptr); 718 ASSERT_NE(sceneSession->property_, nullptr); 754 ASSERT_NE(sceneSession->property_, nullptr); 1003 ASSERT_NE(sceneSession->property_, nullptr); 1134 ASSERT_NE(sceneSession->property_, nullptr); 1411 ASSERT_NE(sceneSession->property_, nullptr); 1581 ASSERT_NE(sceneSession->property_, nullptr); 1618 ASSERT_NE(sceneSession->property_, nullptr); [all …]
|
/ohos5.0/foundation/window/window_manager/utils/include/ |
H A D | xml_config_base.h | 57 if (property_) { in Destroy() 58 delete property_; in Destroy() local 59 property_ = nullptr; in Destroy() 118 if (value.property_) { 119 property_ = new std::map<std::string, ConfigItem>(*value.property_); 157 property_ = value.property_; 159 value.property_ = nullptr; 164 if (property_) { in SetProperty() 165 delete property_; in SetProperty() local 247 if (!property_) { in GetProp() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_property_modifier.cpp | 72 property_->SetThresholdType(ThresholdType::COARSE); in RSBehindWindowFilterRadiusModifier() 91 property_->SetThresholdType(ThresholdType::COARSE); in RSBehindWindowFilterSaturationModifier() 110 property_->SetThresholdType(ThresholdType::COARSE); in RSBehindWindowFilterBrightnessModifier() 129 property_->SetThresholdType(ThresholdType::COLOR); in RSBehindWindowFilterMaskColorModifier() 146 auto value = std::static_pointer_cast<RSProperty<Vector4f>>(property_)->Get(); in Apply() 170 auto value = std::static_pointer_cast<RSProperty<float>>(property_)->Get(); in Apply() 182 auto value = std::static_pointer_cast<RSProperty<float>>(property_)->Get(); in Apply() 189 auto value = std::static_pointer_cast<RSProperty<float>>(property_)->Get(); in Apply() 196 auto value = std::static_pointer_cast<RSProperty<float>>(property_)->Get(); in Apply() 203 auto value = std::static_pointer_cast<RSProperty<float>>(property_)->Get(); in Apply() [all …]
|
H A D | rs_modifier.h | 28 : property_(property ? property : std::make_shared<RSPropertyBase>()) in RSModifier() 35 return property_; in GetProperty() 40 return property_->id_; in GetPropertyId() 47 property_->type_ = type; in RSModifier() 65 return property_->target_; in GetTarget() 74 property_->target_ = std::weak_ptr<RSNode>(target); in AttachToNode() 75 property_->AttachModifier(shared_from_this()); in AttachToNode() 83 property_->target_.reset(); in DetachFromNode() 88 property_->SetMotionPathOption(motionPathOption); in SetMotionPathOption() 93 return property_->GetRenderProperty(); in GetRenderProperty() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/modifier/ |
H A D | rs_render_modifier.cpp | 163 auto& cmds = property_->GetRef(); in Apply() 171 property_->Set(property->Get()); in Update() 183 auto renderProperty = std::static_pointer_cast<RSRenderAnimatableProperty<Color>>(property_); in Marshalling() 190 auto renderProperty = std::static_pointer_cast<RSRenderAnimatableProperty<Color>>(property_); in Apply() 270 auto renderProperty = std::static_pointer_cast<RSRenderAnimatableProperty<Vector4f>>(property_); in Marshalling() 294 geoPtr->ConcatMatrix(property_->Get()); in Apply() 300 property_->Set(property->Get()); in Update() 320 auto renderProperty = std::static_pointer_cast<RSRenderAnimatableProperty<float>>(property_); in Marshalling() 336 auto renderProperty = std::static_pointer_cast<RSRenderAnimatableProperty<float>>(property_); in Marshalling() 352 auto renderProperty = std::static_pointer_cast<RSRenderAnimatableProperty<float>>(property_); in Marshalling() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | toss_animation_controller.cpp | 48 if (property_) { in SetStart() 57 if (property_) { in SetEnd() 107 CHECK_NULL_VOID(property_); in StartSpringMotion() 108 property_->Set(0); in StartSpringMotion() 110 renderContext->AttachNodeAnimatableProperty(property_); in StartSpringMotion() 111 property_->SetPropertyUnit(PropertyUnit::PIXEL_POSITION); in StartSpringMotion() 130 ref->property_->Set(ref->end_); in StartSpringMotion() 150 ref->property_->Set(0.0); in StopTossAnimation() 177 if (property_) { in CreatePropertyCallback() 197 if (!property_) { in GetTossOffset() [all …]
|