Searched refs:longerEdge (Results 1 – 3 of 3) sorted by relevance
265 int longerEdge = Math.max(width, height); in getPositionConfiguration() local270 float remainingSpaceAlongLongerEdge = longerEdge - spaceNeededAlongLongerEdge; in getPositionConfiguration()276 previewLongerEdge = longerEdge; in getPositionConfiguration()277 previewShorterEdge = longerEdge / previewAspectRatio; in getPositionConfiguration()313 previewLongerEdge = longerEdge - mBottomBarMinHeight; in getPositionConfiguration()
191 int longerEdge = orgWidth > orgHeight ? orgWidth : orgHeight; in getPhotoIconWhenAppropriate() local193 if (longerEdge > iconSize) { in getPhotoIconWhenAppropriate()194 float ratio = ((float) longerEdge) / iconSize; in getPhotoIconWhenAppropriate()
176 int longerEdge = orgWidth > orgHeight ? orgWidth : orgHeight; in getPhotoIconWhenAppropriate() local178 if (longerEdge > iconSize) { in getPhotoIconWhenAppropriate()179 float ratio = ((float) longerEdge) / iconSize; in getPhotoIconWhenAppropriate()