Lines Matching refs:top
161 public void setRect(int left, int top, int right, int bottom) {
162 setRoundRect(left, top, right, bottom, 0.0f);
169 setRect(rect.left, rect.top, rect.right, rect.bottom);
177 public void setRoundRect(int left, int top, int right, int bottom, float radius) {
178 if (left >= right || top >= bottom) {
184 mRect.set(left, top, right, bottom);
193 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius);
227 public void setOval(int left, int top, int right, int bottom) {
228 if (left >= right || top >= bottom) {
233 if ((bottom - top) == (right - left)) {
235 setRoundRect(left, top, right, bottom, (bottom - top) / 2.0f);
241 mPath.addOval(left, top, right, bottom, Path.Direction.CW);
250 setOval(rect.left, rect.top, rect.right, rect.bottom);