Searched refs:sLocation (Results 1 – 2 of 2) sorted by relevance
576 private static int sLocation[] = new int[2]; field in Util580 v.getLocationInWindow(sLocation); in pointInView()581 return x >= sLocation[0] && x < (sLocation[0] + v.getWidth()) in pointInView()582 && y >= sLocation[1] && y < (sLocation[1] + v.getHeight()); in pointInView()586 reference.getLocationInWindow(sLocation); in getRelativeLocation()587 int referenceX = sLocation[0]; in getRelativeLocation()588 int referenceY = sLocation[1]; in getRelativeLocation()589 view.getLocationInWindow(sLocation); in getRelativeLocation()590 sLocation[0] -= referenceX; in getRelativeLocation()591 sLocation[1] -= referenceY; in getRelativeLocation()[all …]
671 private static int sLocation[] = new int[2]; field in CameraUtil675 v.getLocationInWindow(sLocation); in pointInView()676 return x >= sLocation[0] && x < (sLocation[0] + v.getWidth()) in pointInView()677 && y >= sLocation[1] && y < (sLocation[1] + v.getHeight()); in pointInView()681 reference.getLocationInWindow(sLocation); in getRelativeLocation()682 int referenceX = sLocation[0]; in getRelativeLocation()683 int referenceY = sLocation[1]; in getRelativeLocation()684 view.getLocationInWindow(sLocation); in getRelativeLocation()685 sLocation[0] -= referenceX; in getRelativeLocation()686 sLocation[1] -= referenceY; in getRelativeLocation()[all …]