HomeSort by relevance Sort by last modified time
    Searched defs:selectionEnd (Results 1 - 25 of 114) sorted by null

1 2 3 4 5

  /cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
InputConnectionTestUtils.java 48 int selectionEnd = -1;
56 selectionEnd = builder.length();
72 if (selectionEnd < 0) {
75 Selection.setSelection(builder, selectionStart, selectionEnd);
  /frameworks/base/core/tests/coretests/src/android/widget/espresso/
TextViewAssertions.java 112 int selectionEnd = textView.getSelectionEnd();
115 assertThat(selectionEnd, index);
170 int selectionEnd = textView.getSelectionEnd();
173 .subSequence(selectionStart, selectionEnd)
  /frameworks/base/core/java/android/view/inputmethod/
ExtractedText.java 68 * <var>startOffset</var>+<var>selectionEnd</var>.
70 public int selectionEnd;
110 dest.writeInt(selectionEnd);
127 res.selectionEnd = source.readInt();
  /development/samples/ApiDemos/src/com/example/android/apis/app/
PersistentState.java 105 int selectionEnd = prefs.getInt("selection-end", -1);
106 if (selectionStart != -1 && selectionEnd != -1) {
107 mSaved.setSelection(selectionStart, selectionEnd);
  /frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/
EmojiInputFilter.java 114 final int selectionEnd = Selection.getSelectionEnd(result);
119 updateSelection((Spannable) result, selectionStart, selectionEnd);
EmojiTextWatcher.java 125 final int selectionEnd = Selection.getSelectionEnd(text);
129 EmojiInputFilter.updateSelection(text, selectionStart, selectionEnd);
  /packages/apps/Messaging/src/com/android/messaging/ui/
PlainTextEditText.java 51 int selectionEnd = getSelectionEnd();
71 selectionEnd = selectionStart;
79 setSelection(selectionStart, selectionEnd);
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowTextView.java 50 protected int selectionEnd = -1;
  /frameworks/base/core/java/android/text/method/
ArrowKeyMovementMethod.java 199 final int selectionEnd = widget.getSelectionEnd();
201 wordIterator.setCharSequence(buffer, selectionEnd, selectionEnd);
208 final int selectionEnd = widget.getSelectionEnd();
210 wordIterator.setCharSequence(buffer, selectionEnd, selectionEnd);
BaseKeyListener.java 426 int selectionEnd = Selection.getSelectionEnd(content);
427 if (selectionEnd < selectionStart) {
428 int temp = selectionEnd;
429 selectionEnd = selectionStart;
432 if (selectionStart != selectionEnd) {
433 content.delete(selectionStart, selectionEnd);
509 int selectionEnd = Selection.getSelectionEnd(content);
510 if (selectionEnd < selectionStart) {
511 int temp = selectionEnd;
512 selectionEnd = selectionStart
    [all...]
  /cts/tests/inputmethod/src/android/view/inputmethod/cts/
BaseInputConnectionTest.java 193 * and selection range from {@code selectionStart} to {@code selectionEnd}
197 final int selectionEnd = Selection.getSelectionEnd(source);
199 Selection.setSelection(editable, selectionStart, selectionEnd);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
HyperlinksTest.java 301 int selectionEnd = selectionStart + selection.y;
302 if (selectionEnd > selectionStart) {
305 text.substring(selectionStart, selectionEnd) + "]" +
306 text.substring(selectionEnd);
  /external/droiddriver/src/io/appium/droiddriver/base/
BaseUiElement.java 164 final int selectionEnd = getSelectionEnd();
166 return selectionStart >= 0 && selectionStart != selectionEnd;
  /frameworks/support/emoji/core/src/main/java/androidx/emoji/text/
EmojiProcessor.java 380 final int selectionEnd = Selection.getSelectionEnd(editable);
382 if (hasInvalidSelection(selectionStart, selectionEnd)) {
392 end = CodepointIndexFinder.findIndexForward(editable, selectionEnd,
401 end = Math.min(selectionEnd + afterLength, editable.length());
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTextView.java 50 protected int selectionEnd = 0;
86 boolean isSelectEndAtEnd = selectionEnd == this.text.length();
98 selectionEnd = this.text.length();
494 selectionEnd = end;
504 return selectionEnd;
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
ScriptEditor.java 272 int selectionEnd = Math.max(mContentText.getSelectionStart(), mContentText.getSelectionEnd());
273 mContentText.getEditableText().replace(selectionStart, selectionEnd, text);
  /frameworks/base/core/java/android/widget/
SpellChecker.java 265 final int selectionEnd = Selection.getSelectionEnd(editable);
290 isEditing = selectionEnd <= start || selectionStart > end;
292 isEditing = selectionEnd < start || selectionStart > end;
302 + selectionEnd + ", start = " + start + ", end = " + end);
    [all...]
  /prebuilts/devtools/adt/lib/
sdktestutils.jar 
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
AdtProjectTest.java 387 int selectionEnd = selectionBegin + selectedRange.y;
388 return addSelection(newFileContents, selectionBegin, selectionEnd);
  /frameworks/base/core/java/android/text/
SpannableStringBuilder.java 542 int selectionEnd = 0;
545 selectionEnd = Selection.getSelectionEnd(this);
561 if (selectionEnd > start && selectionEnd < end) {
562 final long diff = selectionEnd - start;
564 selectionEnd = start + offset;
567 setSpan(false, Selection.SELECTION_END, selectionEnd, selectionEnd,
    [all...]
  /prebuilts/gradle-plugin/com/android/tools/testutils/24.3.1/
testutils-24.3.1.jar 
  /prebuilts/gradle-plugin/com/android/tools/testutils/24.4.0-alpha1/
testutils-24.4.0-alpha1.jar 
  /prebuilts/gradle-plugin/com/android/tools/testutils/24.4.0-beta3/
testutils-24.4.0-beta3.jar 
  /prebuilts/gradle-plugin/com/android/tools/testutils/24.4.0-beta5/
testutils-24.4.0-beta5.jar 
  /prebuilts/gradle-plugin/com/android/tools/testutils/24.4.0-beta6/
testutils-24.4.0-beta6.jar 

Completed in 344 milliseconds

1 2 3 4 5