Searched refs:maxTop (Results 1 – 3 of 3) sorted by relevance
1013 float maxTop = mAllowCrop ? mCropRect.top: 0.0f; in translate() local1021 translateY = Math.max(maxTop - mTranslateRect.bottom, 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()1076 float maxTop = mAllowCrop ? mCropRect.top : 0.0f; in snap() local1082 if (b - t < maxBottom - maxTop) { in snap()1084 translateY = maxTop + ((maxBottom - maxTop) - (b + t)) / 2; in snap()1085 } else if (t > maxTop) { in snap()1087 translateY = maxTop - t; in snap()
428 float maxTop = row.getTranslationY();431 maxTop = Math.max(maxTop, getTranslationY() + getClipTopAmount());435 if (shelfIconPosition < maxTop && !mAmbientState.isFullyHidden()) {436 int top = (int) (maxTop - shelfIconPosition);
487 final int maxTop = stackBounds.bottom - mMinVisibleHeight; in updateWindowDragBounds() local491 Math.min(Math.max(mWindowOriginalBounds.top + offsetY, minTop), maxTop)); in updateWindowDragBounds()