Home
last modified time | relevance | path

Searched refs:property_ (Results 1 - 25 of 148) sorted by relevance

123456

/foundation/window/window_manager/wmserver/src/
H A Dwindow_node.cpp33 property_->SetDisplayId(displayId); in SetDisplayId()
48 property_->SetWindowRect(rect); in SetWindowRect()
53 property_->SetDecorEnable(decorEnable); in SetDecorEnable()
58 property_->SetDecoStatus(decoStatus); in SetDecoStatus()
63 property_->SetRequestRect(rect); in SetRequestRect()
68 property_ = property; in SetWindowProperty()
73 property_->SetSystemBarProperty(type, property); in SetSystemBarProperty()
78 property_->SetWindowMode(mode); in SetWindowMode()
83 property_->SetBrightness(brightness); in SetBrightness()
88 property_ in SetFocusable()
[all...]
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_scene_session_impl_test3.cpp95 ASSERT_NE(nullptr, windowSceneSessionImpl->property_); in HWTEST_F()
96 windowSceneSessionImpl->property_->SetPersistentId(1); in HWTEST_F()
122 ASSERT_NE(nullptr, windowSceneSessionImpl->property_); in HWTEST_F()
123 windowSceneSessionImpl->property_->SetPersistentId(1); in HWTEST_F()
136 ASSERT_NE(nullptr, windowSceneSessionImpl->property_); in HWTEST_F()
137 windowSceneSessionImpl->property_->SetRequestRect(rect); in HWTEST_F()
140 ASSERT_NE(nullptr, windowSceneSessionImpl->property_); in HWTEST_F()
141 windowSceneSessionImpl->property_->SetRequestRect(rect); in HWTEST_F()
144 ASSERT_NE(nullptr, windowSceneSessionImpl->property_); in HWTEST_F()
145 windowSceneSessionImpl->property_ in HWTEST_F()
[all...]
H A Dwindow_scene_session_impl_test4.cpp95 ASSERT_NE(nullptr, windowSceneSessionImpl->property_); in HWTEST_F()
96 windowSceneSessionImpl->property_->SetPersistentId(1); in HWTEST_F()
99 ASSERT_NE(nullptr, windowSceneSessionImpl->property_); in HWTEST_F()
100 windowSceneSessionImpl->property_->SetWindowType(WindowType::SYSTEM_SUB_WINDOW_END); in HWTEST_F()
103 ASSERT_NE(nullptr, windowSceneSessionImpl->property_); in HWTEST_F()
104 windowSceneSessionImpl->property_->SetWindowType(WindowType::ABOVE_APP_SYSTEM_WINDOW_BASE); in HWTEST_F()
121 ASSERT_NE(nullptr, windowSceneSessionImpl->property_); in HWTEST_F()
122 int32_t persistentId = windowSceneSessionImpl->property_->GetPersistentId(); in HWTEST_F()
124 windowSceneSessionImpl->property_->SetWindowType(WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT); in HWTEST_F()
128 windowSceneSessionImpl->property_ in HWTEST_F()
[all...]
H A Dwindow_scene_session_impl_test.cpp112 window->property_->SetPersistentId(1); in HWTEST_F()
136 window->property_->SetPersistentId(1); in HWTEST_F()
157 windowSceneSession->property_->SetPersistentId(102); in HWTEST_F()
158 windowSceneSession->property_->SetParentPersistentId(100); in HWTEST_F()
159 windowSceneSession->property_->SetParentId(100); in HWTEST_F()
186 windowSceneSession->property_->SetPersistentId(103); in HWTEST_F()
187 windowSceneSession->property_->SetParentPersistentId(102); in HWTEST_F()
188 windowSceneSession->property_->SetParentId(102); in HWTEST_F()
191 windowSceneSession->property_->type_ = WindowType::APP_SUB_WINDOW_BASE; in HWTEST_F()
216 windowSceneSession->property_ in HWTEST_F()
[all...]
H A Dwindow_impl_test5.cpp88 window->property_->SetWindowType(WindowType::WINDOW_TYPE_SYSTEM_SUB_WINDOW); in HWTEST_F()
91 window->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_SUB_WINDOW); in HWTEST_F()
94 window->property_->SetWindowType(WindowType::WINDOW_TYPE_DIALOG); in HWTEST_F()
97 window->property_->SetWindowType(WindowType::APP_WINDOW_BASE); in HWTEST_F()
141 window->property_->SetRequestedOrientation(Orientation::BEGIN); in HWTEST_F()
218 window->property_->SetWindowType(WindowType::WINDOW_TYPE_NAVIGATION_BAR); in HWTEST_F()
221 window->property_->SetWindowType(WindowType::WINDOW_TYPE_VOLUME_OVERLAY); in HWTEST_F()
224 window->property_->SetWindowType(WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT); in HWTEST_F()
227 window->property_->SetWindowType(WindowType::WINDOW_TYPE_INPUT_METHOD_STATUS_BAR); in HWTEST_F()
230 window->property_ in HWTEST_F()
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/property/
H A Ddefault_value_bind.h32 explicit DefaultValueBind(const IProperty::Ptr& property) : property_(property) {} in DefaultValueBind()
36 property_.reset(); in ~DefaultValueBind()
38 DefaultValueBind(const DefaultValueBind& other) : property_(other.property_) in DefaultValueBind()
42 DefaultValueBind(DefaultValueBind&& other) : property_(other.property_) in DefaultValueBind()
46 other.property_ = nullptr; in DefaultValueBind()
51 property_ = other.property_; in operator =()
58 property_ in operator =()
120 IProperty::WeakPtr property_; global() member in final
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_property_animation.cpp28 RSPropertyAnimation::RSPropertyAnimation(std::shared_ptr<RSPropertyBase> property) : property_(property) in RSPropertyAnimation()
55 if (property_ != nullptr) { in SetPropertyValue()
56 property_->SetValue(value); in SetPropertyValue()
62 if (property_ != nullptr) { in GetPropertyValue()
63 return property_->Clone(); in GetPropertyValue()
71 if (property_ != nullptr) { in GetPropertyId()
72 return property_->GetId(); in GetPropertyId()
140 if (IsUiAnimation() && property_ != nullptr) { in UpdateStagingValueOnInteractiveFinish()
141 property_->SetValueFromRender(property_ in UpdateStagingValueOnInteractiveFinish()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dgraphic_modifier.cpp39 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()
82 SkiaDecorationPainter::PaintGrayScale(rRect, context.canvas, property_->Get()); in Draw()
84 DrawingDecorationPainter::PaintGrayScale(rRect, context.canvas, property_->Get()); in Draw()
91 if (property_) { in Draw()
94 SkiaDecorationPainter::PaintBrightness(rRect, context.canvas, property_->Get()); in Draw()
96 DrawingDecorationPainter::PaintBrightness(rRect, context.canvas, property_ in Draw()
[all...]
H A Ddebug_boundary_modifier.h35 CHECK_NULL_VOID(property_); variable
50 if (property_ == nullptr) { in SetCustomData()
51 property_ = std::make_shared<Rosen::RSProperty<bool>>(paint); in SetCustomData()
52 AttachProperty(property_); in SetCustomData()
54 property_->Set(paint); in SetCustomData()
64 std::shared_ptr<Rosen::RSProperty<bool>> property_; member in OHOS::Ace::NG::DebugBoundaryModifier
H A Doverlay_modifier.h66 CHECK_NULL_VOID(property_); variable
67 auto overlayOptions = property_->Get().GetOverlayOptions();
91 CHECK_NULL_RETURN(property_, nullptr); in GetParagraph()
93 auto overlayOptions = property_->Get().GetOverlayOptions(); in GetParagraph()
140 if (!property_) { in SetCustomData()
141 property_ = std::make_shared<Rosen::RSProperty<OverlayTextData>>(data); in SetCustomData()
142 AttachProperty(property_); in SetCustomData()
144 property_->Set(data); in SetCustomData()
151 if (property_) { in GetOverlayOffset()
152 auto overlayOptions = property_ in GetOverlayOffset()
181 std::shared_ptr<Rosen::RSProperty<OverlayTextData>> property_; global() member in OHOS::Ace::NG::OverlayTextModifier
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_property_animation.cpp35 if (property_ != nullptr) { in DumpAnimationInfo()
36 type = property_->GetPropertyType(); in DumpAnimationInfo()
37 out += ", ModifierType: " + std::to_string(static_cast<int16_t>(property_->GetModifierType())); in DumpAnimationInfo()
65 property_ = property; in AttachRenderProperty()
66 if (property_ == nullptr) { in AttachRenderProperty()
71 property_->SetPropertyType(originValue_->GetPropertyType()); in AttachRenderProperty()
119 if (property_ != nullptr) { in SetPropertyValue()
120 property_->SetValue(value); in SetPropertyValue()
126 if (property_ != nullptr) { in GetPropertyValue()
127 return property_ in GetPropertyValue()
[all...]
H A Drs_render_transition_effect.cpp156 property_ = std::make_shared<RSRenderAnimatableProperty<float>>(0, GenerateTransitionPropertyId()); in CreateModifier()
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()
175 return std::make_shared<RSScaleRenderModifier>(property_); in CreateModifier()
180 if (property_ == nullptr) { in UpdateFraction()
186 property_->Set(value); in UpdateFraction()
191 property_ = in CreateModifier()
193 return std::make_shared<RSTranslateRenderModifier>(property_); in CreateModifier()
[all...]
/foundation/window/window_manager/wm/src/
H A Dwindow_impl.cpp100 property_ = sptr<WindowProperty>::MakeSptr(); in WindowImpl()
109 property_->SetSystemBarProperty(it.first, it.second); in WindowImpl()
113 surfaceNode_ = CreateSurfaceNode(property_->GetWindowName(), option->GetWindowType()); in WindowImpl()
123 ++g_constructorCnt, property_->GetWindowName().c_str()); in WindowImpl()
132 property_->SetWindowName(option->GetWindowName()); in InitWindowProperty()
133 property_->SetRequestRect(option->GetWindowRect()); in InitWindowProperty()
134 property_->SetWindowType(option->GetWindowType()); in InitWindowProperty()
136 property_->SetWindowMode(WindowMode::WINDOW_MODE_FLOATING); in InitWindowProperty()
138 property_->SetWindowMode(option->GetWindowMode()); in InitWindowProperty()
140 property_ in InitWindowProperty()
[all...]
H A Dwindow_scene_session_impl.cpp241 bool isUiExtSubWindow = WindowHelper::IsSubWindow(GetType()) && property_->GetIsUIExtFirstSubWindow(); in IsPcOrPadCapabilityEnabled()
248 parentWindow = FindMainWindowOrExtensionSubWindow(property_->GetParentId(), windowSessionMap_); in IsPcOrPadCapabilityEnabled()
261 bool isUiExtSubWindow = WindowHelper::IsSubWindow(GetType()) && property_->GetIsUIExtFirstSubWindow(); in IsPcOrPadFreeMultiWindowMode()
268 parentWindow = FindMainWindowOrExtensionSubWindow(property_->GetParentId(), windowSessionMap_); in IsPcOrPadFreeMultiWindowMode()
284 property_->GetWindowName().c_str()); in AddSubWindowMapForExtensionWindow()
292 parentSession = FindParentMainSession(property_->GetParentId(), windowSessionMap_); in GetParentSessionAndVerify()
294 parentSession = FindParentSessionByParentId(property_->GetParentId()); in GetParentSessionAndVerify()
298 property_->GetWindowName().c_str(), GetType()); in GetParentSessionAndVerify()
317 property_->SetTokenState(true); in CreateAndConnectSpecificSession()
321 auto info = property_ in CreateAndConnectSpecificSession()
[all...]
/foundation/window/window_manager/window_scene/session/screen/src/
H A Dscreen_session.cpp40 property_(config.property), displayNode_(config.displayNode) in ScreenSession()
95 displayNode_->SetFrame(property_.GetBounds().rect_.left_, property_.GetBounds().rect_.top_, in CreateDisplayNode()
96 property_.GetBounds().rect_.width_, property_.GetBounds().rect_.height_); in CreateDisplayNode()
97 displayNode_->SetBounds(property_.GetBounds().rect_.left_, property_.GetBounds().rect_.top_, in CreateDisplayNode()
98 property_.GetBounds().rect_.width_, property_.GetBounds().rect_.height_); in CreateDisplayNode()
108 : name_(name), screenId_(screenId), rsId_(rsId), property_(propert in ScreenSession()
[all...]
/foundation/window/window_manager/window_scene/test/unittest/
H A Danomaly_detection_test.cpp68 result->property_ = new (std::nothrow) WindowSessionProperty(); in GetSceneSession()
69 if (result->property_ == nullptr) { in GetSceneSession()
86 sceneSession->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in SessionVisibleTest()
96 sceneSession->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in ZeroOrderTest()
116 sceneSession1->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in EQOrderTest()
126 sceneSession2->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in EQOrderTest()
141 sceneSession->property_->SetWindowType(WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT); in WindowTypeTest()
145 sceneSession->property_->SetCallingSessionId(callingId); in WindowTypeTest()
152 callingSession->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in WindowTypeTest()
176 sceneSession->property_ in SubWindowTest()
[all...]
H A Dscene_session_manager_test6.cpp268 ASSERT_NE(nullptr, sceneSession1->property_); in HWTEST_F()
269 ASSERT_NE(nullptr, sceneSession2->property_); in HWTEST_F()
270 sceneSession1->property_->SetWindowType(WindowType::APP_MAIN_WINDOW_BASE); in HWTEST_F()
271 sceneSession2->property_->SetWindowType(WindowType::APP_SUB_WINDOW_BASE); in HWTEST_F()
272 sceneSession1->property_->SetWindowName("visibility1"); in HWTEST_F()
273 sceneSession2->property_->SetWindowName("visibility2"); in HWTEST_F()
317 ASSERT_NE(nullptr, sceneSession1->property_); in HWTEST_F()
318 ASSERT_NE(nullptr, sceneSession2->property_); in HWTEST_F()
319 sceneSession1->property_->SetWindowType(WindowType::APP_MAIN_WINDOW_BASE); in HWTEST_F()
320 sceneSession2->property_ in HWTEST_F()
[all...]
/foundation/window/window_manager/utils/include/
H A Dxml_config_base.h39 std::map<std::string, ConfigItem>* property_ = nullptr; member
57 if (property_) { in Destroy()
58 delete property_; in Destroy()
59 property_ = nullptr; in Destroy()
118 if (value.property_) { in operator =()
119 property_ = new std::map<std::string, ConfigItem>(*value.property_); in operator =()
157 property_ = value.property_;
159 value.property_
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_modifier.h28 : property_(property ? property : std::make_shared<RSPropertyBase>()) in RSModifier()
35 return property_; in GetProperty()
40 return property_->id_; in GetPropertyId()
45 : property_(property ? property : std::make_shared<RSPropertyBase>()) in RSModifier()
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_ in SetMotionPathOption()
109 std::shared_ptr<RSPropertyBase> property_; global() member in OHOS::Rosen::RSModifier
[all...]
H A Drs_extended_modifier.h49 property_->SetIsCustom(true);
63 property_->SetIsCustom(true);
73 auto node = property_->target_.lock();
79 return RSExtendedModifierHelper::CreateRenderModifier(ctx, property_->GetId(), GetModifierType());
84 auto node = property_->target_.lock();
98 node->GetId(), drawCmdList, property_->id_, UPDATE_TYPE_OVERWRITE);
104 node->GetId(), drawCmdList, property_->id_, UPDATE_TYPE_OVERWRITE);
131 auto node = property_->target_.lock();
140 GeometryEffect(canvasnode->GetPaintWidth(), canvasnode->GetPaintHeight()), property_->GetId());
147 auto node = property_
[all...]
H A Drs_property_modifier.cpp71 auto value = std::static_pointer_cast<RSProperty<Vector4f>>(property_)->Get(); in Apply()
77 auto value = std::static_pointer_cast<RSProperty<Vector2f>>(property_)->Get(); in Apply()
83 auto value = std::static_pointer_cast<RSProperty<Vector2f>>(property_)->Get(); in Apply()
89 auto value = std::static_pointer_cast<RSProperty<Vector2f>>(property_)->Get(); in Apply()
95 auto value = std::static_pointer_cast<RSProperty<float>>(property_)->Get(); in Apply()
101 auto value = std::static_pointer_cast<RSProperty<Quaternion>>(property_)->Get(); in Apply()
107 auto value = std::static_pointer_cast<RSProperty<float>>(property_)->Get(); in Apply()
114 auto value = std::static_pointer_cast<RSProperty<float>>(property_)->Get(); in Apply()
121 auto value = std::static_pointer_cast<RSProperty<float>>(property_)->Get(); in Apply()
128 auto value = std::static_pointer_cast<RSProperty<float>>(property_) in Apply()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtoss_animation_controller.cpp46 if (property_) { in SetStart()
55 if (property_) { in SetEnd()
105 CHECK_NULL_VOID(property_); in StartSpringMotion()
106 property_->Set(0); in StartSpringMotion()
108 renderContext->AttachNodeAnimatableProperty(property_); in StartSpringMotion()
109 property_->SetPropertyUnit(PropertyUnit::PIXEL_POSITION); in StartSpringMotion()
128 ref->property_->Set(ref->end_); in StartSpringMotion()
148 ref->property_->Set(0.0); in StopTossAnimation()
175 if (property_) { in CreatePropertyCallback()
190 property_ in CreatePropertyCallback()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/modifier/
H A Drs_render_modifier.h103 : property_(property ? property : std::make_shared<RSRenderProperty<Drawing::Matrix>>()) {} in RSGeometryTransRenderModifier()
110 return property_->GetId();
115 return property_;
130 std::shared_ptr<RSRenderProperty<Drawing::Matrix>> property_; member in OHOS::Rosen::RSGeometryTransRenderModifier
136 : property_(property ? property : std::make_shared<RSRenderProperty<Drawing::DrawCmdListPtr>>()) in RSDrawCmdListRenderModifier()
145 return property_->GetId();
151 return property_;
161 if (property_) { in SetType()
162 property_->SetModifierType(type); in SetType()
168 return property_
186 std::shared_ptr<RSRenderProperty<Drawing::DrawCmdListPtr>> property_; global() member in OHOS::Rosen::RSDrawCmdListRenderModifier
209 std::shared_ptr<RSRenderPropertyBase> property_; global() member in OHOS::Rosen::RSAnimatableRenderModifier
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/modifier/
H A Drs_render_modifier.cpp127 auto& cmds = property_->GetRef(); in Apply()
135 property_->Set(property->Get()); in Update()
142 RSMarshallingHelper::Marshalling(parcel, property_) && parcel.WriteInt16(static_cast<int16_t>(GetType())); in Marshalling()
147 auto renderProperty = std::static_pointer_cast<RSRenderAnimatableProperty<Color>>(property_); in Marshalling()
154 auto renderProperty = std::static_pointer_cast<RSRenderAnimatableProperty<Color>>(property_); in Apply()
161 auto renderProperty = std::static_pointer_cast<RSRenderAnimatableProperty<Color>>(property_); in Update()
168 auto renderProperty = std::static_pointer_cast<RSRenderProperty<ForegroundColorStrategyType>>(property_); in Marshalling()
176 auto renderProperty = std::static_pointer_cast<RSRenderProperty<ForegroundColorStrategyType>>(property_); in Apply()
227 auto renderProperty = std::static_pointer_cast<RSRenderProperty<ForegroundColorStrategyType >>(property_); in Update()
234 auto renderProperty = std::static_pointer_cast<RSRenderAnimatableProperty<Vector4f>>(property_); in Marshalling()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_value_estimator.h97 property_ = animatableProperty;
107 if (property_ != nullptr) {
108 property_->Set(animationValue);
116 if (isAdditive && property_ != nullptr) { in GetAnimationValue()
117 animationValue = property_->Get() + (interpolationValue - lastValue_); in GetAnimationValue()
155 std::shared_ptr<RSRenderAnimatableProperty<T>> property_; member in OHOS::Rosen::RSCurveValueEstimator
177 property_ = animatableProperty;
196 property_ = animatableProperty;
211 if (property_ != nullptr) {
212 property_
296 std::shared_ptr<RSRenderAnimatableProperty<T>> property_; global() member in OHOS::Rosen::RSKeyframeValueEstimator
496 std::shared_ptr<RSRenderAnimatableProperty<T>> property_; global() member in OHOS::Rosen::RSSpringValueEstimator
[all...]

Completed in 23 milliseconds

123456