/frameworks/base/core/java/android/text/ |
D | Selection.java | 77 public static void setSelection(Spannable text, int start, int stop) { in setSelection() method in Selection 78 setSelection(text, start, stop, -1); in setSelection() 85 private static void setSelection(Spannable text, int start, int stop, int memory) { in setSelection() method in Selection 152 public static final void setSelection(Spannable text, int index) { in setSelection() method in Selection 153 setSelection(text, index, index); in setSelection() 160 setSelection(text, 0, text.length()); in selectAll() 206 setSelection(text, min); in moveUp() 221 setSelection(text, 0); in moveUp() 259 setSelection(text, move, move, newMemory); in setSelectionAndMemory() 277 setSelection(text, max); in moveDown() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberWatcherTest.java | 40 Selection.setSelection(number, number.length()); in testAppendChars() 51 Selection.setSelection(number, number.length()); in testAppendChars() 68 Selection.setSelection(number, number.length()); in testRemoveLastChars() 77 Selection.setSelection(number, number.length()); in testRemoveLastChars() 94 Selection.setSelection(number, 4); // make the cursor at right of 1 in testInsertChars() 105 Selection.setSelection(number, 9); // the cursor is at the right of '7'. in testInsertChars() 123 Selection.setSelection(number, number.length()); // make the cursor at right of 4 in testStopFormatting() 136 Selection.setSelection(number, 5); // make the cursor at right of 1 in testStopFormatting() 149 Selection.setSelection(number, 9); // make the cursor at right of - in testStopFormatting() 167 Selection.setSelection(number, number.length()); // make the cursor at right of 4 in testRestartFormatting() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | EditText.java | 128 public void setSelection(int start, int stop) { in setSelection() method in EditText 129 Selection.setSelection(getText(), start, stop); in setSelection() 135 public void setSelection(int index) { in setSelection() method in EditText 136 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
|
D | AbsSpinner.java | 281 public void setSelection(int position, boolean animate) { in setSelection() method in AbsSpinner 289 public void setSelection(int position) { in setSelection() method in AbsSpinner 505 setSelection(value.getListValue()); in autofill()
|
/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 | 187 setSelection(((EditText) view), startSelectionStart, startSelectionEnd); in createAnimator() 201 setSelection(((EditText) view), endSelectionStart, endSelectionEnd); in createAnimator() 228 setSelection(((EditText) view), endSelectionStart, in createAnimator() 273 setSelection(((EditText) view), endSelectionStart, endSelectionEnd); in createAnimator() 287 setSelection(((EditText) view), startSelectionStart, startSelectionEnd); in createAnimator() 309 private void setSelection(EditText editText, int start, int end) { in setSelection() method in ChangeText 311 editText.setSelection(start, end); in setSelection()
|
/frameworks/base/core/java/android/text/method/ |
D | ArrowKeyMovementMethod.java | 161 Selection.setSelection(buffer, 0); in top() 171 Selection.setSelection(buffer, buffer.length()); in bottom() 273 Selection.setSelection(buffer, Math.min(startOffset, offset), in onTouchEvent() 291 Selection.setSelection(buffer, Math.min(startOffset, endOffset), in onTouchEvent() 312 Selection.setSelection(text, 0); in initialize() 320 Selection.setSelection(text, text.length()); in onTakeFocus() 323 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() 193 Selection.setSelection(content, selEnd); in onKeyDown() 223 Selection.setSelection(content, selEnd); in onKeyDown() 239 Selection.setSelection(content, oldStart, selEnd); in onKeyDown()
|
D | LinkMovementMethod.java | 172 Selection.setSelection(buffer, bestEnd, bestStart); in action() 194 Selection.setSelection(buffer, bestStart, bestEnd); in action() 241 Selection.setSelection(buffer, in onTouchEvent()
|
D | NumberKeyListener.java | 120 Selection.setSelection(content, 0); in onKeyDown() 128 Selection.setSelection(content, selEnd); in onKeyDown()
|
/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/java/android/app/ |
D | ListActivity.java | 275 public void setSelection(int position) { in setSelection() method in ListActivity 276 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/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/java/android/view/inputmethod/ |
D | InputConnectionWrapper.java | 195 public boolean setSelection(int start, int end) { in setSelection() method in InputConnectionWrapper 196 return mTarget.setSelection(start, end); in setSelection()
|
D | InputConnection.java | 630 boolean setSelection(int start, int end); in setSelection() method
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 111 Selection.setSelection((Spannable) mTextView.getText(), 0, mTextView.getText().length()); in testProcessTextActivityResultNonEditable() 135 Selection.setSelection(((EditText) mTextView).getText(), 0, mTextView.getText().length()); in testProcessTextActivityResultEditable() 153 Selection.setSelection(((EditText) mTextView).getText(), 0, mTextView.getText().length()); in testProcessTextActivityResultCancel() 172 Selection.setSelection(((EditText) mTextView).getText(), 0, mTextView.getText().length()); in testProcessTextActivityNoData()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintActivity.java | 884 mMediaSizeSpinner.setSelection(i); in onAdvancedPrintOptionsActivityResult() 887 mOrientationSpinner.setSelection(0); in onAdvancedPrintOptionsActivityResult() 891 mOrientationSpinner.setSelection(1); in onAdvancedPrintOptionsActivityResult() 926 mColorModeSpinner.setSelection(i); in onAdvancedPrintOptionsActivityResult() 941 mDuplexModeSpinner.setSelection(i); in onAdvancedPrintOptionsActivityResult() 1038 mRangeOptionsSpinner.setSelection(0); in updateSelectedPages() 1044 mRangeOptionsSpinner.setSelection(1); in updateSelectedPages() 1162 mRangeOptionsSpinner.setSelection(0); in clearPageRanges() 1345 mCopiesEditText.setSelection(mCopiesEditText.getText().length()); in bindUi() 1727 mMediaSizeSpinner.setSelection(oldMediaSizeNewIndex); in updateOptionsUi() [all …]
|
/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/tests/coretests/src/android/widget/listview/arrowscroll/ |
D | ListWithNoFadingEdgeTest.java | 71 mListView.setSelection(numItems - 1); in testScrollFromBottomToTop()
|
/frameworks/base/core/java/android/webkit/ |
D | FindActionModeCallback.java | 84 Selection.setSelection(span, length, length); in setText() 214 Selection.setSelection(edit, edit.length()); in onCreateActionMode()
|