Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DMagnifier.java92 private int mSourceWidth; field in Magnifier
198 mSourceWidth = Math.round(mWindowWidth / mZoom); in Magnifier()
267 final int startX = mClampedCenterZoomCoords.x - mSourceWidth / 2; in show()
366 return mSourceWidth; in getSourceWidth()
387 mSourceWidth = Math.round(mWindowWidth / mZoom); in setZoom()
624 resolvedLeft = Math.min(resolvedLeft, mContentCopySurface.mWidth - mSourceWidth); in obtainContentCoordinates()
630 resolvedRight = Math.max(resolvedRight, resolvedLeft + mSourceWidth); in obtainContentCoordinates()
634 mClampedCenterZoomCoords.x = Math.max(resolvedLeft + mSourceWidth / 2, Math.min( in obtainContentCoordinates()
635 zoomCenterX, resolvedRight - mSourceWidth / 2)); in obtainContentCoordinates()
678 startXInSurface + mSourceWidth, in performPixelCopy()
[all …]