/cts/tests/tests/text/src/android/text/cts/ |
D | SelectionTest.java | 32 Selection.setSelection(builder, 3, 8); in testGetSelectionStart() 35 Selection.setSelection(builder, 3, 9); in testGetSelectionStart() 38 Selection.setSelection(builder, 5, 7); in testGetSelectionStart() 49 Selection.setSelection(builder, 0, 10); in testGetSelectionEnd() 52 Selection.setSelection(builder, 1, 8); in testGetSelectionEnd() 55 Selection.setSelection(builder, 2, 8); in testGetSelectionEnd() 67 Selection.setSelection(builder, 3, 6); in testSetSelection1() 71 Selection.setSelection(builder, 3, 7); in testSetSelection1() 75 Selection.setSelection(builder, 3, 7); in testSetSelection1() 79 Selection.setSelection(builder, 6, 2); in testSetSelection1() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | EditTextTest.java | 96 editText.setSelection(position); in testSetSelectionIndex() 101 editText.setSelection(position); in testSetSelectionIndex() 106 editText.setSelection(-1); in testSetSelectionIndex() 113 editText.setSelection(string.length() + 1); in testSetSelectionIndex() 127 editText.setSelection(start, end); in testSetSelectionStartstop() 133 editText.setSelection(start, end); in testSetSelectionStartstop() 139 editText.setSelection(start, end); in testSetSelectionStartstop() 144 editText.setSelection(-5, -1); in testSetSelectionStartstop() 151 editText.setSelection(5, string.length() + 1); in testSetSelectionStartstop() 184 editText.setSelection(start, end); in testExtendSelection() [all …]
|
D | AbsSpinnerTest.java | 86 absSpinner.setSelection(1, true); in testSetSelectionIntBoolean() 89 absSpinner.setSelection(absSpinner.getCount() - 1, false); in testSetSelectionIntBoolean() 109 absSpinner.setSelection(1); in testSetSelectionInt() 112 absSpinner.setSelection(absSpinner.getCount() - 1); in testSetSelectionInt() 134 absSpinner.setSelection(1); in testAccessAdapter() 225 absSpinner.setSelection(1, true); in testGetSelectedView() 246 absSpinner.setSelection(1); in testOnSaveAndRestoreInstanceState()
|
D | MultiAutoCompleteTextViewTest.java | 97 m.setSelection(0, c.length()); in setText() 171 multiAutoCompleteTextView.setSelection(0, 12); in testPerformFiltering() 190 multiAutoCompleteTextView.setSelection(0, text.length()); in testReplaceText()
|
D | AdapterViewTest.java | 369 mAdapterView.setSelection(expectedId); in testGetSelected() 376 mAdapterView.setSelection(expectedId); in testGetSelected() 382 mAdapterView.setSelection(expectedId); in testGetSelected()
|
D | TextViewTest.java | 249 Selection.setSelection((Editable) mTextView.getText(), in testAccessMovementMethod() 268 Selection.setSelection((Editable) mTextView.getText(), in testAccessMovementMethod() 526 Selection.setSelection((Spannable) mTextView.getText(), 0); in testSetSelectAllOnFocus() 548 Selection.setSelection((Spannable) mTextView.getText(), 0); in testSetSelectAllOnFocus() 1052 Selection.setSelection((Spannable) mTextView.getText(), 3); in testSetTextKeepState1() 1060 Selection.setSelection((Spannable) mTextView.getText(), shortString.length() + 1); in testSetTextKeepState1() 1068 Selection.setSelection((Spannable) mTextView.getText(), 1, 4); in testSetTextKeepState1() 1076 Selection.setSelection((Spannable) mTextView.getText(), 2, shortString.length() + 1); in testSetTextKeepState1() 1084 Selection.setSelection((Spannable) mTextView.getText(), in testSetTextKeepState1() 1161 Selection.setSelection((Spannable) mTextView.getText(), 3); in testSetText1() [all …]
|
D | ListViewTest.java | 459 mListView.setSelection(1); in testSetSelection() 500 mListView.setSelection(2); in testPerformItemClick() 553 mListView.setSelection(1); in testDispatchKeyEvent() 758 listView.setSelection(1); in testNoSelectableItems()
|
D | GridViewTest.java | 125 mGridView.setSelection(0); in testSetSelection() 128 mGridView.setSelection(-1); in testSetSelection() 131 mGridView.setSelection(mGridView.getCount()); in testSetSelection()
|
D | GalleryTest.java | 273 gallery.setSelection(0); in testDispatchSetPressed()
|
D | AbsListViewTest.java | 153 mListView.setSelection(i); in setListSelection() 571 listView.setSelection(2); in testGetContextMenuInfo()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | ArrowKeyMovementMethodTest.java | 189 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeUp() 202 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeUp() 226 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeUp() 239 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeUp() 273 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeDown() 286 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeDown() 310 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeDown() 323 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeDown() 333 Selection.setSelection(mEditable, END_OF_ALL_TEXT - 1); in testOnKeyDownWithKeyCodeDown() 358 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeLeft() [all …]
|
D | CharacterPickerDialogTest.java | 77 Selection.setSelection(text, 0, 0); in testOnItemClick() 87 Selection.setSelection(text, 2, 2); in testOnItemClick() 98 Selection.setSelection(text, 2, 2); in testOnItemClick()
|
D | LinkMovementMethodTest.java | 100 Selection.setSelection(spannable, 0, spannable.length()); in testOnTakeFocus() 113 Selection.setSelection(spannable, 0, spannable.length()); in testOnTakeFocus() 123 Selection.setSelection(spannable, 0, spannable.length()); in testOnTakeFocus() 151 Selection.setSelection(mSpannable, mSpannable.getSpanStart(mClickable0), in testOnKeyDown() 161 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0), in testOnKeyDown() 180 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0), in testOnKeyDown() 190 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0), in testOnKeyDown() 442 Selection.setSelection(spannable, 0, spannable.length()); in testInitialize()
|
D | TextKeyListenerTest.java | 187 Selection.setSelection((Editable) mTextView.getText(), 0, 0); in testPressKey() 219 Selection.setSelection((Editable) mTextView.getText(), 0, 0); in testOnKeyOther()
|
D | NumberKeyListenerTest.java | 135 Selection.setSelection((Editable) mTextView.getText(), 0, 0); in testPressKey()
|
D | QwertyKeyListenerTest.java | 140 Selection.setSelection(mTextView.getEditableText(), 0, 0); in prepareEmptyTextView()
|
D | MultiTapKeyListenerTest.java | 175 Selection.setSelection(mTextView.getEditableText(), 0, 0); in prepareEmptyTextView()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListUtil.java | 47 mListView.setSelection(pos); in setSelectedPosition()
|
D | ListScenario.java | 340 mListView.setSelection(mStartingSelectionPosition); in onCreate()
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
D | InputConnectionWrapperTest.java | 81 wrapper.setSelection(0, 10); in testInputConnectionWrapper() 215 public boolean setSelection(int start, int end) { in setSelection() method in InputConnectionWrapperTest.MockInputConnection
|
D | BaseInputConnectionTest.java | 143 mConnection.setSelection(0, 0); in testOpTextMethods() 168 mConnection.setSelection(end, end); in testOpTextMethods()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | SimpleReaderActivity.java | 70 spinner.setSelection(1); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 384 mResolutionSpinner.setSelection(0); in setUpCamera() 387 mFormatSpinner.setSelection(0); in setUpCamera()
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityEndToEndTest.java | 84 listView.setSelection(1); in testTypeViewSelectedAccessibilityEvent()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | PhotoCaptureActivity.java | 224 mResolutionSpinner.setSelection(mResolutionSpinnerIndex); in onResume()
|