/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | CameraPreviewView.java | 44 float centerY = canvas.getHeight() / 2.0f; in onDraw() local 55 int y = (int) centerY - i * GRID_WIDTH; in onDraw() 57 y = (int) centerY + i * GRID_WIDTH; in onDraw()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | FaceView.java | 86 float centerY = eyesMP.y * 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 | ImageReaderDecoderTest.java | 668 area.offset(crop.centerX() - area.left, 2 * (crop.centerY() - area.centerY())); in validateSwirl()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | GradientDrawableTest.java | 232 float centerY; in testSetGradientCenter() local 235 centerY = 0.5f; in testSetGradientCenter() 237 assertEquals(centerY, gradientDrawable.getGradientCenterY(), 0.01f); in testSetGradientCenter() 240 centerY = -0.5f; in testSetGradientCenter() 241 gradientDrawable.setGradientCenter(centerX, centerY); in testSetGradientCenter() 243 assertEquals(centerY, gradientDrawable.getGradientCenterY(), 0.01f); in testSetGradientCenter() 246 centerY = 0.0f; in testSetGradientCenter() 247 gradientDrawable.setGradientCenter(centerX, centerY); in testSetGradientCenter() 249 assertEquals(centerY, gradientDrawable.getGradientCenterY()); in testSetGradientCenter()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 185 float centerY = viewRect.centerY(); in updatePreviewDisplayRotation() local 186 bufRect.offset(centerX - bufRect.centerX(), centerY - bufRect.centerY()); in updatePreviewDisplayRotation() 192 transformMatrix.postRotate((360 - rotationDegrees) % 360, centerX, centerY); in updatePreviewDisplayRotation() 202 transformMatrix.postScale(scale, scale, centerX, centerY); in updatePreviewDisplayRotation()
|
/cts/tests/openglperf2/jni/primitive/fullpipeline/ |
D | FullPipelineRenderer.cpp | 121 float centerY = 0.0f; in setUp() local 130 mViewMatrix = Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ); in setUp()
|
/cts/tests/openglperf2/jni/graphics/ |
D | Matrix.h | 42 float centerY, float centerZ, float upX, float upY, float upZ);
|
D | Matrix.cpp | 133 float centerY, float centerZ, float upX, float upY, float upZ) { in newLookAt() argument 140 float fy = centerY - eyeY; in newLookAt()
|
/cts/tests/openglperf2/jni/reference/scene/glowing/ |
D | GlowingScene.cpp | 88 float centerY = 0.0f; in setUpViewMatrix() local 97 return Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ); in setUpViewMatrix()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDispatchTest.java | 266 int centerY = centerYInsideView + mViewBounds.top; in testAngledPinch_looksReasonable() local 272 GestureDescription pinch = createPinch(centerX, centerY, startSpacing, in testAngledPinch_looksReasonable() 359 final float centerY = metrics.heightPixels / (2.0f * magnificationFactor) - 1.0f; in testClickWhenMagnified_matchesActualTouch() local 363 magnificationController.setCenter(centerX, centerY, false); in testClickWhenMagnified_matchesActualTouch() 508 private GestureDescription createPinch(int centerX, int centerY, int startSpacing, in createPinch() argument 531 matrix.postTranslate(centerX, centerY); in createPinch()
|
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
D | FlockingScene.cpp | 83 float centerY = 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 | 145 float centerY = 0.0f; in TEST() local 154 Matrix* m = Matrix::newLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, in TEST()
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | GestureStrokeTest.java | 114 assertEquals(LineGestureStrokeHelper.LINE_MIDWAY_POINT, box.centerY); in testComputeOrientedBoundingBox()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RectFTest.java | 453 assertEquals(15.0f, mRectF.centerY()); in testCenterY() 455 assertEquals(15.25f, mRectF.centerY()); in testCenterY() 457 assertEquals(15.2f, mRectF.centerY()); in testCenterY()
|
D | RectTest.java | 376 assertEquals(15, mRect.centerY()); in testCenterY() 378 assertEquals(15, mRect.centerY()); in testCenterY() 380 assertEquals(16, mRect.centerY()); in testCenterY()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | DngCreatorTest.java | 546 jpegRect.centerY() - jpegIntermediate.centerY()); in validateRawJpegImagePair() 550 rawRect.centerY() - rawIntermediate.centerY()); in validateRawJpegImagePair()
|
D | ImageReaderTest.java | 473 yuvDimens.centerY() - tempPatch.centerY()); in testAllOutputYUVResolutions() 479 jpegDimens.centerY() - tempPatch.centerY()); in testAllOutputYUVResolutions()
|
D | StillCaptureTest.java | 1243 int centerY = activeArraySize.height() / 2; in get3ARegionTestCasesForCamera() local 1252 centerY - regionHeight / 2, // y in get3ARegionTestCasesForCamera()
|
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
D | CameraErrorCollector.java | 505 formattedMsg, "too low", "too high", actual.centerY(), expected.centerY(), in expectRectsAreSimilar() 565 formattedMsg, "too low", "too high", actual.centerY(), centerBoundY, in expectRectCentered()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 372 public static final int centerY 34024 public final int centerY() 34156 public final float centerY() 109616 public static final int centerY
|