/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | CameraPreviewView.java | 43 float centerX = canvas.getWidth() / 2.0f; in onDraw() local 48 canvas.drawLine(centerX, 0, centerX, canvas.getHeight(), mPaint); in onDraw() 61 int x = (int) centerX - i * GRID_WIDTH; in onDraw() 63 x = (int) centerX + i * GRID_WIDTH; in onDraw()
|
D | DetermineFovActivity.java | 232 float centerX = drawRect.left + dstWidth / 2; in drawContents() local 233 canvas.drawLine(centerX, drawRect.top, centerX, drawRect.bottom, paint); in drawContents()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | FaceView.java | 85 float centerX = eyesMP.x * scale; in onDraw() local 89 canvas.drawCircle(centerX, centerY, eyesDistance / 2, mPOuterBullsEye); in onDraw() 90 canvas.drawCircle(centerX, centerY, eyesDistance / 6, mPInnerBullsEye); in onDraw()
|
D | MediaMetadataRetrieverTest.java | 750 bitmap.getPixel(r.centerX(), r.centerY())))); in testGetImage() 756 bitmap.getPixel(r.centerX(), height - r.centerY())))); in testGetImage() 765 bitmap.getPixel(r.centerX(), height - r.centerY())))); in testGetImage() 774 bitmap.getPixel(r.centerX(), height - r.centerY())))); in testGetImage()
|
D | HeifWriterTest.java | 658 Color.valueOf(bitmap.getPixel(r.centerX(), r.centerY())))); in verifyResult() 663 Color.valueOf(bitmap.getPixel(r.centerX(), height - r.centerY())))); in verifyResult()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | GradientDrawableTest.java | 277 float centerX; in testSetGradientCenter() local 280 centerX = 0.5f; in testSetGradientCenter() 282 assertEquals(centerX, gradientDrawable.getGradientCenterX(), 0.01f); in testSetGradientCenter() 285 centerX = -0.5f; in testSetGradientCenter() 287 gradientDrawable.setGradientCenter(centerX, centerY); in testSetGradientCenter() 288 assertEquals(centerX, gradientDrawable.getGradientCenterX(), 0.01f); in testSetGradientCenter() 291 centerX = 0.0f; in testSetGradientCenter() 293 gradientDrawable.setGradientCenter(centerX, centerY); in testSetGradientCenter() 294 assertEquals(centerX, gradientDrawable.getGradientCenterX(), 0.01f); in testSetGradientCenter()
|
/cts/tests/openglperf2/jni/primitive/fullpipeline/ |
D | FullPipelineRenderer.cpp | 120 float centerX = 0.0f; in setUp() local 130 mViewMatrix = Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ); in setUp()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 199 float centerX = viewRect.centerX(); in updatePreviewDisplayRotation() local 201 bufRect.offset(centerX - bufRect.centerX(), centerY - bufRect.centerY()); in updatePreviewDisplayRotation() 207 transformMatrix.postRotate((360 - rotationDegrees) % 360, centerX, centerY); in updatePreviewDisplayRotation() 217 transformMatrix.postScale(scale, scale, centerX, centerY); in updatePreviewDisplayRotation()
|
/cts/tests/openglperf2/jni/reference/scene/glowing/ |
D | GlowingScene.cpp | 87 float centerX = 0.0f; in setUpViewMatrix() local 97 return Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ); in setUpViewMatrix()
|
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
D | FlockingScene.cpp | 82 float centerX = 0.0f; in setUpViewMatrix() local 92 return Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ); in setUpViewMatrix()
|
/cts/tests/openglperf2/test/ |
D | MatrixTest.cpp | 144 float centerX = 0.0f; in TEST() local 154 Matrix* m = Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, in TEST()
|
/cts/tests/openglperf2/jni/graphics/ |
D | Matrix.h | 41 static Matrix* newLookAt(float eyeX, float eyeY, float eyeZ, float centerX,
|
D | Matrix.cpp | 132 Matrix* Matrix::newLookAt(float eyeX, float eyeY, float eyeZ, float centerX, in newLookAt() argument 139 float fx = centerX - eyeX; in newLookAt()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | MathsUtils.java | 88 float centerX, float centerY, float centerZ, in setLookAtM() argument 93 float zAxisX = eyeX - centerX; in setLookAtM()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RectTest.java | 405 assertEquals(15, mRect.centerX()); in testCenterX() 407 assertEquals(15, mRect.centerX()); in testCenterX() 409 assertEquals(16, mRect.centerX()); in testCenterX()
|
D | RectFTest.java | 420 assertEquals(15.0f, mRectF.centerX(), 0.0f); in testCenterX() 422 assertEquals(15.25f, mRectF.centerX(), 0.0f); in testCenterX() 424 assertEquals(15.2f, mRectF.centerX(), 0.0f); in testCenterX()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | TestUtils.java | 257 final int centerX = bitmap.getWidth() / 2; in assertCenterPixelOfColor() local 259 final @ColorInt int colorAtCenterPixel = bitmap.getPixel(centerX, centerY); in assertCenterPixelOfColor() 265 + " but at position (" + centerX + "," + centerY + ") out of (" in assertCenterPixelOfColor()
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | GestureStrokeTest.java | 113 assertEquals(LineGestureStrokeHelper.LINE_MIDWAY_POINT, box.centerX); in testComputeOrientedBoundingBox()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | DngCreatorTest.java | 579 jpegIntermediate.offset(jpegRect.centerX() - jpegIntermediate.centerX(), in validateRawJpegImagePair() 583 rawIntermediate.offset(rawRect.centerX() - rawIntermediate.centerX(), in validateRawJpegImagePair()
|
D | ImageReaderTest.java | 602 tempPatch.offset(yuvDimens.centerX() - tempPatch.centerX(), in testAllOutputYUVResolutions() 608 tempPatch.offset(jpegDimens.centerX() - tempPatch.centerX(), in testAllOutputYUVResolutions()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | MagnificationGestureHandlerTest.java | 118 (controller, region, scale, centerX, centerY) -> { in setUp() 120 mCurrentZoomCenter = isZoomed() ? new PointF(centerX, centerY) : null; in setUp()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | WindowInsetsBehaviorTests.java | 439 new Point(viewBoundary.centerX(), i)); in swipeAllOfHorizontalLinesFromLeftToRight() 446 new Point(viewBoundary.centerX(), theBottomestLine)); in swipeAllOfHorizontalLinesFromLeftToRight() 464 new Point(viewBoundary.centerX(), i)); in swipeAllOfHorizontalLinesFromRightToLeft() 471 new Point(viewBoundary.centerX(), theBottomestLine)); in swipeAllOfHorizontalLinesFromRightToLeft()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | AbstractTestListActivity.java | 117 mIsAutomated = (mCoordinateX == rect.centerX()) && (mCoornidateY == rect.centerY()); in onListItemClick()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraErrorCollector.java | 507 formattedMsg, "too right", "too left", actual.centerX(), expected.centerX(), in expectRectsAreSimilar() 567 formattedMsg, "too right", "too left", actual.centerX(), centerBoundX, in expectRectCentered()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | CrossAppDragAndDropTests.java | 166 return new Point(bounds.centerX(), bounds.centerY()); in getWindowCenter()
|