Searched refs:viewLocation (Results 1 – 7 of 7) sorted by relevance
205 int[] viewLocation = new int[2]; in setUp() local209 mView.getLocationOnScreen(viewLocation); in setUp()210 mTapLocation = new PointF(viewLocation[0] + midX, viewLocation[1] + midY); in setUp()656 int[] viewLocation = new int[2]; in getRightSideOfActivityWindowRegion() local657 mView.getLocationOnScreen(viewLocation); in getRightSideOfActivityWindowRegion()659 int top = viewLocation[1]; in getRightSideOfActivityWindowRegion()660 int left = viewLocation[0] + mView.getWidth() / 2; in getRightSideOfActivityWindowRegion()661 int right = viewLocation[0] + mView.getWidth(); in getRightSideOfActivityWindowRegion()662 int bottom = viewLocation[1] + mView.getHeight(); in getRightSideOfActivityWindowRegion()
187 int[] viewLocation = new int[2]; in setUp() local191 mView.getLocationOnScreen(viewLocation); in setUp()192 mTapLocation = new PointF(viewLocation[0] + midX, viewLocation[1] + midY); in setUp()
1521 final int[] viewLocation = new int[2]; in adjustViewBoundsIfNeeded() local1522 topLeftview.getLocationOnScreen(viewLocation); in adjustViewBoundsIfNeeded()1523 final Rect viewBounds = new Rect(viewLocation[0], viewLocation[1], in adjustViewBoundsIfNeeded()1524 viewLocation[0] + topLeftview.getWidth(), in adjustViewBoundsIfNeeded()1525 viewLocation[1] + topLeftview.getHeight()); in adjustViewBoundsIfNeeded()
1407 final int[] viewLocation = new int[2]; in testAccessibilityDataSensitive_canObserveHoverEvent() local1408 view.getLocationOnScreen(viewLocation); in testAccessibilityDataSensitive_canObserveHoverEvent()1409 final int x = viewLocation[0] + view.getWidth() / 2; in testAccessibilityDataSensitive_canObserveHoverEvent()1410 final int y = viewLocation[1] + view.getHeight() / 2; in testAccessibilityDataSensitive_canObserveHoverEvent()
150 Point viewLocation = clickLocationTask.get(5, TimeUnit.SECONDS); in testActionOutsideDoesNotContainedObscuredInformation() local151 injectTap(viewLocation.x, viewLocation.y); in testActionOutsideDoesNotContainedObscuredInformation()
783 final int[] viewLocation = new int[2]; in placeWindowAtCenterOfView() local784 view.getLocationOnScreen(viewLocation); in placeWindowAtCenterOfView()785 lp.x = viewLocation[0] + (view.getWidth() - lp.width) / 2; in placeWindowAtCenterOfView()786 lp.y = viewLocation[1] + (view.getHeight() - lp.height) / 2; in placeWindowAtCenterOfView()
242 int [] viewLocation = new int[2]; in expectEventWithOffset() local243 v.getLocationOnScreen(viewLocation); in expectEventWithOffset()247 locationViewLocation[0] - viewLocation[0] + offset / mInvCompatScale, in expectEventWithOffset()248 locationViewLocation[1] - viewLocation[1] + offset / mInvCompatScale, in expectEventWithOffset()