/cts/tests/tests/text/src/android/text/cts/ |
SelectionTest.java | 47 assertEquals(-1, Selection.getSelectionEnd(builder)); 50 assertEquals(10, Selection.getSelectionEnd(builder)); 53 assertEquals(8, Selection.getSelectionEnd(builder)); 56 assertEquals(8, Selection.getSelectionEnd(builder)); 65 assertEquals(-1, Selection.getSelectionEnd(builder)); 69 assertEquals(6, Selection.getSelectionEnd(builder)); 73 assertEquals(7, Selection.getSelectionEnd(builder)); 77 assertEquals(7, Selection.getSelectionEnd(builder)); 81 assertEquals(2, Selection.getSelectionEnd(builder)); 93 assertEquals(-1, Selection.getSelectionEnd(builder)) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
EditTextTest.java | 98 assertEquals(position, editText.getSelectionEnd()); 103 assertEquals(position, editText.getSelectionEnd()); 129 assertEquals(end, editText.getSelectionEnd()); 135 assertEquals(end, editText.getSelectionEnd()); 141 assertEquals(end, editText.getSelectionEnd()); 165 assertEquals(string.length(), editText.getSelectionEnd()); 170 assertEquals(0, editText.getSelectionEnd()); 175 assertEquals(0, editText.getSelectionEnd()); 186 assertEquals(end, editText.getSelectionEnd()); 191 assertEquals(end, editText.getSelectionEnd()); [all...] |
/frameworks/base/core/java/android/text/ |
Selection.java | 48 public static final int getSelectionEnd(CharSequence text) { 73 int oend = getSelectionEnd(text); 124 int end = getSelectionEnd(text); 170 int end = getSelectionEnd(text); 215 int end = getSelectionEnd(text); 240 int end = getSelectionEnd(text); 262 int end = getSelectionEnd(text); 291 int end = getSelectionEnd(text); 320 int end = getSelectionEnd(text); 336 int end = getSelectionEnd(text) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
PhoneNumberWatcherTest.java | 38 assertEquals(formatted1.length(), Selection.getSelectionEnd(number)); 49 assertEquals(formatted2.length(), Selection.getSelectionEnd(number)); 65 assertEquals(result1.length(), Selection.getSelectionEnd(number)); 74 assertEquals(result2.length(), Selection.getSelectionEnd(number)); 91 assertEquals(5, Selection.getSelectionEnd(number)); 102 assertEquals(12, Selection.getSelectionEnd(number)); 119 assertEquals(expected1.length(), Selection.getSelectionEnd(number)); 132 assertEquals(5, Selection.getSelectionEnd(number)); 145 assertEquals(9, Selection.getSelectionEnd(number)); 162 assertEquals(expected1.length(), Selection.getSelectionEnd(number)) [all...] |
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityTextTraversalTest.java | 532 assertEquals(1, Selection.getSelectionEnd(textView.getText())); 566 assertEquals(2, Selection.getSelectionEnd(textView.getText())); 600 assertEquals(3, Selection.getSelectionEnd(textView.getText())); 608 assertEquals(3, Selection.getSelectionEnd(textView.getText())); 642 assertEquals(2, Selection.getSelectionEnd(textView.getText())); [all...] |
/frameworks/base/core/java/android/text/method/ |
ArrowKeyMovementMethod.java | 40 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer))); 116 final int previousSelectionEnd = Selection.getSelectionEnd(buffer); 122 if (Selection.getSelectionEnd(buffer) == previousSelectionEnd) { 140 final int previousSelectionEnd = Selection.getSelectionEnd(buffer); 146 if (Selection.getSelectionEnd(buffer) == previousSelectionEnd) { 200 final int selectionEnd = widget.getSelectionEnd(); 209 final int selectionEnd = widget.getSelectionEnd();
|
BaseKeyListener.java | 85 final int start = Selection.getSelectionEnd(content); 102 int selectionEnd = Selection.getSelectionEnd(content); 184 int selectionEnd = Selection.getSelectionEnd(content);
|
MultiTapKeyListener.java | 96 int b = Selection.getSelectionEnd(content); 196 selEnd = Selection.getSelectionEnd(content); 271 int en = Selection.getSelectionEnd(buf); 277 Selection.setSelection(buf, Selection.getSelectionEnd(buf));
|
NumberKeyListener.java | 102 int b = Selection.getSelectionEnd(content);
|
CharacterPickerDialog.java | 94 int selEnd = Selection.getSelectionEnd(mText);
|
/external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/ |
WriteData.java | 101 public int getSelectionEnd() { 123 int selectionEnd = getSelectionEnd();
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PersistentState.java | 123 editor.putInt("selection-end", mSaved.getSelectionEnd());
|
/packages/apps/Email/src/com/android/email/activity/ |
ComposeActivityEmail.java | 55 final int selEnd = mBodyView.getSelectionEnd();
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
AdapterInputConnection.java | 120 outAttrs.initialSelEnd = Selection.getSelectionEnd(mEditable); 122 mLastUpdateSelectionEnd = Selection.getSelectionEnd(mEditable); 196 int selectionEnd = Selection.getSelectionEnd(mEditable); 296 et.selectionEnd = Selection.getSelectionEnd(mEditable); 334 int availableAfter = mEditable.length() - Selection.getSelectionEnd(mEditable); 385 int selectionEnd = Selection.getSelectionEnd(mEditable); 500 int selectionEnd = Selection.getSelectionEnd(mEditable); 538 int selectionEnd = Selection.getSelectionEnd(mEditable);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ShadowAutoCompleteTextViewTest.java | 81 assertEquals(text.length(), autoCompleteTextView.getSelectionEnd());
|
/frameworks/base/core/java/android/widget/ |
MultiAutoCompleteTextView.java | 92 * {@link Tokenizer#findTokenStart} to {@link #getSelectionEnd} 98 int end = getSelectionEnd(); 116 * {@link Tokenizer#findTokenStart} to {@link #getSelectionEnd} 123 int end = getSelectionEnd(); 180 * {@link Tokenizer#findTokenStart} to {@link #getSelectionEnd} by the 195 int end = getSelectionEnd();
|
/frameworks/base/core/java/android/view/inputmethod/ |
BaseInputConnection.java | 218 int b = Selection.getSelectionEnd(content); 292 int b = Selection.getSelectionEnd(content); 319 int b = Selection.getSelectionEnd(content); 350 int b = Selection.getSelectionEnd(content); 375 int b = Selection.getSelectionEnd(content); 631 b = Selection.getSelectionEnd(content);
|
/frameworks/base/telephony/java/android/telephony/ |
PhoneNumberFormattingTextWatcher.java | 108 String formatted = reformat(s, Selection.getSelectionEnd(s));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
CursorAnchorInfoCompatWrapper.java | 64 "getSelectionEnd", INVALID_TEXT_INDEX); 118 public int getSelectionEnd() {
|
/external/droiddriver/src/com/google/android/droiddriver/base/ |
BaseUiElement.java | 151 public int getSelectionEnd() { 158 final int selectionEnd = getSelectionEnd();
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
EditStyledText.java | 228 int oldSelEnd = Selection.getSelectionEnd(getText()); 236 Selection.getSelectionEnd(getText())); 280 boolean selection = getSelectionStart() != getSelectionEnd(); [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
ArrowKeyMovementMethodTest.java | 210 int correspondingIn1stLine = Selection.getSelectionEnd(mEditable); 294 int correspondingIn3rdLine = Selection.getSelectionEnd(mEditable); 666 assertEquals(-1, Selection.getSelectionEnd(spannable)); 669 assertEquals(0, Selection.getSelectionEnd(spannable)); 673 assertEquals(2, Selection.getSelectionEnd(spannable)); 676 assertEquals(0, Selection.getSelectionEnd(spannable)); [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
RecipientEditTextView.java | 547 int end = getSelectionEnd(); 560 int selEnd = getSelectionEnd(); [all...] |
/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
CursorAnchorInfoTest.java | 108 assertEquals(SELECTION_END, info.getSelectionEnd()); 133 assertEquals(SELECTION_END, info2.getSelectionEnd()); 160 assertEquals(SELECTION_END, info3.getSelectionEnd()); 186 assertEquals(-1, uninitializedInfo.getSelectionEnd());
|
/packages/apps/Calculator/src/com/android/calculator2/ |
CalculatorEditText.java | 134 if (getSelectionStart() != textLength || getSelectionEnd() != textLength) {
|