/cts/tests/tests/view/src/android/view/cts/ |
GestureDetectorTestUtil.java | 21 import android.test.TouchUtils; 35 TouchUtils.clickView(testcase, view); 36 TouchUtils.longClickView(testcase, view); 37 TouchUtils.scrollToBottom(testcase, activity, activity.getViewGroup()); 38 TouchUtils.touchAndCancelView(testcase, view); 52 TouchUtils.drag(testcase, fromX, toX, fromY, toY, stepCount); 64 TouchUtils.tapView(testcase, view); 65 TouchUtils.tapView(testcase, view);
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
GridTouchStackFromBottomTest.java | 20 import android.test.TouchUtils; 54 TouchUtils.scrollToBottom(this, mGridView); 71 TouchUtils.scrollToTop(this, mGridView); 88 TouchUtils.dragViewToTop(this, mGridView.getChildAt(mGridView.getChildCount() - 1), 2); 105 TouchUtils.dragViewToBottom(this, mGridView.getChildAt(0), 2);
|
GridTouchVerticalSpacingStackFromBottomTest.java | 23 import android.test.TouchUtils; 67 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, 89 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, 109 int distance = TouchUtils.dragViewBy(this, firstChild, 129 TouchUtils.dragQuarterScreenDown(this); 147 TouchUtils.dragQuarterScreenUp(this);
|
GridTouchVerticalSpacingTest.java | 22 import android.test.TouchUtils; 61 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, 78 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, 94 int distance = TouchUtils.dragViewToY(this, lastChild, Gravity.TOP | Gravity.LEFT, 113 TouchUtils.dragQuarterScreenUp(this); 132 TouchUtils.dragQuarterScreenDown(this);
|
GridTouchSetSelectionTest.java | 22 import android.test.TouchUtils; 55 TouchUtils.dragQuarterScreenDown(this); 56 TouchUtils.dragQuarterScreenUp(this);
|
GridTouchStackFromBottomManyTest.java | 21 import android.test.TouchUtils; 56 TouchUtils.scrollToTop(this, mGridView); 72 TouchUtils.scrollToBottom(this, mGridView);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
TouchModeFlexibleAsserts.java | 22 import android.test.TouchUtils; 40 TouchUtils.clickView(test, viewToTouch); 52 TouchUtils.tapView(test, viewToTouch);
|
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
FocusableInTouchModeClickTest.java | 22 import android.test.TouchUtils; 45 TouchUtils.clickView(this, getActivity().getButton2()); 51 TouchUtils.clickView(this, getActivity().getButton2()); 58 TouchUtils.touchAndCancelView(this, getActivity().getButton2());
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
ListTouchTest.java | 21 import android.test.TouchUtils; 59 TouchUtils.dragViewToBottom(this, firstChild); 77 TouchUtils.dragViewToTop(this, lastChild);
|
ListTouchManyTest.java | 22 import android.test.TouchUtils; 60 TouchUtils.scrollToTop(this, mListView); 78 TouchUtils.scrollToBottom(this, mListView); 109 TouchUtils.clickView(this, child); 137 TouchUtils.longClickView(this, child); 153 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, 170 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, 186 int distance = TouchUtils.dragViewToY(this, lastChild,
|
ListTouchBottomGravityManyTest.java | 22 import android.test.TouchUtils; 63 TouchUtils.scrollToTop(this, mListView); 83 TouchUtils.scrollToBottom(this, mListView); 105 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 127 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 147 int distance = TouchUtils.dragViewBy(this, firstChild,
|
ListSetSelectionTest.java | 22 import android.test.TouchUtils; 55 TouchUtils.dragQuarterScreenDown(this); 56 TouchUtils.dragQuarterScreenUp(this); 85 TouchUtils.dragQuarterScreenDown(this); 86 TouchUtils.dragQuarterScreenUp(this); 122 TouchUtils.dragQuarterScreenDown(this); 123 TouchUtils.dragQuarterScreenDown(this); 124 TouchUtils.dragQuarterScreenDown(this);
|
ListTouchBottomGravityTest.java | 21 import android.test.TouchUtils; 60 TouchUtils.dragViewToBottom(this, firstChild); 79 TouchUtils.dragViewToTop(this, lastChild);
|
ListGetSelectedViewTest.java | 22 import android.test.TouchUtils; 59 TouchUtils.clickView(this, last);
|
ListOfTouchablesTest.java | 28 import android.test.TouchUtils; 63 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, 79 int distance = TouchUtils.dragViewToY(this, lastChild,
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListManagedCursorTest.java | 26 import android.test.TouchUtils; 99 TouchUtils.dragQuarterScreenUp(this); 156 TouchUtils.dragQuarterScreenUp(this); 158 TouchUtils.dragQuarterScreenUp(this); 160 TouchUtils.dragQuarterScreenUp(this); 162 TouchUtils.dragQuarterScreenUp(this); 169 TouchUtils.clickView(this, mListView.getChildAt(mListView.getChildCount() - 1));
|
ListScrollListenerTest.java | 27 import android.test.TouchUtils; 91 TouchUtils.dragQuarterScreenUp(this); 92 TouchUtils.dragQuarterScreenUp(this);
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
RadioGroupPreCheckedTest.java | 22 import android.test.TouchUtils; 51 TouchUtils.clickView(this, radio);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
ListWithEditTextHeaderTest.java | 21 import android.test.TouchUtils; 53 TouchUtils.clickView(this, mListView.getChildAt(0)); 62 TouchUtils.clickView(this, mListView.getChildAt(0));
|
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 35 public class TouchUtils { 131 TouchUtils.dragQuarterScreenUp(test, activity); 171 TouchUtils.dragQuarterScreenDown(test, activity);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
DisabledLongpressTest.java | 22 import android.test.TouchUtils; 85 TouchUtils.longClickView(this, mSimpleView);
|
GlobalFocusChangeTest.java | 23 import android.test.TouchUtils; 68 TouchUtils.tapView(this, mLeft); 79 TouchUtils.tapView(this, mLeft);
|
LongpressTest.java | 22 import android.test.TouchUtils; 81 TouchUtils.longClickView(this, mSimpleView);
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridScrollListenerTest.java | 23 import android.test.TouchUtils; 96 TouchUtils.dragQuarterScreenUp(this); 97 TouchUtils.dragQuarterScreenUp(this);
|
/packages/apps/Calculator/tests/src/com/android/calculator2/ |
CalculatorHitSomeButtons.java | 33 import android.test.TouchUtils; 124 TouchUtils.clickView(this, view);
|