Lines Matching refs:displayWidth
102 uint32_t displayWidth = modes->width_;
106 static_cast<int32_t>(boundingRect.width_) + boundingRect.posX_ > static_cast<int32_t>(displayWidth) ||
108 boundingRect.width_ > displayWidth || boundingRect.height_ > displayHeight ||
175 uint32_t displayWidth = modes->width_;
177 if ((left > displayWidth / 2) || (right > displayWidth / 2) || // invalid if more than 1/2 width
185 displayHeight, displayWidth);
189 Rotation rotation, uint32_t displayHeight, uint32_t displayWidth)
198 DMRect topRect = CreateWaterfallRect(0, 0, displayWidth, top);
199 DMRect rightRect = CreateWaterfallRect(displayWidth - right, 0, right, displayHeight);
200 DMRect bottomRect = CreateWaterfallRect(0, displayHeight - bottom, displayWidth, bottom);
205 DMRect leftRect = CreateWaterfallRect(0, 0, bottom, displayWidth);
207 DMRect rightRect = CreateWaterfallRect(displayHeight - top, 0, top, displayWidth);
208 DMRect bottomRect = CreateWaterfallRect(0, displayWidth - right, displayHeight, right);
214 DMRect topRect = CreateWaterfallRect(0, 0, bottom, displayWidth);
215 DMRect rightRect = CreateWaterfallRect(displayWidth - left, 0, left, displayHeight);
216 DMRect bottomRect = CreateWaterfallRect(0, displayHeight - top, displayWidth, top);
221 DMRect leftRect = CreateWaterfallRect(0, 0, top, displayWidth);
223 DMRect rightRect = CreateWaterfallRect(displayHeight - bottom, 0, bottom, displayWidth);
224 DMRect bottomRect = CreateWaterfallRect(0, displayWidth - left, displayHeight, left);
263 uint32_t displayWidth = modes->width_;
271 CurrentRotation180(resultVec, displayBoundingRects, displayHeight, displayWidth);
276 resultVec.emplace_back(DMRect {rect.posY_, displayWidth - rect.posX_ - rect.width_,
297 std::vector<DMRect> displayBoundingRects, uint32_t displayHeight, uint32_t displayWidth)
300 resultVec.emplace_back(DMRect {displayWidth - rect.posX_ - rect.width_,