Searched refs:desiredAspect (Results 1 – 1 of 1) sorted by relevance
987 float desiredAspect = 0.0f; in onMeasure() local1015 desiredAspect = (float) w / (float) h; in onMeasure()1039 if (desiredAspect != 0.0f) { in onMeasure()1044 if (Math.abs(actualAspect - desiredAspect) > 0.0000001) { in onMeasure()1050 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) + in onMeasure()1066 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) + in onMeasure()