Home
last modified time | relevance | path

Searched refs:point (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/gesture/src/android/gesture/cts/
DGesturePointTest.java37 GesturePoint point = new GesturePoint(expected_x, expected_y, expected_timestamp); in testGesturePointConstructor() local
38 assertEquals(expected_x, point.x); in testGesturePointConstructor()
39 assertEquals(expected_y, point.y); in testGesturePointConstructor()
40 assertEquals(expected_timestamp, point.timestamp); in testGesturePointConstructor()
DLineGestureStrokeHelper.java91 for (GesturePoint point : points) { in createGestureStroke()
92 list.add(point); in createGestureStroke()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPointTest.java40 Point point = new Point(10, 10); in testConstructor() local
42 mPoint = new Point(point); in testConstructor()
61 Point point = new Point(3, 4); in testEquals2() local
62 assertTrue(mPoint.equals(point)); in testEquals2()
63 point = new Point(4, 3); in testEquals2()
64 assertFalse(mPoint.equals(point)); in testEquals2()
DPointFTest.java44 Point point = new Point(10, 10); in testConstructor() local
46 mPointF = new PointF(point); in testConstructor()
/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()
86 Point point = finger.point; in onDraw() local
89 canvas.drawCircle(point.x, point.y, radius, mPaint); in onDraw()
94 public Point point; field in TouchPointView.Finger
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.java70 Point point = new Point(); in enqueueRenderSpecAndWait() local
74 point.set(mLock.x, mLock.y); in enqueueRenderSpecAndWait()
79 return point; in enqueueRenderSpecAndWait()
/cts/apps/CtsVerifier/include/colorchecker/
Dimagetesthandler.h41 void drawPoint(const Vec2i &point, const Vec3i &color);
/cts/suite/cts/deviceTests/opengl/assets/vertex/
Dwater26 // Multiply to get the final point in normalized screen coordinates.
Dperspective30 // Multiply to get the final point in normalized screen coordinates.
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java281 private static Object serializePoint(Point point) throws org.json.JSONException { in serializePoint() argument
283 pointObj.put("x", point.x); in serializePoint()
284 pointObj.put("y", point.y); in serializePoint()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java105 private static Object serializePoint(Point point) throws org.json.JSONException { in serializePoint() argument
107 pointObj.put("x", point.x); in serializePoint()
108 pointObj.put("y", point.y); in serializePoint()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java574 Point point = new Point(); in testGetGlobalVisibleRectPoint() local
576 assertTrue(view.getGlobalVisibleRect(rect, point)); in testGetGlobalVisibleRectPoint()
584 assertEquals(ptParent.x, point.x); in testGetGlobalVisibleRectPoint()
585 assertEquals(ptParent.y, point.y); in testGetGlobalVisibleRectPoint()
595 assertFalse(view.getGlobalVisibleRect(rect, point)); in testGetGlobalVisibleRectPoint()
605 assertFalse(view.getGlobalVisibleRect(rect, point)); in testGetGlobalVisibleRectPoint()
619 assertTrue(view.getGlobalVisibleRect(rect, point)); in testGetGlobalVisibleRectPoint()
624 assertEquals(ptParent.x, point.x); in testGetGlobalVisibleRectPoint()
625 assertEquals(ptParent.y, point.y); in testGetGlobalVisibleRectPoint()
/cts/tests/tests/media/src/android/media/cts/
DVideoEncoderTest.java886 private int alignedPointInRange(double point, int align, Range<Integer> range) { in alignedPointInRange() argument
888 range.getLower() + point * (range.getUpper() - range.getLower()), align, range); in alignedPointInRange()