Home
last modified time | relevance | path

Searched refs:SizeT (Results 1 – 25 of 38) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ng/
H A Dsize_t.h31 class SizeT {
33 SizeT() = default;
34 ~SizeT() = default;
94 void SetSizeT(const SizeT& SizeT) in SetSizeT() argument
106 SizeT& AddWidth(T value) in AddWidth()
314 SizeT operator+(const SizeT& size) const
319 SizeT& operator+=(const SizeT& size)
326 SizeT operator-(const SizeT& size) const
331 SizeT& operator-=(const SizeT& size)
357 bool operator>(const SizeT& SizeT) const
[all …]
H A Drect_t.h71 void SetRect(const OffsetT<T>& offset, const SizeT<T>& size) in SetRect()
138 void SetSize(const SizeT<T>& size) in SetSize()
144 SizeT<T> GetSize() const in GetSize()
146 return SizeT<T>(width_, height_); in GetSize()
236 RectT& operator+=(const SizeT<T>& size)
261 RectT& operator-=(const SizeT<T>& size)
278 RectT operator+(const SizeT<T>& size) const
293 RectT operator-(const SizeT<T>& size) const
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dlayout_constraint.h31 SizeT<T> minSize { 0, 0 };
32 SizeT<T> maxSize { Infinity<T>(), Infinity<T>() };
33 SizeT<T> percentReference { 0, 0 };
58 static bool CompareWithInfinityCheck(const SizeT<float>& first, const SizeT<float>& second) in CompareWithInfinityCheck()
168 bool UpdateMaxSizeWithCheck(const SizeT<T>& size) in UpdateMaxSizeWithCheck()
176 bool UpdateMaxWidthWithCheck(const SizeT<T>& size) in UpdateMaxWidthWithCheck()
184 bool UpdateMaxHeightWithCheck(const SizeT<T>& size) in UpdateMaxHeightWithCheck()
192 bool UpdateMinSizeWithCheck(const SizeT<T>& size) in UpdateMinSizeWithCheck()
200 bool UpdatePercentReference(const SizeT<T>& size) in UpdatePercentReference()
H A Dmeasure_utils.h97 …const std::optional<CalcSize>& calcLayoutConstraintMaxMinSize, const SizeT<float> percentReference…
155 …const std::unique_ptr<MeasureProperty>& calcLayoutConstraint, const SizeT<float> percentReference);
H A Dmeasure_utils.cpp361 … const std::unique_ptr<MeasureProperty>& calcLayoutConstraint, const SizeT<float> percentReference) in UpdateOptionSizeByCalcLayoutConstraint()
376 …const std::optional<CalcSize>& calcLayoutConstraintMaxMinSize, const SizeT<float> percentReference… in UpdateOptionSizeByMaxOrMinCalcLayoutConstraint()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_input/
H A Dtext_input_layout_algorithm.h46 SizeT<float> size = SizeT<float>(0.0f, 0.0f);
47 SizeT<float> contentSize = SizeT<float>(0.0f, 0.0f);
56 SizeT<float> contentSize = SizeT<float>(0.0f, 0.0f);
H A Dtext_input_layout_algorithm.cpp260 SizeT<float> contentSize = content->GetRect().GetSize(); in Layout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcanvas_modifier.h65 SizeT<int32_t> recordingCanvasDrawSize_ = { 0.0f, 0.0f };
66 SizeT<int32_t> drawCmdSize_ = { 0.0f, 0.0f };
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_style.h31 ACE_DEFINE_PROPERTY_GROUP_ITEM(BlockSize, SizeT<Dimension>)
50 ACE_DEFINE_PROPERTY_GROUP_ITEM(BlockSize, SizeT<Dimension>)
H A Dslider_layout_property.h106 …ACE_DEFINE_PROPERTY_ITEM_WITH_GROUP(SliderLayoutStyle, BlockSize, SizeT<Dimension>, PROPERTY_UPDAT…
H A Dslider_model_ng.cpp189 SizeT<Dimension> blockSize; in SetBlockSize()
194 … blockSize = layoutProperty->GetBlockSizeValue(SizeT<Dimension>(themeBlockSize, themeBlockSize)); in SetBlockSize()
362 SizeT<Dimension> blockSize; in SetBlockSize()
367 … blockSize = layoutProperty->GetBlockSizeValue(SizeT<Dimension>(themeBlockSize, themeBlockSize)); in SetBlockSize()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/list/
H A Dlist_scroller_test_ng.cpp439 SizeT<Dimension> itemSize = SizeT<Dimension>(FILL_LENGTH, Dimension(1000.f));
1730 SizeT<Dimension> itemSize = SizeT<Dimension>(FILL_LENGTH, FILL_LENGTH);
2007 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(50.f)));
2008 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(100.f)));
2009 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(200.f)));
2011 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(50.f)));
2012 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(100.f)));
2013 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(200.f)));
2200 CreateItemWithSize(2, SizeT<Dimension>(FILL_LENGTH, Dimension(50.f)));
2203 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(50.f)));
[all …]
H A Dlist_test_ng.cpp148 void ListTestNg::CreateItemWithSize(int32_t itemNumber, SizeT<Dimension> itemSize) in CreateItemWithSize()
192 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(50.f))); in CreateGroupWithSettingChildrenMainSize()
193 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(200.f))); in CreateGroupWithSettingChildrenMainSize()
209 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(50.f))); in CreateGroupChildrenMainSize()
210 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(200.f))); in CreateGroupChildrenMainSize()
H A Dlist_layout_test_ng.cpp1471 CreateItemWithSize(2, SizeT<Dimension>(FILL_LENGTH, Dimension(0.f)));
1472 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(200.f)));
1497 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(-100.f)));
1498 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(200.f)));
1514 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(50.f)));
1515 CreateItemWithSize(1, SizeT<Dimension>(FILL_LENGTH, Dimension(200.f)));
H A Dlist_test_ng.h76 void CreateItemWithSize(int32_t itemNumber, SizeT<Dimension> itemSize);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_layout_element.cpp128 SizeT<float> maxSize { textConstraint.maxSize.Width(), Infinity<float>() }; in Init()
323 double minTextWidth = minTextSize_.value_or(SizeT(0.0F, 0.0F)).Width(); in ShrinkWidth()
345 double minTextHeight = minTextSize_.value_or(SizeT(0.0F, 0.0F)).Height(); in ShrinkHeight()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/property/
H A Dlayout_constraint_test_ng.cpp114 SizeT<float> size(1024, 2048);
163 layoutConstraint.minSize = SizeT<float>(1, 2);
164 layoutConstraint.maxSize = SizeT<float>(100, 200);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_base.h124 const SizeT<float> LARGE_SIZE = SizeT<float>(10000.0f, 1000.0f);
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/dynamic_component/
H A Ddynamic_component_renderer_impl.h91 SizeT<int32_t> viewport_;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/divider/old_cases/
H A Ddivider_test_ng.cpp49 const SizeT<float> MAX_SIZE = SizeT<float>(1000.0f, 1000.0f);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
H A Ddialog_layout_algorithm.h96 void UpdateChildMaxSizeHeight(SizeT<float>& maxSize);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/
H A Dmenu_item_layout_algorithm.cpp101 auto leftRowSize = leftRow ? leftRow->GetGeometryNode()->GetFrameSize() : SizeT(0.0f, 0.0f); in Layout()
103 auto rightRowSize = rightRow ? rightRow->GetGeometryNode()->GetFrameSize() : SizeT(0.0f, 0.0f); in Layout()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-particle-animation.md384 | size | [SizeT](../js-apis-arkui-graphics.md#sizett12)&lt;number&gt;| 否 |场的大小。<br/>默认值 {width:0,…
414 | size | [SizeT](../js-apis-arkui-graphics.md#sizett12)&lt;number&gt;| 否 |发射窗口的大小,只支持number类型。<br…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Dsheet_presentation_pattern.h785 std::optional<SizeT<int32_t>> windowSize_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_node/src/
H A Dframe_node.ts431 getUserConfigSize(): SizeT<LengthMetrics> {

12