Searched refs:maxBottom (Results 1 – 2 of 2) sorted by relevance
996 float maxBottom = mAllowCrop ? mCropRect.bottom : getHeight(); in translate() local1005 Math.min(maxBottom - mTranslateRect.top, ty)); in translate()1008 if (b - t < maxBottom - maxTop) { in translate()1009 translateY = maxTop + ((maxBottom - maxTop) - (b + t)) / 2; in translate()1011 translateY = Math.max(maxBottom - b, Math.min(maxTop - t, ty)); in translate()1060 float maxBottom = mAllowCrop ? mCropRect.bottom : getHeight(); in snap() local1065 if (b - t < maxBottom - maxTop) { in snap()1067 translateY = maxTop + ((maxBottom - maxTop) - (b + t)) / 2; in snap()1071 } else if (b < maxBottom) { in snap()1073 translateY = maxBottom - b; in snap()
10728 int maxBottom;10730 maxBottom = mBottom;10732 maxBottom = bottom;10734 invalidate(0, 0, mRight - mLeft, maxBottom - mTop);11358 int maxBottom;11362 maxBottom = mBottom;11366 maxBottom = mBottom + offset;11369 r.set(0, yLoc, mRight - mLeft, maxBottom - minTop);