Searched refs:mRatio (Results 1 – 2 of 2) sorted by relevance
64 private float mRatio; field in ProportionalLayout84 mRatio = a.getFloat(R.styleable.ProportionalLayout_ratio, 1.0f); in initFromAttributes()105 width = Math.round(childHeight * mRatio); in onMeasure()109 height = Math.round(childWidth * mRatio); in onMeasure()140 return mRatio; in getRatio()144 mRatio = ratio; in setRatio()
59 float mRatio; field in ExportDialog112 mRatio = mOriginalBounds.width() / (float) mOriginalBounds.height(); in onCreateView()217 width = (int) Math.ceil(mRatio); in textChanged()220 height = (int) (width / mRatio); in textChanged()237 width = (int) (height * mRatio); in textChanged()