Searched refs:viewLocation (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/security/src/android/security/cts/ |
D | MotionEventTest.java | 142 final int[] viewLocation = new int[2]; in testActionOutsideDoesNotContainedObscuredInformation() 144 decorView.getLocationOnScreen(viewLocation); in testActionOutsideDoesNotContainedObscuredInformation() 146 return new Point(viewLocation[0], viewLocation[1] + decorView.getHeight() / 2); in testActionOutsideDoesNotContainedObscuredInformation() 149 Point viewLocation = clickLocationTask.get(5, TimeUnit.SECONDS); in testActionOutsideDoesNotContainedObscuredInformation() local 150 injectTap(viewLocation.x, viewLocation.y); in testActionOutsideDoesNotContainedObscuredInformation()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | TouchExplorerTest.java | 172 int[] viewLocation = new int[2]; in setUp() local 176 mView.getLocationOnScreen(viewLocation); in setUp() 177 mTapLocation = new PointF(viewLocation[0] + midX, viewLocation[1] + midY); in setUp() 654 int[] viewLocation = new int[2]; in getRightSideOfActivityWindowRegion() local 655 mView.getLocationOnScreen(viewLocation); in getRightSideOfActivityWindowRegion() 657 int top = viewLocation[1]; in getRightSideOfActivityWindowRegion() 658 int left = viewLocation[0] + mView.getWidth() / 2; in getRightSideOfActivityWindowRegion() 659 int right = viewLocation[0] + mView.getWidth(); in getRightSideOfActivityWindowRegion() 660 int bottom = viewLocation[1] + mView.getHeight(); in getRightSideOfActivityWindowRegion()
|
D | AccessibilityMagnificationTest.java | 373 final int[] viewLocation = new int[2]; in adjustViewBoundsIfNeeded() local 374 topLeftview.getLocationOnScreen(viewLocation); in adjustViewBoundsIfNeeded() 375 final Rect viewBounds = new Rect(viewLocation[0], viewLocation[1], in adjustViewBoundsIfNeeded() 376 viewLocation[0] + topLeftview.getWidth(), in adjustViewBoundsIfNeeded() 377 viewLocation[1] + topLeftview.getHeight()); in adjustViewBoundsIfNeeded()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DragDropTest.java | 222 int [] viewLocation = new int[2]; in expectEventWithOffset() local 223 v.getLocationOnScreen(viewLocation); in expectEventWithOffset() 227 locationViewLocation[0] - viewLocation[0] + offset, in expectEventWithOffset() 228 locationViewLocation[1] - viewLocation[1] + offset, obtainClipData(action), in expectEventWithOffset()
|