Searched refs:ScreenSizeType (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | screen_system_manager.cpp | 30 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 D | screen_system_manager.h | 29 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 D | grid_column_info.h | 39 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 D | grid_layout_info.h | 24 using GridSizeType = ScreenSizeType;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/ |
H A D | sliding_panel_layout_algorithm.cpp | 210 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 D | drag_drawing.h | 170 enum class ScreenSizeType { enum 377 ScreenSizeType currentScreenSize_ = ScreenSizeType::UNDEFINED;
|
/ohos5.0/base/msdp/device_status/services/interaction/drag/src/ |
H A D | drag_drawing.cpp | 3230 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 D | dialog_test_ng.cpp | 501 const ScreenSizeType types[] = { ScreenSizeType::SM, ScreenSizeType::MD, ScreenSizeType::LG, 502 ScreenSizeType::UNDEFINED };
|