/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/renderscript/src/android/renderscript/cts/ |
D | ImageProcessingTest.java | 96 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testBlur() 680 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testColorMatrix() 681 a2_copy.copy2DRangeFrom(0, 0, a2.getType().getX(), a2.getType().getY(), a2, 0, 0); in testColorMatrix() 691 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testColorMatrix() 692 a2_copy.copy2DRangeFrom(0, 0, a2.getType().getX(), a2.getType().getY(), a2, 0, 0); in testColorMatrix() 709 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testConvolve3x3() 733 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testConvolve5x5() 759 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testLUT() 806 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testScriptGroup()
|
D | AllocationTest.java | 846 assertTrue(a.getType().getY() == 0); in testDimReturnsZero() 855 assertTrue(a.getType().getY() == 0); in testDimReturnsZero() 864 assertTrue(a.getType().getY() == 0); in testDimReturnsZero() 872 assertTrue(a.getType().getY() == 123); in testDimReturnsZero() 880 assertTrue(a.getType().getY() == 33); in testDimReturnsZero()
|
D | TypeTest.java | 143 assertTrue(t.getY() == 4); in testGetY()
|
D | LaunchClip.java | 181 if (base.getType().getY() > 0) { in makeAdapter()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEventTest.java | 114 assertEquals(Y_4F, mMotionEvent1.getY(), DELTA); in testObtainBasic() 134 assertEquals(mMotionEvent2.getY(), mMotionEventDynamic.getY(), DELTA); in testObtainFromMotionEvent() 136 assertEquals(mMotionEvent2.getY(), mMotionEventDynamic.getRawY(), DELTA); in testObtainFromMotionEvent() 156 assertEquals(Y_4F, mMotionEventDynamic.getY(), DELTA); in testObtainAllFields() 270 assertEquals(mMotionEvent2.getY(), motionEvent.getY(), DELTA); in testWriteToParcel() 324 assertEquals(Y_4F, mMotionEvent2.getY(), DELTA); in testOffsetLocationForPointerSource() 339 assertEquals(Y_4F, mMotionEvent2.getY(), DELTA); in testNoLocationOffsetForNonPointerSource() 354 assertEquals(Y_4F, mMotionEvent2.getY(), DELTA); in testSetLocation() 729 .append(ev.getX(i)).append(",").append(ev.getY(i)).append("), orientation=") in dump()
|
D | PixelCopyTest.java | 899 Function<Float, Integer> getY = (Float y) -> (int) (bitmap.getHeight() * y); in assertBitmapQuadColor() local 903 getX.apply(.25f), getY.apply(.25f), threshold); in assertBitmapQuadColor() 905 getX.apply(.75f), getY.apply(.25f), threshold); in assertBitmapQuadColor() 907 getX.apply(.25f), getY.apply(.75f), threshold); in assertBitmapQuadColor() 909 getX.apply(.75f), getY.apply(.75f), threshold); in assertBitmapQuadColor() 914 getX.apply(below), getY.apply(below), threshold); in assertBitmapQuadColor() 916 getX.apply(above), getY.apply(below), threshold); in assertBitmapQuadColor() 918 getX.apply(below), getY.apply(above), threshold); in assertBitmapQuadColor() 920 getX.apply(above), getY.apply(above), threshold); in assertBitmapQuadColor()
|
D | ViewUnbufferedTest.java | 148 assertEquals((int) sentEvent.getY(), receivedEvent.mY + offsets[1]); in compareEvent() 249 (int) event.getX(), (int) event.getY(), event.getSource())); in receivedEvent()
|
D | MotionEventUtils.java | 134 assertEquals("Y coordinates should be the same", that.getY(), this.y, DELTA); in verifyMatches() 179 that.getY(pointerIndex), this.y, DELTA); in verifyMatches()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ShapeHolder.java | 56 public float getY() { in getY() method in ShapeHolder
|
D | PropertyValuesHolderTest.java | 162 final float initialY = mActivity.view.newBall.getY(); in testResetValues() 170 assertEquals(100f, mActivity.view.newBall.getY(), 0.0f); in testResetValues() 182 assertEquals(200f, mActivity.view.newBall.getY(), 0.0f); in testResetValues() 198 float updatedY = mActivity.view.newBall.getY(); in testResetValues() 205 assertEquals("Animation should run as expected", 100f, mActivity.view.newBall.getY(), 0.0f); in testResetValues() 219 updatedY = mActivity.view.newBall.getY(); in testResetValues() 227 assertEquals("Animation should run as expected", 100f, mActivity.view.newBall.getY(), 0.0f); in testResetValues() 795 float y = mActivity.view.newBall.getY(); in getYPosition()
|
D | AnimatorTest.java | 146 float y = mActivity.view.newBall.getY(); in testEnd() 215 public float getY() { in testNullObjectAnimator() method in AnimatorTest.AnimTarget
|
D | CreationTest.java | 153 public float getY() { in getY() method in CreationTest.DummyAnimatorTarget
|
D | AnimationActivity.java | 268 canvas.translate(shapeHolder.getX(), shapeHolder.getY()); in onDraw()
|
/cts/libs/view/src/com/android/view/ |
D | Position.java | 35 public float getY() { in getY() method in Position
|
/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/tests/view/src/android/view/animation/cts/ |
D | AnimatorInflaterTest.java | 238 assertEquals(resetValue, mTestView.getY(), 0.0f); in loadStateListAnimatorWithChangingResetStateTest() 314 public float getY() { in getY() method in AnimatorInflaterTest.DummyObject
|
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsMouseUtil.java | 130 && ((int) actual.getY()) == mY; in matches()
|
/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/widget/src/android/widget/cts/ |
D | TextViewReceiveContentTest.java | 659 mTextView.getY(), null); in testDragAndDrop_nonEditableTextViewChangedToEditable_actionDragLocation() 691 mTextView.getY(), clip); in testDragAndDrop_nonEditableTextViewChangedToEditable_actionDrop() 854 mTextView.getY(), clip); in triggerDropEvent() 862 when(dragEvent.getY()).thenReturn(y); in createDragEvent()
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | AllocationInfo.java | 66 new Size(allocation.getType().getX(), allocation.getType().getY()), in newInstance()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | GestureUtils.java | 249 return Math.hypot(event.getX() - point.x, event.getY() - point.y) <= tol; in isAtPoint() 260 "received (" + event.getX() + ", " + event.getY() + ")"); in isAtPoint()
|
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_type.cpp | 183 passed &= (t->getY() == 4); in Java_android_cts_rscpp_RSTypeTest_testGet()
|