Lines Matching refs:top

40   return ((rect.bottom > rect.top) && (rect.right > rect.left));  in IsValid()
45 (rect1.top == rect2.top) && in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in LogI()
57 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
63 rect->top = ROUND_UP_ALIGN_UP(rect->top, align_y); in Normalize()
75 res.top = std::max(rect1.top, rect2.top); in Intersection()
94 res.top = rect.top + FLOAT(y_offset); in Reposition()
108 if ((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) { in Subtract()
109 res.top = rect2.bottom; in Subtract()
110 } else if ((rect1.bottom == rect2.bottom) && (rect2.top >= rect1.top)) { in Subtract()
111 res.bottom = rect2.top; in Subtract()
113 } else if ((rect1.top == rect2.top) && (rect1.bottom == rect2.bottom)) { in Subtract()
140 res.top = std::min(rect1.top, rect2.top); in Union()
158 out_rects[count].top = rect_temp.top; in SplitLeftRight()
181 uint32_t split_height = UINT32(rect_temp.bottom - rect_temp.top) / split_count; in SplitTopBottom()
185 float aligned_bottom = rect_temp.top + aligned_height; in SplitTopBottom()
186 out_rects[count].top = rect_temp.top; in SplitTopBottom()
191 rect_temp.top = out_rects[count].bottom; in SplitTopBottom()
200 out_rects[0].bottom = out_rects[0].top + (out_rects[1].bottom - out_rects[1].top); in SplitTopBottom()
201 out_rects[1].top = out_rects[0].bottom; in SplitTopBottom()
214 int y_offset = INT(src_domain.top); in MapRect()
218 float src_domain_height = src_domain.bottom - src_domain.top; in MapRect()
220 float dst_domain_height = dst_domain.bottom - dst_domain.top; in MapRect()
226 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect()
228 out_rect->bottom = dst_domain.top + (height_ratio * modified_in_rect.bottom); in MapRect()
238 float in_height = in_rect.bottom - in_rect.top; in TransformHV()
240 float y_offset = in_rect.top - src_domain.top; in TransformHV()
250 out_rect->top = out_rect->bottom - in_height; in TransformHV()
260 float input_height = in_rect.bottom - in_rect.top; in GetOrientation()