Lines Matching refs:bottom
40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
47 (rect1.bottom == rect2.bottom)); in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
59 rect->bottom = ROUND_UP_ALIGN_DOWN(rect->bottom, align_y); in Normalize()
72 res.bottom = std::min(rect1.bottom, rect2.bottom); in Intersection()
91 res.bottom = rect.bottom + FLOAT(y_offset); in Reposition()
103 if ((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) { in Subtract()
104 res.top = rect2.bottom; in Subtract()
105 } else if ((rect1.bottom == rect2.bottom) && (rect2.top >= rect1.top)) { in Subtract()
106 res.bottom = rect2.top; in Subtract()
108 } else if ((rect1.top == rect2.top) && (rect1.bottom == rect2.bottom)) { in Subtract()
137 res.bottom = std::max(rect1.bottom, rect2.bottom); in Union()
154 out_rects[count].bottom = rect_temp.bottom; in SplitLeftRight()
176 uint32_t split_height = UINT32(rect_temp.bottom - rect_temp.top) / split_count; in SplitTopBottom()
182 out_rects[count].bottom = std::min(rect_temp.bottom, aligned_bottom); in SplitTopBottom()
186 rect_temp.top = out_rects[count].bottom; in SplitTopBottom()
195 out_rects[0].bottom = out_rects[0].top + (out_rects[1].bottom - out_rects[1].top); in SplitTopBottom()
196 out_rects[1].top = out_rects[0].bottom; in SplitTopBottom()
209 float src_domain_height = src_domain.bottom - src_domain.top; in ScaleRect()
211 float dst_domain_height = dst_domain.bottom - dst_domain.top; in ScaleRect()
219 out_rect->bottom = height_ratio * in_rect.bottom; in ScaleRect()
228 float input_height = in_rect.bottom - in_rect.top; in GetOrientation()