Lines Matching refs:left
36 public float left; field in RectF
56 public RectF(float left, float top, float right, float bottom) { in RectF() argument
57 this.left = left; in RectF()
72 left = top = right = bottom = 0.0f; in RectF()
74 left = r.left; in RectF()
83 left = top = right = bottom = 0.0f; in RectF()
85 left = r.left; in RectF()
98 return left == r.left && top == r.top && right == r.right && bottom == r.bottom; in equals()
103 int result = (left != +0.0f ? Float.floatToIntBits(left) : 0); in hashCode()
112 return "RectF(" + left + ", " + top + ", " in toString()
131 sb.append('['); sb.append(left); sb.append(','); in toShortString()
142 pw.print('['); pw.print(left); pw.print(','); in printShortString()
151 return left >= right || top >= bottom; in isEmpty()
159 return right - left; in width()
175 return (left + right) * 0.5f; in centerX()
190 left = right = top = bottom = 0; in setEmpty()
203 public void set(float left, float top, float right, float bottom) { in set() argument
204 this.left = left; in set()
217 this.left = src.left; in set()
230 this.left = src.left; in set()
244 left += dx; in offset()
258 right += newLeft - left; in offsetTo()
260 left = newLeft; in offsetTo()
274 left += dx; in inset()
292 return left < right && top < bottom // check for empty first in contains()
293 && x >= left && x < right && y >= top && y < bottom; in contains()
308 public boolean contains(float left, float top, float right, float bottom) { in contains() argument
310 return this.left < this.right && this.top < this.bottom in contains()
312 && this.left <= left && this.top <= top in contains()
326 return this.left < this.right && this.top < this.bottom in contains()
328 && left <= r.left && top <= r.top in contains()
350 public boolean intersect(float left, float top, float right, float bottom) { in intersect() argument
351 if (this.left < right && left < this.right in intersect()
353 if (this.left < left) { in intersect()
354 this.left = left; in intersect()
382 return intersect(r.left, r.top, r.right, r.bottom); in intersect()
398 if (a.left < b.right && b.left < a.right in setIntersect()
400 left = Math.max(a.left, b.left); in setIntersect()
423 public boolean intersects(float left, float top, float right, in intersects() argument
425 return this.left < right && left < this.right in intersects()
440 return a.left < b.right && b.left < a.right in intersects()
449 dst.set(FastMath.round(left), FastMath.round(top), in round()
458 dst.set((int) Math.floor(left), (int) Math.floor(top), in roundOut()
472 public void union(float left, float top, float right, float bottom) { in union() argument
473 if ((left < right) && (top < bottom)) { in union()
474 if ((this.left < this.right) && (this.top < this.bottom)) { in union()
475 if (this.left > left) in union()
476 this.left = left; in union()
484 this.left = left; in union()
500 union(r.left, r.top, r.right, r.bottom); in union()
511 if (x < left) { in union()
512 left = x; in union()
531 if (left > right) { in sort()
532 float temp = left; in sort()
533 left = right; in sort()
558 out.writeFloat(left); in writeToParcel()
591 left = in.readFloat(); in readFromParcel()
603 left = left * scale; in scale()