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 Log()
58 rect->top = ROUND_UP_ALIGN_UP(rect->top, align_y); in Normalize()
70 res.top = std::max(rect1.top, rect2.top); in Intersection()
89 res.top = rect.top + 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()
135 res.top = std::min(rect1.top, rect2.top); in Union()
153 out_rects[count].top = rect_temp.top; in SplitLeftRight()
176 uint32_t split_height = UINT32(rect_temp.bottom - rect_temp.top) / split_count; in SplitTopBottom()
180 float aligned_bottom = rect_temp.top + aligned_height; in SplitTopBottom()
181 out_rects[count].top = rect_temp.top; 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 int y_offset = INT(src_domain.top); in MapRect()
213 float src_domain_height = src_domain.bottom - src_domain.top; in MapRect()
215 float dst_domain_height = dst_domain.bottom - dst_domain.top; in MapRect()
221 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect()
223 out_rect->bottom = dst_domain.top + (height_ratio * modified_in_rect.bottom); in MapRect()
233 float in_height = in_rect.bottom - in_rect.top; in TransformHV()
235 float y_offset = in_rect.top - src_domain.top; in TransformHV()
245 out_rect->top = out_rect->bottom - in_height; in TransformHV()
255 float input_height = in_rect.bottom - in_rect.top; in GetOrientation()