Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DMagnifier.java158 public void show(@FloatRange(from = 0) float xPosInView, in show()
160 xPosInView = Math.max(0, Math.min(xPosInView, mView.getWidth())); in show()
164 obtainContentCoordinates(xPosInView, yPosInView); in show()
169 if (xPosInView != mPrevPosInView.x || yPosInView != mPrevPosInView.y) { in show()
180 mPrevPosInView.x = xPosInView; in show()
298 private void obtainContentCoordinates(final float xPosInView, final float yPosInView) { in obtainContentCoordinates() argument
304 posX = xPosInView; in obtainContentCoordinates()
307 posX = xPosInView + mViewCoordinatesInSurface[0]; in obtainContentCoordinates()