Home
last modified time | relevance | path

Searched refs:maxTop (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1013 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/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java428 float maxTop = row.getTranslationY();
431 maxTop = Math.max(maxTop, getTranslationY() + getClipTopAmount());
435 if (shelfIconPosition < maxTop && !mAmbientState.isFullyHidden()) {
436 int top = (int) (maxTop - shelfIconPosition);
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioner.java487 final int maxTop = stackBounds.bottom - mMinVisibleHeight; in updateWindowDragBounds() local
491 Math.min(Math.max(mWindowOriginalBounds.top + offsetY, minTop), maxTop)); in updateWindowDragBounds()