Home
last modified time | relevance | path

Searched refs:requestedHeight (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Cluster/src/android/car/cluster/
DImageResolver.java182 int requestedHeight) { in getAdjustedSize() argument
185 } else if (requestedWidth == 0 && requestedHeight == 0) { in getAdjustedSize()
190 float requiredRatio = requestedHeight > 0 ? ((float) requestedWidth) / requestedHeight : 0; in getAdjustedSize()
191 Point res = new Point(requestedWidth, requestedHeight); in getAdjustedSize()
192 if (requestedWidth == 0 || (requestedHeight != 0 && imageRatio < requiredRatio)) { in getAdjustedSize()
193 res.x = (int) (imageRatio * requestedHeight); in getAdjustedSize()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java127 int requestedHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
129 requestedHeight -= mActionBarHeight; in onMeasure()
131 int desiredHeight = Math.min(mCurrentDesiredHeight, requestedHeight); in onMeasure()
151 requestedHeight - desiredHeight); in onMeasure()