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