Home
last modified time | relevance | path

Searched refs:ScreenSizeType (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dscreen_system_manager.cpp30 currentSize_ = ScreenSizeType::XS; in OnSurfaceChanged()
32 currentSize_ = ScreenSizeType::SM; in OnSurfaceChanged()
34 currentSize_ = ScreenSizeType::MD; in OnSurfaceChanged()
36 currentSize_ = ScreenSizeType::LG; in OnSurfaceChanged()
38 currentSize_ = ScreenSizeType::XL; in OnSurfaceChanged()
44 ScreenSizeType size = ScreenSizeType::UNDEFINED; in GetSize()
49 size = ScreenSizeType::XS; in GetSize()
51 size = ScreenSizeType::SM; in GetSize()
53 size = ScreenSizeType::MD; in GetSize()
55 size = ScreenSizeType::LG; in GetSize()
[all …]
H A Dscreen_system_manager.h29 enum class ScreenSizeType { enum
40 {ScreenSizeType::XS, "xs"},
41 {ScreenSizeType::SM, "sm"},
42 {ScreenSizeType::MD, "md"},
43 {ScreenSizeType::LG, "lg"},
44 {ScreenSizeType::XL, "xl"},
47 inline bool IsValid(ScreenSizeType val) in IsValid()
86 ScreenSizeType GetSize(double width) const;
88 ScreenSizeType GetCurrentSize() const in GetCurrentSize()
103 ScreenSizeType currentSize_ = ScreenSizeType::UNDEFINED;
[all …]
H A Dgrid_column_info.h39 columnInfo_->columns_[ScreenSizeType::XS] = static_cast<int32_t>(xsSizeColumn);
40 columnInfo_->dimOffsets_[ScreenSizeType::XS] = offset;
45 columnInfo_->columns_[ScreenSizeType::SM] = static_cast<int32_t>(smSizeColumn);
46 columnInfo_->dimOffsets_[ScreenSizeType::SM] = offset;
51 columnInfo_->columns_[ScreenSizeType::MD] = static_cast<int32_t>(mdSizeColumn);
52 columnInfo_->dimOffsets_[ScreenSizeType::MD] = offset;
57 columnInfo_->columns_[ScreenSizeType::LG] = static_cast<int32_t>(lgSizeColumn);
58 columnInfo_->dimOffsets_[ScreenSizeType::LG] = offset;
82 columnInfo_->columns_[ScreenSizeType::UNDEFINED] = static_cast<int32_t>(columns); in SetColumns()
112 return columns_[ScreenSizeType::UNDEFINED]; in GetColumns()
[all …]
H A Dgrid_layout_info.h24 using GridSizeType = ScreenSizeType;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/
H A Dsliding_panel_layout_algorithm.cpp210 case ScreenSizeType::UNDEFINED: in GetMaxWidthByScreenSizeType()
211 case ScreenSizeType::XS: in GetMaxWidthByScreenSizeType()
212 case ScreenSizeType::SM: in GetMaxWidthByScreenSizeType()
215 case ScreenSizeType::MD: in GetMaxWidthByScreenSizeType()
220 case ScreenSizeType::LG: in GetMaxWidthByScreenSizeType()
221 case ScreenSizeType::XL: in GetMaxWidthByScreenSizeType()
222 columns = columnInfo->GetColumns(ScreenSizeType::LG); in GetMaxWidthByScreenSizeType()
/ohos5.0/base/msdp/device_status/services/interaction/drag/include/
H A Ddrag_drawing.h170 enum class ScreenSizeType { enum
377 ScreenSizeType currentScreenSize_ = ScreenSizeType::UNDEFINED;
/ohos5.0/base/msdp/device_status/services/interaction/drag/src/
H A Ddrag_drawing.cpp3230 currentScreenSize_ = ScreenSizeType::XS; in CalculateWidthScale()
3232 currentScreenSize_ = ScreenSizeType::SM; in CalculateWidthScale()
3234 currentScreenSize_ = ScreenSizeType::MD; in CalculateWidthScale()
3236 currentScreenSize_ = ScreenSizeType::LG; in CalculateWidthScale()
3238 currentScreenSize_ = ScreenSizeType::XL; in CalculateWidthScale()
3258 case ScreenSizeType::XS: { in GetMaxWidthScale()
3261 case ScreenSizeType::SM: { in GetMaxWidthScale()
3269 case ScreenSizeType::MD: { in GetMaxWidthScale()
3277 case ScreenSizeType::LG: { in GetMaxWidthScale()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/dialog/
H A Ddialog_test_ng.cpp501 const ScreenSizeType types[] = { ScreenSizeType::SM, ScreenSizeType::MD, ScreenSizeType::LG,
502 ScreenSizeType::UNDEFINED };