Home
last modified time | relevance | path

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

/cts/hostsidetests/adpf/app/hintsession/src/cpp/
DModel.h103 Vector3 center{{0, 0, 0}}; in findCenter()
105 center = center + vertex.position; in findCenter()
107 center_ = center / static_cast<float>(startVertices_.size()); in findCenter()
/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.java129 final Point center = new Point(); in testFirstFrames() local
135 center.x = outLocation[0] + (content.getWidth() / 2); in testFirstFrames()
136 center.y = outLocation[1] + (content.getHeight() / 2); in testFirstFrames()
140 assertTrue(center.x > 0); in testFirstFrames()
141 assertTrue(center.y > 0); in testFirstFrames()
142 waitForColor(window, center, Color.WHITE); in testFirstFrames()
155 assertEquals(Color.WHITE, getPixel(window, center)); in testFirstFrames()
159 int color = waitForChange(window, center, Color.WHITE); in testFirstFrames()
164 color = waitForChange(window, center, color); in testFirstFrames()
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsAnimationSynchronicityTests.java107 final int center = activity.mTestView.getWidth() / 2 + loc[0]; in runTest() local
109 int contentBottomMiddle = lowestPixelWithColor(APP_COLOR, center, screenshot); in runTest()
111 lowestPixelWithColor(BEHIND_IME_COLOR, center, screenshot); in runTest()
/cts/tests/tests/hibernation/
DAndroid.bp41 "safety-center-internal-data",
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DActivityTransitionTests.java840 final Point center = topLeftCorner.getCenter(); in cropRoundedCornersRegions() local
843 innerRectangle.left = center.x - (int) projectLength; in cropRoundedCornersRegions()
844 innerRectangle.top = center.y - (int) projectLength; in cropRoundedCornersRegions()
847 final Point center = bottomRightCorner.getCenter(); in cropRoundedCornersRegions() local
850 innerRectangle.right = center.x + (int) projectLength; in cropRoundedCornersRegions()
851 innerRectangle.bottom = center.y + (int) projectLength; in cropRoundedCornersRegions()
/cts/apps/CameraITS/utils/
Dlow_light_utils.py77 for index, center in enumerate(centers):
78 dist = np.linalg.norm(center - np.array(_RED_BGR_COLOR))
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2986 public static Rect getCropRegionForZoom(float zoomFactor, final PointF center, in getCropRegionForZoom() argument
2991 if (center.x > 1.0 || center.x < 0) { in getCropRegionForZoom()
2992 throw new IllegalArgumentException("center.x " + center.x in getCropRegionForZoom()
2995 if (center.y > 1.0 || center.y < 0) { in getCropRegionForZoom()
2996 throw new IllegalArgumentException("center.y " + center.y in getCropRegionForZoom()
3006 float minCenterLength = Math.min(Math.min(center.x, 1.0f - center.x), in getCropRegionForZoom()
3007 Math.min(center.y, 1.0f - center.y)); in getCropRegionForZoom()
3010 throw new IllegalArgumentException("Requested center " + center.toString() + in getCropRegionForZoom()
3021 int cropCenterX = (int)(activeArray.width() * center.x); in getCropRegionForZoom()
3022 int cropCenterY = (int)(activeArray.height() * center.y); in getCropRegionForZoom()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java330 private static Mat cameraMatrix(float f, Size center) { in cameraMatrix() argument
331 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/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlViewHostTests.java288 final Point center = getWindowCenter(windowTokenSupplier); in globalTapOnWindowCenter() local
289 UinputTouchDevice.Pointer pointer = mTouchScreen.touchDown(center.x, center.y); in globalTapOnWindowCenter()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java2871 for (PointF center : TEST_ZOOM_CENTERS) {
2879 cropRegions[i] = getCropRegionForZoom(zoomFactor, center,
2883 center + " The cropRegion is " + cropRegions[i] +
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_fast_f32.rscript75 // The kernel has a center at