Home
last modified time | relevance | path

Searched refs:getX (Results 1 – 25 of 26) sorted by relevance

12

/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java81 assertEquals(X_3F, mMotionEvent1.getX(), DELTA); in testObtain1()
102 assertEquals(motionEvent.getX(), mMotionEvent1.getX(), DELTA); in testObtain2()
104 assertEquals(motionEvent.getX(), mMotionEvent1.getRawX(), DELTA); in testObtain2()
124 assertEquals(X_3F, mMotionEvent1.getX(), DELTA); in testObtain3()
175 assertEquals(mMotionEvent2.getX(), motionEvent.getX(), DELTA); in testWriteToParcel()
223 assertEquals(X_3F, mMotionEvent2.getX(), DELTA); in testOffsetLocation()
229 assertEquals(X_3F + offsetX, mMotionEvent2.getX(), DELTA); in testOffsetLocation()
234 assertEquals(X_3F, mMotionEvent2.getX(), DELTA); in testSetLocation()
240 assertEquals(newLocationX, mMotionEvent2.getX(), DELTA); in testSetLocation()
246 assertEquals(newLocationX, mMotionEvent2.getX(), DELTA); in testSetLocation()
[all …]
DWindowTest.java754 injectTouchEvent(presentationWindow, mPresentation.button1.getX() + in testSetLocalFocus()
DViewTest.java4096 assertEquals("Incorrect X value", offset + start, view.getX()); in testXYZ()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java124 assertEquals((float) clickXInsideView, clickDown.getX()); in testClickAt_producesDownThenUp()
134 assertEquals((float) clickXInsideView, clickUp.getX()); in testClickAt_producesDownThenUp()
158 assertEquals((float) clickXInsideView, clickDown.getX()); in testLongClickAt_producesEventsWithLongClickTiming()
165 assertEquals((float) clickXInsideView, clickUp.getX()); in testLongClickAt_producesEventsWithLongClickTiming()
193 assertEquals(startXInsideView, (int) downEvent.getX()); in testSwipe_shouldContainPointsInALine()
198 assertEquals(endXInsideView, (int) upEvent.getX()); in testSwipe_shouldContainPointsInALine()
211 assertEquals(startXInsideView + fractionX, moveEvent.getX(), swipeTolerance); in testSwipe_shouldContainPointsInALine()
245 assertEquals(startXInsideView, (int) mMotionEvents.get(0).getX()); in testSlowSwipe_shouldNotContainMovesForTinyMovement()
246 assertEquals(startXInsideView, (int) mMotionEvents.get(1).getX()); in testSlowSwipe_shouldNotContainMovesForTinyMovement()
247 assertEquals(startXInsideView + 1, (int) mMotionEvents.get(2).getX()); in testSlowSwipe_shouldNotContainMovesForTinyMovement()
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/
DGeomagneticFieldTest.java44 assertEquals(34251.2f, geomagneticField.getX(), 100.0f); in testGeomagneticField()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DImageProcessingTest.java89 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testBlur()
666 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testColorMatrix()
667 a2_copy.copy2DRangeFrom(0, 0, a2.getType().getX(), a2.getType().getY(), a2, 0, 0); in testColorMatrix()
677 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testColorMatrix()
678 a2_copy.copy2DRangeFrom(0, 0, a2.getType().getX(), a2.getType().getY(), a2, 0, 0); in testColorMatrix()
695 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testConvolve3x3()
718 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testConvolve5x5()
743 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testLUT()
789 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testScriptGroup()
DTypeTest.java135 assertTrue(b.create().getX() == 3); in testGetX()
142 assertTrue(t.getX() == 3); in testGetY()
DAllocationTest.java109 assertEquals(A.getType().getX(), i); in createSizedHelper()
798 assertTrue(a.getType().getX() == 100); in testDimReturnsZero()
807 assertTrue(a.getType().getX() == 1); in testDimReturnsZero()
816 assertTrue(a.getType().getX() == 102); in testDimReturnsZero()
823 assertTrue(a.getType().getX() == 102); in testDimReturnsZero()
830 assertTrue(a.getType().getX() == 2); in testDimReturnsZero()
DComputeTest.java721 int x = t.getX(); in setUpAllocation()
732 int x = t.getX(); in checkAllocation()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DScriptYuvMeans1d.java65 int width = mInputAllocation.getType().getX(); in updateScriptInput()
DScriptYuvMeans2dTo1d.java82 int width = mInputAllocation.getType().getX(); in updateScriptInput()
DAllocationInfo.java66 new Size(allocation.getType().getX(), allocation.getType().getY()), in newInstance()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimatorInflaterTest.java204 assertEquals(resetValue, testView.getX()); in loadStateListAnimatorWithChangingResetStateTest()
234 assertEquals(targetValue, testView.getX()); in loadChangingStateListAnimatorTest()
282 public float getX() { in getX() method in AnimatorInflaterTest.DummyObject
/cts/tests/tests/animation/src/android/animation/cts/
DShapeHolder.java48 public float getX() { in getX() method in ShapeHolder
DCreationTest.java126 public float getX() { in getX() method in CreationTest.DummyAnimatorTarget
DAnimationActivity.java269 canvas.translate(shapeHolder.getX(), shapeHolder.getY()); in onDraw()
DObjectAnimatorTest.java67 float x = mActivity.view.newBall.getX(); in testOfFloat()
/cts/libs/view/src/com/android/view/
DPosition.java31 public float getX() { in getX() 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.java210 int N = A.getType().getX(); in validateGEMV()
231 if (X.getType().getX() != expectedXDim || in validateGEMV()
232 Y.getType().getX() != expectedYDim) { in validateGEMV()
1238 if (A.getType().getX() != N) { in validateSYMV()
1254 if (X.getType().getX() != expectedXDim) { in validateSYMV()
1258 if (Y.getType().getX() != expectedYDim) { in validateSYMV()
1546 int N = (int)Math.sqrt((double)Ap.getType().getX() * 2); in validateSPMV()
1547 if (Ap.getType().getX() != ((N * (N+1)) / 2)) { in validateSPMV()
1554 if (X.getType().getX() != expectedXDim) { in validateSPMV()
1558 if (Y.getType().getX() != expectedYDim) { in validateSPMV()
[all …]
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_type.cpp182 passed &= (t->getX() == 3); in Java_android_cts_rscpp_RSTypeTest_testGet()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java970 && event.getX() == other.getX() in motionEventEquals()
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java334 rectObj.put("x", rect.getX()); in serializeMeteringRectangle()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java177 rectObj.put("x", rect.getX()); in serializeMeteringRectangle()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex35969 public abstract java.math.BigInteger getX()
36166 public java.math.BigInteger getX()
60713 public abstract java.math.BigInteger getX()
60873 public java.math.BigInteger getX()
76563 public java.math.BigInteger getX()
99417 public java.math.BigInteger getX()
99545 public java.math.BigInteger getX()
102012 public java.math.BigInteger getX()
104250 public java.math.BigInteger getX()

12