Searched refs:maxBottom (Results 1 – 3 of 3) sorted by relevance
1014 float maxBottom = mAllowCrop ? mCropRect.bottom : getHeight(); in translate() local1022 Math.min(maxBottom - mTranslateRect.top, ty)); in translate()1025 if (b - t < maxBottom - maxTop) { in translate()1026 translateY = maxTop + ((maxBottom - maxTop) - (b + t)) / 2; in translate()1028 translateY = Math.max(maxBottom - b, Math.min(maxTop - t, ty)); in translate()1077 float maxBottom = mAllowCrop ? mCropRect.bottom : getHeight(); in snap() local1082 if (b - t < maxBottom - maxTop) { in snap()1084 translateY = maxTop + ((maxBottom - maxTop) - (b + t)) / 2; in snap()1088 } else if (b < maxBottom) { in snap()1090 translateY = maxBottom - b; in snap()
1916 final int maxBottom = layoutManager.getDecoratedBottom(target.itemView); in onMoved() local1917 if (maxBottom >= recyclerView.getHeight() - recyclerView.getPaddingBottom()) { in onMoved()
17303 int maxBottom;17305 maxBottom = mBottom;17307 maxBottom = bottom;17309 invalidate(0, 0, mRight - mLeft, maxBottom - mTop);18063 int maxBottom; in offsetTopAndBottom() local18067 maxBottom = mBottom; in offsetTopAndBottom()18071 maxBottom = mBottom + offset; in offsetTopAndBottom()18074 r.set(0, yLoc, mRight - mLeft, maxBottom - minTop); in offsetTopAndBottom()