Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DMagnifier.java82 private final int[] mViewCoordinatesInSurface; field in Magnifier
215 mViewCoordinatesInSurface = new int[2]; in Magnifier()
570 final int prevViewXInSurface = mViewCoordinatesInSurface[0]; in obtainContentCoordinates()
571 final int prevViewYInSurface = mViewCoordinatesInSurface[1]; in obtainContentCoordinates()
572 mView.getLocationInSurface(mViewCoordinatesInSurface); in obtainContentCoordinates()
573 if (mViewCoordinatesInSurface[0] != prevViewXInSurface in obtainContentCoordinates()
574 || mViewCoordinatesInSurface[1] != prevViewYInSurface) { in obtainContentCoordinates()
585 zoomCenterX = Math.round(xPosInView + mViewCoordinatesInSurface[0]); in obtainContentCoordinates()
586 zoomCenterY = Math.round(yPosInView + mViewCoordinatesInSurface[1]); in obtainContentCoordinates()
604 viewVisibleRegion.offset(-mViewCoordinatesInSurface[0], -mViewCoordinatesInSurface[1]); in obtainContentCoordinates()
[all …]