Home
last modified time | relevance | path

Searched refs:mVScale (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.java97 private final CanvasTransform mVScale; field in GCWrapper
101 mVScale = vScale; in GCWrapper()
251 y1 = mVScale.translate(y1); in drawLine()
253 y2 = mVScale.translate(y2); in drawLine()
269 int y = mVScale.translate(y1); in drawRect()
271 int h = mVScale.scale(y2 - y1); in drawRect()
285 int y = mVScale.translate(r.y); in drawRect()
287 int h = mVScale.scale(r.h); in drawRect()
296 int y = mVScale.translate(y1); in fillRect()
298 int h = mVScale.scale(y2 - y1); in fillRect()
[all …]
DEmptyViewsOverlay.java36 private CanvasTransform mVScale; field in EmptyViewsOverlay
57 mVScale = vScale; in EmptyViewsOverlay()
86 int y = mVScale.translate(r.y); in paint()
88 int h = mVScale.scale(r.height); in paint()
DOutlineOverlay.java36 private CanvasTransform mVScale; field in OutlineOverlay
58 mVScale = vScale; in OutlineOverlay()
91 int y = mVScale.translate(r.y); in drawOutline()
93 int h = mVScale.scale(r.height); in drawOutline()
DLintOverlay.java75 CanvasTransform mVScale = mCanvas.getVerticalTransform(); in paint() local
81 int maxY = mVScale.translate(0) + mVScale.getScaledImgSize(); in paint()
91 int y = mVScale.translate(bounds.y); in paint()
93 int h = mVScale.scale(bounds.height); in paint()
DHoverOverlay.java49 private CanvasTransform mVScale; field in HoverOverlay
73 mVScale = vScale; in HoverOverlay()
149 int y = mVScale.translate(mHoverRect.y); in paint()
151 int h = mVScale.scale(mHoverRect.height); in paint()
DLayoutCanvas.java157 private final CanvasTransform mVScale; field in LayoutCanvas
270 mVScale = new CanvasTransform(this, getVerticalBar()); in LayoutCanvas()
282 mVScale.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()
413 mVScale.setSize(imageHeight, fullHeight, clientHeight); in updateScrollBars()
686 return mVScale; in getVerticalTransform()
825 mVScale.setScale(scale); in setScale()
925 int y = mVScale.translate(canvasY); in layoutToControlPoint()
[all …]
DImageOverlay.java81 private CanvasTransform mVScale; field in ImageOverlay
96 mVScale = vScale; in ImageOverlay()
217 CanvasTransform vi = mVScale; in paint()
DLintTooltipManager.java152 CanvasTransform mVScale = mCanvas.getVerticalTransform(); in computeNodes() local
155 int slop = mVScale.inverseScale(10); // extra space around icon where tip triggers in computeNodes()
DRenderPreviewManager.java99 private final @NonNull CanvasTransform mVScale; field in RenderPreviewManager
127 mVScale = canvas.getVerticalTransform(); in RenderPreviewManager()
312 int scaledImageHeight = mVScale.getScaledImgSize(); in layout()
361 int scaledImageHeight = mVScale.getScaledImgSize(); in rowLayout()
479 int scaledImageHeight = mVScale.getScaledImgSize(); in previewsFit()
504 int scaledImageHeight = mVScale.getScaledImgSize(); in layoutFullFit()
608 CanvasTransform vi = mVScale; in paint()
1395 return mVScale.translate(0); in getY()