Home
last modified time | relevance | path

Searched refs:getX (Results 1 – 25 of 29) 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()
191 mLastX = event.getX(); 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()
207 mLastX = event.getX(); 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()
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()
845 assertTrue(a.getType().getX() == 100); in testDimReturnsZero()
854 assertTrue(a.getType().getX() == 1); in testDimReturnsZero()
863 assertTrue(a.getType().getX() == 102); in testDimReturnsZero()
871 assertTrue(a.getType().getX() == 102); in testDimReturnsZero()
879 assertTrue(a.getType().getX() == 2); in testDimReturnsZero()
DComputeTest.java727 int x = t.getX(); in setUpAllocation()
738 int x = t.getX(); in checkAllocation()
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java107 assertEquals(X_3F, mMotionEvent1.getX(), DELTA); in testObtainBasic()
127 assertEquals(mMotionEvent2.getX(), mMotionEventDynamic.getX(), DELTA); in testObtainFromMotionEvent()
129 assertEquals(mMotionEvent2.getX(), mMotionEventDynamic.getRawX(), DELTA); in testObtainFromMotionEvent()
149 assertEquals(X_3F, mMotionEventDynamic.getX(), DELTA); in testObtainAllFields()
265 assertEquals(mMotionEvent2.getX(), motionEvent.getX(), DELTA); in testWriteToParcel()
317 assertEquals(X_3F, mMotionEvent2.getX(), DELTA); in testOffsetLocation()
329 assertEquals(X_3F, mMotionEvent2.getX(), DELTA); in testSetLocation()
707 .append(ev.getX(i)).append(",").append(ev.getY(i)).append("), orientation=") in dump()
DMotionEventUtils.java130 assertEquals("X coordinates should be the same", that.getX(), this.x, DELTA); in verifyMatches()
174 that.getX(pointerIndex), this.x, DELTA); in verifyMatches()
/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.java237 assertEquals(resetValue, mTestView.getX(), 0.0f); in loadStateListAnimatorWithChangingResetStateTest()
264 assertEquals(targetValue, mTestView.getX(), 0.0f); in loadChangingStateListAnimatorTest()
306 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.java146 public float getX() { in getX() method in CreationTest.DummyAnimatorTarget
DAnimationActivity.java268 canvas.translate(shapeHolder.getX(), shapeHolder.getY()); in onDraw()
/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/common/device-side/util/src/com/android/compatibility/common/util/
DCtsMouseUtil.java129 && ((int) actual.getX()) == mX in matches()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsMouseUtil.java129 && ((int) actual.getX()) == mX in matches()
/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.java971 && event.getX() == other.getX() in motionEventEquals()
/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()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java663 return Math.hypot(event.getX() - point.x, event.getY() - point.y) < tol; in isAtPoint()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java334 rectObj.put("x", rect.getX()); in serializeMeteringRectangle()

12