/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ng/ |
H A D | size_t.h | 31 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 D | rect_t.h | 71 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 D | layout_constraint.h | 31 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 D | measure_utils.h | 97 …const std::optional<CalcSize>& calcLayoutConstraintMaxMinSize, const SizeT<float> percentReference… 155 …const std::unique_ptr<MeasureProperty>& calcLayoutConstraint, const SizeT<float> percentReference);
|
H A D | measure_utils.cpp | 361 … 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 D | text_input_layout_algorithm.h | 46 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 D | text_input_layout_algorithm.cpp | 260 SizeT<float> contentSize = content->GetRect().GetSize(); in Layout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_modifier.h | 65 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 D | slider_style.h | 31 ACE_DEFINE_PROPERTY_GROUP_ITEM(BlockSize, SizeT<Dimension>) 50 ACE_DEFINE_PROPERTY_GROUP_ITEM(BlockSize, SizeT<Dimension>)
|
H A D | slider_layout_property.h | 106 …ACE_DEFINE_PROPERTY_ITEM_WITH_GROUP(SliderLayoutStyle, BlockSize, SizeT<Dimension>, PROPERTY_UPDAT…
|
H A D | slider_model_ng.cpp | 189 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 D | list_scroller_test_ng.cpp | 439 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 D | list_test_ng.cpp | 148 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 D | list_layout_test_ng.cpp | 1471 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 D | list_test_ng.h | 76 void CreateItemWithSize(int32_t itemNumber, SizeT<Dimension> itemSize);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/ |
H A D | security_component_layout_element.cpp | 128 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 D | layout_constraint_test_ng.cpp | 114 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 D | text_base.h | 124 const SizeT<float> LARGE_SIZE = SizeT<float>(10000.0f, 1000.0f);
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/dynamic_component/ |
H A D | dynamic_component_renderer_impl.h | 91 SizeT<int32_t> viewport_;
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/divider/old_cases/ |
H A D | divider_test_ng.cpp | 49 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 D | dialog_layout_algorithm.h | 96 void UpdateChildMaxSizeHeight(SizeT<float>& maxSize);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/ |
H A D | menu_item_layout_algorithm.cpp | 101 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 D | ts-particle-animation.md | 384 | size | [SizeT](../js-apis-arkui-graphics.md#sizett12)<number>| 否 |场的大小。<br/>默认值 {width:0,… 414 | size | [SizeT](../js-apis-arkui-graphics.md#sizett12)<number>| 否 |发射窗口的大小,只支持number类型。<br…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | sheet_presentation_pattern.h | 785 std::optional<SizeT<int32_t>> windowSize_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_node/src/ |
H A D | frame_node.ts | 431 getUserConfigSize(): SizeT<LengthMetrics> {
|