Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DKeepClearRectsTests.java185 final Rect viewBounds = new Rect(0, 0, 60, 60); in testIsPreferKeepClearSingleView() local
186 final View v = createTestViewInActivity(activity, viewBounds); in testIsPreferKeepClearSingleView()
202 final Rect viewBounds = new Rect(0, 0, 60, 60); in testGetPreferKeepClearRectsSingleView() local
203 final View v = createTestViewInActivity(activity, viewBounds); in testGetPreferKeepClearRectsSingleView()
255 final Rect viewBounds = new Rect(0, 0, 60, 60); in testSetPreferKeepClearCombinesWithMultipleRects() local
256 final View v = createTestViewInActivity(activity, viewBounds); in testSetPreferKeepClearCombinesWithMultipleRects()
263 combinedRects.add(viewBounds); in testSetPreferKeepClearCombinesWithMultipleRects()
278 final Rect viewBounds = new Rect(0, 0, 60, 60); in testIgnoreKeepClearRectsFromGoneViews() local
279 final View v = createTestViewInActivity(activity, viewBounds); in testIgnoreKeepClearRectsFromGoneViews()
281 assertSameElementsEventually(Arrays.asList(viewBounds), in testIgnoreKeepClearRectsFromGoneViews()
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityMagnificationTest.java1523 final Rect viewBounds = new Rect(viewLocation[0], viewLocation[1], in adjustViewBoundsIfNeeded() local
1526 if (viewBounds.right < magnifyViewportTopLeft.x in adjustViewBoundsIfNeeded()
1527 && viewBounds.bottom < magnifyViewportTopLeft.y) { in adjustViewBoundsIfNeeded()
1533 if (viewBounds.right >= magnifyViewportTopLeft.x) { in adjustViewBoundsIfNeeded()
1535 - (viewBounds.right - magnifyViewportTopLeft.x); in adjustViewBoundsIfNeeded()
1538 if (viewBounds.bottom >= magnifyViewportTopLeft.y) { in adjustViewBoundsIfNeeded()
1540 - (viewBounds.bottom - magnifyViewportTopLeft.y); in adjustViewBoundsIfNeeded()