Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCanvasTransform.java99 public double getScale() { in getScale() method in CanvasTransform
DRenderPreviewManager.java210 static double getScale() { in getScale() method in RenderPreviewManager
404 if (bottomBorder < availableHeight - 40 && preview.getScale() < 1.2) { in rowLayout()
423 } else if (preview.getScale() < 1.2) { in rowLayout()
1169 if (preview.getScale() > 1.2) { in configurationChanged()
1174 if (preview.getScale() <= 1.2) { in configurationChanged()
1199 if (preview.getScale() > 1.2 && preview.isVisible()) { in renderPreviews()
1205 if (preview.getScale() <= 1.2 && preview.isVisible()) { in renderPreviews()
DRenderPreview.java235 public double getScale() { in getScale() method in RenderPreview
735 private static double getScale(int width, int height) { in getScale() method in RenderPreview
756 return (int) (mWidth * mScale * RenderPreviewManager.getScale()); in getWidth()
765 return (int) (mHeight * mScale * RenderPreviewManager.getScale()); in getHeight()
1160 double scale = getScale(screenWidth, screenHeight); in updateSize()
DLayoutCanvas.java388 (int) (mPreviewManager.getHeight() / mHScale.getScale())); in updateScrollBars()
811 public double getScale() { in getScale() method in LayoutCanvas
812 return mHScale.getScale(); in getScale()
820 if (scale == getScale()) { in setScale()
907 if (!allowZoomIn && scale > getScale()) { in setFitScale()
DImageControl.java110 public float getScale() { in getScale() method in ImageControl
DMoveGesture.java557 double horizScale = ht.getScale(); in updateDropFeedback()
558 double verticalScale = vt.getScale(); in updateDropFeedback()
DSelectionOverlay.java143 double scale = mCanvas.getScale(); in paintHints()
DImageOverlay.java276 if (hi.getScale() < 1.0) { in paint()
DPaletteControl.java768 double scale = mEditor.getCanvasControl().getScale(); in dragStart()
900 double scale = mEditor.getCanvasControl().getScale(); in createDragImage()
1074 double scale = canvas.getScale(); in renderPreview()
DGestureManager.java856 double scale = mCanvas.getHorizontalTransform().getScale(); in dragStart()
DLayoutActionBar.java663 double s = canvas.getScale(); in rescale()
DSelectionManager.java1112 int distance = (int) ((PIXEL_MARGIN + PIXEL_RADIUS) / mCanvas.getScale()); in findHandle()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DClientRulesEngine.java677 return (int) (pixels / mRulesEngine.getEditor().getCanvasControl().getScale());