Home
last modified time | relevance | path

Searched refs:screenHeight (Results 1 - 25 of 79) sorted by relevance

1234

/foundation/arkui/ace_engine_lite/frameworks/src/core/base/test/unittest/common/
H A Dsystem_info_tdd_test.cpp43 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 Dscreen.cpp51 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 Dtest_RSBackground_WaterRipple.cpp27 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 Dtest_RSBackground_GreyCoef.cpp27 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 Dtest_RSBackground_Filter.cpp27 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 Dtest_Geometry_Transform_Test.cpp40 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 Dtest_Appearance_PixelStretch.cpp27 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 Dtest_RSBackground_Image.cpp27 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 Dfg_dynamicdimdegree_test.cpp27 const int screenHeight = 2720; member in OHOS::Rosen::ForegroundTest
33 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
H A Dfg_lightupeffect_test.cpp27 const int screenHeight = 2720; member in OHOS::Rosen::ForegroundTest
33 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
H A Dgeom_cameradistance_test.cpp26 const int screenHeight = 2720; member in OHOS::Rosen::GeometryTest
32 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
H A Dtest_RSBackground_BeginBlender.cpp27 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 Dtest_RSBackground_UseEffect.cpp27 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 Dfg_dynamiclightup_test.cpp27 const int screenHeight = 2720; member in OHOS::Rosen::ForegroundTest
33 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
H A Dgeom_scale_test.cpp26 const int screenHeight = 2720; member in OHOS::Rosen::GeometryTest
32 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
H A Dfg_fgcolor_test.cpp26 const int screenHeight = 2720; member in OHOS::Rosen::ForegroundTest
32 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
H A Dgeom_cornerradius_test.cpp28 const int screenHeight = 2720; member in OHOS::Rosen::GeometryTest
34 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
H A Dgeom_translation_test.cpp26 const int screenHeight = 2720; member in OHOS::Rosen::GeometryTest
32 SetScreenSurfaceBounds({ 0, 0, screenWidth, screenHeight });
H A Dgeom_persp_test.cpp26 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 Dvideo_param.cpp35 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 Dvideo_param_test.cpp58 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 Dcondition_arbitrator_test.cpp27 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 Drich_editor_drag_paint_method.cpp54 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 Dcontent_effectnode_test.cpp29 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 Dscreen_cutout_controller.cpp78 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...]

Completed in 14 milliseconds

1234