Searched refs:mAspectRatio (Results 1 – 2 of 2) sorted by relevance
32 private final Rational mAspectRatio; field in FixedAspectRatioImageView39 mAspectRatio = Rational.parseRational( in FixedAspectRatioImageView()56 height = (int) (width / mAspectRatio.floatValue()); in onMeasure()59 width = (int) (height * mAspectRatio.floatValue()); in onMeasure()
43 private float mAspectRatio; field in FixedAspectSurfaceView69 mAspectRatio = aspect; in setAspectRatio()114 if (boxAspectRatio > mAspectRatio) { in onMeasure()136 width = (int) (height * mAspectRatio); in onMeasure()138 height = (int) (width / mAspectRatio); in onMeasure()