/foundation/arkui/ace_engine_lite/frameworks/src/core/base/test/unittest/common/ |
H A D | system_info_tdd_test.cpp | 43 const uint16_t screenHeight = 454; in HWTEST_F() local 45 EXPECT_TRUE(SystemInfo::GetInstance().GetScreenHeight() == screenHeight); in HWTEST_F() 73 const uint16_t screenHeight = 480; in HWTEST_F() local 74 ProductAdapter::SetScreenSize(screenWidth, screenHeight); in HWTEST_F() 89 EXPECT_TRUE(height == screenHeight); in HWTEST_F() 145 uint16_t screenHeight = 100; in HWTEST_F() local 146 ProductAdapter::SetScreenSize(screenWidth, screenHeight); in HWTEST_F() 156 EXPECT_TRUE(height == screenHeight); in HWTEST_F() 164 screenHeight = 0; in HWTEST_F() 165 ProductAdapter::SetScreenSize(screenWidth, screenHeight); in HWTEST_F() [all...] |
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | screen.cpp | 51 uint16_t screenHeight = baseGfxEngine->GetScreenHeight(); in GetCurrentScreenBitmap() 53 info.dataSize = screenWidth * screenHeight * DrawUtils::GetByteSizeByColorMode(info.header.colorMode); in GetCurrentScreenBitmap() 59 info.header.height = screenHeight; in GetCurrentScreenBitmap() 63 Rect screenRect = {0, 0, static_cast<int16_t>(screenWidth - 1), static_cast<int16_t>(screenHeight - 1)}; in GetCurrentScreenBitmap() 76 dstBufferInfo.height = screenHeight; in GetCurrentScreenBitmap()
|
/foundation/graphic/graphic_2d/graphic_test/graphic_test/rs_display_effect/property_display/ |
H A D | test_RSBackground_WaterRipple.cpp | 27 const int screenHeight = 2720; member in OHOS::Rosen::BackgroundTest 33 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight }); 42 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 63 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST()
|
H A D | test_RSBackground_GreyCoef.cpp | 27 const int screenHeight = 2720; member in OHOS::Rosen::BackgroundTest 33 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight }); 42 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST()
|
H A D | test_RSBackground_Filter.cpp | 27 const int screenHeight = 2720; member in OHOS::Rosen::BackgroundTest 33 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight }); 42 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 65 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 102 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 124 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 146 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 189 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 234 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 260 auto sizeY = screenHeight / rowCoun in GRAPHIC_TEST() [all...] |
H A D | test_Geometry_Transform_Test.cpp | 40 const int screenHeight = 2720; member in OHOS::Rosen::GeometryTest 46 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight }); 55 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST()
|
H A D | test_Appearance_PixelStretch.cpp | 27 const int screenHeight = 2720; member in OHOS::Rosen::AppearanceTest 33 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight }); 42 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 65 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 91 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 120 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 144 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST()
|
H A D | test_RSBackground_Image.cpp | 27 const int screenHeight = 2720; member in OHOS::Rosen::BackgroundTest 33 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight }); 42 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 64 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 86 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 110 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 146 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 182 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 228 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST()
|
H A D | fg_dynamicdimdegree_test.cpp | 27 const int screenHeight = 2720; member in OHOS::Rosen::ForegroundTest 33 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
|
H A D | fg_lightupeffect_test.cpp | 27 const int screenHeight = 2720; member in OHOS::Rosen::ForegroundTest 33 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
|
H A D | geom_cameradistance_test.cpp | 26 const int screenHeight = 2720; member in OHOS::Rosen::GeometryTest 32 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
|
H A D | test_RSBackground_BeginBlender.cpp | 27 const int screenHeight = 2720; member in OHOS::Rosen::BackgroundTest 33 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight }); 42 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST() 95 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST()
|
H A D | test_RSBackground_UseEffect.cpp | 27 const int screenHeight = 2720; member in OHOS::Rosen::BackgroundTest01 33 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight }); 54 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST()
|
H A D | fg_dynamiclightup_test.cpp | 27 const int screenHeight = 2720; member in OHOS::Rosen::ForegroundTest 33 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
|
H A D | geom_scale_test.cpp | 26 const int screenHeight = 2720; member in OHOS::Rosen::GeometryTest 32 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
|
H A D | fg_fgcolor_test.cpp | 26 const int screenHeight = 2720; member in OHOS::Rosen::ForegroundTest 32 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
|
H A D | geom_cornerradius_test.cpp | 28 const int screenHeight = 2720; member in OHOS::Rosen::GeometryTest 34 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
|
H A D | geom_translation_test.cpp | 26 const int screenHeight = 2720; member in OHOS::Rosen::GeometryTest 32 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
|
H A D | geom_persp_test.cpp | 26 const int screenHeight = 2720; member in OHOS::Rosen::GeometryTest 32 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
|
/foundation/distributedhardware/distributed_screen/services/common/utils/src/ |
H A D | video_param.cpp | 35 void VideoParam::SetScreenHeight(uint32_t screenHeight) in SetScreenHeight() argument 37 screenHeight_ = screenHeight; in SetScreenHeight() 130 const uint32_t screenHeight = j[KEY_SCREEN_HEIGHT].get<uint32_t>(); in from_json() local 134 if ((screenWidth > DSCREEN_MAX_SCREEN_DATA_WIDTH) || (screenHeight > DSCREEN_MAX_SCREEN_DATA_HEIGHT)) { in from_json() 145 videoParam.screenHeight_ = screenHeight; in from_json()
|
/foundation/distributedhardware/distributed_screen/services/common/test/unittest/utils/ |
H A D | video_param_test.cpp | 58 uint32_t screenHeight = 1; in HWTEST_F() local 59 videoParam_->SetScreenHeight(screenHeight); in HWTEST_F() 61 EXPECT_EQ(screenHeight, actual); in HWTEST_F() 186 uint32_t screenHeight = 100; in HWTEST_F() local 195 videoParam.SetScreenHeight(screenHeight); in HWTEST_F() 217 uint32_t screenHeight = 200; in HWTEST_F() local 228 j[KEY_SCREEN_HEIGHT] = screenHeight; in HWTEST_F()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/test/unittest/common/ |
H A D | condition_arbitrator_test.cpp | 27 const uint16_t screenHeight = 480; in SetUp() local 29 ProductAdapter::SetScreenSize(screenWidth, screenHeight); in SetUp() 356 uint16_t screenHeight = 456; in HWTEST_F() local 357 ProductAdapter::SetScreenSize(screenWidth, screenHeight); in HWTEST_F() 366 screenHeight = 280; in HWTEST_F() 367 ProductAdapter::SetScreenSize(screenWidth, screenHeight); in HWTEST_F() 376 screenHeight = 466; in HWTEST_F() 377 ProductAdapter::SetScreenSize(screenWidth, screenHeight); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor_drag/ |
H A D | rich_editor_drag_paint_method.cpp | 54 auto screenHeight = SystemProperties::GetDevicePhysicalHeight(); in UpdateContentModifier() local 55 RectF boundsRect(-handleDiameter - screenWdith, -handleDiameter - screenHeight, in UpdateContentModifier() 57 pattern->GetFrameHeight() + (screenHeight + handleDiameter) * CONSTANT_DOUBLE); in UpdateContentModifier()
|
/foundation/graphic/graphic_2d/graphic_test/graphic_test/rs_display_effect/content_display/ |
H A D | content_effectnode_test.cpp | 29 const int screenHeight = 2720; member in OHOS::Rosen::ContentEffectNodeTest 35 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight }); 56 auto sizeY = screenHeight / rowCount; in GRAPHIC_TEST()
|
/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | screen_cutout_controller.cpp | 78 uint32_t screenHeight = static_cast<uint32_t>(screenProperty.GetBounds().rect_.GetHeight()); in ConvertBoundaryRectsByRotation() local 85 CurrentRotation180(displayBoundaryRects, finalVector, screenWidth, screenHeight); in ConvertBoundaryRectsByRotation() 89 CurrentRotation270(displayBoundaryRects, finalVector, screenHeight); in ConvertBoundaryRectsByRotation() 137 uint32_t screenHeight = static_cast<uint32_t>(screenProperty.GetBounds().rect_.GetHeight()); in CheckBoundaryRects() local 142 static_cast<int32_t>(boundaryRect.height_) + boundaryRect.posY_ > static_cast<int32_t>(screenHeight) || in CheckBoundaryRects() 143 boundaryRect.width_ > screenWidth || boundaryRect.height_ > screenHeight || in CheckBoundaryRects() 263 uint32_t screenHeight = static_cast<uint32_t>(displayInfo->GetHeight()); in CalculateCurvedCompression() local 265 if (realWidth >= screenHeight / QUARTER_SCREEN || realWidth >= screenWidth / QUARTER_SCREEN) { in CalculateCurvedCompression() 272 bool isLandscape = screenHeight < screenWidth ? true : false; in CalculateCurvedCompression() 275 isLandscape ? screenHeight in CalculateCurvedCompression() [all...] |