/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | GradientTests.java | 80 float centerY = height / 2f; in testRadialGradientWithFocalPoint() local 84 centerY - 10f, in testRadialGradientWithFocalPoint() 87 centerY, in testRadialGradientWithFocalPoint() 119 float centerY = height / 2f; in testRadialGradientSameStartEndCircles() local 124 centerY, in testRadialGradientSameStartEndCircles() 127 centerY, in testRadialGradientSameStartEndCircles() 274 float centerY = TEST_HEIGHT / 2f; in testMatrixTransformation() local 280 centerY, in testMatrixTransformation() 283 centerY, in testMatrixTransformation()
|
/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 | MediaMetadataRetrieverTest.java | 1160 bitmap.getPixel(r.centerX(), r.centerY())))); in testGetImage() 1166 bitmap.getPixel(r.centerX(), height - r.centerY())))); in testGetImage() 1180 bitmap.getPixel(r.centerX(), height - r.centerY())))); in testGetImage() 1189 bitmap.getPixel(r.centerX(), height - r.centerY())))); in testGetImage()
|
/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/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 187 float centerY = viewRect.centerY(); in updatePreviewDisplayRotation() local 188 bufRect.offset(centerX - bufRect.centerX(), centerY - bufRect.centerY()); in updatePreviewDisplayRotation() 194 transformMatrix.postRotate((360 - rotationDegrees) % 360, centerX, centerY); in updatePreviewDisplayRotation() 204 transformMatrix.postScale(scale, scale, centerX, centerY); in updatePreviewDisplayRotation()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | GradientDrawableTest.java | 281 float centerY; in testSetGradientCenter() local 284 centerY = 0.5f; in testSetGradientCenter() 286 assertEquals(centerY, gradientDrawable.getGradientCenterY(), 0.01f); in testSetGradientCenter() 289 centerY = -0.5f; in testSetGradientCenter() 290 gradientDrawable.setGradientCenter(centerX, centerY); in testSetGradientCenter() 292 assertEquals(centerY, gradientDrawable.getGradientCenterY(), 0.01f); in testSetGradientCenter() 295 centerY = 0.0f; in testSetGradientCenter() 296 gradientDrawable.setGradientCenter(centerX, centerY); in testSetGradientCenter() 298 assertEquals(centerY, gradientDrawable.getGradientCenterY(), 0.01f); in testSetGradientCenter()
|
/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/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/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/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityMagnificationTest.java | 305 final float centerY = magnifyBounds.top + (((float) magnifyBounds.height() / (2.0f * scale)) in testA11yNodeInfoVisibility_whenOutOfMagnifiedArea_shouldVisible() local 308 waitOnMagnificationChanged(controller, scale, centerX, centerY); in testA11yNodeInfoVisibility_whenOutOfMagnifiedArea_shouldVisible() 335 final OnMagnificationChangedListener listener = (c, region, scale, centerX, centerY) -> { in waitOnMagnificationChanged() 339 && (centerX > newCenterX - delta) && (centerY > newCenterY - delta)) { in waitOnMagnificationChanged()
|
D | FullScreenMagnificationGestureHandlerTest.java | 133 (controller, region, scale, centerX, centerY) -> { in setUp() 135 mCurrentZoomCenter = isZoomed() ? new PointF(centerX, centerY) : null; in setUp()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TouchHelper.java | 127 tapOnDisplaySync(bounds.centerX(), bounds.centerY(), displayId); in tapOnDisplayCenter() 132 tapOnDisplay(bounds.centerX(), bounds.centerY(), displayId, false /* sync */); in tapOnDisplayCenterAsync()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | MathsUtils.java | 88 float centerX, float centerY, float centerZ, in setLookAtM() argument 94 float zAxisY = eyeY - centerY; in setLookAtM()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/ |
D | CameraBokehActivity.java | 716 float centerY = viewRect.centerY(); in configurePreviewTextureTransform() local 718 centerY - bufferRect.centerY()); in configurePreviewTextureTransform() 722 matrix.postRotate((360 - degrees) % 360, centerX, centerY); in configurePreviewTextureTransform() 731 matrix.postScale(scale, scale, centerX, centerY); in configurePreviewTextureTransform()
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | GestureStrokeTest.java | 114 assertEquals(LineGestureStrokeHelper.LINE_MIDWAY_POINT, box.centerY); in testComputeOrientedBoundingBox()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | TestUtils.java | 258 final int centerY = bitmap.getHeight() / 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/graphics/src/android/graphics/cts/ |
D | RectFTest.java | 430 assertEquals(15.0f, mRectF.centerY(), 0.0f); in testCenterY() 432 assertEquals(15.25f, mRectF.centerY(), 0.0f); in testCenterY() 434 assertEquals(15.2f, mRectF.centerY(), 0.0f); in testCenterY()
|
D | RectTest.java | 370 assertEquals(15, mRect.centerY()); in testCenterY() 372 assertEquals(15, mRect.centerY()); in testCenterY() 374 assertEquals(16, mRect.centerY()); in testCenterY()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | AbstractTestListActivity.java | 116 mIsAutomated = (mCoordinateX == rect.centerX()) && (mCoornidateY == rect.centerY()); in onListItemClick()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | WindowInsetsBehaviorTests.java | 518 new Point(i, viewBoundary.centerY())); in swipeAllOfVerticalLinesFromTopToBottom() 525 new Point(theRightestLine, viewBoundary.centerY())); in swipeAllOfVerticalLinesFromTopToBottom() 543 new Point(i, viewBoundary.centerY())); in swipeAllOfVerticalLinesFromBottomToTop() 550 new Point(theRightestLine, viewBoundary.centerY())); in swipeAllOfVerticalLinesFromBottomToTop()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | MultiWindowLoginActivityTest.java | 163 tapPointAndExpectWindowEvent(emptyActivityBounds.centerX(), emptyActivityBounds.centerY());
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraErrorCollector.java | 503 formattedMsg, "too low", "too high", actual.centerY(), expected.centerY(), in expectRectsAreSimilar() 563 formattedMsg, "too low", "too high", actual.centerY(), centerBoundY, in expectRectCentered()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageReaderTest.java | 664 yuvDimens.centerY() - tempPatch.centerY()); in testAllOutputYUVResolutions() 670 jpegDimens.centerY() - tempPatch.centerY()); in testAllOutputYUVResolutions()
|