Home
last modified time | relevance | path

Searched refs:topLeft (Results 1 – 3 of 3) 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.java732 public static void assertBitmapQuadColor(Bitmap bitmap, int topLeft, int topRight, in assertBitmapQuadColor() argument
735 assertEquals("Top left " + Integer.toHexString(topLeft) + ", actual= " in assertBitmapQuadColor()
737 topLeft, getPixelFloatPos(bitmap, .25f, .25f)); in assertBitmapQuadColor()
743 private void assertBitmapQuadColor(Bitmap bitmap, int topLeft, int topRight, in assertBitmapQuadColor() argument
746 assertTrue("Top left", pixelsAreSame(topLeft, getPixelFloatPos(bitmap, .25f, .25f), in assertBitmapQuadColor()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DCrossAppDragAndDropTests.java173 private String getResizeTaskCommand(int taskId, Point topLeft, Point bottomRight) in getResizeTaskCommand() argument
175 return AM_RESIZE_TASK + taskId + " " + topLeft.x + " " + topLeft.y + " " + bottomRight.x in getResizeTaskCommand()
232 Point topLeft = new Point(leftSide ? 0 : displaySize.x / 2, 0); in launchFreeformActivity() local
234 executeShellCommand(getResizeTaskCommand(getActivityTaskId(componentName), topLeft, in launchFreeformActivity() local