Home
last modified time | relevance | path

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

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