/cts/tests/tests/view/src/android/view/cts/ |
D | ScaleGestureDetectorTest.java | 117 float startY = 500.f; in testGetScaleFactor_whenGestureCrossesBackInsideSlopRadius_returns1() local 120 performTouch(MotionEvent.ACTION_DOWN, xValue, startY); in testGetScaleFactor_whenGestureCrossesBackInsideSlopRadius_returns1() 121 performTouch(MotionEvent.ACTION_UP, xValue, startY); in testGetScaleFactor_whenGestureCrossesBackInsideSlopRadius_returns1() 122 performTouch(MotionEvent.ACTION_DOWN, xValue, startY); in testGetScaleFactor_whenGestureCrossesBackInsideSlopRadius_returns1() 123 performTouch(MotionEvent.ACTION_MOVE, xValue, startY + slopRadius + 1); in testGetScaleFactor_whenGestureCrossesBackInsideSlopRadius_returns1() 125 performTouch(MotionEvent.ACTION_MOVE, xValue, startY + slopRadius - 1); in testGetScaleFactor_whenGestureCrossesBackInsideSlopRadius_returns1() 127 performTouch(MotionEvent.ACTION_MOVE, xValue, startY + slopRadius - 2); in testGetScaleFactor_whenGestureCrossesBackInsideSlopRadius_returns1()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | StylusHandwritingTest.java | 372 final int startY = editText.getHeight() / 2; in testHandwritingStartAndFinish() local 373 TestUtils.injectStylusDownEvent(editText, startX, startY); in testHandwritingStartAndFinish() 396 TestUtils.injectStylusUpEvent(editText, startX, startY); in testHandwritingStartAndFinish() 436 final int startY = editText.getHeight() / 2; in testStylusHoverInitInkWindow() local 437 TestUtils.injectStylusHoverEvents(editText, startX, startY); in testStylusHoverInitInkWindow() 523 final int startY = editText.getHeight() / 2; in testHandwritingStylusEvents() local 525 final int endY = startY; in testHandwritingStylusEvents() 527 injectedEvents.add(TestUtils.injectStylusDownEvent(editText, startX, startY)); in testHandwritingStylusEvents() 549 TestUtils.injectStylusMoveEvents(editText, startX, startY, endX, endY, in testHandwritingStylusEvents() 675 final int startY = editText.getHeight() / 2; in testHandwritingInitMultipleTimes() local [all …]
|
/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() 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() 268 private void moveStylusWithButtonPressed(int startX, int startY, int endX, int endY, in moveStylusWithButtonPressed() argument 274 sendMotionEvent(VirtualStylusMotionEvent.ACTION_DOWN, startX, startY, pressure, toolType); in moveStylusWithButtonPressed()
|
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() 230 startY + i * diffY / eventCount, VirtualTouchEvent.ACTION_MOVE); in sendContinuousEvents() 235 sendVirtualNavigationTouchEvent(startX + diffX, startY + diffY, in sendContinuousEvents()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | TestUtils.java | 456 int startY, int endX, int endY, int number) { in injectStylusMoveEvents() argument 461 final float incrementY = ((float) (endY - startY)) / (number - 1); in injectStylusMoveEvents() 468 float y = startY + incrementY * i + xy[1]; in injectStylusMoveEvents() 491 @NonNull UinputTouchDevice stylus, @NonNull View view, int startX, int startY, int endX, in injectStylusMoveEvents() argument 497 final float incrementY = ((float) (endY - startY)) / (number - 1); in injectStylusMoveEvents() 502 int y = (int) (startY + incrementY * i + xy[1]); in injectStylusMoveEvents() 639 int startY = bounds.bottom; in injectNavBarToHomeGestureEvents() local 646 final float incrementY = ((float) (endY - startY)) / (steps - 1); in injectNavBarToHomeGestureEvents() 652 float y = startY + incrementY * i; in injectNavBarToHomeGestureEvents()
|
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | RectChecker.java | 68 int startY = boundsToCheck.top + t.mTargetRect.top; in validatePlaneForTarget() local 83 for (int row = startY; row < endY; row++) { 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 222 mStartY = startY; 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/animation/src/android/animation/cts/ |
D | ObjectAnimatorTest.java | 125 float startY = mActivity.mStartY; in testOfFloat() local 127 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloat() 132 assertTrue(y >= startY); in testOfFloat() 154 float startY = mActivity.mStartY; in testOfFloatBase() local 156 ObjectAnimator animator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloatBase() 357 float startY = mActivity.mStartY; in testSetFloatValues() local 359 float[] values = {startY, endY}; in testSetFloatValues() 363 assertTrue(y >= startY); in testSetFloatValues() 401 float startY = mActivity.mStartY; in testClone() local 404 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testClone() [all …]
|
D | AnimatorTest.java | 156 float startY = mActivity.mStartY; in testEnd() local 158 Animator animator = ObjectAnimator.ofFloat(object, property, startY, endY); in testEnd()
|
D | ValueAnimatorTest.java | 480 float startY = mActivity.mStartY; in testEnd() local 482 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testEnd() 841 float startY = mActivity.mStartY; in getAnimator() local 843 ValueAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in getAnimator()
|
D | PropertyValuesHolderTest.java | 817 public void assertResults(float[] yArray,float startY, float endY) { in assertResults() argument 820 assertTrue(y >= startY); in assertResults()
|
D | AnimatorSetTest.java | 647 float startY = mActivity.mStartY; in getYAnimator() local 649 ObjectAnimator yAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in getYAnimator()
|
/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 98 float c1y = (eY + startY) / 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/misc/src/android/media/misc/cts/ |
D | PresentationSyncTest.java | 407 int startX, startY; in drawFrame() local 409 startY = (num / 16) * (mHeight / 4); in drawFrame() 421 GLES20.glScissor(startX, startY, mWidth / 16, mHeight / 4); in drawFrame()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | GestureDescriptionTest.java | 216 int startY = 100; in testStrokeDescriptionGetters_workAsExpected() local 221 path.moveTo(x, startY); in testStrokeDescriptionGetters_workAsExpected()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | EncodeDecodeTest.java | 1013 int startX, startY; in generateFrame() local 1019 startY = 0; in generateFrame() 1022 startY = mHeight / 2; in generateFrame() 1025 for (int y = startY + (mHeight/2) - 1; y >= startY; --y) { in generateFrame() 1164 int startX, startY; in generateSurfaceFrame() local 1168 startY = mHeight / 2; in generateSurfaceFrame() 1171 startY = 0; in generateSurfaceFrame() 1178 GLES20.glScissor(startX, startY, mWidth / 4, mHeight / 2); in generateSurfaceFrame()
|
D | DecodeEditEncodeTest.java | 525 int startX, startY; in generateSurfaceFrame() local 529 startY = mHeight / 2; in generateSurfaceFrame() 532 startY = 0; in generateSurfaceFrame() 539 GLES20.glScissor(startX, startY, mWidth / 4, mHeight / 2); in generateSurfaceFrame()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsTouchUtils.java | 574 final int startY = isDownwardsFlingGesture ? viewOnScreenXY[1] + viewHeight / 4 in emulateFlingGesture() local 584 x, startY, 0, amountY, durationMs, durationMs / 16, in emulateFlingGesture()
|
/cts/tests/tests/media/recorder/src/android/media/recorder/cts/ |
D | MediaRecorderTest.java | 896 int startX, startY; in generateSurfaceFrame() local 900 startY = height / 2; in generateSurfaceFrame() 903 startY = 0; in generateSurfaceFrame() 910 GLES20.glScissor(startX, startY, width / 4, height / 2); in generateSurfaceFrame()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 8879 int startY = start.y + viewOnScreenXY[1]; 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 | 1554 field public static final int startY = 16844049; // 0x1010511
|