/cts/tests/tests/text/src/android/text/method/cts/ |
D | KeyListenerTestCase.java | 56 private CtsKeyEventUtil mCtsKeyEventUtil; field in KeyListenerTestCase 73 mCtsKeyEventUtil = new CtsKeyEventUtil(mContext); in setup() 134 mCtsKeyEventUtil.sendKeys(mInstrumentation, targetView, keys); in sendKeys() 138 mCtsKeyEventUtil.sendKeys(mInstrumentation, targetView, keysSequence); in sendKeys() 142 mCtsKeyEventUtil.sendKey(mInstrumentation, targetView, event); in sendKey() 146 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, targetView, key); in sendKeyDownUp() 151 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, targetView, keyCodeToSend, in sendKeyWhileHoldingModifier() 156 mCtsKeyEventUtil.sendString(mInstrumentation, targetView, text); in sendString()
|
D | PasswordTransformationMethodTest.java | 88 private CtsKeyEventUtil mCtsKeyEventUtil = field in PasswordTransformationMethodTest 194 mCtsKeyEventUtil.sendKeys(mInstrumentation, mEditText, in testTextChangedCallBacks() 198 mCtsKeyEventUtil.sendKeys(mInstrumentation, mEditText, "H E 2*L O"); in testTextChangedCallBacks()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | BackwardNavigationTest.java | 53 private CtsKeyEventUtil mCtsKeyEventUtil; field in BackwardNavigationTest 72 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in setUp() 99 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mRoot, KeyEvent.KEYCODE_TAB); in testBackwardNavigation() 110 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, mRoot, in testBackwardNavigation()
|
D | ExpandableListViewWithHeadersTest.java | 49 private CtsKeyEventUtil mCtsKeyEventUtil; field in ExpandableListViewWithHeadersTest 67 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in setup() 85 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandOnFirstPosition() 98 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandOnFirstGroup()
|
D | ExpandableListViewBasicTest.java | 54 private CtsKeyEventUtil mCtsKeyEventUtil; field in ExpandableListViewBasicTest 73 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in setup() 98 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in expandGroup() 116 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testCollapseGroup() 128 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandedGroupMovement()
|
D | DatePickerTest.java | 72 private CtsKeyEventUtil mCtsKeyEventUtil; field in DatePickerTest 87 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in setUp() 376 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mDatePickerCalendarMode, in testEnterKey() 378 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mDatePickerCalendarMode, in testEnterKey() 380 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mDatePickerCalendarMode, in testEnterKey() 382 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mDatePickerCalendarMode, in testEnterKey() 388 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mDatePickerCalendarMode, in testEnterKey() 390 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mDatePickerCalendarMode, in testEnterKey() 396 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mDatePickerCalendarMode, in testEnterKey() 398 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mDatePickerCalendarMode, in testEnterKey()
|
D | TimePickerTest.java | 72 private CtsKeyEventUtil mCtsKeyEventUtil; field in TimePickerTest 90 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in setup() 477 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, mTimePicker, in testKeyboardInputModeClockAmPm() 484 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, mTimePicker, in testKeyboardInputModeClockAmPm() 486 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, mTimePicker, in testKeyboardInputModeClockAmPm() 498 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, mTimePicker, in testKeyboardInputModeClockAmPm() 539 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, mTimePicker, in testKeyboardInputModeClock24H() 551 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, mTimePicker, in testKeyboardInputModeClock24H() 638 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, mTimePicker, in testKeyboardInputModeSpinnerAmPm() 645 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, mTimePicker, in testKeyboardInputModeSpinnerAmPm() [all …]
|
D | DialerFilterTest.java | 65 private CtsKeyEventUtil mCtsKeyEventUtil; field in DialerFilterTest 81 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in setup() 117 mCtsKeyEventUtil.sendString(mInstrumentation, mDialerFilter, "123"); in testOnKeyUpDown() 131 mCtsKeyEventUtil.sendString(mInstrumentation, mDialerFilter, "234"); in testOnKeyUpDown() 134 mCtsKeyEventUtil.sendString(mInstrumentation, mDialerFilter, "adg"); in testOnKeyUpDown() 147 mCtsKeyEventUtil.sendString(mInstrumentation, mDialerFilter, "234"); in testOnKeyUpDown() 150 mCtsKeyEventUtil.sendString(mInstrumentation, mDialerFilter, "adg"); in testOnKeyUpDown() 160 mCtsKeyEventUtil.sendString(mInstrumentation, mDialerFilter, "123"); in testOnKeyUpDown()
|
D | SearchView_CursorTest.java | 72 private CtsKeyEventUtil mCtsKeyEventUtil; field in SearchView_CursorTest 166 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in setup() 291 mCtsKeyEventUtil.sendKeys(mInstrumentation, mSearchView, KeyEvent.KEYCODE_DPAD_DOWN, in testSuggestionEnterKey() 304 mCtsKeyEventUtil.sendKeys(mInstrumentation, mSearchView, KeyEvent.KEYCODE_DPAD_DOWN, in testSuggestionEnterKey()
|
D | SearchViewTest.java | 66 private CtsKeyEventUtil mCtsKeyEventUtil; field in SearchViewTest 81 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in setup() 311 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mSearchView, KeyEvent.KEYCODE_ENTER); in testEnterKey() 322 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mSearchView, in testEnterKey()
|
D | ExpandableListTester.java | 40 private CtsKeyEventUtil mCtsKeyEventUtil; field in ExpandableListTester 47 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in ExpandableListTester() 61 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in expandGroup()
|
D | ListPopupWindowTest.java | 88 private CtsKeyEventUtil mCtsKeyEventUtil; field in ListPopupWindowTest 125 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in setup() 790 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, listView, KeyEvent.KEYCODE_DPAD_DOWN); in testListSelectionWithDPad() 800 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, listView, KeyEvent.KEYCODE_DPAD_UP); in testListSelectionWithDPad() 810 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, listView, KeyEvent.KEYCODE_DPAD_UP); in testListSelectionWithDPad() 820 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, listView, KeyEvent.KEYCODE_ENTER); in testListSelectionWithDPad() 860 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, listView, KeyEvent.KEYCODE_DPAD_DOWN); in testListSelectionWithDPadEnter() 870 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, listView, KeyEvent.KEYCODE_DPAD_UP); in testListSelectionWithDPadEnter() 880 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, listView, KeyEvent.KEYCODE_DPAD_UP); in testListSelectionWithDPadEnter() 890 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, listView, KeyEvent.KEYCODE_NUMPAD_ENTER); in testListSelectionWithDPadEnter()
|
D | NumberPickerTest.java | 91 private CtsKeyEventUtil mCtsKeyEventUtil; field in NumberPickerTest 118 mCtsKeyEventUtil = new CtsKeyEventUtil(targetContext); in setup() 591 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mNumberPicker, KeyEvent.KEYCODE_ENTER); in testEnterKey() 610 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mNumberPicker, in testEnterKey()
|
D | GridViewTest.java | 87 private CtsKeyEventUtil mCtsKeyEventUtil; field in GridViewTest 104 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in setup() 612 mCtsKeyEventUtil.sendKeys(mInstrumentation, mGridView, KeyEvent.KEYCODE_DPAD_DOWN); in testFullyDetachUnusedViewOnScrollForFocus() 618 mCtsKeyEventUtil.sendKeys(mInstrumentation, mGridView, KeyEvent.KEYCODE_DPAD_UP); in testFullyDetachUnusedViewOnScrollForFocus()
|
D | EditTextTest.java | 90 private CtsKeyEventUtil mCtsKeyEventUtil; field in EditTextTest 108 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in setup() 556 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mEditText1, KeyEvent.KEYCODE_ENTER); in testEnterKey() 561 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mEditText1, KeyEvent.KEYCODE_NUMPAD_ENTER); in testEnterKey()
|
D | AbsListViewTest.java | 134 private CtsKeyEventUtil mCtsKeyEventUtil; field in AbsListViewTest 148 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in setup() 1319 mCtsKeyEventUtil.sendKey(mInstrumentation, listView, event); in testEnterKey() 1329 mCtsKeyEventUtil.sendKey(mInstrumentation, listView, event); in testEnterKey()
|
D | ListViewTest.java | 134 private CtsKeyEventUtil mCtsKeyEventUtil; field in ListViewTest 164 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in setup() 775 mCtsKeyEventUtil.sendKeys(mInstrumentation, mListView, KeyEvent.KEYCODE_DPAD_DOWN); in testFullDetachHeaderViewOnScrollForFocus() 837 mCtsKeyEventUtil.sendKeys(mInstrumentation, mListView, KeyEvent.KEYCODE_DPAD_DOWN); in testFullyDetachUnusedViewOnScrollForFocus() 843 mCtsKeyEventUtil.sendKeys(mInstrumentation, mListView, KeyEvent.KEYCODE_DPAD_UP); in testFullyDetachUnusedViewOnScrollForFocus()
|
D | TextViewTest.java | 205 private CtsKeyEventUtil mCtsKeyEventUtil; field in TextViewTest 247 mCtsKeyEventUtil = new CtsKeyEventUtil(mInstrumentation.getTargetContext()); in setup() 2497 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, mTextView, in testCopyAndPaste_byCtrlInsert() 2506 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, mTextView, in testCopyAndPaste_byCtrlInsert() 2595 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, mTextView, in testCutAndPaste_byShiftDelete() 2605 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, mTextView, in testCutAndPaste_byShiftDelete() 3121 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mTextView, KeyEvent.KEYCODE_DPAD_UP); in testKeyNavigation() 3136 mCtsKeyEventUtil.sendKeyDownUp(mInstrumentation, mTextView, KeyEvent.KEYCODE_TAB); in testKeyNavigation() 3145 mCtsKeyEventUtil.sendKey(instrumentation, targetView, event); in sendSourceKeyDownUp() 3148 mCtsKeyEventUtil.sendKey(instrumentation, targetView, event); in sendSourceKeyDownUp() [all …]
|