Lines Matching refs:top
36 top = 0; in makeInvalid()
42 if (top < rhs.top) { in operator <()
44 } else if (top == rhs.top) { in operator <()
62 bottom -= top - y; in offsetTo()
64 top = y; in offsetTo()
70 top += y; in offsetBy()
78 this->top += _top; in inset()
85 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y); in operator +()
90 const Rect result(left - rhs.x, top - rhs.y, right - rhs.x, bottom - rhs.y); in operator -()
96 result->top = max(top, with.top); in intersect()
105 result = Rect(width - result.right, result.top, width - result.left, in transform()
110 height - result.top); in transform()
114 int top = result.left; in transform() local
115 int right = height - result.top; in transform()
117 result = Rect(left, top, right, bottom); in transform()
127 mask |= (exclude.top > top) ? 2 : 0; in reduce()
141 result.bottom = min(result.bottom, exclude.top); in reduce()
145 result.top = max(result.top, exclude.bottom); in reduce()
154 return android::base::StringPrintf("Rect(%d, %d, %d, %d)", rect.left, rect.top, rect.right, in to_string()