/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() 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/ |
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 | TypeTest.java | 135 assertTrue(b.create().getX() == 3); in testGetX() 142 assertTrue(t.getX() == 3); in testGetY()
|
D | AllocationTest.java | 109 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()
|
D | ComputeTest.java | 727 int x = t.getX(); in setUpAllocation() 738 int x = t.getX(); in checkAllocation()
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | ScriptYuvMeans1d.java | 65 int width = mInputAllocation.getType().getX(); in updateScriptInput()
|
D | ScriptYuvMeans2dTo1d.java | 82 int width = mInputAllocation.getType().getX(); in updateScriptInput()
|
D | AllocationInfo.java | 66 new Size(allocation.getType().getX(), allocation.getType().getY()), in newInstance()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEventTest.java | 113 assertEquals(X_3F, mMotionEvent1.getX(), DELTA); in testObtainBasic() 133 assertEquals(mMotionEvent2.getX(), mMotionEventDynamic.getX(), DELTA); in testObtainFromMotionEvent() 135 assertEquals(mMotionEvent2.getX(), mMotionEventDynamic.getRawX(), DELTA); in testObtainFromMotionEvent() 155 assertEquals(X_3F, mMotionEventDynamic.getX(), DELTA); in testObtainAllFields() 271 assertEquals(mMotionEvent2.getX(), motionEvent.getX(), DELTA); in testWriteToParcel() 323 assertEquals(X_3F, mMotionEvent2.getX(), DELTA); in testOffsetLocationForPointerSource() 338 assertEquals(X_3F, mMotionEvent2.getX(), DELTA); in testNoLocationOffsetForNonPointerSource() 353 assertEquals(X_3F, mMotionEvent2.getX(), DELTA); in testSetLocation() 729 .append(ev.getX(i)).append(",").append(ev.getY(i)).append("), orientation=") in dump()
|
D | PixelCopyTest.java | 898 Function<Float, Integer> getX = (Float x) -> (int) (bitmap.getWidth() * x); 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 | 147 assertEquals((int) sentEvent.getX(), receivedEvent.mX + offsets[0]); in compareEvent() 249 (int) event.getX(), (int) event.getY(), event.getSource())); in receivedEvent()
|
D | MotionEventUtils.java | 130 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/tests/animation/src/android/animation/cts/ |
D | ShapeHolder.java | 48 public float getX() { in getX() method in ShapeHolder
|
D | CreationTest.java | 146 public float getX() { in getX() 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 | 31 public float getX() { in getX() method in Position
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimatorInflaterTest.java | 237 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/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/rsblas/src/android/renderscript/cts/ |
D | IntrinsicBLAS.java | 210 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-axt/src/com/android/compatibility/common/util/ |
D | CtsMouseUtil.java | 129 && ((int) actual.getX()) == mX in matches()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ViewPropertyAnimatorTests.java | 405 assertEquals(27.0f, target.getX()); in testViewX() 426 assertEquals(167.0f, target.getX()); in testViewXBy()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewReceiveContentTest.java | 658 DragEvent dragEvent = createDragEvent(DragEvent.ACTION_DRAG_LOCATION, mTextView.getX(), in testDragAndDrop_nonEditableTextViewChangedToEditable_actionDragLocation() 690 DragEvent dragEvent = createDragEvent(DragEvent.ACTION_DROP, mTextView.getX(), in testDragAndDrop_nonEditableTextViewChangedToEditable_actionDrop() 853 DragEvent dropEvent = createDragEvent(DragEvent.ACTION_DROP, mTextView.getX(), in triggerDropEvent() 861 when(dragEvent.getX()).thenReturn(x); in createDragEvent()
|
/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 | 182 passed &= (t->getX() == 3); in Java_android_cts_rscpp_RSTypeTest_testGet()
|