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

1 2 3

  /cts/tests/tests/text/src/android/text/cts/
SelectionTest.java 30 assertEquals(-1, Selection.getSelectionStart(builder));
33 assertEquals(3, Selection.getSelectionStart(builder));
36 assertEquals(3, Selection.getSelectionStart(builder));
39 assertEquals(5, Selection.getSelectionStart(builder));
41 assertEquals(-1, Selection.getSelectionStart(null));
58 assertEquals(-1, Selection.getSelectionStart(null));
64 assertEquals(-1, Selection.getSelectionStart(builder));
68 assertEquals(3, Selection.getSelectionStart(builder));
72 assertEquals(3, Selection.getSelectionStart(builder));
76 assertEquals(3, Selection.getSelectionStart(builder))
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
EditTextTest.java 97 assertEquals(position, editText.getSelectionStart());
102 assertEquals(position, editText.getSelectionStart());
128 assertEquals(start, editText.getSelectionStart());
134 assertEquals(start, editText.getSelectionStart());
140 assertEquals(start, editText.getSelectionStart());
164 assertEquals(0, editText.getSelectionStart());
169 assertEquals(0, editText.getSelectionStart());
174 assertEquals(0, editText.getSelectionStart());
185 assertEquals(start, editText.getSelectionStart());
190 assertEquals(start, editText.getSelectionStart());
    [all...]
TextViewTest.java 234 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText()));
239 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText()));
253 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText()));
258 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText()));
489 assertEquals(-1, mTextView.getSelectionStart());
500 assertEquals(0, mTextView.getSelectionStart());
511 assertEquals(0, mTextView.getSelectionStart());
522 assertEquals(0, mTextView.getSelectionStart());
533 assertEquals(0, mTextView.getSelectionStart());
    [all...]
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityTextTraversalTest.java 531 assertEquals(1, Selection.getSelectionStart(textView.getText()));
565 assertEquals(2, Selection.getSelectionStart(textView.getText()));
599 assertEquals(3, Selection.getSelectionStart(textView.getText()));
607 assertEquals(3, Selection.getSelectionStart(textView.getText()));
641 assertEquals(2, Selection.getSelectionStart(textView.getText()));
    [all...]
  /frameworks/base/core/java/android/text/method/
BaseKeyListener.java 101 int selectionStart = Selection.getSelectionStart(content);
119 final int line = layout.getLineForOffset(Selection.getSelectionStart(content));
183 int selectionStart = Selection.getSelectionStart(content);
NumberKeyListener.java 101 int a = Selection.getSelectionStart(content);
MultiTapKeyListener.java 95 int a = Selection.getSelectionStart(content);
270 int st = Selection.getSelectionStart(buf);
LinkMovementMethod.java 112 int a = Selection.getSelectionStart(buffer);
  /frameworks/base/core/java/android/text/
Selection.java 37 public static final int getSelectionStart(CharSequence text) {
72 int ostart = getSelectionStart(text);
123 int start = getSelectionStart(text);
169 int start = getSelectionStart(text);
214 int start = getSelectionStart(text);
239 int start = getSelectionStart(text);
  /external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/
WriteData.java 80 public int getSelectionStart() {
122 int selectionStart = getSelectionStart();
  /development/samples/ApiDemos/src/com/example/android/apis/app/
PersistentState.java 122 editor.putInt("selection-start", mSaved.getSelectionStart());
  /packages/apps/Email/src/com/android/email/activity/
ComposeActivityEmail.java 56 final int selStart = mBodyView.getSelectionStart();
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
AdapterInputConnection.java 119 outAttrs.initialSelStart = Selection.getSelectionStart(mEditable);
121 mLastUpdateSelectionStart = Selection.getSelectionStart(mEditable);
195 int selectionStart = Selection.getSelectionStart(mEditable);
295 et.selectionStart = Selection.getSelectionStart(mEditable);
333 int availableBefore = Selection.getSelectionStart(mEditable);
384 int selectionStart = Selection.getSelectionStart(mEditable);
499 int selectionStart = Selection.getSelectionStart(mEditable);
508 int selection = Selection.getSelectionStart(mEditable);
537 int selectionStart = Selection.getSelectionStart(mEditable);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ShadowAutoCompleteTextViewTest.java 80 assertEquals(text.length(), autoCompleteTextView.getSelectionStart());
TextViewTest.java 298 assertEquals(0, textView.getSelectionStart());
303 assertEquals(3, textView.getSelectionStart());
312 assertEquals(0, textView.getSelectionStart());
  /frameworks/ex/common/java/com/android/ex/editstyledtext/
EditStyledText.java 227 int oldSelStart = Selection.getSelectionStart(getText());
235 mManager.showSoftKey(Selection.getSelectionStart(getText()),
280 boolean selection = getSelectionStart() != getSelectionEnd();
    [all...]
  /frameworks/base/core/java/android/view/inputmethod/
BaseInputConnection.java 217 int a = Selection.getSelectionStart(content);
291 int a = Selection.getSelectionStart(content);
318 int a = Selection.getSelectionStart(content);
349 int a = Selection.getSelectionStart(content);
374 int a = Selection.getSelectionStart(content);
630 a = Selection.getSelectionStart(content);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
CursorAnchorInfoCompatWrapper.java 62 "getSelectionStart", INVALID_TEXT_INDEX);
114 public int getSelectionStart() {
  /external/droiddriver/src/com/google/android/droiddriver/base/
BaseUiElement.java 146 public int getSelectionStart() {
157 final int selectionStart = getSelectionStart();
  /cts/tests/tests/text/src/android/text/method/cts/
ArrowKeyMovementMethodTest.java 209 assertEquals(SPACE_IN_2ND_LINE, Selection.getSelectionStart(mEditable));
293 assertEquals(SPACE_IN_2ND_LINE, Selection.getSelectionStart(mEditable));
665 assertEquals(-1, Selection.getSelectionStart(spannable));
668 assertEquals(0, Selection.getSelectionStart(spannable));
672 assertEquals(2, Selection.getSelectionStart(spannable));
675 assertEquals(0, Selection.getSelectionStart(spannable));
    [all...]
  /frameworks/base/core/tests/inputmethodtests/src/android/os/
CursorAnchorInfoTest.java 107 assertEquals(SELECTION_START, info.getSelectionStart());
132 assertEquals(SELECTION_START, info2.getSelectionStart());
159 assertEquals(SELECTION_START, info3.getSelectionStart());
185 assertEquals(-1, uninitializedInfo.getSelectionStart());
  /packages/apps/Calculator/src/com/android/calculator2/
CalculatorEditText.java 134 if (getSelectionStart() != textLength || getSelectionEnd() != textLength) {
  /frameworks/base/core/java/android/widget/
Editor.java 248 mTextView.getSelectionStart() != mTextView.getSelectionEnd()) {
759 int selectionStart = mTextView.getSelectionStart();
873 final int start = mTextView.getSelectionStart()
    [all...]
SpellChecker.java 264 final int selectionStart = Selection.getSelectionStart(editable);
    [all...]
  /frameworks/base/core/java/android/transition/
ChangeText.java 134 textview.getSelectionStart());

Completed in 1077 milliseconds

1 2 3