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

1 2

  /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 527 assertEquals(1, Selection.getSelectionStart(textView.getText()));
561 assertEquals(2, Selection.getSelectionStart(textView.getText()));
595 assertEquals(3, Selection.getSelectionStart(textView.getText()));
603 assertEquals(3, Selection.getSelectionStart(textView.getText()));
637 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);
  /packages/apps/Calculator/src/com/android/calculator2/
CalculatorDisplay.java 115 int cursor = editor.getSelectionStart();
151 int getSelectionStart() {
153 return text.getSelectionStart();
Logic.java 98 int cursorPos = editText.getSelectionStart();
154 mDisplay.getSelectionStart() != text.length());
  /frameworks/base/core/java/android/text/
Selection.java 37 public static final int getSelectionStart(CharSequence text) {
72 int ostart = getSelectionStart(text);
122 int start = getSelectionStart(text);
163 int start = getSelectionStart(text);
205 int start = getSelectionStart(text);
230 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/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());
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
AdapterInputConnection.java 163 int selectionStart = Selection.getSelectionStart(editable);
263 et.selectionStart = Selection.getSelectionStart(editable);
300 int availableBefore = Selection.getSelectionStart(editable);
331 int selectionStart = Selection.getSelectionStart(editable);
454 int selectionStart = Selection.getSelectionStart(editable);
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/
SelectionHandleTest.java 119 int start = getSelectionStart();
194 final int initialSelectionStart = getSelectionStart();
203 int startChange = getSelectionStart() - initialSelectionStart;
437 private int getSelectionStart() {
438 return Selection.getSelectionStart(getEditable());
InsertionHandleTest.java 136 int offset = getSelectionStart();
283 int start = getSelectionStart();
365 private int getSelectionStart() {
366 return Selection.getSelectionStart(getEditable());
  /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 216 int a = Selection.getSelectionStart(content);
290 int a = Selection.getSelectionStart(content);
317 int a = Selection.getSelectionStart(content);
348 int a = Selection.getSelectionStart(content);
373 int a = Selection.getSelectionStart(content);
620 a = Selection.getSelectionStart(content);
  /cts/tests/tests/text/src/android/text/method/cts/
ArrowKeyMovementMethodTest.java 201 assertEquals(SPACE_IN_2ND_LINE, Selection.getSelectionStart(mEditable));
268 assertEquals(SPACE_IN_2ND_LINE, Selection.getSelectionStart(mEditable));
612 assertEquals(-1, Selection.getSelectionStart(spannable));
615 assertEquals(0, Selection.getSelectionStart(spannable));
619 assertEquals(2, Selection.getSelectionStart(spannable));
622 assertEquals(0, Selection.getSelectionStart(spannable));
    [all...]
  /frameworks/base/core/java/android/widget/
Editor.java 233 mTextView.getSelectionStart() != mTextView.getSelectionEnd()) {
728 int selectionStart = mTextView.getSelectionStart();
842 final int start = mTextView.getSelectionStart();
    [all...]
  /frameworks/base/core/java/android/transition/
ChangeText.java 134 textview.getSelectionStart());
  /frameworks/base/core/tests/coretests/src/android/widget/
TextViewWordLimitsTest.java 100 assertEquals(correctStart, mTv.getSelectionStart());

Completed in 1401 milliseconds

1 2