/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
ExtractedTextTest.java | 29 extractedText.selectionEnd = 11; 39 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/java/android/text/method/ |
BaseKeyListener.java | 162 int selectionEnd = Selection.getSelectionEnd(content); 163 if (selectionEnd < selectionStart) { 164 int temp = selectionEnd; 165 selectionEnd = selectionStart; 168 if (selectionStart != selectionEnd) { 169 content.delete(selectionStart, selectionEnd); 244 int selectionEnd = Selection.getSelectionEnd(content); 245 if (selectionEnd < selectionStart) { 246 int temp = selectionEnd; 247 selectionEnd = selectionStart [all...] |
ArrowKeyMovementMethod.java | 200 final int selectionEnd = widget.getSelectionEnd(); 202 wordIterator.setCharSequence(buffer, selectionEnd, selectionEnd); 209 final int selectionEnd = widget.getSelectionEnd(); 211 wordIterator.setCharSequence(buffer, selectionEnd, selectionEnd);
|
/frameworks/base/core/java/android/view/ |
ViewStructure.java | 165 * extending from <var>selectionStart</var> through <var>selectionEnd</var>. 167 public abstract void setText(CharSequence text, int selectionStart, int 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/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/tests/coretests/src/android/widget/ |
TextViewWordLimitsTest.java | 91 private void verifySelectCurrentWord(Spannable text, int selectionStart, int selectionEnd, int correctStart, 95 Selection.setSelection((Spannable)mTv.getText(), selectionStart, selectionEnd);
|
/prebuilts/devtools/adt/lib/ |
sdktestutils.jar | |
/external/droiddriver/src/io/appium/droiddriver/base/ |
BaseUiElement.java | 164 final int selectionEnd = getSelectionEnd(); 166 return selectionStart >= 0 && selectionStart != selectionEnd;
|
/frameworks/base/core/java/android/text/ |
SpannableStringBuilder.java | 528 int selectionEnd = 0; 531 selectionEnd = Selection.getSelectionEnd(this); 546 if (selectionEnd > start && selectionEnd < end) { 547 final int offset = (selectionEnd - start) * newLen / origLen; 548 selectionEnd = start + offset; 551 setSpan(false, Selection.SELECTION_END, selectionEnd, selectionEnd, [all...] |
/frameworks/base/core/java/android/widget/ |
Editor.java | 808 int selectionStart, selectionEnd; 816 selectionEnd = ((Spanned) mTextView.getText()).getSpanEnd(urlSpan); 824 selectionEnd = wordIterator.getEnd(maxOffset); 826 if (selectionStart == BreakIterator.DONE || selectionEnd == BreakIterator.DONE || 827 selectionStart == selectionEnd) { 831 selectionEnd = TextUtils.unpackRangeEndFromLong(range); 835 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd); 836 return selectionEnd > selectionStart; [all...] |
SpellChecker.java | 265 final int selectionEnd = Selection.getSelectionEnd(editable); 289 isEditing = !apostrophe && (selectionEnd <= start || selectionStart > end); 291 isEditing = !apostrophe && (selectionEnd < start || selectionStart > end); 301 + selectionEnd + ", start = " + start + ", end = " + end); [all...] |
NumberPicker.java | [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 | |
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
DialpadFragment.java | [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/ |
InputLogic.java | [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
BaseKeyListenerTest.java | 554 final boolean selectInTextView, final int selectionStart, final int selectionEnd) { 561 selectionStart, selectionEnd);
|
/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/app/assist/ |
AssistStructure.java | [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | 242 final int selectionEnd = LONG_TEXT.length(); 250 selectionStart, selectionEnd); 258 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); 269 selectionStart, selectionEnd); 277 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); 282 assertEquals(selectionEnd, Selection.getSelectionEnd(mTextView.getText())); [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
InputMethodService.java | [all...] |