Home
last modified time | relevance | path

Searched refs:maxBottom (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1014 float maxBottom = mAllowCrop ? mCropRect.bottom : getHeight(); in translate() local
1022 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() local
1082 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()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipKeepClearAlgorithm.kt352 val maxBottom = areasOverlappingPipX.maxByOrNull { it.bottom }!!.bottom in <lambda>() constant
353 val partialStashTop = maxBottom + pipAreaPadding in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java1916 final int maxBottom = layoutManager.getDecoratedBottom(target.itemView); in onMoved() local
1917 if (maxBottom >= recyclerView.getHeight() - recyclerView.getPaddingBottom()) { in onMoved()
/frameworks/base/core/java/android/view/
DView.java19580 int maxBottom; in setBottom() local
19582 maxBottom = mBottom; in setBottom()
19584 maxBottom = bottom; in setBottom()
19586 invalidate(0, 0, mRight - mLeft, maxBottom - mTop); in setBottom()
20409 int maxBottom; in offsetTopAndBottom() local
20413 maxBottom = mBottom; in offsetTopAndBottom()
20417 maxBottom = mBottom + offset; in offsetTopAndBottom()
20420 r.set(0, yLoc, mRight - mLeft, maxBottom - minTop); in offsetTopAndBottom()