Home
last modified time | relevance | path

Searched refs:dx (Results 1 – 22 of 22) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDetectorTest.java213 final int dx = mStrokeLenPxX; in runGestureDetectionTestOnDisplay() local
225 testPath(p(-dx, +0), AccessibilityService.GESTURE_SWIPE_LEFT, displayId); in runGestureDetectionTestOnDisplay()
226 testPath(p(+dx, +0), AccessibilityService.GESTURE_SWIPE_RIGHT, displayId); in runGestureDetectionTestOnDisplay()
230 testPath(p(-dx, +0), p(+0, +0), AccessibilityService.GESTURE_SWIPE_LEFT_AND_RIGHT, 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()
237 testPath(p(+dx, +0), p(+0, +0), AccessibilityService.GESTURE_SWIPE_RIGHT_AND_LEFT, 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()
[all …]
/cts/tests/openglperf2/jni/graphics/
DVector2D.cpp47 float dx = mX - v.mX; in distance() local
49 return (float) sqrt(dx * dx + dy * dy); in distance()
/cts/tests/tests/graphics/src/android/graphics/cts/
DCanvasDrawGlyphsTest.java258 float dx = 10f; 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()
276 dx = 5f; 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.java108 double dx = Math.cos(angle) * radius; in testColorLong() local
112 int x = 50 + (int) (nx * dx); in testColorLong()
DSweepGradientTest.java282 double dx = Math.cos(angle) * radius; in testColorLong() local
284 int x = 50 + (int) (dx); in testColorLong()
/cts/tools/cfassembler/src/dxconvext/
DClassFileParser.java19 import com.android.dx.cf.direct.ClassPathOpener;
20 import com.android.dx.cf.direct.DirectClassFile;
21 import com.android.dx.cf.direct.StdAttributeFactory;
22 import com.android.dx.cf.iface.Member;
23 import com.android.dx.cf.iface.ParseObserver;
24 import com.android.dx.util.ByteArray;
25 import com.android.dx.util.FileUtils;
/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()
268 .setRelativeX(dx.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.java116 float dx = dx0 + (float) u / (float) getNumSubPixels(); in generateDiskKernelArray() local
120 float xf = x - kernelRadius + dx; in generateDiskKernelArray()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/
DKernelDataForRenderScriptF32.java115 float dx = dx0 + (float) u / (float) getNumSubPixels(); in generateDiskKernelArray() local
119 float xf = x - kernelRadius + dx; in generateDiskKernelArray()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DPaintTests.kt56 val dx = 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/camera/fov/
DDetermineFovActivity.java263 float dx = markerX / markerZ * focalLength; in drawContents() local
264 float projectedMarkerLeft = dstWidth / 2 - dx; in drawContents()
265 float projectedMarkerRight = dstWidth / 2 + dx; in drawContents()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DAutomator.java189 DexFile dx = DexFile in init() local
192 for (Enumeration<String> classNames = dx.entries(); classNames.hasMoreElements();) { in init()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java963 int dx, dy, dz; in onNewData() local
967 dx = (int)(Math.asin(mRTemp[8])*(180.0/Math.PI)); in onNewData()
973 d = dx; in onNewData()
978 valid = (Math.abs(dx) < 30); in onNewData()
982 valid = (Math.abs(dx) < 20 && Math.abs(dy) < 20); in onNewData()
/cts/apps/CtsVerifier/
Dproguard.flags43 -keep class com.android.dx.mockito.** { *; }
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DVideoEncoderTest.java1041 for (int dx = 0; dx <= xAlign; dx += xAlign) { in addExtremeSizesFor()
1043 Set<Size> bucket = (dx + dy == 0) ? minMax : nearMinMax; in addExtremeSizesFor()
1045 int width = getExtreme(mVideoCaps.getSupportedWidths(), x, dx); in addExtremeSizesFor()
1054 .intersect(0, wideScreen.getWidth()), x, dx); in addExtremeSizesFor()
1063 int width = getExtreme(mVideoCaps.getSupportedWidthsFor(height), x, dx); in addExtremeSizesFor()
1072 width = getExtreme(mVideoCaps.getSupportedWidthsFor(height), x, dx); in addExtremeSizesFor()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java5723 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { in onNestedPreScroll() argument
/cts/tests/tests/security/res/raw/
Dcve_2019_2245.ts9978 D��T��j�D���dx���`䱞{�K�]
Dcve_2018_13925.ts10078 D��T��j�D���dx���`䱞{�K�]
Dcve_2019_2244.ts10084 D��T��j�D���dx���`䱞{�K�]