/frameworks/base/core/java/android/text/method/ |
D | ArrowKeyMovementMethod.java | 21 import android.text.Selection; 40 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer))); in getCurrentLineTop() 73 return Selection.extendLeft(buffer, layout); in left() 75 return Selection.moveLeft(buffer, layout); in left() 83 return Selection.extendRight(buffer, layout); in right() 85 return Selection.moveRight(buffer, layout); in right() 93 return Selection.extendUp(buffer, layout); in up() 95 return Selection.moveUp(buffer, layout); in up() 103 return Selection.extendDown(buffer, layout); in down() 105 return Selection.moveDown(buffer, layout); in down() [all …]
|
D | MultiTapKeyListener.java | 95 int a = Selection.getSelectionStart(content); in onKeyDown() 96 int b = Selection.getSelectionEnd(content); in onKeyDown() 161 Selection.setSelection(content, selEnd, selEnd); in onKeyDown() 187 Selection.setSelection(content, selEnd); in onKeyDown() 196 selEnd = Selection.getSelectionEnd(content); in onKeyDown() 199 Selection.setSelection(content, oldStart, selEnd); in onKeyDown() 236 if (what == Selection.SELECTION_END) { in onSpanChanged() 270 int st = Selection.getSelectionStart(buf); in run() 271 int en = Selection.getSelectionEnd(buf); in run() 277 Selection.setSelection(buf, Selection.getSelectionEnd(buf)); in run()
|
D | LinkMovementMethod.java | 21 import android.text.Selection; 112 int a = Selection.getSelectionStart(buffer); in action() 113 int b = Selection.getSelectionEnd(buffer); in action() 161 Selection.setSelection(buffer, bestend, beststart); in action() 183 Selection.setSelection(buffer, beststart, bestend); in action() 219 Selection.setSelection(buffer, in onTouchEvent() 226 Selection.removeSelection(buffer); in onTouchEvent() 235 Selection.removeSelection(text); in initialize() 241 Selection.removeSelection(text); in onTakeFocus()
|
D | NumberKeyListener.java | 23 import android.text.Selection; 101 int a = Selection.getSelectionStart(content); in onKeyDown() 102 int b = Selection.getSelectionEnd(content); in onKeyDown() 110 Selection.setSelection(content, 0); in onKeyDown() 118 Selection.setSelection(content, selEnd); in onKeyDown()
|
D | BaseKeyListener.java | 85 final int start = Selection.getSelectionEnd(content); in backspaceOrForwardDelete() 101 int selectionStart = Selection.getSelectionStart(content); in deleteSelection() 102 int selectionEnd = Selection.getSelectionEnd(content); in deleteSelection() 119 final int line = layout.getLineForOffset(Selection.getSelectionStart(content)); in deleteLine() 183 int selectionStart = Selection.getSelectionStart(content); in onKeyOther() 184 int selectionEnd = Selection.getSelectionEnd(content); in onKeyOther()
|
D | QwertyKeyListener.java | 94 int a = Selection.getSelectionStart(content); in onKeyDown() 95 int b = Selection.getSelectionEnd(content); in onKeyDown() 102 Selection.setSelection(content, 0, 0); in onKeyDown() 158 Selection.setSelection(content, selStart, selEnd); in onKeyDown() 188 Selection.setSelection(content, selEnd); in onKeyDown() 218 Selection.setSelection(content, selEnd); in onKeyDown() 226 selEnd = Selection.getSelectionEnd(content); in onKeyDown() 234 Selection.setSelection(content, oldStart, selEnd); in onKeyDown() 280 selEnd = Selection.getSelectionEnd(content); in onKeyDown()
|
D | WordIterator.java | 20 import android.text.Selection; 34 public class WordIterator implements Selection.PositionIterator {
|
D | CharacterPickerDialog.java | 94 int selEnd = Selection.getSelectionEnd(mText); in replaceCharacterAndClose()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberWatcherTest.java | 21 import android.text.Selection; 34 Selection.setSelection(number, number.length()); in testAppendChars() 38 assertEquals(formatted1.length(), Selection.getSelectionEnd(number)); in testAppendChars() 45 Selection.setSelection(number, number.length()); in testAppendChars() 49 assertEquals(formatted2.length(), Selection.getSelectionEnd(number)); in testAppendChars() 61 Selection.setSelection(number, number.length()); in testRemoveLastChars() 65 assertEquals(result1.length(), Selection.getSelectionEnd(number)); in testRemoveLastChars() 70 Selection.setSelection(number, number.length()); in testRemoveLastChars() 74 assertEquals(result2.length(), Selection.getSelectionEnd(number)); in testRemoveLastChars() 86 Selection.setSelection(number, 4); // make the cursor at right of 1 in testInsertChars() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 25 import android.text.Selection; 136 Selection.setSelection(mEditable, 0); in getEditable() 217 int a = Selection.getSelectionStart(content); in deleteSurroundingText() 218 int b = Selection.getSelectionEnd(content); in deleteSurroundingText() 291 int a = Selection.getSelectionStart(content); in getCursorCapsMode() 292 int b = Selection.getSelectionEnd(content); in getCursorCapsMode() 318 int a = Selection.getSelectionStart(content); in getTextBeforeCursor() 319 int b = Selection.getSelectionEnd(content); in getTextBeforeCursor() 349 int a = Selection.getSelectionStart(content); in getSelectedText() 350 int b = Selection.getSelectionEnd(content); in getSelectedText() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | EditText.java | 22 import android.text.Selection; 92 Selection.setSelection(getText(), start, stop); in setSelection() 99 Selection.setSelection(getText(), index); in setSelection() 106 Selection.selectAll(getText()); in selectAll() 113 Selection.extendSelection(getText(), index); in extendSelection()
|
D | DialerFilter.java | 23 import android.text.Selection; 283 Selection.setSelection(lettersText, lettersText.length()); in swapPrimaryAndHint() 288 Selection.setSelection(digitsText, digitsText.length()); in swapPrimaryAndHint()
|
D | Editor.java | 60 import android.text.Selection; 714 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd); in selectCurrentWord() 770 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd); in touchPositionIsInSelection() 865 Selection.setSelection((Spannable) mTextView.getText(), offset); in performLongClick() 924 Selection.setSelection((Spannable) mTextView.getText(), lastTapPosition); in onFocusChanged() 949 Selection.setSelection((Spannable) mTextView.getText(), selStart, selEnd); in onFocusChanged() 980 Selection.setSelection((Spannable) mTextView.getText(), selStart, selEnd); in onFocusChanged() 1616 Selection.setSelection((Spannable) text, offset); in onTouchUpEvent() 1865 Selection.setSelection((Spannable) mTextView.getText(), max); in onDrop() 1922 return (Selection.SELECTION_START == span || Selection.SELECTION_END == span) in isNonIntermediateSelectionSpan() [all …]
|
D | SpellChecker.java | 21 import android.text.Selection; 264 final int selectionStart = Selection.getSelectionStart(editable); in spellCheck() 265 final int selectionEnd = Selection.getSelectionEnd(editable); in spellCheck()
|
D | TextView.java | 56 import android.text.Selection; 3808 Selection.setSelection((Spannable) mText, ss.selStart, ss.selEnd); in onRestoreInstanceState() 4123 Selection.setSelection((Spannable) mText, in setTextKeepState() 6084 Selection.setSelection(sp, start, end); in setExtractedText() 7207 Selection.setSelection((Spannable)mText, newStart); in moveCursorToVisibleOffset() 7285 return Selection.getSelectionStart(getText()); in getSelectionStart() 7293 return Selection.getSelectionEnd(getText()); in getSelectionEnd() 7756 if (what == Selection.SELECTION_END) { in spanChange() 7761 invalidateCursor(Selection.getSelectionStart(buf), oldStart, newStart); in spanChange() 7768 if (what == Selection.SELECTION_START) { in spanChange() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberFormattingTextWatcher.java | 24 import android.text.Selection; 108 String formatted = reformat(s, Selection.getSelectionEnd(s)); in afterTextChanged() 116 Selection.setSelection(s, rememberedPos); in afterTextChanged()
|
/frameworks/base/docs/html/design/building-blocks/ |
D | text-fields.jd | 51 <h2 id="text-selection">Text Selection</h2> 55 Selection mode includes:</p> 72 <h4>Selection handles</h4> 73 <p>Selection handles can be dragged to select more or less text while remaining in selection mode.<…
|
/frameworks/base/core/java/android/webkit/ |
D | FindActionModeCallback.java | 25 import android.text.Selection; 84 Selection.setSelection(span, length, length); in setText() 212 Selection.setSelection(edit, edit.length()); in onCreateActionMode()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewWordLimitsTest.java | 22 import android.text.Selection; 95 Selection.setSelection((Spannable)mTv.getText(), selectionStart, selectionEnd); in verifySelectCurrentWord()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 54 import android.text.Selection; 227 int oldSelStart = Selection.getSelectionStart(getText()); in onTouchEvent() 228 int oldSelEnd = Selection.getSelectionEnd(getText()); in onTouchEvent() 235 mManager.showSoftKey(Selection.getSelectionStart(getText()), in onTouchEvent() 236 Selection.getSelectionEnd(getText())); in onTouchEvent() 1522 Selection.setSelection(mEST.getText(), max); in pasteFromClipboard() 1558 Selection.selectAll(mEST.getText()); in selectAll() 1675 Selection.setSelection(mEST.getText(), max); in setStyledTextSpan() 1690 Selection.setSelection(mEST.getText(), current); in setLineStyledTextSpan() 1803 mSkr.mNewStart = Selection.getSelectionStart(mEST.getText()); in showSoftKey() [all …]
|
/frameworks/base/core/java/android/text/ |
D | Selection.java | 26 public class Selection { class 27 private Selection() { /* cannot be instantiated */ } in Selection() method in Selection
|
D | SpannableStringBuilder.java | 492 selectionStart = Selection.getSelectionStart(this); in replace() 493 selectionEnd = Selection.getSelectionEnd(this); in replace() 503 setSpan(false, Selection.SELECTION_START, selectionStart, selectionStart, in replace() 510 setSpan(false, Selection.SELECTION_END, selectionEnd, selectionEnd, in replace()
|
/frameworks/base/docs/html/training/secure-file-sharing/ |
D | share-file.jd | 13 <li><a href="#CreateFileSelection">Create a File Selection Activity</a></li> 14 <li><a href="#RespondToRequest">Respond to a File Selection</a></li> 64 <h2 id="CreateFileSelection">Create a File Selection Activity</h2> 135 <h2 id="RespondToRequest">Respond to a File Selection</h2>
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_framebuffer_target.txt | 73 Attribute Default Selection Sort Sort
|
/frameworks/base/docs/html/training/tv/start/ |
D | navigation.jd | 13 <li><a href="#focus-selection">Provide Clear Focus and Selection</a></li> 123 <h2 id="focus-selection">Provide Clear Focus and Selection</h2>
|