/foundation/window/window_manager/dmserver/src/ |
H A D | display_cutout_controller.cpp | 197 DMRect leftRect = CreateWaterfallRect(0, 0, left, displayHeight); in CalcBuiltInDisplayWaterfallRectsByRotation() 198 DMRect topRect = CreateWaterfallRect(0, 0, displayWidth, top); in CalcBuiltInDisplayWaterfallRectsByRotation() 199 DMRect rightRect = CreateWaterfallRect(displayWidth - right, 0, right, displayHeight); in CalcBuiltInDisplayWaterfallRectsByRotation() 200 DMRect bottomRect = CreateWaterfallRect(0, displayHeight - bottom, displayWidth, bottom); in CalcBuiltInDisplayWaterfallRectsByRotation() 205 DMRect leftRect = CreateWaterfallRect(0, 0, bottom, displayWidth); in CalcBuiltInDisplayWaterfallRectsByRotation() 206 DMRect topRect = CreateWaterfallRect(0, 0, displayHeight, left); in CalcBuiltInDisplayWaterfallRectsByRotation() 207 DMRect rightRect = CreateWaterfallRect(displayHeight - top, 0, top, displayWidth); in CalcBuiltInDisplayWaterfallRectsByRotation() 208 DMRect bottomRect = CreateWaterfallRect(0, displayWidth - right, displayHeight, right); in CalcBuiltInDisplayWaterfallRectsByRotation() 213 DMRect leftRect = CreateWaterfallRect(0, 0, right, displayHeight); in CalcBuiltInDisplayWaterfallRectsByRotation() 214 DMRect topRect = CreateWaterfallRect( in CalcBuiltInDisplayWaterfallRectsByRotation() 305 DMRect DisplayCutoutController::CreateWaterfallRect(uint32_t left, uint32_t top, uint32_t width, uint32_t height) CreateWaterfallRect() function in OHOS::Rosen::DisplayCutoutController [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | screen_cutout_controller.cpp | 202 DMRect leftRect = CreateWaterfallRect(0, 0, realNumVec[LEFT], displayHeight); in CalcWaterfallRectsByRotation() 203 DMRect topRect = CreateWaterfallRect(0, 0, displayWidth, realNumVec[TOP]); in CalcWaterfallRectsByRotation() 205 CreateWaterfallRect(displayWidth - realNumVec[RIGHT], 0, realNumVec[RIGHT], displayHeight); in CalcWaterfallRectsByRotation() 207 CreateWaterfallRect(0, displayHeight - realNumVec[BOTTOM], displayWidth, realNumVec[BOTTOM]); in CalcWaterfallRectsByRotation() 212 DMRect leftRect = CreateWaterfallRect(0, 0, realNumVec[BOTTOM], displayHeight); in CalcWaterfallRectsByRotation() 213 DMRect topRect = CreateWaterfallRect(0, 0, displayWidth, realNumVec[LEFT]); in CalcWaterfallRectsByRotation() 214 DMRect rightRect = CreateWaterfallRect(displayWidth - realNumVec[TOP], 0, realNumVec[TOP], displayHeight); in CalcWaterfallRectsByRotation() 216 CreateWaterfallRect(0, displayHeight - realNumVec[RIGHT], displayWidth, realNumVec[RIGHT]); in CalcWaterfallRectsByRotation() 221 DMRect leftRect = CreateWaterfallRect(0, 0, realNumVec[RIGHT], displayHeight); in CalcWaterfallRectsByRotation() 222 DMRect topRect = CreateWaterfallRect( in CalcWaterfallRectsByRotation() 243 DMRect ScreenCutoutController::CreateWaterfallRect(uint32_t left, uint32_t top, uint32_t width, uint32_t height) CreateWaterfallRect() function in OHOS::Rosen::ScreenCutoutController [all...] |
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_cutout_controller_test.cpp | 64 * @tc.name: CreateWaterfallRect 65 * @tc.desc: CreateWaterfallRect func 68 HWTEST_F(ScreenCutoutControllerTest, CreateWaterfallRect, Function | SmallTest | Level3) in HWTEST_F() 74 DMRect result = controller->CreateWaterfallRect(0, 0, 0, 0); in HWTEST_F() 76 DMRect result_ = controller->CreateWaterfallRect(1, 2, 3, 3); in HWTEST_F()
|
/foundation/window/window_manager/dmserver/include/ |
H A D | display_cutout_controller.h | 65 DMRect CreateWaterfallRect(uint32_t left, uint32_t top, uint32_t width, uint32_t height);
|
/foundation/window/window_manager/window_scene/screen_session_manager/include/ |
H A D | screen_cutout_controller.h | 53 DMRect CreateWaterfallRect(uint32_t left, uint32_t top, uint32_t width, uint32_t height);
|