Home
last modified time | relevance | path

Searched refs:endY (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DVirtualStylusTest.java120 final int endX = 60, endY = 60; in sendTouchEvents_withButtonPressed() local
122 moveStylusWithButtonPressed(startX, startY, endX, endY, 255 /* pressure */, buttonCode, in sendTouchEvents_withButtonPressed()
131 MotionEvent.ACTION_MOVE, startX, endY, toolType, buttonCode), in sendTouchEvents_withButtonPressed()
133 MotionEvent.ACTION_MOVE, endX, endY, toolType, buttonCode), in sendTouchEvents_withButtonPressed()
135 MotionEvent.ACTION_BUTTON_RELEASE, endX, endY, toolType), in sendTouchEvents_withButtonPressed()
137 MotionEvent.ACTION_UP, endX, endY, toolType))); in sendTouchEvents_withButtonPressed()
191 final int endX = 50, endY = 50; in sendHoverEvents_withButtonAlwaysPressed() local
193 moveStylusWithButtonPressed(startX, startY, endX, endY, 0 /* pressure */, buttonCode, in sendHoverEvents_withButtonAlwaysPressed()
202 MotionEvent.ACTION_HOVER_MOVE, startX, endY, toolType, buttonCode), in sendHoverEvents_withButtonAlwaysPressed()
204 MotionEvent.ACTION_HOVER_MOVE, endX, endY, toolType, buttonCode), in sendHoverEvents_withButtonAlwaysPressed()
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DStylusHandwritingTest.java525 final int endY = startY; in testHandwritingStylusEvents() local
549 TestUtils.injectStylusMoveEvents(editText, startX, startY, endX, endY, in testHandwritingStylusEvents()
552 injectedEvents.add(TestUtils.injectStylusUpEvent(editText, endX, endY)); in testHandwritingStylusEvents()
677 final int endY = startY; in testHandwritingInitMultipleTimes() local
921 final int endY = unfocusedEditText.getHeight() + 2 * touchSlop; in testHandwriting_unfocusedEditText() local
926 endX, endY, number); in testHandwriting_unfocusedEditText()
943 TestUtils.injectStylusUpEvent(unfocusedEditText, endX, endY); in testHandwriting_unfocusedEditText()
982 final int endY = unfocusedEditText.getHeight() + 2 * touchSlop; in testHandwriting_unfocusedEditText_password() local
987 endX, endY, number); in testHandwriting_unfocusedEditText_password()
999 TestUtils.injectStylusUpEvent(unfocusedEditText, endX, endY); in testHandwriting_unfocusedEditText_password()
[all …]
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DRectChecker.java69 int endY = t.mTargetRect.bottom; in validatePlaneForTarget() local
83 for (int row = startY; row < endY; row++) { in validatePlaneForTarget()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTouchHelper.java229 public void continueSwipe(int endX, int endY, int steps) { in continueSwipe() argument
234 mEndY = endY; in continueSwipe()
261 void quickSwipe(int startX, int startY, int endX, int endY, int steps) { in quickSwipe() argument
263 continueSwipe(endX, endY, steps); in quickSwipe()
/cts/tests/tests/animation/src/android/animation/cts/
DObjectAnimatorTest.java126 float endY = mActivity.mStartY + mActivity.mDeltaY; in testOfFloat() local
127 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloat()
133 assertTrue(y <= endY); in testOfFloat()
155 float endY = mActivity.mStartY + mActivity.mDeltaY; in testOfFloatBase() local
156 ObjectAnimator animator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloatBase()
358 float endY = mActivity.mStartY + mActivity.mDeltaY; in testSetFloatValues() local
359 float[] values = {startY, endY}; in testSetFloatValues()
364 assertTrue(y <= endY); in testSetFloatValues()
402 float endY = mActivity.mStartY + mActivity.mDeltaY; in testClone() local
404 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testClone()
[all …]
DAnimatorTest.java157 float endY = mActivity.mStartY + mActivity.mDeltaY; in testEnd() local
158 Animator animator = ObjectAnimator.ofFloat(object, property, startY, endY); in testEnd()
167 assertEquals(y, endY, 0.0f); in testEnd()
DValueAnimatorTest.java481 float endY = mActivity.mStartY + mActivity.mDeltaY; in testEnd() local
482 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testEnd()
491 assertEquals(y, endY, 0.0f); in testEnd()
842 float endY = mActivity.mStartY + mActivity.mDeltaY; in getAnimator() local
843 ValueAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in getAnimator()
DPropertyValuesHolderTest.java817 public void assertResults(float[] yArray,float startY, float endY) { in assertResults() argument
821 assertTrue(y <= endY); in assertResults()
DAnimatorSetTest.java648 float endY = mActivity.mStartY + mActivity.mDeltaY; in getYAnimator() local
649 ObjectAnimator yAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in getYAnimator()
/cts/tests/tests/transition/src/android/transition/cts/
DArcMotionTest.java95 private static Path arcWithPoint(float startX, float startY, float endX, float endY, in arcWithPoint() argument
100 float c2y = (eY + endY) / 2; in arcWithPoint()
103 path.cubicTo(c1x, c1y, c2x, c2y, endX, endY); in arcWithPoint()
DTransitionInflaterTest.java258 public Path getPath(float startX, float startY, float endX, float endY) { in getPath() argument
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DTestUtils.java456 int startY, int endX, int endY, int number) { in injectStylusMoveEvents() argument
461 final float incrementY = ((float) (endY - startY)) / (number - 1); in injectStylusMoveEvents()
492 int endY, int number) { in injectStylusMoveEvents() argument
497 final float incrementY = ((float) (endY - startY)) / (number - 1); in injectStylusMoveEvents()
641 int endY = bounds.bottom - bounds.height() / 3; // move a third of the screen up in injectNavBarToHomeGestureEvents() local
646 final float incrementY = ((float) (endY - startY)) / (steps - 1); in injectNavBarToHomeGestureEvents()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DGestureDescriptionTest.java217 int endY = 150; in testStrokeDescriptionGetters_workAsExpected() local
222 path.lineTo(x, endY); in testStrokeDescriptionGetters_workAsExpected()
/cts/tests/tests/widget/src/android/widget/cts/
DListViewTest.java1575 int endY = screenY + dragY; in executeWhileDragging() local
1584 endY, in executeWhileDragging()
1596 endY in executeWhileDragging()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt771 field public static final int endY = 16844051; // 0x1010513