/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 | 256 float centerX = drawRect.left + dstWidth / 2; in drawContents() local 257 canvas.drawLine(centerX, drawRect.top, centerX, drawRect.bottom, paint); in drawContents()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | GradientTests.java | 79 float centerX = width / 2f; in testRadialGradientWithFocalPoint() local 83 centerX - 10f, in testRadialGradientWithFocalPoint() 86 centerX, in testRadialGradientWithFocalPoint() 118 float centerX = width / 2f; in testRadialGradientSameStartEndCircles() local 123 centerX, in testRadialGradientSameStartEndCircles() 126 centerX, in testRadialGradientSameStartEndCircles() 273 float centerX = TEST_WIDTH / 2f; in testMatrixTransformation() local 279 centerX, in testMatrixTransformation() 282 centerX, in testMatrixTransformation()
|
/cts/tests/tests/media/misc/src/android/media/misc/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()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityMagnificationTest.java | 266 final float x = rect.centerX(); in testSetMagnificationConfig_expectedConfig() 309 final float x = bounds.centerX(); in testSetConfigWithDefaultModeAndCenter_expectedConfig() 351 final float x = bounds.centerX(); in testSetConfigWithActivatedFalse_expectedConfig() 413 final float x = bounds.centerX(); in testSetFullScreenConfigWithDefaultValues_windowModeEnabled_expectedConfig() 470 final float x = bounds.centerX(); in testResetCurrentMagnification_fullScreenEnabled_expectedConfig() 532 final float x = bounds.centerX(); in testSetWindowModeConfig_connectionReset_expectedResult() 708 (controller1, region, scale, centerX, centerY) -> in testListener() 709 spyListener.onMagnificationChanged(controller1, region, scale, centerX, in testListener() 776 final float x = bounds.centerX(); in testListener_magnificationConfigChangedWithoutAnimation_notifyConfigChanged() 869 final float x = bounds.centerX(); in testListener_transitionFromFullScreenToWindow_notifyConfigChanged() [all …]
|
D | FullScreenMagnificationControllerTest.java | 131 final float x = rect.centerX(); in zoomIn()
|
/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/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/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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | UiAutomatorUtils.java | 195 getUiDevice().drag(scrollableBounds.centerX(), scrollableBounds.centerY(), in scrollPastCollapsibleToolbar() 196 scrollableBounds.centerX(), scrollableBounds.centerY() - distanceToSwipe, in scrollPastCollapsibleToolbar()
|
D | UiAutomatorUtils2.java | 224 getUiDevice().swipe(scrollableBounds.centerX(), scrollableBounds.centerY(), in scrollPastCollapsibleToolbar() 225 scrollableBounds.centerX(), scrollableBounds.centerY() - distanceToSwipe, in scrollPastCollapsibleToolbar()
|
/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/tests/graphics/src/android/graphics/drawable/cts/ |
D | GradientDrawableTest.java | 280 float centerX; in testSetGradientCenter() local 283 centerX = 0.5f; in testSetGradientCenter() 285 assertEquals(centerX, gradientDrawable.getGradientCenterX(), 0.01f); in testSetGradientCenter() 288 centerX = -0.5f; in testSetGradientCenter() 290 gradientDrawable.setGradientCenter(centerX, centerY); in testSetGradientCenter() 291 assertEquals(centerX, gradientDrawable.getGradientCenterX(), 0.01f); in testSetGradientCenter() 294 centerX = 0.0f; in testSetGradientCenter() 296 gradientDrawable.setGradientCenter(centerX, centerY); in testSetGradientCenter() 297 assertEquals(centerX, gradientDrawable.getGradientCenterX(), 0.01f); in testSetGradientCenter()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 197 float centerX = viewRect.centerX(); in updatePreviewDisplayRotation() local 199 bufRect.offset(centerX - bufRect.centerX(), centerY - bufRect.centerY()); in updatePreviewDisplayRotation() 205 transformMatrix.postRotate((360 - rotationDegrees) % 360, centerX, centerY); in updatePreviewDisplayRotation() 215 transformMatrix.postScale(scale, scale, centerX, centerY); in updatePreviewDisplayRotation()
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | GestureStrokeTest.java | 113 assertEquals(LineGestureStrokeHelper.LINE_MIDWAY_POINT, box.centerX); in testComputeOrientedBoundingBox()
|
/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/input/src/android/input/cts/ |
D | InputInjectionTest.kt | 226 bounds.centerX().toFloat(), bounds.centerY().toFloat(), 0)) in <lambda>() 230 bounds.centerX().toFloat(), bounds.centerY().toFloat(), 0)) in <lambda>()
|
/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/packageinstaller/userrestriction/src/android/packageinstaller/userrestriction/cts/ |
D | UserRestrictionInstallTest.kt | 480 val centerX = uiDevice.displayWidth / 2 in <lambda>() constant 482 uiDevice.swipe(centerX, centerY, centerX, 0, 10) in <lambda>()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
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()
|
D | RectTest.java | 406 assertEquals(15, mRect.centerX()); in testCenterX() 408 assertEquals(15, mRect.centerX()); in testCenterX() 410 assertEquals(16, mRect.centerX()); in testCenterX()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | AbstractTestListActivity.java | 147 mIsAutomated = (mCoordinateX == rect.centerX()) && (mCoornidateY == rect.centerY()); in onListItemClick()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | MultiWindowLoginActivityTest.java | 163 tapPointAndExpectWindowEvent(emptyActivityBounds.centerX(), emptyActivityBounds.centerY());
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | WindowInsetsBehaviorTests.java | 485 new Point(viewBoundary.centerX(), i)); in swipeAllOfHorizontalLinesFromLeftToRight() 492 new Point(viewBoundary.centerX(), theBottomestLine)); in swipeAllOfHorizontalLinesFromLeftToRight() 510 new Point(viewBoundary.centerX(), i)); in swipeAllOfHorizontalLinesFromRightToLeft() 517 new Point(viewBoundary.centerX(), theBottomestLine)); in swipeAllOfHorizontalLinesFromRightToLeft()
|