Home
last modified time | relevance | path

Searched refs:longerEdge (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/
DCaptureLayoutHelper.java265 int longerEdge = Math.max(width, height); in getPositionConfiguration() local
270 float remainingSpaceAlongLongerEdge = longerEdge - spaceNeededAlongLongerEdge; in getPositionConfiguration()
276 previewLongerEdge = longerEdge; in getPositionConfiguration()
277 previewShorterEdge = longerEdge / previewAspectRatio; in getPositionConfiguration()
313 previewLongerEdge = longerEdge - mBottomBarMinHeight; in getPositionConfiguration()
/packages/apps/Dialer/java/com/android/incallui/
DContactsAsyncHelper.java191 int longerEdge = orgWidth > orgHeight ? orgWidth : orgHeight; in getPhotoIconWhenAppropriate() local
193 if (longerEdge > iconSize) { in getPhotoIconWhenAppropriate()
194 float ratio = ((float) longerEdge) / iconSize; in getPhotoIconWhenAppropriate()
/packages/services/Telecomm/src/com/android/server/telecom/
DContactsAsyncHelper.java176 int longerEdge = orgWidth > orgHeight ? orgWidth : orgHeight; in getPhotoIconWhenAppropriate() local
178 if (longerEdge > iconSize) { in getPhotoIconWhenAppropriate()
179 float ratio = ((float) longerEdge) / iconSize; in getPhotoIconWhenAppropriate()