Searched refs:topLeft (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | ISurfaceValidatorTestCase.java | 35 int[] topLeft = new int[2]; in getBoundsToCheck() local 36 parent.getLocationOnScreen(topLeft); in getBoundsToCheck() 37 boundsToCheck.offset(topLeft[0], topLeft[1]); in getBoundsToCheck()
|
D | SurfaceControlTestCase.java | 121 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/ |
D | RoundedCornerTests.java | 205 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()
|
D | CrossAppDragAndDropTests.java | 158 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/ |
D | PixelCopyGLProducerCtsActivity.java | 46 public QuadColorGLRenderer(int topLeft, int topRight, int bottomLeft, int bottomRight) { in QuadColorGLRenderer() argument 47 mTopLeftColor = topLeft; in QuadColorGLRenderer()
|
D | PixelCopyTest.java | 865 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()
|
D | TextureViewTest.java | 592 int topLeft, int topRight, int bottomLeft, int bottomRight) { in assertBitmapQuadColor() argument 594 bitmap, topLeft, topRight, bottomLeft, bottomRight); in assertBitmapQuadColor() local
|