Lines Matching refs:top
137 int32_t top = static_cast<int32_t>(skiRect.top());
140 WLOGFI("calc rect from path,[%{public}d, %{public}d, %{public}u, %{public}u]", left, top, width, height);
141 DMRect cutoutMinOuterRect = {.posX_ = left, .posY_ = top, .width_ = width, .height_ = height};
159 uint32_t top = static_cast<uint32_t>(curvedScreenBoundary_[1]);
162 if (left == 0 && top == 0 && right == 0 && bottom == 0) {
178 (top > displayHeight / 2) || (bottom > displayHeight / 2)) { // invalid if more than 1/2 height
192 uint32_t top = static_cast<uint32_t>(curvedScreenBoundary_[1]);
198 DMRect topRect = CreateWaterfallRect(0, 0, displayWidth, top);
207 DMRect rightRect = CreateWaterfallRect(displayHeight - top, 0, top, displayWidth);
216 DMRect bottomRect = CreateWaterfallRect(0, displayHeight - top, displayWidth, top);
221 DMRect leftRect = CreateWaterfallRect(0, 0, top, displayWidth);
305 DMRect DisplayCutoutController::CreateWaterfallRect(uint32_t left, uint32_t top, uint32_t width, uint32_t height)
310 return DMRect {left, top, width, height};