Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityMagnificationTest.java1085 Rect buttonBounds = new Rect(); in testMagnificationRegion_hasNonMagnifiableWindow_excludeWindowExactTouchableRegion() local
1086 button.getBoundsOnScreen(buttonBounds, false); in testMagnificationRegion_hasNonMagnifiableWindow_excludeWindowExactTouchableRegion()
1087 int touchableRegionWidth = buttonBounds.width() / 4; in testMagnificationRegion_hasNonMagnifiableWindow_excludeWindowExactTouchableRegion()
1088 int touchableRegionHeight = buttonBounds.height() / 4; in testMagnificationRegion_hasNonMagnifiableWindow_excludeWindowExactTouchableRegion()
1091 buttonBounds.width() - touchableRegionWidth, in testMagnificationRegion_hasNonMagnifiableWindow_excludeWindowExactTouchableRegion()
1092 buttonBounds.height() - touchableRegionHeight, in testMagnificationRegion_hasNonMagnifiableWindow_excludeWindowExactTouchableRegion()
1093 buttonBounds.width(), in testMagnificationRegion_hasNonMagnifiableWindow_excludeWindowExactTouchableRegion()
1094 buttonBounds.height()); in testMagnificationRegion_hasNonMagnifiableWindow_excludeWindowExactTouchableRegion()
1102 touchableRect1.offset(buttonBounds.left, buttonBounds.top); in testMagnificationRegion_hasNonMagnifiableWindow_excludeWindowExactTouchableRegion()
1103 touchableRect2.offset(buttonBounds.left, buttonBounds.top); in testMagnificationRegion_hasNonMagnifiableWindow_excludeWindowExactTouchableRegion()
[all …]
DAccessibilityWindowQueryTest.java524 Rect buttonBounds = new Rect(); in testGetEventSource() local
525 button.getBoundsInParent(buttonBounds); in testGetEventSource()
529 assertEquals(buttonBounds.left, sourceBounds.left); in testGetEventSource()
530 assertEquals(buttonBounds.right, sourceBounds.right); in testGetEventSource()
531 assertEquals(buttonBounds.top, sourceBounds.top); in testGetEventSource()
532 assertEquals(buttonBounds.bottom, sourceBounds.bottom); in testGetEventSource()