Home
last modified time | relevance | path

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

/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.java765 public static void assertBitmapQuadColor(Bitmap bitmap, int topLeft, int topRight, in assertBitmapQuadColor() argument
768 assertEquals("Top left " + Integer.toHexString(topLeft) + ", actual= " in assertBitmapQuadColor()
770 topLeft, getPixelFloatPos(bitmap, .25f, .25f)); in assertBitmapQuadColor()
776 private void assertBitmapQuadColor(Bitmap bitmap, int topLeft, int topRight, in assertBitmapQuadColor() argument
779 assertTrue("Top left", pixelsAreSame(topLeft, getPixelFloatPos(bitmap, .25f, .25f), in assertBitmapQuadColor()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DCapturedActivity.java239 int[] topLeft = new int[2]; in runTest() local
240 decorView.getLocationOnScreen(topLeft); in runTest()
241 boundsToCheck.offset(topLeft[0], topLeft[1]); in runTest()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DCrossAppDragAndDropTests.java144 Point topLeft = new Point(leftSide ? 0 : displaySize.x / 2, 0); in launchFreeformActivity() local
146 resizeActivityTask(componentName, topLeft.x, topLeft.y, bottomRight.x, bottomRight.y); in launchFreeformActivity()