Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/assets/report/
Dcompatibility_result.css70 text-align: center;
109 text-align: center;
120 text-align: center;
125 text-align: center;
/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java79 final Point center = new Point(); in testFirstFrames() local
85 center.x = outLocation[0] + (content.getWidth() / 2); in testFirstFrames()
86 center.y = outLocation[1] + (content.getHeight() / 2); in testFirstFrames()
90 assertTrue(center.x > 0); in testFirstFrames()
91 assertTrue(center.y > 0); in testFirstFrames()
92 waitForColor(window, center, Color.WHITE); in testFirstFrames()
101 assertEquals(Color.WHITE, getPixel(window, center)); in testFirstFrames()
105 int color = waitForChange(window, center, Color.WHITE); in testFirstFrames()
110 color = waitForChange(window, center, color); in testFirstFrames()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1841 public static Rect getCropRegionForZoom(float zoomFactor, final PointF center, in getCropRegionForZoom() argument
1846 if (center.x > 1.0 || center.x < 0) { in getCropRegionForZoom()
1847 throw new IllegalArgumentException("center.x " + center.x in getCropRegionForZoom()
1850 if (center.y > 1.0 || center.y < 0) { in getCropRegionForZoom()
1851 throw new IllegalArgumentException("center.y " + center.y in getCropRegionForZoom()
1861 float minCenterLength = Math.min(Math.min(center.x, 1.0f - center.x), in getCropRegionForZoom()
1862 Math.min(center.y, 1.0f - center.y)); in getCropRegionForZoom()
1865 throw new IllegalArgumentException("Requested center " + center.toString() + in getCropRegionForZoom()
1876 int cropCenterX = (int)(activeArray.width() * center.x); in getCropRegionForZoom()
1877 int cropCenterY = (int)(activeArray.height() * center.y); in getCropRegionForZoom()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java327 private static Mat cameraMatrix(float f, Size center) { in cameraMatrix() argument
328 final double [] data = {f, 0, center.width, 0, f, center.height, 0, 0, 1f}; in cameraMatrix()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java2472 for (PointF center : TEST_ZOOM_CENTERS) {
2480 cropRegions[i] = getCropRegionForZoom(zoomFactor, center, maxZoom, activeArraySize);
2483 center + " The cropRegion is " + cropRegions[i] +
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile248 ….swapcase,string.translate,string.upper,string.ljust,string.rjust,string.center,string.zfill,strin…