Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DRenderPreviewManager.java88 private static double sScale = 1.0; field in RenderPreviewManager
162 sScale = sScale * (1 / 0.9); in zoomIn()
163 if (Math.abs(sScale-1.0) < 0.0001) { in zoomIn()
164 sScale = 1.0; in zoomIn()
172 sScale = sScale * (0.9 / 1); in zoomOut()
173 if (Math.abs(sScale-1.0) < 0.0001) { in zoomOut()
174 sScale = 1.0; in zoomOut()
181 sScale = 1.0; in zoomReset()
203 return (int) (sScale * MAX_WIDTH); in getMaxWidth()
207 return (int) (sScale * MAX_HEIGHT); in getMaxHeight()
[all …]