/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | VirtualStylusTest.java | 119 final int startX = 50, startY = 50; in sendTouchEvents_withButtonPressed() local 122 moveStylusWithButtonPressed(startX, startY, endX, endY, 255 /* pressure */, buttonCode, in sendTouchEvents_withButtonPressed() 127 MotionEvent.ACTION_DOWN, startX, startY, toolType, buttonCode), in sendTouchEvents_withButtonPressed() 129 MotionEvent.ACTION_BUTTON_PRESS, startX, startY, toolType, buttonCode), in sendTouchEvents_withButtonPressed() 131 MotionEvent.ACTION_MOVE, startX, endY, toolType, buttonCode), in sendTouchEvents_withButtonPressed() 190 final int startX = 60, startY = 60; in sendHoverEvents_withButtonAlwaysPressed() local 193 moveStylusWithButtonPressed(startX, startY, endX, endY, 0 /* pressure */, buttonCode, in sendHoverEvents_withButtonAlwaysPressed() 198 MotionEvent.ACTION_HOVER_ENTER, startX, startY, toolType, buttonCode), in sendHoverEvents_withButtonAlwaysPressed() 200 MotionEvent.ACTION_HOVER_MOVE, startX, startY, toolType, buttonCode), in sendHoverEvents_withButtonAlwaysPressed() 202 MotionEvent.ACTION_HOVER_MOVE, startX, endY, toolType, buttonCode), in sendHoverEvents_withButtonAlwaysPressed() [all …]
|
D | VirtualNavigationTouchpadTest.java | 217 private void sendFlingEvents(float startX, float startY, float diffX, float diffY) { in sendFlingEvents() argument 218 sendContinuousEvents(startX, startY, diffX, diffY, 7 /* eventTimeGapMs */); in sendFlingEvents() 221 private void sendContinuousEvents(float startX, float startY, float diffX, float diffY, in sendContinuousEvents() argument 225 sendVirtualNavigationTouchEvent(startX, startY, VirtualTouchEvent.ACTION_DOWN); in sendContinuousEvents() 229 sendVirtualNavigationTouchEvent(startX + i * diffX / eventCount, in sendContinuousEvents() 235 sendVirtualNavigationTouchEvent(startX + diffX, startY + diffY, in sendContinuousEvents()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | StylusHandwritingTest.java | 371 final int startX = editText.getWidth() / 2; in testHandwritingStartAndFinish() local 373 TestUtils.injectStylusDownEvent(editText, startX, startY); in testHandwritingStartAndFinish() 396 TestUtils.injectStylusUpEvent(editText, startX, startY); in testHandwritingStartAndFinish() 435 final int startX = editText.getWidth() / 2; in testStylusHoverInitInkWindow() local 437 TestUtils.injectStylusHoverEvents(editText, startX, startY); in testStylusHoverInitInkWindow() 522 final int startX = editText.getWidth() / 2; in testHandwritingStylusEvents() local 524 final int endX = startX + 2 * touchSlop; in testHandwritingStylusEvents() 527 injectedEvents.add(TestUtils.injectStylusDownEvent(editText, startX, startY)); in testHandwritingStylusEvents() 549 TestUtils.injectStylusMoveEvents(editText, startX, startY, endX, endY, in testHandwritingStylusEvents() 674 final int startX = editText.getWidth() / 2; in testHandwritingInitMultipleTimes() local [all …]
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | TestUtils.java | 455 public static List<MotionEvent> injectStylusMoveEvents(@NonNull View view, int startX, in injectStylusMoveEvents() argument 460 final float incrementX = ((float) (endX - startX)) / (number - 1); in injectStylusMoveEvents() 467 float x = startX + incrementX * i + xy[0]; in injectStylusMoveEvents() 491 @NonNull UinputTouchDevice stylus, @NonNull View view, int startX, int startY, int endX, in injectStylusMoveEvents() argument 496 final float incrementX = ((float) (endX - startX)) / (number - 1); in injectStylusMoveEvents() 501 int x = (int) (startX + incrementX * i + xy[0]); in injectStylusMoveEvents() 640 int startX = bounds.centerX(); in injectNavBarToHomeGestureEvents() local 642 int endX = startX; in injectNavBarToHomeGestureEvents() 645 final float incrementX = ((float) (endX - startX)) / (steps - 1); in injectNavBarToHomeGestureEvents() 651 float x = startX + incrementX * i; in injectNavBarToHomeGestureEvents()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | PresentationSyncTest.java | 407 int startX, startY; in drawFrame() local 408 startX = (num % 16) * (mWidth / 16); in drawFrame() 412 startX = (mWidth - mWidth/16) - startX; in drawFrame() 421 GLES20.glScissor(startX, startY, mWidth / 16, mHeight / 4); in drawFrame()
|
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | RectChecker.java | 70 int startX = (boundsToCheck.left + t.mTargetRect.left) * PIXEL_STRIDE; in validatePlaneForTarget() local 84 buffer.position(rowStride * row + startX); in validatePlaneForTarget()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TouchHelper.java | 220 public long beginSwipe(int startX, int startY) { in beginSwipe() argument 221 mStartX = startX; in beginSwipe() 261 void quickSwipe(int startX, int startY, int endX, int endY, int steps) { in quickSwipe() argument 262 beginSwipe(startX, startY); in quickSwipe()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ArcMotionTest.java | 95 private static Path arcWithPoint(float startX, float startY, float endX, float endY, in arcWithPoint() argument 97 float c1x = (eX + startX) / 2; in arcWithPoint() 102 path.moveTo(startX, startY); in arcWithPoint()
|
D | ExplodeTest.java | 174 private void waitForMovement(View view, float startX, float startY) { in waitForMovement() argument 175 PollingCheck.waitFor(5000, () -> hasMoved(view, startX, startY)); in waitForMovement()
|
D | TransitionInflaterTest.java | 258 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | EncodeDecodeTest.java | 1013 int startX, startY; in generateFrame() local 1018 startX = frameIndex * (mWidth / 4); in generateFrame() 1021 startX = (7 - frameIndex) * (mWidth / 4); in generateFrame() 1026 for (int x = startX + (mWidth/4) - 1; x >= startX; --x) { in generateFrame() 1164 int startX, startY; in generateSurfaceFrame() local 1167 startX = frameIndex * (mWidth / 4); in generateSurfaceFrame() 1170 startX = (7 - frameIndex) * (mWidth / 4); in generateSurfaceFrame() 1178 GLES20.glScissor(startX, startY, mWidth / 4, mHeight / 2); in generateSurfaceFrame()
|
D | DecodeEditEncodeTest.java | 525 int startX, startY; in generateSurfaceFrame() local 528 startX = frameIndex * (mWidth / 4); in generateSurfaceFrame() 531 startX = (7 - frameIndex) * (mWidth / 4); in generateSurfaceFrame() 539 GLES20.glScissor(startX, startY, mWidth / 4, mHeight / 2); in generateSurfaceFrame()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | EncodeDecodeAccuracyTest.java | 418 int startX = i * mColorBarWidth; in generateSurfaceFrame() local 419 int endX = Math.min(startX + mColorBarWidth, mEncCfgParams.mWidth); in generateSurfaceFrame() 420 GLES20.glScissor(startX, 0, endX, mEncCfgParams.mHeight); in generateSurfaceFrame()
|
/cts/tests/tests/media/recorder/src/android/media/recorder/cts/ |
D | MediaRecorderTest.java | 896 int startX, startY; in generateSurfaceFrame() local 899 startX = frameIndex * (width / 4); in generateSurfaceFrame() 902 startX = (7 - frameIndex) * (width / 4); in generateSurfaceFrame() 910 GLES20.glScissor(startX, startY, width / 4, height / 2); in generateSurfaceFrame()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | AnimatorSetTest.java | 635 float startX = mActivity.mStartX; in getXAnimator() local 637 ObjectAnimator xAnimator = ObjectAnimator.ofFloat(object, propertyX, startX, endX); in getXAnimator()
|
/cts/tools/vm-tests-tf/lib/ |
D | junit.jar | META-INF/
META-INF/MANIFEST.MF
junit/
junit/awtui/
junit/ ... |
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 8878 int startX = start.x + viewOnScreenXY[0]; in testSmartSelection_dragSelection() local 8884 mInstrumentation, mActivityRule, startX, startY, offsetX, 0 /* offsetY */); in testSmartSelection_dragSelection()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 1553 field public static final int startX = 16844048; // 0x1010510
|