Searched refs:CreateWaterfallRect (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/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() 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() 213 DMRect leftRect = CreateWaterfallRect(0, 0, right, displayHeight); in CalcBuiltInDisplayWaterfallRectsByRotation() 214 DMRect topRect = CreateWaterfallRect(0, 0, bottom, displayWidth); in CalcBuiltInDisplayWaterfallRectsByRotation() 215 DMRect rightRect = CreateWaterfallRect(displayWidth - left, 0, left, displayHeight); in CalcBuiltInDisplayWaterfallRectsByRotation() 216 DMRect bottomRect = CreateWaterfallRect(0, displayHeight - top, displayWidth, top); in CalcBuiltInDisplayWaterfallRectsByRotation() 221 DMRect leftRect = CreateWaterfallRect(0, 0, top, displayWidth); in CalcBuiltInDisplayWaterfallRectsByRotation() [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/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() 212 DMRect leftRect = CreateWaterfallRect(0, 0, realNumVec[BOTTOM], displayHeight); in CalcWaterfallRectsByRotation() 213 DMRect topRect = CreateWaterfallRect(0, 0, displayWidth, realNumVec[LEFT]); 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(0, 0, displayWidth, realNumVec[BOTTOM]); in CalcWaterfallRectsByRotation() 229 DMRect leftRect = CreateWaterfallRect(0, 0, realNumVec[TOP], displayHeight); in CalcWaterfallRectsByRotation() 230 DMRect topRect = CreateWaterfallRect(0, 0, displayWidth, realNumVec[RIGHT]); in CalcWaterfallRectsByRotation() [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_cutout_controller_test.cpp | 67 HWTEST_F(ScreenCutoutControllerTest, CreateWaterfallRect, Function | SmallTest | Level3) 73 DMRect result = controller->CreateWaterfallRect(0, 0, 0, 0); 75 DMRect result_ = controller->CreateWaterfallRect(1, 2, 3, 3);
|
/ohos5.0/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);
|
/ohos5.0/foundation/window/window_manager/window_scene/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);
|