Lines Matching refs:top
34 float top; variable
46 top(0), in Rect()
51 inline Rect(float left, float top, float right, float bottom): in Rect() argument
53 top(top), in Rect()
60 top(0.0f), in Rect()
74 left = top = right = bottom = 0.0f; in clear()
80 return !((left < right) && (top < bottom)); in isEmpty()
84 left = top = right = bottom = 0.0f; in setEmpty()
87 inline void set(float left, float top, float right, float bottom) { in set() argument
90 this->top = top; in set()
95 set(r.left, r.top, r.right, r.bottom); in set()
103 return bottom - top; in getHeight()
111 return intersects(r.left, r.top, r.right, r.bottom); in intersects()
125 return intersect(r.left, r.top, r.right, r.bottom); in intersect()
129 return l >= left && t >= top && r <= right && b <= bottom; in contains()
133 return contains(r.left, r.top, r.right, r.bottom); in contains()
137 if (r.left < r.right && r.top < r.bottom) { in unionWith()
138 if (left < right && top < bottom) { in unionWith()
140 if (top > r.top) top = r.top; in unionWith()
146 top = r.top; in unionWith()
158 top += dy; in translate()
164 top = floorf(top + 0.5f); in snapToPixelBoundaries()
170 ALOGD("Rect[l=%f t=%f r=%f b=%f]", left, top, right, bottom); in dump()
179 tmp.top = max(top, tmp.top); in intersectWith()
187 tmp.top = max(top, t); in intersectWith()