Searched refs:setSelection (Results 1 - 25 of 83) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListSetSelectionTest.java56 mListView.setSelection(i);
66 mListView.setSelection(0);
70 mListView.setSelection(ListView.INVALID_POSITION);
H A DListSetSelection.java27 * 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 DSelection.java67 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 DEditText.java89 * 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 DPhoneNumberWatcherTest.java34 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 DGridSetSelectionBaseTest.java61 mGridView.setSelection(target);
77 mGridView.setSelection(target);
92 mGridView.setSelection(0);
/frameworks/base/core/java/android/transition/
H A DChangeText.java187 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 DInputConnection.java573 public boolean setSelection(int start, int end); method in interface:InputConnection
H A DInputConnectionWrapper.java93 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 DListActivity.java275 public void setSelection(int position) { method in class:ListActivity
276 mList.setSelection(position);
H A DListFragment.java255 public void setSelection(int position) { method in class:ListFragment
257 mList.setSelection(position);
/frameworks/base/core/java/android/text/method/
H A DArrowKeyMovementMethod.java162 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 DNumberKeyListener.java110 Selection.setSelection(content, 0);
118 Selection.setSelection(content, selEnd);
H A DMultiTapKeyListener.java161 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 DQwertyKeyListener.java102 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 DLinkMovementMethod.java161 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 DIInputContext.aidl54 void setSelection(int start, int end);
H A DInputConnectionWrapper.java314 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 DListSetSelectionTest.java66 mListView.setSelection(targetPosition);
132 mListView.setSelection(0);
/frameworks/base/core/tests/coretests/src/android/util/
H A DListUtil.java49 mListView.setSelection(pos);
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A DGridTouchSetSelectionTest.java66 mGridView.setSelection(targetPosition);
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListWithNoFadingEdgeTest.java67 mListView.setSelection(numItems - 1);
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberFormattingTextWatcher.java114 // 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 DFindActionModeCallback.java82 Selection.setSelection(span, length, length);
210 Selection.setSelection(edit, edit.length());
/frameworks/support/v4/java/android/support/v4/app/
H A DListFragment.java197 public void setSelection(int position) { method in class:ListFragment
199 mList.setSelection(position);

Completed in 433 milliseconds

1234