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.java146 int requestedHeight) { in getAdjustedSize() argument
149 } else if (requestedWidth == 0 && requestedHeight == 0) { in getAdjustedSize()
154 float requiredRatio = requestedHeight > 0 ? ((float) requestedWidth) / requestedHeight : 0; in getAdjustedSize()
155 Point res = new Point(requestedWidth, requestedHeight); in getAdjustedSize()
156 if (requestedWidth == 0 || (requestedHeight != 0 && imageRatio < requiredRatio)) { in getAdjustedSize()
157 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()