Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityMagnificationTest.java1516 final Point magnifyViewportTopLeft = new Point(); in adjustViewBoundsIfNeeded() local
1517 magnifyViewportTopLeft.x = (int)((scale - 1.0f) * ((float) magnifyBounds.width() / scale)); in adjustViewBoundsIfNeeded()
1518 magnifyViewportTopLeft.y = (int)((scale - 1.0f) * ((float) magnifyBounds.height() / scale)); in adjustViewBoundsIfNeeded()
1519 magnifyViewportTopLeft.offset(magnifyBounds.left, magnifyBounds.top); in adjustViewBoundsIfNeeded()
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()