Home
last modified time | relevance | path

Searched refs:getY (Results 1 – 25 of 32) sorted by relevance

12

/cts/tests/tests/systemui/src/android/systemui/cts/
DWindowInsetsPresenterDrawable.java187 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/
DGeomagneticFieldTest.java73 Math.toDegrees(Math.atan2(field.getY(), field.getX()))); in testGeomagneticField()
76 Math.sqrt(field.getX() * field.getX() + field.getY() * field.getY()), in testGeomagneticField()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DImageProcessingTest.java96 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()
DSampleTest.java41 int w = t.getY(); in createAlloc()
DAllocationTest.java846 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()
DLaunchClip.java181 if (base.getType().getY() > 0) { in makeAdapter()
DTypeTest.java143 assertTrue(t.getY() == 4); in testGetY()
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java108 assertEquals(Y_4F, mMotionEvent1.getY(), DELTA); in testObtainBasic()
128 assertEquals(mMotionEvent2.getY(), mMotionEventDynamic.getY(), DELTA); in testObtainFromMotionEvent()
130 assertEquals(mMotionEvent2.getY(), mMotionEventDynamic.getRawY(), DELTA); in testObtainFromMotionEvent()
150 assertEquals(Y_4F, mMotionEventDynamic.getY(), DELTA); in testObtainAllFields()
264 assertEquals(mMotionEvent2.getY(), motionEvent.getY(), DELTA); in testWriteToParcel()
318 assertEquals(Y_4F, mMotionEvent2.getY(), DELTA); in testOffsetLocation()
330 assertEquals(Y_4F, mMotionEvent2.getY(), DELTA); in testSetLocation()
707 .append(ev.getX(i)).append(",").append(ev.getY(i)).append("), orientation=") in dump()
DMotionEventUtils.java134 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/
DPropertyValuesHolderTest.java162 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()
DShapeHolder.java56 public float getY() { in getY() method in ShapeHolder
DAnimatorTest.java145 float y = mActivity.view.newBall.getY(); in testEnd()
214 public float getY() { in testNullObjectAnimator() method in AnimatorTest.AnimTarget
DCreationTest.java153 public float getY() { in getY() method in CreationTest.DummyAnimatorTarget
DAnimationActivity.java268 canvas.translate(shapeHolder.getX(), shapeHolder.getY()); in onDraw()
/cts/libs/view/src/com/android/view/
DPosition.java35 public float getY() { in getY() method in Position
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/
DTouchPointView.java72 finger.point = new Point((int)event.getX(pointerIndex), (int)event.getY(pointerIndex)); in onTouchEvent()
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DIntrinsicBLAS.java198 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/view/src/android/view/animation/cts/
DAnimatorInflaterTest.java238 assertEquals(resetValue, mTestView.getY(), 0.0f); in loadStateListAnimatorWithChangingResetStateTest()
314 public float getY() { in getY() method in AnimatorInflaterTest.DummyObject
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsMouseUtil.java130 && ((int) actual.getY()) == mY; in matches()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsMouseUtil.java130 && ((int) actual.getY()) == mY; in matches()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DAllocationInfo.java66 new Size(allocation.getType().getX(), allocation.getType().getY()), in newInstance()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_type.cpp183 passed &= (t->getY() == 4); in Java_android_cts_rscpp_RSTypeTest_testGet()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java972 && event.getY() == other.getY() in motionEventEquals()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DVirtualContainerView.java178 final int y = (int) event.getY(); in onTouchEvent()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDragDropTest.java178 mActual.add(new LogEntry(v, ev.getAction(), ev.getX(), ev.getY(), ev.getClipData(), in logEvent()

12