Home
last modified time | relevance | path

Searched refs:sceneHeight (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/
DLayoutCanvas.java871 int sceneHeight = imageData.height; in setFitScale() local
872 if (sceneWidth == 0.0 || sceneHeight == 0.0) { in setFitScale()
878 sceneHeight += 2 * ImageUtils.SHADOW_SIZE; in setFitScale()
890 int vDelta = canvasHeight - sceneHeight; in setFitScale()
899 double vScale = (canvasHeight - 2 * vMargin) / (double) sceneHeight; in setFitScale()