Searched refs:desiredAspect (Results 1 – 1 of 1) sorted by relevance
1125 float desiredAspect = 0.0f; in onMeasure() local1153 desiredAspect = (float) w / (float) h; in onMeasure()1177 if (desiredAspect != 0.0f) { in onMeasure()1182 if (Math.abs(actualAspect - desiredAspect) > 0.0000001) { in onMeasure()1188 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) + in onMeasure()1204 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) + in onMeasure()