Searched refs:ratio (Results 1 – 3 of 3) sorted by relevance
203 float ratio = 1.0f; in paintControl() local205 ratio = Math.min(wRatio, ratio); in paintControl()207 ratio = Math.min(hRatio, ratio); in paintControl()209 int width = Math.round(mSize.x * ratio); in paintControl()210 int height = Math.round(mSize.y * ratio); in paintControl()247 dest.x = (int) Math.ceil(p.dest.x * ratio); in paintControl()248 dest.y = (int) Math.ceil(p.dest.y * ratio); in paintControl()249 dest.width = (int) Math.ceil(p.dest.width * ratio); in paintControl()250 dest.height = (int) Math.ceil(p.dest.height * ratio); in paintControl()
5 android:innerRadiusRatio : Inner radius of the ring expressed as a ratio of the ring's width. [flo…6 android:thicknessRatio : Thickness of the ring expressed as a ratio of the ring's width. [float]
4 …ue if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable. …