Lines Matching refs:right
143 public void setRect(int left, int top, int right, int bottom) {
144 setRoundRect(left, top, right, bottom, 0.0f);
151 setRect(rect.left, rect.top, rect.right, rect.bottom);
159 public void setRoundRect(int left, int top, int right, int bottom, float radius) {
160 if (left >= right || top >= bottom) {
166 mRect.set(left, top, right, bottom);
175 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius);
181 public void setOval(int left, int top, int right, int bottom) {
182 if (left >= right || top >= bottom) {
187 if ((bottom - top) == (right - left)) {
189 setRoundRect(left, top, right, bottom, (bottom - top) / 2.0f);
195 mPath.addOval(left, top, right, bottom, Path.Direction.CW);
203 setOval(rect.left, rect.top, rect.right, rect.bottom);