Searched refs:requestedHeight (Results 1 – 2 of 2) sorted by relevance
182 int requestedHeight) { in getAdjustedSize() argument185 } 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()
127 int requestedHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local129 requestedHeight -= mActionBarHeight; in onMeasure()131 int desiredHeight = Math.min(mCurrentDesiredHeight, requestedHeight); in onMeasure()151 requestedHeight - desiredHeight); in onMeasure()