Searched refs:maxW (Results 1 – 2 of 2) sorted by relevance
419 final int maxW = previewWidth - areaWidth; in calculateTapArea() local420 int left = maxW > 0 ? clamp(x - areaWidth / 2, 0, maxW) : 0; in calculateTapArea()
239 int maxW = mImageKey.mMaxImageSize.getWidth();243 if (imgW > maxW || imgH > maxH) {244 float scale = Math.min(maxW / (float) imgW, maxH / (float) imgH);