Lines Matching refs:top
89 path.addCircle(mDrawRect.left + (width / 2), mDrawRect.top + (height / 2), width / 2, Path.Direction.CW);
108 int y = mDrawRect.top + (mDrawRect.height() / 2) - d - height / 2;
115 int top = mDrawRect.top + 4;
124 int yMiddle = mDrawRect.top + ((mDrawRect.bottom - mDrawRect.top) / 2);
134 mResizeDrawableHeight.setBounds(xMiddle - heightWidth, top - heightHeight, xMiddle + heightWidth, top
185 // verticalCheck makes sure the position is between the top and
187 boolean verticalCheck = (y >= r.top - hysteresis) && (y < r.bottom + hysteresis);
197 if ((Math.abs(r.top - y) < hysteresis) && horizCheck) {
244 mCropRect.offset(Math.max(0, mImageRect.left - mCropRect.left), Math.max(0, mImageRect.top - mCropRect.top));
301 if (r.top < mImageRect.top) {
302 r.offset(0F, mImageRect.top - r.top);
314 return new Rect((int) mCropRect.left, (int) mCropRect.top, (int) mCropRect.right, (int) mCropRect.bottom);
319 RectF r = new RectF(mCropRect.left, mCropRect.top, mCropRect.right, mCropRect.bottom);
321 return new Rect(Math.round(r.left), Math.round(r.top), Math.round(r.right), Math.round(r.bottom));