Searched refs:requestedHeight (Results 1 – 2 of 2) sorted by relevance
146 int requestedHeight) { in getAdjustedSize() argument149 } 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()
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()