Lines Matching refs:rect
360 void getActionSafePosition(hwc_context_t *ctx, int dpy, hwc_rect_t& rect) { in getActionSafePosition() argument
362 int x = rect.left, y = rect.top; in getActionSafePosition()
363 int w = rect.right - rect.left; in getActionSafePosition()
364 int h = rect.bottom - rect.top; in getActionSafePosition()
416 rect.left = x; in getActionSafePosition()
417 rect.top = y; in getActionSafePosition()
418 rect.right = w + rect.left; in getActionSafePosition()
419 rect.bottom = h + rect.top; in getActionSafePosition()
445 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight}; in getAspectRatioPosition() local
461 (int)actualHeight, rect); in getAspectRatioPosition()
462 xPos = rect.left; in getAspectRatioPosition()
463 yPos = rect.top; in getAspectRatioPosition()
464 width = rect.right - rect.left; in getAspectRatioPosition()
465 height = rect.bottom - rect.top; in getAspectRatioPosition()
1084 bool isValidRect(const hwc_rect& rect) in isValidRect() argument
1086 return ((rect.bottom > rect.top) && (rect.right > rect.left)) ; in isValidRect()