Home
last modified time | relevance | path

Searched refs:desiredAspect (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/java/android/widget/
DImageView.java987 float desiredAspect = 0.0f; in onMeasure() local
1015 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()