Searched refs:minSize (Results 1 – 2 of 2) sorted by relevance
55 final int minSize = Math.min(getMeasuredWidth(), getMeasuredHeight()); in onMeasure() local56 setMeasuredDimension(minSize, minSize); in onMeasure()
127 int minSize = Math.max(right - left, bottom - top) + mZoomLength; in onLayout() local129 imageWidth = minSize * imageWidth / imageHeight; in onLayout()130 imageHeight = minSize; in onLayout()132 imageHeight = minSize * imageHeight / imageWidth; in onLayout()133 imageWidth = minSize; in onLayout()