Home
last modified time | relevance | path

Searched refs:GetAspectRatio (Results 1 - 25 of 41) sorted by relevance

12

/foundation/arkui/ace_engine_lite/frameworks/src/core/base/test/unittest/common/
H A Dsystem_info_tdd_test.cpp47 EXPECT_EQ(SystemInfo::GetInstance().GetAspectRatio(), 1); in HWTEST_F()
96 float aspectRatio = SystemInfo::GetInstance().GetAspectRatio(); in HWTEST_F()
157 float aspectRatio = SystemInfo::GetInstance().GetAspectRatio(); in HWTEST_F()
176 aspectRatio = SystemInfo::GetInstance().GetAspectRatio(); in HWTEST_F()
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Dsystem_info.h35 float GetAspectRatio() const;
H A Dsystem_info.cpp45 float SystemInfo::GetAspectRatio() const in GetAspectRatio() function in OHOS::ACELite::SystemInfo
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_picker_layout_algorithm.cpp113 if (layoutProperty->HasAspectRatio() && layoutProperty->GetAspectRatio() != 0) { in SelfMeasure()
114 height = width / layoutProperty->GetAspectRatio(); in SelfMeasure()
/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Dcheckable_component.cpp43 aspectRatio_ = theme->GetAspectRatio(); in ApplyTheme()
H A Drender_checkable.cpp45 aspectRatio_ = checkable->GetAspectRatio(); in Update()
H A Dcheckable_component.h160 double GetAspectRatio() const in GetAspectRatio() function in OHOS::Ace::CheckableComponent
H A Dcheckable_theme.h65 double GetAspectRatio() const in GetAspectRatio() function in OHOS::Ace::CheckableTheme
/foundation/window/window_manager/wmserver/src/
H A Dwindow_node.cpp410 float WindowNode::GetAspectRatio() const in GetAspectRatio() function in OHOS::Rosen::WindowNode
412 return property_->GetAspectRatio(); in GetAspectRatio()
H A Dwindow_layout_policy_cascade.cpp298 float aspectRatio = node->GetAspectRatio(); in CheckAspectRatioBySizeLimits()
316 float aspectRatio = node->GetAspectRatio(); in ComputeRectByAspectRatio()
769 if (!MathHelper::NearZero(node->GetAspectRatio())) { in FixWindowSizeByRatioIfDragBeyondLimitRegion()
853 if (!MathHelper::NearZero(node->GetAspectRatio())) {
/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Dbox_base_component.h169 AnimatableDimension GetAspectRatio() const in GetAspectRatio() function in OHOS::Ace::BoxBaseComponent
H A Drender_box_base.h242 double GetAspectRatio() const in GetAspectRatio() function in OHOS::Ace::RenderBoxBase
/foundation/arkui/ace_engine/frameworks/core/components/button/
H A Dbutton_component.h239 double GetAspectRatio() const in GetAspectRatio() function in OHOS::Ace::ButtonComponent
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dinspector_node.h119 virtual double GetAspectRatio() const = 0;
H A Dinspector_composed_element.h132 double GetAspectRatio() const override;
H A Dinspector_composed_element.cpp76 { "aspectRatio", [](const InspectorNode& inspector) { return inspector.GetAspectRatio(); } },
741 double InspectorComposedElement::GetAspectRatio() const in GetAspectRatio() function in OHOS::Ace::V2::InspectorComposedElement
745 return render->GetAspectRatio(); in GetAspectRatio()
/foundation/window/window_manager/wmserver/include/
H A Dwindow_node.h136 float GetAspectRatio() const;
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_test3.cpp98 ASSERT_EQ(sceneSession->GetAspectRatio(), ratio); in HWTEST_F()
103 ASSERT_EQ(sceneSession->GetAspectRatio(), ratio); in HWTEST_F()
110 ASSERT_EQ(sceneSession->GetAspectRatio(), ratio); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/shared_overlay/
H A Dshared_transition_effect.cpp189 auto initAspectRatio = magicProperty.GetAspectRatio(); in CreateSizeAnimation()
/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
H A Dlayout_property.h181 float GetAspectRatio() const;
H A Dlayout_wrapper.cpp310 frame.SetHeight(frame.Width() / layoutProperty->GetAspectRatio()); in AdjustFixedSizeNode()
/foundation/window/window_manager/utils/include/
H A Dwindow_property.h140 float GetAspectRatio() const;
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/
H A Dcondition_arbitrator.cpp249 float currentAspectRatio = SystemInfo::GetInstance().GetAspectRatio(); in CompareAspectRatio()
/foundation/window/window_manager/utils/test/unittest/
H A Dwindow_property_test.cpp549 float res = winPropSrc.GetAspectRatio(); in HWTEST_F()
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dhidump_controller.cpp224 << std::setprecision(precision) << session->GetAspectRatio() << "|" in DumpLayoutParam()

Completed in 21 milliseconds

12