Searched refs:maxTop (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 1013 float maxTop = mAllowCrop ? mCropRect.top: 0.0f; in translate() local 1021 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() local 1082 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()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPositioner.java | 615 final int maxTop = stackBounds.bottom - mMinVisibleHeight; in updateWindowDragBounds() local 619 Math.min(Math.max(mWindowOriginalBounds.top + offsetY, minTop), maxTop)); in updateWindowDragBounds()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | ViewDragHelper.java | 698 public void flingCapturedView(int minLeft, int minTop, int maxLeft, int maxTop) { in flingCapturedView() argument 707 minLeft, maxLeft, minTop, maxTop); in flingCapturedView() local
|