Searched refs:mRatioWidth (Results 1 – 3 of 3) sorted by relevance
28 private int mRatioWidth = 0; field in AutoFitTextureView55 if (mRatioWidth == width && mRatioHeight == height) { in setAspectRatio()58 mRatioWidth = width; in setAspectRatio()68 if (0 == mRatioWidth || 0 == mRatioHeight) { in onMeasure()71 if (width < height * mRatioWidth / mRatioHeight) { in onMeasure()72 setMeasuredDimension(width, width * mRatioHeight / mRatioWidth); in onMeasure()74 setMeasuredDimension(height * mRatioWidth / mRatioHeight, height); in onMeasure()
28 private int mRatioWidth = 0; field in AutoFitTextureView55 mRatioWidth = width; 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()