Home
last modified time | relevance | path

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

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DColorSpaceTests.java72 point(0, 0), point(48, 0), point(32, 40), point(0, 40), point(0, 56) in testDrawDisplayP3()
86 point(0, 0), point(48, 0), point(32, 40), point(0, 40), point(0, 56) in testDrawDisplayP3Config565()
104 point(0, 0), point(48, 0), point(32, 40), point(0, 40), point(0, 56) in testDrawProPhotoRGB()
119 point(0, 0), point(48, 0), point(32, 40), point(0, 40), point(0, 56) in testDrawProPhotoRGBConfig565()
136 new Point[] { point(0, 0) }, in testDrawTranslucentAdobeRGB()
189 private static Point point(int x, int y) { in point() method in ColorSpaceTests
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java78 public static StrokeDescription pointerDown(PointF point) { in pointerDown() argument
79 return new StrokeDescription(path(point), 0, ViewConfiguration.getTapTimeout(), true); in pointerDown()
92 public static StrokeDescription click(PointF point) { in click() argument
93 return new StrokeDescription(path(point), 0, ViewConfiguration.getTapTimeout()); in click()
96 public static StrokeDescription longClick(PointF point) { in longClick() argument
97 return new StrokeDescription(path(point), 0, in longClick()
118 for (PointF point : rest) { in path()
119 path.lineTo(point.x, point.y); in path()
167 public static GestureDescription doubleTap(PointF point) { in doubleTap() argument
168 return multiTap(point, 2); in doubleTap()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DViewUnbufferedTest.java266 final Point point = getViewCenterOnScreen(mView); in testNormalTouch() local
267 sendPointerEvents(point.x, point.y, in testNormalTouch()
282 final Point point = getViewCenterOnScreen(mView); in testUnbufferedTouch() local
283 sendPointerEvents(point.x, point.y, in testUnbufferedTouch()
301 final Point point = getViewCenterOnScreen(mView); in testUnbufferedTouchByEvent() local
302 sendPointerEvents(point.x, point.y, in testUnbufferedTouchByEvent()
316 final Point point = getViewCenterOnScreen(mView); in testUnbufferedTouch_Reset() local
317 sendPointerEvents(point.x, point.y, in testUnbufferedTouch_Reset()
325 sendPointerEvents(point.x, point.y, in testUnbufferedTouch_Reset()
366 final Point point = getViewCenterOnScreen(mView); in testUnbufferedHover() local
[all …]
DVerifyInputEventTest.java157 final Point point = getViewCenterOnScreen(view); in testMotionEvent() local
160 point.x, point.y, 0 /*metaState*/); in testMotionEvent()
170 MotionEvent.ACTION_UP, point.x, point.y, 0 /*metaState*/); in testMotionEvent()
183 final Point point = getViewCenterOnScreen(view); in testMotionEventWithoutHmac() local
186 point.x, point.y, 0 /*metaState*/); in testMotionEventWithoutHmac()
194 point.x, point.y, 0 /*metaState*/); in testMotionEventWithoutHmac()
206 final Point point = getViewCenterOnScreen(view); in testTamperedMotionEvent() local
209 point.x, point.y, 0 /*metaState*/); in testTamperedMotionEvent()
219 MotionEvent.ACTION_UP, point.x, point.y, 0 /*metaState*/); in testTamperedMotionEvent()
261 final Point point = getViewCenterOnScreen(view); in testDeviceIdBecomesVirtualForInjectedMotions() local
[all …]
DSystemGestureExclusionRectsTest.java74 int[] point = new int[2]; in staticView()
75 v.getLocationInWindow(point); in staticView()
76 expected.left = point[0]; in staticView()
77 expected.top = point[1]; in staticView()
213 int[] point = new int[2]; in ignoreHiddenViewRects() local
214 v.getLocationInWindow(point); in ignoreHiddenViewRects()
217 offsetR.offsetTo(point[0], point[1]); in ignoreHiddenViewRects()
DTextureViewTest.java557 private int getPixel(Window window, Point point) { in getPixel() argument
562 int pixel = screenshot.getPixel(point.x, point.y); in getPixel()
567 private void waitForColor(Window window, Point point, int color) in waitForColor() argument
570 int pixel = getPixel(window, point); in waitForColor()
579 private int waitForChange(Window window, Point point, int color) in waitForChange() argument
582 int pixel = getPixel(window, point); in waitForChange()
DViewTest.java971 Point point = new Point(); in testGetGlobalVisibleRectPoint() local
973 assertTrue(view.getGlobalVisibleRect(rect, point)); in testGetGlobalVisibleRectPoint()
981 assertEquals(ptParent.x, point.x); in testGetGlobalVisibleRectPoint()
982 assertEquals(ptParent.y, point.y); in testGetGlobalVisibleRectPoint()
988 assertFalse(view.getGlobalVisibleRect(rect, point)); in testGetGlobalVisibleRectPoint()
994 assertFalse(view.getGlobalVisibleRect(rect, point)); in testGetGlobalVisibleRectPoint()
1004 assertTrue(view.getGlobalVisibleRect(rect, point)); in testGetGlobalVisibleRectPoint()
1009 assertEquals(ptParent.x, point.x); in testGetGlobalVisibleRectPoint()
1010 assertEquals(ptParent.y, point.y); in testGetGlobalVisibleRectPoint()
/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/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/graphics/src/android/graphics/cts/
DPointTest.java43 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()
DPointFTest.java43 Point point = new Point(10, 10); in testConstructor() local
44 mPointF = new PointF(point); in testConstructor()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
DREADME4 the native code, make NDK_BUILD variable to point the correct path in
/cts/apps/CtsVerifier/include/colorchecker/
Dimagetesthandler.h41 void drawPoint(const Vec2i &point, const Vec3i &color);
/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/tests/animation/src/android/animation/cts/
DValueAnimatorTest.java434 PointF point = (PointF) animation.getAnimatedValue(); in testSetObjectValues()
435 assertTrue(point.x >= 0f && point.x <= 1f); in testSetObjectValues()
436 assertTrue(point.y >= 0f && point.y <= 1f); in testSetObjectValues()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_fast_d1new.rscript414 // 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
Dlayered_filter_fast_f32.rscript313 // 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/
DREADME.md11 key. You will also need to point the test to use your local build.
/cts/tests/camera/utils/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.java106 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()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java367 for (MediaCodecInfo.VideoCapabilities.PerformancePoint point : pp) { in canDecode()
368 if (point.covers(target)) { in canDecode()
370 " covered by point " + point.toString()); in canDecode()
/cts/tests/tests/media/src/android/media/cts/
DVideoEncoderTest.java1032 private int alignedPointInRange(double point, int align, Range<Integer> range) { in alignedPointInRange() argument
1034 range.getLower() + point * (range.getUpper() - range.getLower()), align, range); in alignedPointInRange()
/cts/apps/CtsVerifier/
DNOTICE.txt7350 the Licensing Agreement from that point onwards.
13741 <li>If the code point U+FFFF is seen, it should be interpreted as