HomeSort by relevance Sort by last modified time
    Searched refs:selectionEnd (Results 1 - 25 of 116) 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);
  /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/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();
  /packages/apps/Messaging/src/com/android/messaging/ui/
PlainTextEditText.java 51 int selectionEnd = getSelectionEnd();
71 selectionEnd = selectionStart;
79 setSelection(selectionStart, selectionEnd);
  /frameworks/base/core/java/android/view/textclassifier/
TextClassifierImplNative.java 71 * the character index where the selection begins, and selectionEnd is the index of one
75 * same semantics as the input selectionBeginning and selectionEnd.
78 String context, int selectionBegin, int selectionEnd, SelectionOptions options) {
79 return nativeSuggestSelection(mModelPtr, context, selectionBegin, selectionEnd, options);
91 String context, int selectionBegin, int selectionEnd, ClassificationOptions options) {
92 return nativeClassifyText(mModelPtr, context, selectionBegin, selectionEnd, options);
283 int selectionEnd,
290 int selectionEnd,
  /cts/tests/inputmethod/src/android/view/inputmethod/cts/
ExtractedTextTest.java 41 extractedText.selectionEnd = 11;
54 assertEquals(extractedText.selectionEnd, target.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/text/method/
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...]
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);
  /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);
  /frameworks/base/core/java/android/widget/
SelectionActionModeHelper.java 455 private void resetTextClassificationHelper(int selectionStart, int selectionEnd) {
456 if (selectionStart < 0 || selectionEnd < 0) {
459 selectionEnd = mTextView.getSelectionEnd();
464 selectionStart, selectionEnd,
504 CharSequence text, int selectionStart, int selectionEnd, boolean isLink) {
510 mOriginalEnd = mSelectionEnd = selectionEnd;
547 int selectionStart, int selectionEnd,
551 mSelectionEnd = selectionEnd;
553 mLogger.logSelectionModified(selectionStart, selectionEnd, classification, null);
570 int selectionStart, int selectionEnd,
    [all...]
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...]
  /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/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;
  /prebuilts/devtools/adt/lib/
sdktestutils.jar 
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowTextView.java 50 protected int selectionEnd = -1;
  /frameworks/base/core/java/android/view/
ViewStructure.java 184 * extending from <var>selectionStart</var> through <var>selectionEnd</var>.
186 public abstract void setText(CharSequence text, int selectionStart, int 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/droiddriver/src/io/appium/droiddriver/base/
BaseUiElement.java 164 final int selectionEnd = getSelectionEnd();
166 return selectionStart >= 0 && selectionStart != selectionEnd;
  /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 412 milliseconds

1 2 3 4 5