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

1 2 3 4 5

  /cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
InputConnectionTestUtils.java 47 int selectionEnd = -1;
55 selectionEnd = builder.length();
71 if (selectionEnd < 0) {
74 Selection.setSelection(builder, selectionStart, selectionEnd);
  /frameworks/base/core/java/android/view/textclassifier/
SmartSelection.java 48 * character index where the selection begins, and selectionEnd is the index of one character
52 * same semantics as the input selectionBeginning and selectionEnd.
54 public int[] suggest(String context, int selectionBegin, int selectionEnd) {
55 return nativeSuggest(mCtx, context, selectionBegin, selectionEnd);
67 String context, int selectionBegin, int selectionEnd, int hintFlags) {
68 return nativeClassifyText(mCtx, context, selectionBegin, selectionEnd, hintFlags);
95 long context, String text, int selectionBegin, int selectionEnd);
98 long context, String text, int selectionBegin, int selectionEnd, int hintFlags);
TextClassifierImpl.java 482 final int selectionEnd = selection[1];
483 if (selectionStart >= 0 && selectionEnd <= text.length()
484 && selectionStart <= selectionEnd) {
487 text, selectionStart, selectionEnd,
488 getHintFlags(text, selectionStart, selectionEnd));
493 context, type, text.substring(selectionStart, selectionEnd));
496 spans.add(new SpanSpec(selectionStart, selectionEnd, span));
  /cts/tests/inputmethod/src/android/view/inputmethod/cts/
ExtractedTextTest.java 36 extractedText.selectionEnd = 11;
46 assertEquals(extractedText.selectionEnd, target.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 66 * <var>startOffset</var>+<var>selectionEnd</var>.
68 public int selectionEnd;
101 dest.writeInt(selectionEnd);
117 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/tests/coretests/src/android/widget/espresso/
TextViewAssertions.java 109 int selectionEnd = textView.getSelectionEnd();
112 assertThat(selectionEnd, index);
167 int selectionEnd = textView.getSelectionEnd();
170 .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/base/core/java/android/widget/
SelectionActionModeHelper.java 235 public void onOriginalSelection(CharSequence text, int selectionStart, int selectionEnd) {
241 mOriginalEnd = mSelectionEnd = selectionEnd;
264 int selectionStart, int selectionEnd,
268 mSelectionEnd = selectionEnd;
270 mLogger.logSelectionModified(selectionStart, selectionEnd, classification, null);
287 int selectionStart, int selectionEnd,
292 mLogger.logSelectionAction(selectionStart, selectionEnd, action, classification);
630 CharSequence text, int selectionStart, int selectionEnd, LocaleList locales) {
631 init(textClassifier, text, selectionStart, selectionEnd, locales);
636 CharSequence text, int selectionStart, int selectionEnd, LocaleList locales)
    [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...]
  /frameworks/support/emoji/core/src/android/support/text/emoji/widget/
EmojiInputFilter.java 112 final int selectionEnd = Selection.getSelectionEnd(result);
117 updateSelection((Spannable) result, selectionStart, selectionEnd);
EmojiTextWatcher.java 123 final int selectionEnd = Selection.getSelectionEnd(text);
127 EmojiInputFilter.updateSelection(text, 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/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;
  /frameworks/base/core/java/android/view/
ViewStructure.java 180 * extending from <var>selectionStart</var> through <var>selectionEnd</var>.
182 public abstract void setText(CharSequence text, int selectionStart, int selectionEnd);
  /prebuilts/devtools/adt/lib/
sdktestutils.jar 
  /frameworks/support/design/tests/src/android/support/design/testutils/
ViewStructureImpl.java 186 public void setText(CharSequence text, int selectionStart, int selectionEnd) {
  /frameworks/support/emoji/core/src/android/support/text/emoji/
EmojiProcessor.java 351 final int selectionEnd = Selection.getSelectionEnd(editable);
353 if (hasInvalidSelection(selectionStart, selectionEnd)) {
363 end = CodepointIndexFinder.findIndexForward(editable, selectionEnd,
372 end = Math.min(selectionEnd + afterLength, editable.length());
  /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 

Completed in 304 milliseconds

1 2 3 4 5