Searched refs:mRatioHeight (Results 1 – 1 of 1) sorted by relevance
29 private int mRatioHeight = 0; field in AutoFitTextureView56 mRatioHeight = height; in setAspectRatio()65 if (0 == mRatioWidth || 0 == mRatioHeight) { in onMeasure()68 if (width < height * mRatioWidth / mRatioHeight) { in onMeasure()69 setMeasuredDimension(width, width * mRatioHeight / mRatioWidth); in onMeasure()71 setMeasuredDimension(height * mRatioWidth / mRatioHeight, height); in onMeasure()