Searched refs:maxH (Results 1 – 2 of 2) sorted by relevance
421 final int maxH = previewHeight - areaHeight; in calculateTapArea() local422 int top = maxH > 0 ? clamp(y - areaHeight / 2, 0, maxH) : 0; in calculateTapArea()
240 int maxH = mImageKey.mMaxImageSize.getHeight();243 if (imgW > maxW || imgH > maxH) {244 float scale = Math.min(maxW / (float) imgW, maxH / (float) imgH);