/frameworks/base/core/java/android/text/ |
D | Selection.java | 78 public static void setSelection(Spannable text, int start, int stop) { in setSelection() method in Selection 79 setSelection(text, start, stop, -1); in setSelection() 86 private static void setSelection(Spannable text, int start, int stop, int memory) { in setSelection() method in Selection 153 public static final void setSelection(Spannable text, int index) { in setSelection() method in Selection 154 setSelection(text, index, index); in setSelection() 161 setSelection(text, 0, text.length()); in selectAll() 207 setSelection(text, min); in moveUp() 222 setSelection(text, 0); in moveUp() 260 setSelection(text, move, move, newMemory); in setSelectionAndMemory() 278 setSelection(text, max); in moveDown() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberWatcherTest.java | 42 Selection.setSelection(number, number.length()); in testAppendChars() 55 Selection.setSelection(number, number.length()); in testAppendChars() 79 Selection.setSelection(number, number.length()); in testRemoveLastChars() 90 Selection.setSelection(number, number.length()); in testRemoveLastChars() 108 Selection.setSelection(number, 4); // make the cursor at right of 1 in testInsertChars() 120 Selection.setSelection(number, 9); // the cursor is at the right of '7'. in testInsertChars() 139 Selection.setSelection(number, number.length()); // make the cursor at right of 4 in testStopFormatting() 152 Selection.setSelection(number, 5); // make the cursor at right of 1 in testStopFormatting() 165 Selection.setSelection(number, 9); // make the cursor at right of - in testStopFormatting() 183 Selection.setSelection(number, number.length()); // make the cursor at right of 4 in testRestartFormatting() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListSetSelectionTest.java | 57 mListView.setSelection(i); in testSetSelection() 67 mListView.setSelection(0); in testClearSelection() 71 mListView.setSelection(ListView.INVALID_POSITION); in testClearSelection()
|
D | ListSetSelection.java | 49 getListView().setSelection(0); in onCreate() 66 getListView().setSelection(0); in dispatchKeyEvent()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeText.java | 191 setSelection(((EditText) view), startSelectionStart, startSelectionEnd); in createAnimator() 205 setSelection(((EditText) view), endSelectionStart, endSelectionEnd); in createAnimator() 232 setSelection(((EditText) view), endSelectionStart, in createAnimator() 277 setSelection(((EditText) view), endSelectionStart, endSelectionEnd); in createAnimator() 291 setSelection(((EditText) view), startSelectionStart, startSelectionEnd); in createAnimator() 313 private void setSelection(EditText editText, int start, int end) { in setSelection() method in ChangeText 315 editText.setSelection(start, end); in setSelection()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridSetSelectionBaseTest.java | 61 mGridView.setSelection(target); in testSetSelectionToTheEnd() 77 mGridView.setSelection(target); in testSetSelectionToMiddle() 92 mGridView.setSelection(0); in testSetSelectionToTheTop()
|
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/ |
D | BaseInputConnectionTest.java | 466 assertThat(mBaseInputConnection.setSelection(0, 0)).isTrue(); in testSetSelection_toEditorWithoutComposing() 467 assertThat(mBaseInputConnection.setSelection(1, 1)).isTrue(); in testSetSelection_toEditorWithoutComposing() 468 assertThat(mBaseInputConnection.setSelection(-1, -1)).isTrue(); in testSetSelection_toEditorWithoutComposing() 473 assertThat(mBaseInputConnection.setSelection(1, 1)).isTrue(); in testSetSelection_toEditorWithoutComposing() 479 assertThat(mBaseInputConnection.setSelection(4, 2)).isTrue(); in testSetSelection_toEditorWithoutComposing() 485 assertThat(mBaseInputConnection.setSelection(0, 100)).isTrue(); in testSetSelection_toEditorWithoutComposing() 491 assertThat(mBaseInputConnection.setSelection(2, 2)).isTrue(); in testSetSelection_toEditorWithoutComposing() 497 assertThat(mBaseInputConnection.setSelection(-1, 2)).isTrue(); in testSetSelection_toEditorWithoutComposing() 508 assertThat(mBaseInputConnection.setSelection(1, 1)).isTrue(); in testSetSelection_toEditorWithComposing() 516 assertThat(mBaseInputConnection.setSelection(0, 6)).isTrue(); in testSetSelection_toEditorWithComposing() [all …]
|
D | TextAppearanceInfoTest.java | 110 mEditText.setSelection(0); in testCreateFromTextView_withSpan1() 117 mEditText.setSelection(1); in testCreateFromTextView_withSpan1() 124 mEditText.setSelection(2); in testCreateFromTextView_withSpan1() 131 mEditText.setSelection(2, mSpannableText.length()); in testCreateFromTextView_withSpan1() 138 mEditText.setSelection(5); in testCreateFromTextView_withSpan1() 166 mEditText.setSelection(3); in testCreateFromTextView_withSpan2() 192 mEditText.setSelection(3); in testCreateFromTextView_contradictorySpans()
|
/frameworks/base/core/java/android/text/method/ |
D | ArrowKeyMovementMethod.java | 180 Selection.setSelection(buffer, 0); in top() 190 Selection.setSelection(buffer, buffer.length()); in bottom() 324 Selection.setSelection(buffer, Math.min(startOffset, offset), in onTouchEvent() 342 Selection.setSelection(buffer, Math.min(startOffset, endOffset), in onTouchEvent() 363 Selection.setSelection(text, 0); in initialize() 371 Selection.setSelection(text, text.length()); in onTakeFocus() 374 Selection.setSelection(text, text.length()); in onTakeFocus()
|
D | MultiTapKeyListener.java | 164 Selection.setSelection(content, selEnd, selEnd); in onKeyDown() 190 Selection.setSelection(content, selEnd); in onKeyDown() 202 Selection.setSelection(content, oldStart, selEnd); in onKeyDown() 280 Selection.setSelection(buf, Selection.getSelectionEnd(buf)); in run()
|
D | QwertyKeyListener.java | 107 Selection.setSelection(content, 0, 0); in onKeyDown() 163 Selection.setSelection(content, selStart, selEnd); in onKeyDown() 198 Selection.setSelection(content, selEnd); in onKeyDown() 228 Selection.setSelection(content, selEnd); in onKeyDown() 244 Selection.setSelection(content, oldStart, selEnd); in onKeyDown() 370 Selection.setSelection(content, selEnd); in onKeyDown()
|
D | LinkMovementMethod.java | 176 Selection.setSelection(buffer, bestEnd, bestStart); in action() 198 Selection.setSelection(buffer, bestStart, bestEnd); in action() 253 Selection.setSelection(buffer, in onTouchEvent()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewProcessTextTest.java | 65 Selection.setSelection((Spannable) mTextView.getText(), 0, mTextView.getText().length()); in testProcessTextActivityResultNonEditable() 85 Selection.setSelection(((EditText) mTextView).getText(), 0, mTextView.getText().length()); in testProcessTextActivityResultCancel() 101 Selection.setSelection(((EditText) mTextView).getText(), 0, mTextView.getText().length()); in testProcessTextActivityNoData()
|
/frameworks/base/core/java/android/widget/ |
D | EditText.java | 190 public void setSelection(int start, int stop) { in setSelection() method in EditText 191 Selection.setSelection(getText(), start, stop); in setSelection() 197 public void setSelection(int index) { in setSelection() method in EditText 198 Selection.setSelection(getText(), index); in setSelection()
|
D | YearPickerView.java | 63 mAdapter.setSelection(year); in YearPickerView() 85 mAdapter.setSelection(year); in setYear() 135 public boolean setSelection(int year) { in setSelection() method in YearPickerView.YearAdapter
|
/frameworks/base/core/java/android/app/ |
D | ListActivity.java | 279 public void setSelection(int position) { in setSelection() method in ListActivity 280 mList.setSelection(position); in setSelection()
|
D | ListFragment.java | 260 public void setSelection(int position) { in setSelection() method in ListFragment 262 mList.setSelection(position); in setSelection()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | RemoteAccessibilityInputConnection.java | 101 public void setSelection(int start, int end) { in setSelection() method in RemoteAccessibilityInputConnection 102 mInvoker.setSelection(start, end); in setSelection()
|
D | IRemoteAccessibilityInputConnectionInvoker.java | 110 public void setSelection(int start, int end) { in setSelection() method in IRemoteAccessibilityInputConnectionInvoker 112 mConnection.setSelection(createHeader(), start, end); in setSelection()
|
D | IRemoteAccessibilityInputConnection.aidl | 33 void setSelection(in InputConnectionCommandHeader header, int start, int end); in setSelection() method
|
/frameworks/base/packages/SettingsLib/SettingsSpinner/src/com/android/settingslib/widget/ |
D | SettingsSpinnerPreference.java | 103 public void setSelection(int position) { in setSelection() method in SettingsSpinnerPreference 117 spinner.setSelection(mPosition); in onBindViewHolder()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListSetSelectionTest.java | 68 mListView.setSelection(targetPosition); in testSetSelection() 134 mListView.setSelection(0); in testSetSelection0()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListUtil.java | 47 mListView.setSelection(pos); in setSelectedPosition()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
D | GridTouchSetSelectionTest.java | 66 mGridView.setSelection(targetPosition); in testSetSelection()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | InputMethod.java | 264 public void setSelection(int start, int end) { in setSelection() method in InputMethod.AccessibilityInputConnection 266 mIc.setSelection(start, end); in setSelection()
|