Searched refs:mScale (Results 1 – 6 of 6) sorted by relevance
56 private double mScale; field in CanvasTransform64 mScale = 1.0; in CanvasTransform()83 if (mScale != scale) { in setScale()84 mScale = scale; in setScale()100 return mScale; in getScale()118 return (int) (mImgSize * mScale); in getScaledImgSize()139 int sx = (int) (mScale * mFullSize); in resizeScrollbar()201 return mMargin - mTranslate + (int) (mScale * canvasX); in translate()205 return (int) (mScale * canwasW); in scale()209 return (int) ((screenX - mMargin + mTranslate) / mScale); in inverseTranslate()[all …]
52 private float mScale = 1.0f; field in ImageControl98 mScale = 1.0f; in fitToWidth()102 mScale = width / (float) imageWidth; in fitToWidth()107 mScale = scale; in setScale()111 return mScale; in getScale()153 if (mScale != 1.0f) { in computeSize()154 e.x += mScale * r.width; in computeSize()155 e.y += mScale * r.height; in computeSize()190 if (mScale != 1.0f) { in onPaint()191 destWidth = (int) (mScale * destWidth); in onPaint()[all …]
164 private double mScale = 1.0; field in RenderPreview236 return mScale; in getScale()246 mScale = scale; in setScale()756 return (int) (mWidth * mScale * RenderPreviewManager.getScale()); in getWidth()765 return (int) (mHeight * mScale * RenderPreviewManager.getScale()); in getHeight()788 mScale = mScale * (1 / 0.5); in click()789 if (Math.abs(mScale-1.0) < 0.0001) { in click()790 mScale = 1.0; in click()801 mScale = mScale * (0.5 / 1); in click()802 if (Math.abs(mScale-1.0) < 0.0001) { in click()[all …]
82 float mScale; field in PointTestCases.TestCanvasTransform88 this.mScale = scale; in TestCanvasTransform()94 return (int) ((value - mTranslate) / mScale); in translate()99 return (int) (value * mScale + mTranslate); in inverseTranslate()
68 private int mScale = 2; field in StretchesViewer119 setScale(mScale); in updatePreview()145 mScale = scale; in setScale()
435 private final double mScale; field in DurationMinimap.PositionHelper445 mScale = (double) maxDurationLength / maxDuration; in PositionHelper()470 int w = (int) (duration * mScale); in getDurationBounds()