/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | GestureUtils.java | 106 public static StrokeDescription pointerDown(PointF point) { in pointerDown() argument 107 return new StrokeDescription(path(point), 0, ViewConfiguration.getTapTimeout(), true); in pointerDown() 123 public static StrokeDescription click(PointF point) { in click() argument 124 return new StrokeDescription(path(point), 0, sTapDuration); in click() 127 public static StrokeDescription longClick(PointF point) { in longClick() argument 128 return new StrokeDescription(path(point), 0, ViewConfiguration.getLongPressTimeout() * 3); in longClick() 166 for (PointF point : rest) { in path() 167 path.lineTo(point.x, point.y); in path() 215 public static GestureDescription doubleTap(PointF point) { in doubleTap() argument 216 return doubleTap(point, Display.DEFAULT_DISPLAY); in doubleTap() [all …]
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | GesturePointTest.java | 37 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()
|
D | LineGestureStrokeHelper.java | 91 for (GesturePoint point : points) { in createGestureStroke() 92 list.add(point); in createGestureStroke()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ColorSpaceTests.java | 85 point(0, 0), point(48, 0), point(32, 40), point(0, 40), point(0, 56) in testDrawDisplayP3() 99 point(0, 0), point(48, 0), point(32, 40), point(0, 40), point(0, 56) in testDrawDisplayP3Config565() 117 point(0, 0), point(48, 0), point(32, 40), point(0, 40), point(0, 56) in testDrawProPhotoRGB() 132 point(0, 0), point(48, 0), point(32, 40), point(0, 40), point(0, 56) in testDrawProPhotoRGBConfig565() 149 new Point[] { point(0, 0) }, in testDrawTranslucentAdobeRGB() 358 private static Point point(int x, int y) { in point() method in ColorSpaceTests
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewUnbufferedTest.java | 276 final Point point = getViewCenterOnScreen(mView); in testNormalTouch() local 277 sendPointerEvents(point.x, point.y, in testNormalTouch() 292 final Point point = getViewCenterOnScreen(mView); in testUnbufferedTouch() local 293 sendPointerEvents(point.x, point.y, in testUnbufferedTouch() 311 final Point point = getViewCenterOnScreen(mView); in testUnbufferedTouchByEvent() local 312 sendPointerEvents(point.x, point.y, in testUnbufferedTouchByEvent() 326 final Point point = getViewCenterOnScreen(mView); in testUnbufferedTouch_Reset() local 327 sendPointerEvents(point.x, point.y, in testUnbufferedTouch_Reset() 335 sendPointerEvents(point.x, point.y, in testUnbufferedTouch_Reset() 376 final Point point = getViewCenterOnScreen(mView); in testUnbufferedHover() local [all …]
|
D | VerifyInputEventTest.java | 167 final Point point = getViewCenterOnScreen(view); in testMotionEvent() local 170 point.x, point.y, 0 /*metaState*/); in testMotionEvent() 181 MotionEvent.ACTION_UP, point.x, point.y, 0 /*metaState*/); in testMotionEvent() 195 final Point point = getViewCenterOnScreen(view); in testMotionEventWithoutHmac() local 198 point.x, point.y, 0 /*metaState*/); in testMotionEventWithoutHmac() 207 point.x, point.y, 0 /*metaState*/); in testMotionEventWithoutHmac() 220 final Point point = getViewCenterOnScreen(view); in testTamperedMotionEvent() local 223 point.x, point.y, 0 /*metaState*/); in testTamperedMotionEvent() 234 MotionEvent.ACTION_UP, point.x, point.y, 0 /*metaState*/); in testTamperedMotionEvent() 277 final Point point = getViewCenterOnScreen(view); in testDeviceIdBecomesVirtualForInjectedMotions() local [all …]
|
D | SystemGestureExclusionRectsTest.java | 85 int[] point = new int[2]; in staticView() 86 v.getLocationInWindow(point); in staticView() 87 expected.left = point[0]; in staticView() 88 expected.top = point[1]; in staticView() 226 int[] point = new int[2]; in ignoreHiddenViewRects() local 227 v.getLocationInWindow(point); in ignoreHiddenViewRects() 230 offsetR.offsetTo(point[0], point[1]); in ignoreHiddenViewRects()
|
D | TextureViewTest.java | 849 private int getPixel(Window window, Point point) { in getPixel() argument 854 int pixel = screenshot.getPixel(point.x, point.y); in getPixel() 859 private void waitForColor(Window window, Point point, int color) in waitForColor() argument 862 int pixel = getPixel(window, point); in waitForColor() 871 private int waitForChange(Window window, Point point, int color) in waitForChange() argument 874 int pixel = getPixel(window, point); in waitForChange()
|
/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() 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/graphics/src/android/graphics/cts/ |
D | PointTest.java | 43 Point point = new Point(10, 10); in testConstructor() local 44 mPoint = new Point(point); in testConstructor() 65 Point point = new Point(3, 4); in testEquals2() local 66 assertTrue(mPoint.equals(point)); in testEquals2() 67 point = new Point(4, 3); in testEquals2() 68 assertFalse(mPoint.equals(point)); in testEquals2()
|
D | PointFTest.java | 43 Point point = new Point(10, 10); in testConstructor() local 44 mPointF = new PointF(point); in testConstructor()
|
/cts/hostsidetests/mediapc/videoencodingquality/bdrate/src/main/java/com/android/media/videoquality/bdrate/ |
D | RateDistortionCurve.java | 46 public Builder addPoint(RateDistortionPoint point) { in addPoint() argument 48 mPointsBuilder.add(point); in addPoint()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/ |
D | README | 4 the native code, make NDK_BUILD variable to point the correct path in
|
/cts/apps/CtsVerifier/include/colorchecker/ |
D | imagetesthandler.h | 41 void drawPoint(const Vec2i &point, const Vec3i &color);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewHandwritingGestureTest.java | 1912 private void performInsertGesture(PointF point) { in performInsertGesture() argument 1913 performInsertGesture(point, /* setFallbackText= */ true); in performInsertGesture() 1916 private void performInsertGesture(PointF point, boolean setFallbackText) { in performInsertGesture() argument 1917 point.offset(mLocationOnScreen[0], mLocationOnScreen[1]); in performInsertGesture() 1919 .setInsertionPoint(point) in performInsertGesture() 1927 private InsertModeGesture performInsertModeGesture(PointF point) { in performInsertModeGesture() argument 1928 return performInsertModeGesture(point, /* setFallbackText= */ true); in performInsertModeGesture() 1931 private InsertModeGesture performInsertModeGesture(PointF point, boolean setFallbackText) { in performInsertModeGesture() argument 1932 point.offset(mLocationOnScreen[0], mLocationOnScreen[1]); in performInsertModeGesture() 1934 .setInsertionPoint(point) in performInsertModeGesture() [all …]
|
/cts/tests/openglperf2/assets/vertex/ |
D | water | 26 // Multiply to get the final point in normalized screen coordinates.
|
D | perspective | 30 // Multiply to get the final point in normalized screen coordinates.
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ValueAnimatorTest.java | 443 PointF point = (PointF) animation.getAnimatedValue(); in testSetObjectValues() 444 assertTrue(point.x >= 0f && point.x <= 1f); in testSetObjectValues() 445 assertTrue(point.y >= 0f && point.y <= 1f); in testSetObjectValues()
|
/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/ |
D | PdfRendererPreVTest.java | 445 Point point = new Point(77, 104); in selectPageText() local 446 SelectionBoundary start = new SelectionBoundary(point); in selectPageText() 447 SelectionBoundary stop = new SelectionBoundary(point); in selectPageText() 579 Point point = new Point(157, 330); in selectPageText_withoutRightBoundary_throwsException() local 581 () -> firstPage.selectContent(new SelectionBoundary(point), null)); in selectPageText_withoutRightBoundary_throwsException()
|
D | PdfRendererTest.java | 738 Point point = new Point(77, 104); in assertSelectPageText() local 739 SelectionBoundary start = new SelectionBoundary(point); in assertSelectPageText() 740 SelectionBoundary stop = new SelectionBoundary(point); in assertSelectPageText() 911 Point point = new Point(157, 330); in assertSelectPageText_withoutRightBoundary() local 913 () -> firstPage.selectContent(new SelectionBoundary(point), null)); in assertSelectPageText_withoutRightBoundary()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | layered_filter_fast_d1new.rscript | 414 // At this point, sharp->dilated_depth must be within the depth range of 444 // At this point, sharp->dilated_depth must be within the depth range of 479 // At this point, this pixel must be either active or close enough to an 496 // At this point, sharp->dilated_depth must be within the depth range of 533 // At this point, this pixel must be either active or close enough to an 549 // At this point, sharp->dilated_depth must be within the depth range of 596 // At this point, this pixel must be either active or close enough to an 643 // At this point, this pixel must be either active or close enough to an
|
D | layered_filter_fast_f32.rscript | 313 // At this point, sharp->dilated_depth must be within the depth range of 347 // At this point, this pixel must be either active or close enough to an 364 // At this point, sharp->dilated_depth must be within the depth range of 410 // At this point, this pixel must be either active or close enough to an
|
/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestAppPrebuilt/ |
D | README.md | 11 key. You will also need to point the test to use your local build.
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 281 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/ |
D | ItsSerializer.java | 106 private static Object serializePoint(Point point) throws org.json.JSONException { in serializePoint() argument 108 pointObj.put("x", point.x); in serializePoint() 109 pointObj.put("y", point.y); in serializePoint()
|