Home
last modified time | relevance | path

Searched refs:dy (Results 1 – 19 of 19) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDetectorTest.java214 final int dy = mStrokeLenPxY; in runGestureDetectionTestOnDisplay() local
227 testPath(p(+0, -dy), AccessibilityService.GESTURE_SWIPE_UP, displayId); in runGestureDetectionTestOnDisplay()
228 testPath(p(+0, +dy), AccessibilityService.GESTURE_SWIPE_DOWN, displayId); in runGestureDetectionTestOnDisplay()
232 testPath(p(-dx, +0), p(-dx, -dy), AccessibilityService.GESTURE_SWIPE_LEFT_AND_UP, in runGestureDetectionTestOnDisplay()
234 testPath(p(-dx, +0), p(-dx, +dy), AccessibilityService.GESTURE_SWIPE_LEFT_AND_DOWN, in runGestureDetectionTestOnDisplay()
239 testPath(p(+dx, +0), p(+dx, -dy), AccessibilityService.GESTURE_SWIPE_RIGHT_AND_UP, in runGestureDetectionTestOnDisplay()
241 testPath(p(+dx, +0), p(+dx, +dy), AccessibilityService.GESTURE_SWIPE_RIGHT_AND_DOWN, in runGestureDetectionTestOnDisplay()
244 testPath(p(+0, -dy), p(-dx, -dy), AccessibilityService.GESTURE_SWIPE_UP_AND_LEFT, in runGestureDetectionTestOnDisplay()
246 testPath(p(+0, -dy), p(+dx, -dy), AccessibilityService.GESTURE_SWIPE_UP_AND_RIGHT, in runGestureDetectionTestOnDisplay()
248 testPath(p(+0, -dy), p(+0, +0), AccessibilityService.GESTURE_SWIPE_UP_AND_DOWN, in runGestureDetectionTestOnDisplay()
[all …]
/cts/tests/openglperf2/jni/graphics/
DVector2D.cpp48 float dy = mY - v.mY; in distance() local
49 return (float) sqrt(dx * dx + dy * dy); in distance()
/cts/tests/tests/graphics/src/android/graphics/cts/
DCanvasDrawGlyphsTest.java259 float dy = 1f; in drawGlyphs_positionDifference() local
265 DRAW_ORIGIN_X + dx, DRAW_ORIGIN_Y + dy, in drawGlyphs_positionDifference()
266 DRAW_ORIGIN_X + dx * 2, DRAW_ORIGIN_Y + dy * 2, in drawGlyphs_positionDifference()
267 DRAW_ORIGIN_X + dx * 3, DRAW_ORIGIN_Y + dy * 3, in drawGlyphs_positionDifference()
268 DRAW_ORIGIN_X + dx * 4, DRAW_ORIGIN_Y + dy * 4, in drawGlyphs_positionDifference()
277 dy = 2f; in drawGlyphs_positionDifference()
283 DRAW_ORIGIN_X + dx, DRAW_ORIGIN_Y + dy, in drawGlyphs_positionDifference()
284 DRAW_ORIGIN_X + dx * 2, DRAW_ORIGIN_Y + dy * 2, in drawGlyphs_positionDifference()
285 DRAW_ORIGIN_X + dx * 3, DRAW_ORIGIN_Y + dy * 3, in drawGlyphs_positionDifference()
286 DRAW_ORIGIN_X + dx * 4, DRAW_ORIGIN_Y + dy * 4, in drawGlyphs_positionDifference()
DRadialGradientTest.java109 double dy = Math.sin(angle) * radius; in testColorLong() local
113 int y = 50 + (int) (ny * dy); in testColorLong()
DSweepGradientTest.java283 double dy = Math.sin(angle) * radius; in testColorLong() local
285 int y = 50 + (int) (dy); in testColorLong()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt36 class Offset(val dx: Float, val dy: Float) { constant in android.uirendering.cts.testinfrastructure.Offset
39 dx == other.dx && dy == other.dy in equals()
43 override fun hashCode(): Int = dx.hashCode() xor dy.hashCode() in hashCode()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt35 class Offset(val dx: Float, val dy: Float) { constant in android.uirendering.cts.testinfrastructure.Offset
38 dx == other.dx && dy == other.dy in equals()
42 override fun hashCode(): Int = dx.hashCode() xor dy.hashCode() in hashCode()
/cts/tests/input/src/android/input/cts/
DPointerIconTest.kt264 override fun hoverMove(dx: Int, dy: Int) { in hoverMove()
269 .setRelativeY(dy.toFloat()) in hoverMove()
305 override fun hoverMove(dx: Int, dy: Int) { in toString()
306 pointer.offset(dx, dy) in toString()
331 abstract fun hoverMove(dx: Int, dy: Int) in setUp()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/
DKernelDataForRenderScriptd1new.java114 float dy = dy0 + (float) v / (float) getNumSubPixels(); in generateDiskKernelArray() local
118 float yf = y - kernelRadius + dy; in generateDiskKernelArray()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/
DKernelDataForRenderScriptF32.java113 float dy = dy0 + (float) v / (float) getNumSubPixels(); in generateDiskKernelArray() local
117 float yf = y - kernelRadius + dy; in generateDiskKernelArray()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DPaintTests.kt57 val dy = 5f in <lambda>() constant
62 canvas.translate(dx, dy) in <lambda>()
69 paint.setShadowLayer(radius, dx, dy, shadowColor) in <lambda>()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java963 int dx, dy, dz; in onNewData() local
968 dy = (int)(Math.asin(mRTemp[9])*(180.0/Math.PI)); in onNewData()
974 valid = (Math.abs(dy) < 30); in onNewData()
977 d = dy; in onNewData()
982 valid = (Math.abs(dx) < 20 && Math.abs(dy) < 20); in onNewData()
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DVideoEncoderTest.java1042 for (int dy = 0; dy <= yAlign; dy += yAlign) { in addExtremeSizesFor()
1043 Set<Size> bucket = (dx + dy == 0) ? minMax : nearMinMax; in addExtremeSizesFor()
1046 int height = getExtreme(mVideoCaps.getSupportedHeightsFor(width), y, dy); in addExtremeSizesFor()
1062 int height = getExtreme(mVideoCaps.getSupportedHeights(), y, dy); in addExtremeSizesFor()
1071 .intersect(0, wideScreen.getHeight()), y, dy); in addExtremeSizesFor()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tests/tests/security/res/raw/
Ddrm_uaf.dm251 …W@<��8~��*؛�{�Ѥ�Kf'T.���)��<H�}��ݿ����e�?i�%1ڮ�z�#���<��EV6@hU��dy��/��>1c����� <y3x8…
Dcve_2019_2245.ts2427 o�[m��p����V|��%���l�mS]6�P�wE =�_6��C�&�B�$ dc厶)���Q9�[5GW�TMg��MP?§:dy�iE�t���#�
Dcve_2018_13925.ts2428 o�[m��p����V|��%���l�mS]6�P�wE =�_6��C�&�B�$ dc厶)���Q9�[5GW�TMg��MP?§:dy�iE�t���#�
Dcve_2019_2244.ts2428 o�[m��p����V|��%���l�mS]6�P�wE =�_6��C�&�B�$ dc厶)���Q9�[5GW�TMg��MP?§:dy�iE�t���#�
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java5723 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { in onNestedPreScroll() argument