Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DMagnifier.java97 private int mSourceWidth; field in Magnifier
215 if (params.mSourceWidth > 0 && params.mSourceHeight > 0) { in Magnifier()
216 mSourceWidth = params.mSourceWidth; in Magnifier()
219 mSourceWidth = Math.round(mWindowWidth / mZoom); in Magnifier()
298 int startX = mClampedCenterZoomCoords.x - mSourceWidth / 2; in show()
309 (mSourceWidth - (mSourceWidth - 2 * mRamp) / mZoom) / 2; in show()
314 final float x0 = sourceCenterX - mSourceWidth / 2f; in show()
331 final float x1 = sourceCenterX + mSourceWidth / 2f; in show()
351 mRightCutWidth = Math.max(0, startX + mSourceWidth - rightBound); in show()
453 return mSourceWidth; in getSourceWidth()
[all …]