/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListSetSelectionTest.java | 56 mListView.setSelection(i); 66 mListView.setSelection(0); 70 mListView.setSelection(ListView.INVALID_POSITION);
|
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);
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
NotifyingSpinner.java | 48 public void setSelection(int position) { 49 super.setSelection(position);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowEditText.java | 51 public void setSelection(int index) { 52 super.setSelection(index); 57 public void setSelection(int start, int end) { 58 super.setSelection(start, end);
|
ShadowAbsSpinner.java | 27 public void setSelection(int position, boolean animate) { 28 super.setSelection(position);
|
/frameworks/base/core/java/android/widget/ |
EditText.java | 126 * Convenience for {@link Selection#setSelection(Spannable, int, int)}. 128 public void setSelection(int start, int stop) { 129 Selection.setSelection(getText(), start, stop); 133 * Convenience for {@link Selection#setSelection(Spannable, int)}. 135 public void setSelection(int index) { 136 Selection.setSelection(getText(), index);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/spellcheck/ |
AndroidSpellCheckerServiceTest.java | 29 mEditText.setSelection(mEditText.getText().length()); 49 mEditText.setSelection(mEditText.getText().length()); 63 mEditText.setSelection(mEditText.getText().length());
|
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/ |
SoftDeleteTest.java | 82 Selection.setSelection(mEditable, mTestString.emojiStartIndex(), 94 Selection.setSelection(mEditable, mTestString.emojiEndIndex()); 105 Selection.setSelection(mEditable, mTestString.emojiEndIndex()); 117 Selection.setSelection(mEditable, mTestString.emojiEndIndex()); 129 Selection.setSelection(mEditable, mTestString.emojiEndIndex()); 140 Selection.setSelection(mEditable, mTestString.emojiEndIndex()); 152 Selection.setSelection(mEditable, mTestString.emojiEndIndex()); 164 Selection.setSelection(mEditable, mTestString.emojiStartIndex()); 176 Selection.setSelection(mEditable, mTestString.emojiStartIndex()); 189 Selection.setSelection(mEditable, 0) [all...] |
HardDeleteTest.java | 76 Selection.setSelection(mEditable, mTestString.emojiEndIndex()); 85 Selection.setSelection(mEditable, mTestString.emojiEndIndex()); 94 Selection.setSelection(mEditable, mTestString.emojiEndIndex()); 103 Selection.setSelection(mEditable, mTestString.emojiEndIndex()); 112 Selection.setSelection(mEditable, mTestString.emojiEndIndex()); 122 Selection.setSelection(mEditable, 0, mEditable.length()); 132 Selection.setSelection(editable, 1); 141 Selection.setSelection(mEditable, mTestString.emojiStartIndex()); 150 Selection.setSelection(mEditable, mTestString.emojiEndIndex()); 159 Selection.setSelection(mEditable, mTestString.emojiEndIndex()) [all...] |
/frameworks/base/core/java/android/text/ |
Selection.java | 76 public static void setSelection(Spannable text, int start, int stop) { 77 setSelection(text, start, stop, -1); 84 private static void setSelection(Spannable text, int start, int stop, int memory) { 151 public static final void setSelection(Spannable text, int index) { 152 setSelection(text, index, index); 159 setSelection(text, 0, text.length()); 205 setSelection(text, min); 220 setSelection(text, 0); 258 setSelection(text, move, move, newMemory); 276 setSelection(text, max) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
PhoneNumberWatcherTest.java | 38 Selection.setSelection(number, number.length()); 49 Selection.setSelection(number, number.length()); 66 Selection.setSelection(number, number.length()); 75 Selection.setSelection(number, number.length()); 92 Selection.setSelection(number, 4); // make the cursor at right of 1 103 Selection.setSelection(number, 9); // the cursor is at the right of '7'. 121 Selection.setSelection(number, number.length()); // make the cursor at right of 4 134 Selection.setSelection(number, 5); // make the cursor at right of 1 147 Selection.setSelection(number, 9); // make the cursor at right of - 165 Selection.setSelection(number, number.length()); // make the cursor at right of [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
SelectionTest.java | 48 Selection.setSelection(builder, 3, 8); 51 Selection.setSelection(builder, 3, 9); 54 Selection.setSelection(builder, 5, 7); 66 Selection.setSelection(builder, 0, 10); 69 Selection.setSelection(builder, 1, 8); 72 Selection.setSelection(builder, 2, 8); 85 Selection.setSelection(builder, 3, 6); 89 Selection.setSelection(builder, 3, 7); 93 Selection.setSelection(builder, 3, 7); 97 Selection.setSelection(builder, 6, 2) [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
ArrowKeyMovementMethodTest.java | 201 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); 214 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); 238 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); 251 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); 286 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); 299 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); 323 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); 336 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE); 346 Selection.setSelection(mEditable, END_OF_ALL_TEXT - 1); 372 Selection.setSelection(mEditable, SPACE_IN_2ND_LINE) [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowAbsSpinnerTest.java | 41 spinner.setSelection(0); 45 spinner.setSelection(1); 58 spinner.setSelection(0, true);
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridSetSelectionBaseTest.java | 61 mGridView.setSelection(target); 77 mGridView.setSelection(target); 92 mGridView.setSelection(0);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
SpinnerOption.java | 30 spinner.setSelection(i, true);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/PBQP/ |
Solution.h | 44 void setSelection(GraphBase::NodeId nodeId, unsigned selection) {
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/CodeGen/PBQP/ |
Solution.h | 44 void setSelection(GraphBase::NodeId nodeId, unsigned selection) {
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/CodeGen/PBQP/ |
Solution.h | 44 void setSelection(GraphBase::NodeId nodeId, unsigned selection) {
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/CodeGen/PBQP/ |
Solution.h | 44 void setSelection(GraphBase::NodeId nodeId, unsigned selection) {
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/CodeGen/PBQP/ |
Solution.h | 44 void setSelection(GraphBase::NodeId nodeId, unsigned selection) {
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/CodeGen/PBQP/ |
Solution.h | 44 void setSelection(GraphBase::NodeId nodeId, unsigned selection) {
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/CodeGen/PBQP/ |
Solution.h | 44 void setSelection(GraphBase::NodeId nodeId, unsigned selection) {
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/PBQP/ |
Solution.h | 44 void setSelection(GraphBase::NodeId nodeId, unsigned selection) {
|
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/CodeGen/PBQP/ |
Solution.h | 44 void setSelection(GraphBase::NodeId nodeId, unsigned selection) {
|