Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java676 private static int sLocation[] = new int[2]; field in CameraUtil
680 v.getLocationInWindow(sLocation); in pointInView()
681 return x >= sLocation[0] && x < (sLocation[0] + v.getWidth()) in pointInView()
682 && y >= sLocation[1] && y < (sLocation[1] + v.getHeight()); in pointInView()
686 reference.getLocationInWindow(sLocation); in getRelativeLocation()
687 int referenceX = sLocation[0]; in getRelativeLocation()
688 int referenceY = sLocation[1]; in getRelativeLocation()
689 view.getLocationInWindow(sLocation); in getRelativeLocation()
690 sLocation[0] -= referenceX; in getRelativeLocation()
691 sLocation[1] -= referenceY; in getRelativeLocation()
[all …]