Home
last modified time | relevance | path

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

/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/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/view/src/android/view/cts/
DTextureViewTest.java90 private int getPixel(Point point) { in getPixel() argument
92 int pixel = screenshot.getPixel(point.x, point.y); in getPixel()
97 private void waitForColor(Point point, int color) in waitForColor() argument
100 int pixel = getPixel(point); in waitForColor()
109 private int waitForChange(Point point, int color) in waitForChange() argument
112 int pixel = getPixel(point); in waitForChange()
DViewTest.java715 Point point = new Point(); in testGetGlobalVisibleRectPoint() local
717 assertTrue(view.getGlobalVisibleRect(rect, point)); in testGetGlobalVisibleRectPoint()
725 assertEquals(ptParent.x, point.x); in testGetGlobalVisibleRectPoint()
726 assertEquals(ptParent.y, point.y); in testGetGlobalVisibleRectPoint()
737 assertFalse(view.getGlobalVisibleRect(rect, point)); in testGetGlobalVisibleRectPoint()
748 assertFalse(view.getGlobalVisibleRect(rect, point)); in testGetGlobalVisibleRectPoint()
763 assertTrue(view.getGlobalVisibleRect(rect, point)); in testGetGlobalVisibleRectPoint()
768 assertEquals(ptParent.x, point.x); in testGetGlobalVisibleRectPoint()
769 assertEquals(ptParent.y, point.y); in testGetGlobalVisibleRectPoint()
/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/hostsidetests/services/activitymanager/app/src/android/server/app/
DResizeableActivity.java48 final Point point = new Point(); in dumpDisplaySize() local
49 display.getSize(point); in dumpDisplaySize()
54 " displaySize=" + buildCoordString(point.x, point.y) + in dumpDisplaySize()
/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/hostsidetests/services/windowmanager/src/android/wm/cts/
DCrossAppDragAndDropTests.java254 private void parsePoint(String string, Point point) { in parsePoint() argument
256 point.x = Integer.parseInt(parts[0]); in parsePoint()
257 point.y = Integer.parseInt(parts[1]); in parsePoint()
/cts/tests/openglperf2/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/camera/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/media/src/android/media/cts/
DVideoEncoderTest.java958 private int alignedPointInRange(double point, int align, Range<Integer> range) { in alignedPointInRange() argument
960 range.getLower() + point * (range.getUpper() - range.getLower()), align, range); in alignedPointInRange()