Home
last modified time | relevance | path

Searched refs:TouchUtils (Results 1 – 25 of 28) sorted by relevance

12

/aosp12/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListSetSelectionTest.java20 import android.test.TouchUtils;
57 TouchUtils.dragQuarterScreenDown(this); in testSetSelection()
58 TouchUtils.dragQuarterScreenUp(this); in testSetSelection()
87 TouchUtils.dragQuarterScreenDown(this); in testSetSelectionFromTop()
88 TouchUtils.dragQuarterScreenUp(this); in testSetSelectionFromTop()
124 TouchUtils.dragQuarterScreenDown(this); in testSetSelection0()
125 TouchUtils.dragQuarterScreenDown(this); in testSetSelection0()
126 TouchUtils.dragQuarterScreenDown(this); in testSetSelection0()
H A DListTouchManyTest.java20 import android.test.TouchUtils;
60 TouchUtils.scrollToTop(this, mListView); in testPullDown()
78 TouchUtils.scrollToBottom(this, mListView); in testPushUp()
109 TouchUtils.clickView(this, child); in testPress()
137 TouchUtils.longClickView(this, child); in testLongPress()
153 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testNoScroll()
170 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testShortScroll()
186 int distance = TouchUtils.dragViewToY(this, lastChild, in testLongScroll()
H A DListTouchBottomGravityManyTest.java20 import android.test.TouchUtils;
63 TouchUtils.scrollToTop(this, mListView); in testPullDown()
83 TouchUtils.scrollToBottom(this, mListView); in testPushUp()
105 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, in testNoScroll()
127 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, in testShortScroll()
147 int distance = TouchUtils.dragViewBy(this, firstChild, in testLongScroll()
H A DListTouchTest.java20 import android.test.TouchUtils;
59 TouchUtils.dragViewToBottom(this, firstChild); in testPullDown()
77 TouchUtils.dragViewToTop(this, lastChild); in testPushUp()
H A DListOfTouchablesTest.java20 import android.test.TouchUtils;
62 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testShortScroll()
78 int distance = TouchUtils.dragViewToY(this, lastChild, in testLongScroll()
H A DListTouchBottomGravityTest.java20 import android.test.TouchUtils;
60 TouchUtils.dragViewToBottom(this, firstChild); in testPullDown()
79 TouchUtils.dragViewToTop(this, lastChild); in testPushUp()
H A DListGetSelectedViewTest.java20 import android.test.TouchUtils;
59 TouchUtils.clickView(this, last); in testGetSelectedView()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A DGridTouchStackFromBottomTest.java20 import android.test.TouchUtils;
54 TouchUtils.scrollToBottom(this, mGridView); in testPushUp()
71 TouchUtils.scrollToTop(this, mGridView); in testPullDown()
88 TouchUtils.dragViewToTop(this, mGridView.getChildAt(mGridView.getChildCount() - 1), 2); in testPushUpFast()
105 TouchUtils.dragViewToBottom(this, mGridView.getChildAt(0), 2); in testPullDownFast()
H A DGridTouchVerticalSpacingTest.java20 import android.test.TouchUtils;
61 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testNoScroll()
78 TouchUtils.dragViewBy(this, lastChild, Gravity.TOP | Gravity.LEFT, in testShortScroll()
94 int distance = TouchUtils.dragViewToY(this, lastChild, Gravity.TOP | Gravity.LEFT, in testLongScroll()
113 TouchUtils.dragQuarterScreenUp(this); in testManyScrolls()
132 TouchUtils.dragQuarterScreenDown(this); in testManyScrolls()
H A DGridTouchVerticalSpacingStackFromBottomTest.java21 import android.test.TouchUtils;
68 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testNoScroll()
90 TouchUtils.dragViewBy(this, firstChild, Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, in testShortScroll()
112 int distance = TouchUtils.dragViewBy(this, firstChild, in testLongScroll()
131 TouchUtils.dragQuarterScreenDown(this); in testManyScrolls()
149 TouchUtils.dragQuarterScreenUp(this); in testManyScrolls()
H A DGridTouchSetSelectionTest.java20 import android.test.TouchUtils;
55 TouchUtils.dragQuarterScreenDown(this); in testSetSelection()
56 TouchUtils.dragQuarterScreenUp(this); in testSetSelection()
H A DGridTouchStackFromBottomManyTest.java20 import android.test.TouchUtils;
56 TouchUtils.scrollToTop(this, mGridView); in testScrollToTop()
72 TouchUtils.scrollToBottom(this, mGridView); in testScrollToBottom()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
H A DFocusableInTouchModeClickTest.java20 import android.test.TouchUtils;
45 TouchUtils.clickView(this, getActivity().getButton2()); in testClickGivesFocusNoClickFired()
51 TouchUtils.clickView(this, getActivity().getButton2()); in testClickGivesFocusNoClickFired()
58 TouchUtils.touchAndCancelView(this, getActivity().getButton2()); in testTapGivesFocusNoClickFired()
/aosp12/frameworks/base/core/tests/coretests/src/android/util/
H A DTouchModeFlexibleAsserts.java20 import android.test.TouchUtils;
40 TouchUtils.clickView(test, viewToTouch); in assertInTouchModeAfterClick()
52 TouchUtils.tapView(test, viewToTouch); in assertInTouchModeAfterTap()
/aosp12/frameworks/base/core/tests/coretests/src/android/view/
H A DGlobalFocusChangeTest.java20 import android.test.TouchUtils;
70 TouchUtils.tapView(this, mLeft); in testEnterTouchMode()
81 TouchUtils.tapView(this, mLeft); in testLeaveTouchMode()
H A DDisabledLongpressTest.java20 import android.test.TouchUtils;
83 TouchUtils.longClickView(this, mSimpleView); in testTouchLongClick()
H A DLongpressTest.java20 import android.test.TouchUtils;
79 TouchUtils.longClickView(this, mSimpleView); in testTouchLongClick()
H A DDisabledTest.java20 import android.test.TouchUtils;
93 TouchUtils.clickView(this, mDisabled); in testTouchClick()
H A DDrawableBgMinSizeTest.java21 import android.test.TouchUtils;
116 TouchUtils.tapView(this, mChangeBackgroundsButton); in doDiffBgMinimumSizeTest()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
H A DListWithEditTextHeaderTest.java20 import android.test.TouchUtils;
56 TouchUtils.clickView(this, mListView.getChildAt(0)); in testClickingHeaderKeepsFocus()
66 TouchUtils.clickView(this, mListView.getChildAt(0)); in testClickingHeaderWhenOtherItemHasFocusGivesHeaderFocus()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListScrollListenerTest.java21 import android.test.TouchUtils;
99 TouchUtils.dragQuarterScreenUp(this); in testTouchScrolling()
100 TouchUtils.dragQuarterScreenUp(this); in testTouchScrolling()
H A DListManagedCursorTest.java21 import android.test.TouchUtils;
82 TouchUtils.dragQuarterScreenUp(this, getActivity()); in testKeyScrollingToTouchMode()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridScrollListenerTest.java21 import android.test.TouchUtils;
103 TouchUtils.dragQuarterScreenUp(this); in testTouchScrolling()
104 TouchUtils.dragQuarterScreenUp(this); in testTouchScrolling()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DDescendantFocusabilityTest.java20 import android.test.TouchUtils;
114 TouchUtils.clickView(this, a.beforeDescendantsChild); in testBeforeDescendantsEnterTouchMode()
131 TouchUtils.clickView(this, a.afterDescendantsChild); in testAfterDescendantsEnterTouchMode()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/
H A DRadioGroupPreCheckedTest.java20 import android.test.TouchUtils;
52 TouchUtils.clickView(this, radio); in testRadioButtonChangePreChecked()

12