/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | WindowInsetsPresenterDrawable.java | 187 mPath.moveTo(event.getX(), event.getY()); in onTouch() 188 p = new Point((int) event.getX(), (int) event.getY()); in onTouch() 192 mLastY = event.getY(); in onTouch() 197 mPath.lineTo(event.getX(), event.getY()); in onTouch() 198 p = new Point((int) event.getX(), (int) event.getY()); in onTouch() 204 mPath.quadTo(mLastX, mLastY, event.getX(), event.getY()); in onTouch() 205 p = new Point((int) event.getX(), (int) event.getY()); in onTouch() 208 mLastY = event.getY(); in onTouch() 212 mPath.lineTo(event.getX(), event.getY()); in onTouch() 213 p = new Point((int) event.getX(), (int) event.getY()); in onTouch()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | GeomagneticFieldTest.java | 74 Math.toDegrees(Math.atan2(field.getY(), field.getX()))); in assertMagneticField() 77 Math.sqrt(field.getX() * field.getX() + field.getY() * field.getY()), in assertMagneticField()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | VirtualTouchEventTest.java | 62 assertWithMessage("Recreated event has different y").that(originalEvent.getY()) in parcelAndUnparcel_matches() 63 .isEqualTo(recreatedEvent.getY()); in parcelAndUnparcel_matches() 186 assertWithMessage("Incorrect y").that(event.getY()).isEqualTo(y); in touchEvent_palmAndCancelUsedProperly() 212 assertWithMessage("Incorrect y").that(event.getY()).isEqualTo(y); in touchEvent_valid_created() 239 assertWithMessage("Incorrect y").that(event.getY()).isEqualTo(y); in touchEvent_validWithPressureAndAxis_created()
|
D | VirtualStylusMotionEventTest.java | 74 assertWithMessage("Recreated event has different y").that(originalEvent.getY()) in parcelAndUnparcel_matches() 75 .isEqualTo(recreatedEvent.getY()); in parcelAndUnparcel_matches() 222 assertWithMessage("Incorrect y").that(event.getY()).isEqualTo(y); in stylusMotionEvent_validWithoutPressureAndTilt_created() 250 assertWithMessage("Incorrect y").that(event.getY()).isEqualTo(y); in stylusMotionEvent_validWithPressureAndTilt_created()
|
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/ |
D | AntennaDirectionTest.java | 36 assertThat(antennaDirection.getY()).isEqualTo(Y); in testConstructorsAndGetters() 75 assertThat(antennaDirection.getY()).isEqualTo(Y); in testGetY()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | GainmapTest.java | 573 Function<Float, Integer> getY = (Float y) -> (int) (bitmap.getHeight() * y); in assertBitmapQuadColor() local 577 getX.apply(.25f), getY.apply(.25f), threshold); in assertBitmapQuadColor() 579 getX.apply(.75f), getY.apply(.25f), threshold); in assertBitmapQuadColor() 581 getX.apply(.25f), getY.apply(.75f), threshold); in assertBitmapQuadColor() 583 getX.apply(.75f), getY.apply(.75f), threshold); in assertBitmapQuadColor() 588 getX.apply(below), getY.apply(below), threshold); in assertBitmapQuadColor() 590 getX.apply(above), getY.apply(below), threshold); in assertBitmapQuadColor() 592 getX.apply(below), getY.apply(above), threshold); in assertBitmapQuadColor() 594 getX.apply(above), getY.apply(above), threshold); in assertBitmapQuadColor()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ImageProcessingTest.java | 101 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testBlur() 736 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testColorMatrix() 737 a2_copy.copy2DRangeFrom(0, 0, a2.getType().getX(), a2.getType().getY(), a2, 0, 0); in testColorMatrix() 747 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testColorMatrix() 748 a2_copy.copy2DRangeFrom(0, 0, a2.getType().getX(), a2.getType().getY(), a2, 0, 0); in testColorMatrix() 765 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testConvolve3x3() 789 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testConvolve5x5() 815 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testLUT() 862 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testScriptGroup()
|
D | SampleTest.java | 41 int w = t.getY(); in createAlloc()
|
D | AllocationTest.java | 849 assertTrue(a.getType().getY() == 0); in testDimReturnsZero() 858 assertTrue(a.getType().getY() == 0); in testDimReturnsZero() 867 assertTrue(a.getType().getY() == 0); in testDimReturnsZero() 875 assertTrue(a.getType().getY() == 123); in testDimReturnsZero() 883 assertTrue(a.getType().getY() == 33); in testDimReturnsZero()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ShapeHolder.java | 56 public float getY() { in getY() method in ShapeHolder
|
D | PropertyValuesHolderTest.java | 174 final float initialY = mActivity.view.newBall.getY(); in testResetValues() 182 assertEquals(100f, mActivity.view.newBall.getY(), 0.0f); in testResetValues() 194 assertEquals(200f, mActivity.view.newBall.getY(), 0.0f); in testResetValues() 210 float updatedY = mActivity.view.newBall.getY(); in testResetValues() 217 assertEquals("Animation should run as expected", 100f, mActivity.view.newBall.getY(), 0.0f); in testResetValues() 231 updatedY = mActivity.view.newBall.getY(); in testResetValues() 239 assertEquals("Animation should run as expected", 100f, mActivity.view.newBall.getY(), 0.0f); in testResetValues() 810 float y = mActivity.view.newBall.getY(); in getYPosition()
|
D | AnimatorTest.java | 166 float y = mActivity.view.newBall.getY(); in testEnd() 236 public float getY() { in testNullObjectAnimator() method in AnimatorTest.AnimTarget
|
D | CreationTest.java | 162 public float getY() { in getY() method in CreationTest.DummyAnimatorTarget
|
/cts/libs/view/src/com/android/view/ |
D | Position.java | 35 public float getY() { in getY() method in Position
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEventTest.java | 150 assertEquals(Y_4F, mMotionEvent1.getY(), DELTA); in testObtainBasic() 171 assertEquals(mMotionEvent2.getY(), mMotionEventDynamic.getY(), DELTA); in testObtainFromMotionEvent() 173 assertEquals(mMotionEvent2.getY(), mMotionEventDynamic.getRawY(), DELTA); in testObtainFromMotionEvent() 194 assertEquals(Y_4F, mMotionEventDynamic.getY(), DELTA); in testObtainAllFields() 340 assertEquals(mMotionEvent2.getY(), motionEvent.getY(), DELTA); in testWriteToParcel() 397 assertEquals(Y_4F, mMotionEvent2.getY(), DELTA); in testOffsetLocationForPointerSource() 412 assertEquals(Y_4F, mMotionEvent2.getY(), DELTA); in testNoLocationOffsetForNonPointerSource() 427 assertEquals(Y_4F, mMotionEvent2.getY(), DELTA); in testSetLocation() 817 .append(ev.getX(i)).append(",").append(ev.getY(i)).append("), orientation=") in dump() 1120 new PointF(javaMotionEvent.getX(), javaMotionEvent.getY()) in testNativeToJavaConverter()
|
D | PixelCopyTest.java | 1094 Function<Float, Integer> getY = (Float y) -> (int) (bitmap.getHeight() * y); in assertBitmapQuadColor() local 1098 getX.apply(.25f), getY.apply(.25f), threshold); in assertBitmapQuadColor() 1100 getX.apply(.75f), getY.apply(.25f), threshold); in assertBitmapQuadColor() 1102 getX.apply(.25f), getY.apply(.75f), threshold); in assertBitmapQuadColor() 1104 getX.apply(.75f), getY.apply(.75f), threshold); in assertBitmapQuadColor() 1109 getX.apply(below), getY.apply(below), threshold); in assertBitmapQuadColor() 1111 getX.apply(above), getY.apply(below), threshold); in assertBitmapQuadColor() 1113 getX.apply(below), getY.apply(above), threshold); in assertBitmapQuadColor() 1115 getX.apply(above), getY.apply(above), threshold); in assertBitmapQuadColor()
|
D | ViewUnbufferedTest.java | 158 assertEquals((int) sentEvent.getY(), receivedEvent.mY + offsets[1]); in compareEvent() 259 Math.round(event.getX()), Math.round(event.getY()), event.getSource())); in receivedEvent()
|
D | MotionEventUtils.java | 141 assertEquals("Y coordinates should be the same", that.getY(), this.y, DELTA); in verifyMatches() 189 that.getY(pointerIndex), this.y, DELTA); in verifyMatches()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/ |
D | TouchPointView.java | 72 finger.point = new Point((int)event.getX(pointerIndex), (int)event.getY(pointerIndex)); in onTouchEvent()
|
/cts/tests/input/src/android/input/cts/ |
D | MotionPredictorTest.kt | 168 assertEquals(20f, predicted.getY(), yDelta) in testNoMotion() 204 assertEquals(expectedY, predicted.getY(), yDelta) in testLinearMotion()
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
D | IntrinsicBLAS.java | 198 if (X.getType().getY() > 2) { in validateVecInput() 209 int M = A.getType().getY(); in validateGEMV() 216 if (X.getType().getY() > 1 || Y.getType().getY() > 1) { in validateGEMV() 1237 int N = A.getType().getY(); in validateSYMV() 1246 if (X.getType().getY() > 1 || Y.getType().getY() > 1) { in validateSYMV() 1538 if (X.getType().getY() > 1 || Y.getType().getY() > 1) { in validateSPMV() 1542 if (Ap.getType().getY() > 1) { in validateSPMV() 1709 int N = A.getType().getY(); in validateTRMV() 1717 if (X.getType().getY() > 1) { in validateTRMV() 2281 if (X.getType().getY() > 1) { in validateTPMV() [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ViewPropertyAnimatorTests.java | 441 assertEquals(77.0f, target.getY()); in testViewY() 462 assertEquals(157.0f, target.getY()); in testViewYBy()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimatorInflaterTest.java | 254 assertEquals(resetValue, mTestView.getY(), 0.0f); in loadStateListAnimatorWithChangingResetStateTest() 346 public float getY() { in getY() method in AnimatorInflaterTest.DummyObject
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewReceiveContentTest.java | 668 mTextView.getY(), null); in testDragAndDrop_nonEditableTextViewChangedToEditable_actionDragLocation() 700 mTextView.getY(), clip); in testDragAndDrop_nonEditableTextViewChangedToEditable_actionDrop() 863 mTextView.getY(), clip); in triggerDropEvent() 871 when(dragEvent.getY()).thenReturn(y); in createDragEvent()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsMouseUtil.java | 135 && Math.round(actual.getY()) == mY; in matches()
|