Lines Matching refs:top
32 (r).left, (r).top, (r).right, (r).bottom
34 (r).left(), (r).top(), (r).right(), (r).bottom()
43 float top;
55 top(0),
60 inline Rect(float left, float top, float right, float bottom):
62 top(top),
69 top(0.0f),
76 top(rect.fTop),
90 left = top = right = bottom = 0.0f;
96 return !((left < right) && (top < bottom));
100 left = top = right = bottom = 0.0f;
103 inline void set(float left, float top, float right, float bottom) {
106 this->top = top;
111 set(r.left, r.top, r.right, r.bottom);
119 return bottom - top;
127 return intersects(r.left, r.top, r.right, r.bottom);
141 return intersect(r.left, r.top, r.right, r.bottom);
145 return l >= left && t >= top && r <= right && b <= bottom;
149 return contains(r.left, r.top, r.right, r.bottom);
153 if (r.left < r.right && r.top < r.bottom) {
154 if (left < right && top < bottom) {
156 if (top > r.top) top = r.top;
162 top = r.top;
174 top += dy;
184 top -= delta;
191 top -= ydelta;
215 top = floorf(top + Vertex::GeometryFudgeFactor());
221 * with top left at (0.5, 0.5)) will err on the side of a larger damage rect.
224 top = floorf(top + 0.5f - Vertex::GeometryFudgeFactor());
232 top = floorf(top + 0.5f);
239 top = floorf(top);
246 top = fminf(top, y);
252 ALOGD("%s[l=%f t=%f r=%f b=%f]", label ? label : "Rect", left, top, right, bottom);
258 tmp.top = fmaxf(top, tmp.top);
266 tmp.top = fmaxf(top, t);