Searched refs:mHScale (Results 1 – 9 of 9) sorted by relevance
95 private final CanvasTransform mHScale; field in GCWrapper100 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 …]
39 private CanvasTransform mHScale; field in EmptyViewsOverlay56 mHScale = hScale; in EmptyViewsOverlay()85 int x = mHScale.translate(r.x); in paint()87 int w = mHScale.scale(r.width); in paint()
39 private CanvasTransform mHScale; field in OutlineOverlay57 mHScale = hScale; in OutlineOverlay()90 int x = mHScale.translate(r.x); in drawOutline()92 int w = mHScale.scale(r.width); in drawOutline()
75 CanvasTransform mHScale = mCanvas.getHorizontalTransform(); in paint() local81 int maxX = mHScale.translate(0) + mHScale.getScaledImgSize(); in paint()91 int x = mHScale.translate(bounds.x); in paint()93 int w = mHScale.scale(bounds.width); in paint()
52 private CanvasTransform mHScale; field in HoverOverlay72 mHScale = hScale; in HoverOverlay()148 int x = mHScale.translate(mHoverRect.x); in paint()150 int w = mHScale.scale(mHoverRect.width); in paint()
160 private final CanvasTransform mHScale; field in LayoutCanvas269 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 …]
84 private CanvasTransform mHScale; field in ImageOverlay95 mHScale = hScale; in ImageOverlay()216 CanvasTransform hi = mHScale; in paint()
151 CanvasTransform mHScale = mCanvas.getHorizontalTransform(); in computeNodes() local154 int layoutIconSize = mHScale.inverseScale(ICON_SIZE); in computeNodes()
99 private final @NonNull CanvasTransform mHScale; field in RenderPreviewManager125 mHScale = canvas.getHorizontalTransform(); in RenderPreviewManager()310 int scaledImageWidth = mHScale.getScaledImgSize(); in layout()359 int scaledImageWidth = mHScale.getScaledImgSize(); in rowLayout()477 int scaledImageWidth = mHScale.getScaledImgSize(); in previewsFit()502 int scaledImageWidth = mHScale.getScaledImgSize(); in layoutFullFit()606 CanvasTransform hi = mHScale; in paint()655 rootX += mHScale.getScaledImgSize(); in paint()1390 return mHScale.translate(0); in getX()1400 if (x < mHScale.getScaledImgSize() + PREVIEW_HGAP) { in getZoomX()