Home
last modified time | relevance | path

Searched refs:ratio (Results 1 – 3 of 3) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/
DStretchesViewer.java203 float ratio = 1.0f; in paintControl() local
205 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()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Ddrawable2-expected-completion51.txt5 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]
Dcompletionvalues1-expected-completion32.txt4 …ue if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable. …