HomeSort by relevance Sort by last modified time
    Searched refs:getSelectionEnd (Results 1 - 25 of 86) sorted by null

1 2 3 4

  /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 99 assertEquals(position, editText.getSelectionEnd());
104 assertEquals(position, editText.getSelectionEnd());
130 assertEquals(end, editText.getSelectionEnd());
136 assertEquals(end, editText.getSelectionEnd());
142 assertEquals(end, editText.getSelectionEnd());
166 assertEquals(string.length(), editText.getSelectionEnd());
171 assertEquals(0, editText.getSelectionEnd());
176 assertEquals(0, editText.getSelectionEnd());
187 assertEquals(end, editText.getSelectionEnd());
192 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 42 assertEquals(formatted1.length(), Selection.getSelectionEnd(number));
53 assertEquals(formatted2.length(), Selection.getSelectionEnd(number));
70 assertEquals(result1.length(), Selection.getSelectionEnd(number));
79 assertEquals(result2.length(), Selection.getSelectionEnd(number));
97 assertEquals(5, Selection.getSelectionEnd(number));
108 assertEquals(12, Selection.getSelectionEnd(number));
126 assertEquals(expected1.length(), Selection.getSelectionEnd(number));
139 assertEquals(5, Selection.getSelectionEnd(number));
152 assertEquals(9, Selection.getSelectionEnd(number));
170 assertEquals(expected1.length(), Selection.getSelectionEnd(number))
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
CursorAnchorInfoCompatWrapper.java 69 public int getSelectionEnd() {
131 public int getSelectionEnd() {
132 return mInstance.getSelectionEnd();
  /frameworks/base/core/java/android/text/method/
ArrowKeyMovementMethod.java 39 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer)));
115 final int previousSelectionEnd = Selection.getSelectionEnd(buffer);
121 if (Selection.getSelectionEnd(buffer) == previousSelectionEnd) {
139 final int previousSelectionEnd = Selection.getSelectionEnd(buffer);
145 if (Selection.getSelectionEnd(buffer) == previousSelectionEnd) {
199 final int selectionEnd = widget.getSelectionEnd();
208 final int selectionEnd = widget.getSelectionEnd();
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));
BaseKeyListener.java 327 final int start = Selection.getSelectionEnd(content);
356 if (currentCursorOffset != Selection.getSelectionEnd(content)) {
402 int selectionEnd = Selection.getSelectionEnd(content);
485 int selectionEnd = Selection.getSelectionEnd(content);
NumberKeyListener.java 102 int b = Selection.getSelectionEnd(content);
CharacterPickerDialog.java 94 int selEnd = Selection.getSelectionEnd(mText);
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityTextTraversalTest.java 535 assertEquals(1, Selection.getSelectionEnd(textView.getText()));
569 assertEquals(2, Selection.getSelectionEnd(textView.getText()));
603 assertEquals(3, Selection.getSelectionEnd(textView.getText()));
611 assertEquals(3, Selection.getSelectionEnd(textView.getText()));
645 assertEquals(2, Selection.getSelectionEnd(textView.getText()));
    [all...]
  /frameworks/base/core/java/android/widget/
MultiAutoCompleteTextView.java 90 * {@link Tokenizer#findTokenStart} to {@link #getSelectionEnd}
96 int end = getSelectionEnd();
114 * {@link Tokenizer#findTokenStart} to {@link #getSelectionEnd}
121 int end = getSelectionEnd();
178 * {@link Tokenizer#findTokenStart} to {@link #getSelectionEnd} by the
193 int end = getSelectionEnd();
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
TransliteratingTextComponent.java 114 int end = flush ? getSelectionEnd() : getSelectionStart();
164 replaceRange(result, 0, getSelectionEnd());
  /development/samples/ApiDemos/src/com/example/android/apis/app/
PersistentState.java 123 editor.putInt("selection-end", mSaved.getSelectionEnd());
  /packages/apps/Messaging/src/com/android/messaging/ui/
PlainTextEditText.java 51 int selectionEnd = getSelectionEnd();
  /frameworks/base/core/tests/coretests/src/android/widget/espresso/
TextViewAssertions.java 109 int selectionEnd = textView.getSelectionEnd();
155 int selectionEnd = textView.getSelectionEnd();
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ShadowAutoCompleteTextViewTest.java 81 assertEquals(text.length(), autoCompleteTextView.getSelectionEnd());
  /packages/apps/Email/src/com/android/email/activity/
ComposeActivityEmail.java 56 final int selEnd = mBodyView.getSelectionEnd();
  /frameworks/base/core/java/android/view/inputmethod/
BaseInputConnection.java 225 int b = Selection.getSelectionEnd(content);
382 int b = Selection.getSelectionEnd(content);
460 int b = Selection.getSelectionEnd(content);
487 int b = Selection.getSelectionEnd(content);
518 int b = Selection.getSelectionEnd(content);
543 int b = Selection.getSelectionEnd(content);
790 b = Selection.getSelectionEnd(content);
  /frameworks/base/telephony/java/android/telephony/
PhoneNumberFormattingTextWatcher.java 108 String formatted = reformat(s, Selection.getSelectionEnd(s));
  /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/view/src/android/view/inputmethod/cts/
BaseInputConnectionTest.java 273 final int selectionEnd = Selection.getSelectionEnd(source);
292 final int expectedSelectionEnd = Selection.getSelectionEnd(expectedString);
370 final int expectedSelectionEnd = Selection.getSelectionEnd(expectedString);
  /cts/tests/tests/text/src/android/text/method/cts/
BackspaceTest.java 58 state.mSelectionEnd = mTextView.getSelectionEnd();
ForwardDeleteTest.java 58 state.mSelectionEnd = mTextView.getSelectionEnd();
  /frameworks/base/core/tests/coretests/src/android/view/inputmethod/
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());

Completed in 429 milliseconds

1 2 3 4