/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListSetSelectionTest.java | 56 mListView.setSelection(i); 66 mListView.setSelection(0); 70 mListView.setSelection(ListView.INVALID_POSITION);
|
H A D | ListSetSelection.java | 27 * List of 1,000 items used to test calls to setSelection() in touch mode. 28 * Pressing the S key will call setSelection(0) on the list. 46 mButton.setText("setSelection(0)"); 49 getListView().setSelection(0); 66 getListView().setSelection(0);
|
/frameworks/base/core/java/android/text/ |
H A D | Selection.java | 67 public static void setSelection(Spannable text, int start, int stop) { method in class:Selection 86 public static final void setSelection(Spannable text, int index) { method in class:Selection 87 setSelection(text, index, index); 94 setSelection(text, 0, text.length()); 130 setSelection(text, min); 151 setSelection(text, move); 154 setSelection(text, 0); 176 setSelection(text, max); 197 setSelection(text, move); 200 setSelection(tex [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | EditText.java | 89 * Convenience for {@link Selection#setSelection(Spannable, int, int)}. 91 public void setSelection(int start, int stop) { method in class:EditText 92 Selection.setSelection(getText(), start, stop); 96 * Convenience for {@link Selection#setSelection(Spannable, int)}. 98 public void setSelection(int index) { method in class:EditText 99 Selection.setSelection(getText(), index); 145 setSelection(text.length());
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | PhoneNumberWatcherTest.java | 34 Selection.setSelection(number, number.length()); 45 Selection.setSelection(number, number.length()); 61 Selection.setSelection(number, number.length()); 70 Selection.setSelection(number, number.length()); 86 Selection.setSelection(number, 4); // make the cursor at right of 1 97 Selection.setSelection(number, 9); // the cursor is at the right of '7'. 114 Selection.setSelection(number, number.length()); // make the cursor at right of 4 127 Selection.setSelection(number, 5); // make the cursor at right of 1 140 Selection.setSelection(number, 9); // make the cursor at right of - 157 Selection.setSelection(numbe [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
H A D | GridSetSelectionBaseTest.java | 61 mGridView.setSelection(target); 77 mGridView.setSelection(target); 92 mGridView.setSelection(0);
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeText.java | 187 setSelection(((EditText) view), startSelectionStart, startSelectionEnd); 201 setSelection(((EditText) view), endSelectionStart, endSelectionEnd); 229 setSelection(((EditText) view), endSelectionStart, 275 setSelection(((EditText) view), endSelectionStart, endSelectionEnd); 289 setSelection(((EditText) view), startSelectionStart, startSelectionEnd); 306 private void setSelection(EditText editText, int start, int end) { method in class:ChangeText 308 editText.setSelection(start, end);
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputConnection.java | 573 public boolean setSelection(int start, int end); method in interface:InputConnection
|
H A D | InputConnectionWrapper.java | 93 public boolean setSelection(int start, int end) { method in class:InputConnectionWrapper 94 return mTarget.setSelection(start, end);
|
/frameworks/base/core/java/android/app/ |
H A D | ListActivity.java | 275 public void setSelection(int position) { method in class:ListActivity 276 mList.setSelection(position);
|
H A D | ListFragment.java | 255 public void setSelection(int position) { method in class:ListFragment 257 mList.setSelection(position);
|
/frameworks/base/core/java/android/text/method/ |
H A D | ArrowKeyMovementMethod.java | 162 Selection.setSelection(buffer, 0); 172 Selection.setSelection(buffer, buffer.length()); 265 Selection.setSelection(buffer, offset); 318 Selection.setSelection(text, 0); 326 Selection.setSelection(text, text.length()); 329 Selection.setSelection(text, text.length());
|
H A D | NumberKeyListener.java | 110 Selection.setSelection(content, 0); 118 Selection.setSelection(content, selEnd);
|
H A D | MultiTapKeyListener.java | 161 Selection.setSelection(content, selEnd, selEnd); 187 Selection.setSelection(content, selEnd); 199 Selection.setSelection(content, oldStart, selEnd); 277 Selection.setSelection(buf, Selection.getSelectionEnd(buf));
|
H A D | QwertyKeyListener.java | 102 Selection.setSelection(content, 0, 0); 158 Selection.setSelection(content, selStart, selEnd); 188 Selection.setSelection(content, selEnd); 218 Selection.setSelection(content, selEnd); 234 Selection.setSelection(content, oldStart, selEnd);
|
H A D | LinkMovementMethod.java | 161 Selection.setSelection(buffer, bestend, beststart); 183 Selection.setSelection(buffer, beststart, bestend); 219 Selection.setSelection(buffer,
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputContext.aidl | 54 void setSelection(int start, int end);
|
H A D | InputConnectionWrapper.java | 314 public boolean setSelection(int start, int end) { method in class:InputConnectionWrapper 316 mIInputContext.setSelection(start, end);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
H A D | ListSetSelectionTest.java | 66 mListView.setSelection(targetPosition); 132 mListView.setSelection(0);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListUtil.java | 49 mListView.setSelection(pos);
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
H A D | GridTouchSetSelectionTest.java | 66 mGridView.setSelection(targetPosition);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListWithNoFadingEdgeTest.java | 67 mListView.setSelection(numItems - 1);
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberFormattingTextWatcher.java | 114 // text is not the one we were expecting, just give up calling setSelection(). 116 Selection.setSelection(s, rememberedPos);
|
/frameworks/base/core/java/android/webkit/ |
H A D | FindActionModeCallback.java | 82 Selection.setSelection(span, length, length); 210 Selection.setSelection(edit, edit.length());
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | ListFragment.java | 197 public void setSelection(int position) { method in class:ListFragment 199 mList.setSelection(position);
|