Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGCWrapper.java95 private final CanvasTransform mHScale; field in GCWrapper
100 mHScale = hScale; in GCWrapper()
250 x1 = mHScale.translate(x1); in drawLine()
252 x2 = mHScale.translate(x2); in drawLine()
268 int x = mHScale.translate(x1); in drawRect()
270 int w = mHScale.scale(x2 - x1); in drawRect()
284 int x = mHScale.translate(r.x); in drawRect()
286 int w = mHScale.scale(r.w); in drawRect()
295 int x = mHScale.translate(x1); in fillRect()
297 int w = mHScale.scale(x2 - x1); in fillRect()
[all …]
DEmptyViewsOverlay.java39 private CanvasTransform mHScale; field in EmptyViewsOverlay
56 mHScale = hScale; in EmptyViewsOverlay()
85 int x = mHScale.translate(r.x); in paint()
87 int w = mHScale.scale(r.width); in paint()
DOutlineOverlay.java39 private CanvasTransform mHScale; field in OutlineOverlay
57 mHScale = hScale; in OutlineOverlay()
90 int x = mHScale.translate(r.x); in drawOutline()
92 int w = mHScale.scale(r.width); in drawOutline()
DLintOverlay.java74 CanvasTransform mHScale = mCanvas.getHorizontalTransform(); in paint() local
80 int maxX = mHScale.translate(0) + mHScale.getScaledImgSize(); in paint()
90 int x = mHScale.translate(bounds.x); in paint()
92 int w = mHScale.scale(bounds.width); in paint()
DHoverOverlay.java52 private CanvasTransform mHScale; field in HoverOverlay
72 mHScale = hScale; in HoverOverlay()
148 int x = mHScale.translate(mHoverRect.x); in paint()
150 int w = mHScale.scale(mHoverRect.width); in paint()
DLayoutCanvas.java160 private final CanvasTransform mHScale; field in LayoutCanvas
269 mHScale = new CanvasTransform(this, getHorizontalBar()); in LayoutCanvas()
281 mHScale.setScale(initialScale); in LayoutCanvas()
292 mGCWrapper = new GCWrapper(mHScale, mVScale); in LayoutCanvas()
299 mHoverOverlay = new HoverOverlay(this, mHScale, mVScale); in LayoutCanvas()
303 mImageOverlay = new ImageOverlay(this, mHScale, mVScale); in LayoutCanvas()
388 (int) (mPreviewManager.getHeight() / mHScale.getScale())); in updateScrollBars()
412 mHScale.setSize(imageWidth, fullWidth, clientWidth); in updateScrollBars()
675 return mHScale; in getHorizontalTransform()
812 return mHScale.getScale(); in getScale()
[all …]
DImageOverlay.java84 private CanvasTransform mHScale; field in ImageOverlay
95 mHScale = hScale; in ImageOverlay()
216 CanvasTransform hi = mHScale; in paint()
DLintTooltipManager.java151 CanvasTransform mHScale = mCanvas.getHorizontalTransform(); in computeNodes() local
154 int layoutIconSize = mHScale.inverseScale(ICON_SIZE); in computeNodes()
DRenderPreviewManager.java100 private final @NonNull CanvasTransform mHScale; field in RenderPreviewManager
126 mHScale = canvas.getHorizontalTransform(); in RenderPreviewManager()
311 int scaledImageWidth = mHScale.getScaledImgSize(); in layout()
360 int scaledImageWidth = mHScale.getScaledImgSize(); in rowLayout()
478 int scaledImageWidth = mHScale.getScaledImgSize(); in previewsFit()
503 int scaledImageWidth = mHScale.getScaledImgSize(); in layoutFullFit()
607 CanvasTransform hi = mHScale; in paint()
656 rootX += mHScale.getScaledImgSize(); in paint()
1391 return mHScale.translate(0); in getX()
1401 if (x < mHScale.getScaledImgSize() + PREVIEW_HGAP) { in getZoomX()