Searched refs:realNumVec (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | screen_cutout_controller.cpp | 174 …if (std::all_of(realNumVec.begin(), realNumVec.end(), [](uint32_t result) { return result == 0; })… in CalcWaterfallRects() 187 …if ((realNumVec[LEFT] > displayWidth / HALF_SCREEN) || (realNumVec[RIGHT] > displayWidth / HALF_SC… in CalcWaterfallRects() 188 …(realNumVec[TOP] > displayHeight / HALF_SCREEN) || (realNumVec[BOTTOM] > displayHeight / HALF_SCRE… in CalcWaterfallRects() 205 … CreateWaterfallRect(displayWidth - realNumVec[RIGHT], 0, realNumVec[RIGHT], displayHeight); in CalcWaterfallRectsByRotation() 207 … CreateWaterfallRect(0, displayHeight - realNumVec[BOTTOM], displayWidth, realNumVec[BOTTOM]); in CalcWaterfallRectsByRotation() 214 …DMRect rightRect = CreateWaterfallRect(displayWidth - realNumVec[TOP], 0, realNumVec[TOP], display… in CalcWaterfallRectsByRotation() 216 … CreateWaterfallRect(0, displayHeight - realNumVec[RIGHT], displayWidth, realNumVec[RIGHT]); in CalcWaterfallRectsByRotation() 223 …DMRect rightRect = CreateWaterfallRect(displayWidth - realNumVec[LEFT], 0, realNumVec[LEFT], displ… in CalcWaterfallRectsByRotation() 224 …ect bottomRect = CreateWaterfallRect(0, displayHeight - realNumVec[TOP], displayWidth, realNumVec[… in CalcWaterfallRectsByRotation() 232 … CreateWaterfallRect(displayWidth - realNumVec[BOTTOM], 0, realNumVec[BOTTOM], displayHeight); in CalcWaterfallRectsByRotation() [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_cutout_controller_test.cpp | 150 std::vector<uint32_t> realNumVec = {16, 32, 8, 8}; variable 153 controller->CalcWaterfallRectsByRotation(rotation, displayHeight, displayWidth, realNumVec); 155 controller->CalcWaterfallRectsByRotation(rotation, displayHeight, displayWidth, realNumVec); 157 controller->CalcWaterfallRectsByRotation(rotation, displayHeight, displayWidth, realNumVec); 159 controller->CalcWaterfallRectsByRotation(rotation, displayHeight, displayWidth, realNumVec);
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | screen_cutout_controller.h | 43 std::vector<uint32_t> realNumVec);
|