Home
last modified time | relevance | path

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

/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DISurfaceValidatorTestCase.java35 int[] topLeft = new int[2]; in getBoundsToCheck() local
36 parent.getLocationOnScreen(topLeft); in getBoundsToCheck()
37 boundsToCheck.offset(topLeft[0], topLeft[1]); in getBoundsToCheck()
DSurfaceControlTestCase.java121 int[] topLeft = new int[2]; in getBoundsToCheck() local
122 boundsView.getLocationOnScreen(topLeft); in getBoundsToCheck()
123 boundsToCheck.offset(topLeft[0], topLeft[1]); in getBoundsToCheck()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DRoundedCornerTests.java205 final RoundedCorner topLeft = display.getRoundedCorner(POSITION_TOP_LEFT); in calculateWindowBounds() local
210 bounds.left = Math.max(topLeft != null ? topLeft.getCenter().x : 0, in calculateWindowBounds()
212 bounds.top = Math.max(topLeft != null ? topLeft.getCenter().y : 0, in calculateWindowBounds()
DCrossAppDragAndDropTests.java158 Point topLeft = new Point(leftSide ? 0 : displaySize.x / 2, 0); in launchFreeformActivity() local
160 resizeActivityTask(componentName, topLeft.x, topLeft.y, bottomRight.x, bottomRight.y); in launchFreeformActivity()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyGLProducerCtsActivity.java46 public QuadColorGLRenderer(int topLeft, int topRight, int bottomLeft, int bottomRight) { in QuadColorGLRenderer() argument
47 mTopLeftColor = topLeft; in QuadColorGLRenderer()
DPixelCopyTest.java865 int topLeft, int topRight, int bottomLeft, int bottomRight) { in assertBitmapQuadColor() argument
867 topLeft, topRight, bottomLeft, bottomRight); in assertBitmapQuadColor() local
871 int topLeft, int topRight, int bottomLeft, int bottomRight) { in assertBitmapQuadColor() argument
874 assertEquals("Top left " + Integer.toHexString(topLeft) + ", actual= " in assertBitmapQuadColor()
876 topLeft, getPixelFloatPos(bitmap, .25f, .25f)); in assertBitmapQuadColor()
884 assertEquals("Top left II " + Integer.toHexString(topLeft) + ", actual= " in assertBitmapQuadColor()
886 topLeft, getPixelFloatPos(bitmap, below, below)); in assertBitmapQuadColor()
896 private void assertBitmapQuadColor(Bitmap bitmap, int topLeft, int topRight, in assertBitmapQuadColor() argument
902 assertBitmapColor("Top left", bitmap, topLeft, in assertBitmapQuadColor()
913 assertBitmapColor("Top left II", bitmap, topLeft, in assertBitmapQuadColor()
DTextureViewTest.java592 int topLeft, int topRight, int bottomLeft, int bottomRight) { in assertBitmapQuadColor() argument
594 bitmap, topLeft, topRight, bottomLeft, bottomRight); in assertBitmapQuadColor() local