Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java56 final Point center = new Point(); in testFirstFrames() local
62 center.x = outLocation[0] + (content.getWidth() / 2); in testFirstFrames()
63 center.y = outLocation[1] + (content.getHeight() / 2); in testFirstFrames()
65 assertTrue(center.x > 0); in testFirstFrames()
66 assertTrue(center.y > 0); in testFirstFrames()
67 waitForColor(center, Color.WHITE); in testFirstFrames()
76 assertEquals(Color.WHITE, getPixel(center)); in testFirstFrames()
81 color = waitForChange(center, Color.WHITE); in testFirstFrames()
86 color = waitForChange(center, color); in testFirstFrames()
/cts/common/host-side/tradefed/res/report/
Dcompatibility_result.css73 text-align: center;
117 text-align: center;
125 text-align: center;
133 text-align: center;
/cts/tools/tradefed-host/res/report/
Dcts_result.css73 text-align: center;
117 text-align: center;
125 text-align: center;
133 text-align: center;
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraTestUtils.java1623 public static Rect getCropRegionForZoom(float zoomFactor, final PointF center, in getCropRegionForZoom() argument
1628 if (center.x > 1.0 || center.x < 0) { in getCropRegionForZoom()
1629 throw new IllegalArgumentException("center.x " + center.x in getCropRegionForZoom()
1632 if (center.y > 1.0 || center.y < 0) { in getCropRegionForZoom()
1633 throw new IllegalArgumentException("center.y " + center.y in getCropRegionForZoom()
1643 float minCenterLength = Math.min(Math.min(center.x, 1.0f - center.x), in getCropRegionForZoom()
1644 Math.min(center.y, 1.0f - center.y)); in getCropRegionForZoom()
1647 throw new IllegalArgumentException("Requested center " + center.toString() + in getCropRegionForZoom()
1658 int cropCenterX = (int)(activeArray.width() * center.x); in getCropRegionForZoom()
1659 int cropCenterY = (int)(activeArray.height() * center.y); in getCropRegionForZoom()
DCaptureRequestTest.java2143 for (PointF center : TEST_ZOOM_CENTERS) {
2151 cropRegions[i] = getCropRegionForZoom(zoomFactor, center, maxZoom, activeArraySize);
2154 center + " The cropRegion is " + cropRegions[i] +
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java326 private static Mat cameraMatrix(float f, Size center) { in cameraMatrix() argument
327 final double [] data = {f, 0, center.width, 0, f, center.height, 0, 0, 1f}; in cameraMatrix()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile245 ….swapcase,string.translate,string.upper,string.ljust,string.rjust,string.center,string.zfill,strin…
/cts/tools/dex-tools/dex/
Dclasses.out.dex112238 public static final int center