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

123

/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());
129 setSelection(text, min);
150 setSelection(text, move);
170 setSelection(text, max);
191 setSelection(text, move);
209 setSelection(text, chooseHorizontal(layout, -1, start, end));
215 setSelection(tex
[all...]
/frameworks/base/core/java/android/widget/
H A DEditText.java84 * Convenience for {@link Selection#setSelection(Spannable, int, int)}.
86 public void setSelection(int start, int stop) { method in class:EditText
87 Selection.setSelection(getText(), start, stop);
91 * Convenience for {@link Selection#setSelection(Spannable, int)}.
93 public void setSelection(int index) { method in class:EditText
94 Selection.setSelection(getText(), index);
/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/view/inputmethod/
H A DInputConnection.java253 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 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 DArrowKeyMovementMethod.java161 Selection.setSelection(buffer, 0);
171 Selection.setSelection(buffer, buffer.length());
302 Selection.setSelection(text, 0);
310 Selection.setSelection(text, text.length());
313 Selection.setSelection(text, text.length());
H A DQwertyKeyListener.java102 Selection.setSelection(content, 0, 0);
158 Selection.setSelection(content, selStart, selEnd);
187 Selection.setSelection(content, selEnd);
217 Selection.setSelection(content, selEnd);
233 Selection.setSelection(content, oldStart, selEnd);
H A DLinkMovementMethod.java156 Selection.setSelection(buffer, bestend, beststart);
178 Selection.setSelection(buffer, beststart, bestend);
214 Selection.setSelection(buffer,
/frameworks/base/core/java/com/android/internal/view/
H A DIInputContext.aidl54 void setSelection(int start, int end);
H A DInputConnectionWrapper.java300 public boolean setSelection(int start, int end) { method in class:InputConnectionWrapper
302 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.java116 // text is not the one we were expecting, just give up calling setSelection().
118 Selection.setSelection(s, rememberedPos);
/frameworks/base/core/java/android/webkit/
H A DAutoCompletePopup.java211 mInputConnection.setSelection(0, oldText.length());
213 mInputConnection.setSelection(mText.length(), mText.length());
H A DFindActionModeCallback.java79 Selection.setSelection(span, length, length);
199 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 2931 milliseconds

123