Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DMagnifier.java96 private int mSourceWidth; field in Magnifier
219 if (params.mSourceWidth > 0 && params.mSourceHeight > 0) { in Magnifier()
220 mSourceWidth = params.mSourceWidth; in Magnifier()
223 mSourceWidth = Math.round(mWindowWidth / mZoom); in Magnifier()
306 int startX = mClampedCenterZoomCoords.x - mSourceWidth / 2; in show()
318 (mSourceWidth - (mSourceWidth - 2 * mRamp) / mZoom) / 2; in show()
323 final float x0 = sourceCenterX - mSourceWidth / 2; in show()
340 final float x1 = sourceCenterX + mSourceWidth / 2; in show()
360 mRightCutWidth = Math.max(0, startX + mSourceWidth - rightBound); in show()
462 return mSourceWidth; in getSourceWidth()
[all …]