Home
last modified time | relevance | path

Searched refs:ScreenShape (Results 1 - 18 of 18) sorted by relevance

/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dsystem_properties.cpp72 ScreenShape SystemProperties::screenShape_ { ScreenShape::NOT_ROUND };
169 screenShape_ = ScreenShape::ROUND; in InitDeviceInfo()
171 screenShape_ = ScreenShape::NOT_ROUND; in InitDeviceInfo()
/foundation/arkui/ace_engine/frameworks/base/resource/
H A Dace_res_config.h48 LongScreenType screenLong, ScreenShape screenShape, DeviceOrientation orientation, ColorMode colorMode, in AceResConfig()
88 ScreenShape screenShape_ = ScreenShape::SCREEN_SHAPE_UNDEFINED;
H A Dace_res_key_parser.cpp62 const std::unordered_map<std::string, ScreenShape> RES_SCREEN_SHAPE = {
63 { "round", ScreenShape::ROUND },
64 { "notround", ScreenShape::NOT_ROUND },
355 std::string AceResKeyParser::GetScreenShapeByType(ScreenShape type) const in GetScreenShapeByType()
H A Dace_res_key_parser.h48 std::string GetScreenShapeByType(ScreenShape type) const;
H A Dace_res_config.cpp458 deviceConfig.screenShape_ != ScreenShape::SCREEN_SHAPE_UNDEFINED) { in IsCandidateDeclarativeResConfigPreferred()
463 return candidateConfig.screenShape_ == ScreenShape::SCREEN_SHAPE_UNDEFINED; in IsCandidateDeclarativeResConfigPreferred()
669 appending.append(AceResKeyParser::GetInstance().GetScreenShapeByType(static_cast<ScreenShape>(value))); in GetConfigString()
925 screenShape_ = static_cast<ScreenShape>(keyParam.value); in ParseConfig()
1076 if (resConfig.screenShape_ != ScreenShape::SCREEN_SHAPE_UNDEFINED) { in ConvertDeclarativeResConfigToTag()
/foundation/arkui/ui_lite/interfaces/innerkits/engines/gfx/
H A Dgfx_engine_manager.h175 virtual void SetScreenShape(ScreenShape screenShape) in SetScreenShape()
180 virtual ScreenShape GetScreenShape() in GetScreenShape()
199 ScreenShape screenShape_ = RECTANGLE;
/foundation/arkui/ui_lite/interfaces/kits/common/
H A Dscreen.h88 ScreenShape GetScreenShape();
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Dsystem_info.cpp41 isRoundScreen_ = (Screen::GetInstance().GetScreenShape() == ScreenShape::CIRCLE); in Initialize()
/foundation/arkui/ui_lite/test/uitest/test_scroll_bar/
H A Dui_test_scroll_bar.cpp32 BaseGfxEngine::GetInstance()->SetScreenShape(ScreenShape::CIRCLE); in SetUp()
111 BaseGfxEngine::GetInstance()->SetScreenShape(ScreenShape::RECTANGLE); in TearDown()
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dgraphic_types.h149 enum ScreenShape { enum
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dsystem_properties.h63 enum class ScreenShape : int32_t { class
433 static ScreenShape GetScreenShape() in GetScreenShape()
636 static ScreenShape screenShape_;
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_abstract_scroll.cpp93 if (Screen::GetInstance().GetScreenShape() == ScreenShape::RECTANGLE && scrollView_.xScrollBarVisible_) {
401 if (Screen::GetInstance().GetScreenShape() == ScreenShape::CIRCLE) { in SetXScrollBarVisible()
418 if (Screen::GetInstance().GetScreenShape() == ScreenShape::CIRCLE) { in SetYScrollBarVisible()
435 if (Screen::GetInstance().GetScreenShape() == ScreenShape::RECTANGLE) { in OnPostDraw()
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_scroll_bar_test.cpp137 BaseGfxEngine::GetInstance()->SetScreenShape(ScreenShape::CIRCLE); in HWTEST_F()
143 BaseGfxEngine::GetInstance()->SetScreenShape(ScreenShape::RECTANGLE); in HWTEST_F()
/foundation/arkui/ui_lite/frameworks/common/
H A Dscreen.cpp83 ScreenShape Screen::GetScreenShape() in GetScreenShape()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dsystem_properties.cpp400 ScreenShape SystemProperties::screenShape_ { ScreenShape::NOT_ROUND };
584 screenShape_ = ScreenShape::ROUND; in InitDeviceInfo()
586 screenShape_ = ScreenShape::NOT_ROUND; in InitDeviceInfo()
/foundation/arkui/ui_lite/test/uitest/test_ui_scroll_view/
H A Dui_test_ui_scroll_view.cpp21 if (Screen::GetInstance().GetScreenShape() == ScreenShape::RECTANGLE) { \
/foundation/arkui/ui_lite/test/uitest/test_rotate_input/
H A Dui_test_rotate_input.cpp238 if (Screen::GetInstance().GetScreenShape() == ScreenShape::RECTANGLE) { in UIKitRotateEventScrollView002()
/foundation/arkui/ui_lite/test/uitest/test_event_injector/
H A Dui_test_event_injector.cpp341 if (Screen::GetInstance().GetScreenShape() == ScreenShape::RECTANGLE) { in SetUpScrollView()

Completed in 15 milliseconds