/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 | 97 editText.setSelection(position); in testSetSelectionIndex() 102 editText.setSelection(position); in testSetSelectionIndex() 107 editText.setSelection(-1); in testSetSelectionIndex() 114 editText.setSelection(string.length() + 1); in testSetSelectionIndex() 128 editText.setSelection(start, end); in testSetSelectionStartstop() 134 editText.setSelection(start, end); in testSetSelectionStartstop() 140 editText.setSelection(start, end); in testSetSelectionStartstop() 145 editText.setSelection(-5, -1); in testSetSelectionStartstop() 152 editText.setSelection(5, string.length() + 1); in testSetSelectionStartstop() 185 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 | ListViewTest.java | 373 () -> mListView.setSelection(1)); in testSetSelection() 398 () -> mListView.setSelection(2)); in testPerformItemClick() 434 () -> mListView.setSelection(1)); in testDispatchKeyEvent() 605 listView.setSelection(1); in testNoSelectableItems() 647 mListView.setSelection(800); in testFullDetachHeaderViewOnRelayout() 706 mListView.setSelection(800); in testFullyDetachUnusedViewOnReLayout() 712 mListView.setSelection(0); in testFullyDetachUnusedViewOnReLayout()
|
D | TextViewTest.java | 257 Selection.setSelection((Editable) mTextView.getText(), in testAccessMovementMethod() 276 Selection.setSelection((Editable) mTextView.getText(), in testAccessMovementMethod() 534 Selection.setSelection((Spannable) mTextView.getText(), 0); in testSetSelectAllOnFocus() 556 Selection.setSelection((Spannable) mTextView.getText(), 0); in testSetSelectAllOnFocus() 1093 Selection.setSelection((Spannable) mTextView.getText(), 3); in testSetTextKeepState1() 1101 Selection.setSelection((Spannable) mTextView.getText(), shortString.length() + 1); in testSetTextKeepState1() 1109 Selection.setSelection((Spannable) mTextView.getText(), 1, 4); in testSetTextKeepState1() 1117 Selection.setSelection((Spannable) mTextView.getText(), 2, shortString.length() + 1); in testSetTextKeepState1() 1125 Selection.setSelection((Spannable) mTextView.getText(), in testSetTextKeepState1() 1202 Selection.setSelection((Spannable) mTextView.getText(), 3); in testSetText1() [all …]
|
D | GridViewTest.java | 127 mGridView.setSelection(0); in testSetSelection() 130 mGridView.setSelection(-1); in testSetSelection() 133 mGridView.setSelection(mGridView.getCount()); in testSetSelection() 607 mGridView.setSelection(800); in testFullyDetachUnusedViewOnReLayout() 613 mGridView.setSelection(0); in testFullyDetachUnusedViewOnReLayout()
|
D | ListPopupWindowTest.java | 523 () -> mPopupWindow.setSelection(1)); in testAccessSelection() 538 () -> mPopupWindow.setSelection(3)); in testAccessSelection() 618 () -> mPopupWindow.setSelection(1)); in testListSelectionWithDPad()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | ArrowKeyMovementMethodTest.java | 190 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeUp() 203 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeUp() 227 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeUp() 240 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeUp() 274 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeDown() 287 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeDown() 311 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeDown() 324 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeDown() 334 Selection.setSelection(mEditable, END_OF_ALL_TEXT - 1); in testOnKeyDownWithKeyCodeDown() 359 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); in testOnKeyDownWithKeyCodeLeft() [all …]
|
D | CharacterPickerDialogTest.java | 73 Selection.setSelection(text, 0, 0); in testOnItemClick() 83 Selection.setSelection(text, 2, 2); in testOnItemClick() 94 Selection.setSelection(text, 2, 2); in testOnItemClick()
|
D | LinkMovementMethodTest.java | 102 Selection.setSelection(spannable, 0, spannable.length()); in testOnTakeFocus() 115 Selection.setSelection(spannable, 0, spannable.length()); in testOnTakeFocus() 125 Selection.setSelection(spannable, 0, spannable.length()); in testOnTakeFocus() 153 Selection.setSelection(mSpannable, mSpannable.getSpanStart(mClickable0), in testOnKeyDown() 163 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0), in testOnKeyDown() 182 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0), in testOnKeyDown() 192 Selection.setSelection(mSpannable, mSpannable.getSpanEnd(mClickable0), in testOnKeyDown() 444 Selection.setSelection(spannable, 0, spannable.length()); in testInitialize()
|
D | TextKeyListenerTest.java | 193 Selection.setSelection((Editable) mTextView.getText(), 0, 0); in testPressKey() 225 Selection.setSelection((Editable) mTextView.getText(), 0, 0); in testOnKeyOther()
|
D | ForwardDeleteTest.java | 42 mTextView.setSelection(state.mSelectionStart, state.mSelectionEnd); in forwardDelete()
|
D | BackspaceTest.java | 42 mTextView.setSelection(state.mSelectionStart, state.mSelectionEnd); in backspace()
|
D | NumberKeyListenerTest.java | 141 Selection.setSelection((Editable) mTextView.getText(), 0, 0); in testPressKey()
|
D | QwertyKeyListenerTest.java | 137 Selection.setSelection(mTextView.getEditableText(), 0, 0); in prepareEmptyTextView()
|
D | MultiTapKeyListenerTest.java | 175 Selection.setSelection(mTextView.getEditableText(), 0, 0); in prepareEmptyTextView()
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/util/ |
D | InputConnectionTestUtils.java | 74 Selection.setSelection(builder, selectionStart, selectionEnd); in formatString()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListUtil.java | 47 mListView.setSelection(pos); in setSelectedPosition()
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
D | InputConnectionWrapperTest.java | 84 wrapper.setSelection(0, 10); in testInputConnectionWrapper() 231 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() 275 Selection.setSelection(editable, selectionStart, selectionEnd); in createDummyConnectionWithSelection()
|
/cts/tests/app/src/android/app/cts/ |
D | ListActivityTest.java | 76 mActivity.setSelection(2); in testSelection()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | SimpleReaderActivity.java | 71 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()
|