/frameworks/base/core/java/android/text/method/ |
D | QwertyKeyListener.java | 91 int selStart, selEnd; in onKeyDown() local 103 selEnd = Math.max(a, b); in onKeyDown() 105 if (selStart < 0 || selEnd < 0) { in onKeyDown() 106 selStart = selEnd = 0; in onKeyDown() 120 if (count > 0 && selStart == selEnd && selStart > 0) { in onKeyDown() 144 if (selStart == selEnd) { in onKeyDown() 145 start = selEnd; in onKeyDown() 147 while (start > 0 && selEnd - start < 4 && in onKeyDown() 157 String hex = TextUtils.substring(content, start, selEnd); in onKeyDown() 163 Selection.setSelection(content, selStart, selEnd); in onKeyDown() [all …]
|
D | MultiTapKeyListener.java | 90 int selStart, selEnd; in onKeyDown() local 102 selEnd = Math.max(a, b); in onKeyDown() 116 if (activeStart == selStart && activeEnd == selEnd && in onKeyDown() 117 selEnd - selStart == 1 && in onKeyDown() 123 content.replace(selStart, selEnd, in onKeyDown() 131 content.replace(selStart, selEnd, in onKeyDown() 148 content.replace(selStart, selEnd, val, ix, ix + 1); in onKeyDown() 164 Selection.setSelection(content, selEnd, selEnd); in onKeyDown() 165 selStart = selEnd; in onKeyDown() 189 if (selStart != selEnd) { in onKeyDown() [all …]
|
D | NumberKeyListener.java | 108 int selStart, selEnd; in onKeyDown() local 115 selEnd = Math.max(a, b); in onKeyDown() 118 if (selStart < 0 || selEnd < 0) { in onKeyDown() 119 selStart = selEnd = 0; in onKeyDown() 127 if (selStart != selEnd) { in onKeyDown() 128 Selection.setSelection(content, selEnd); in onKeyDown() 131 content.replace(selStart, selEnd, String.valueOf((char) i)); in onKeyDown() 139 if (selStart == selEnd && selEnd > 0 && in onKeyDown() 141 content.replace(selStart - 1, selEnd, String.valueOf('+')); in onKeyDown()
|
D | LinkMovementMethod.java | 121 int selEnd = Math.max(a, b); in action() local 125 selStart = selEnd = buffer.length(); in action() 130 selStart = selEnd = Integer.MAX_VALUE; in action() 131 if (selEnd < first) in action() 132 selStart = selEnd = -1; in action() 136 if (selStart == selEnd) { in action() 140 ClickableSpan[] links = buffer.getSpans(selStart, selEnd, ClickableSpan.class); in action() 163 if (end < selEnd || selStart == selEnd) { in action() 185 if (start > selStart || selStart == selEnd) { in action()
|
D | CharacterPickerDialog.java | 95 int selEnd = Selection.getSelectionEnd(mText); in replaceCharacterAndClose() local 96 if (mInsert || selEnd == 0) { in replaceCharacterAndClose() 97 mText.insert(selEnd, replace); in replaceCharacterAndClose() 99 mText.replace(selEnd - 1, selEnd, replace); in replaceCharacterAndClose()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | ExtractEditText.java | 87 @Override protected void onSelectionChanged(int selStart, int selEnd) { in onSelectionChanged() argument 88 if (mSettingExtractedText == 0 && mIME != null && selStart >= 0 && selEnd >= 0) { in onSelectionChanged() 89 mIME.onExtractedSelectionChanged(selStart, selEnd); in onSelectionChanged()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | EditorInfo.java | 619 private void trimLongSurroundingText(CharSequence subText, int selStart, int selEnd) { in trimLongSurroundingText() argument 620 final int sourceSelLength = selEnd - selStart; in trimLongSurroundingText() 627 final int subTextAfterCursorLength = subText.length() - selEnd; in trimLongSurroundingText() 646 selEnd + newAfterCursorLength - 1, TrimPolicy.TAIL)) { in trimLongSurroundingText() 656 final CharSequence afterCursor = subText.subSequence(selEnd, in trimLongSurroundingText() 657 selEnd + newAfterCursorLength); in trimLongSurroundingText()
|
D | InputMethodManager.java | 2186 public void updateSelection(View view, int selStart, int selEnd, in updateSelection() argument 2191 fallbackImm.updateSelection(view, selStart, selEnd, candidatesStart, candidatesEnd); in updateSelection() 2202 if (mCursorSelStart != selStart || mCursorSelEnd != selEnd in updateSelection() 2215 mCursorSelEnd = selEnd; in updateSelection() 2219 selStart, selEnd, candidatesStart, candidatesEnd); in updateSelection()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 5916 ss.selEnd = end; in onSaveInstanceState() 5961 if (ss.selStart >= 0 && ss.selEnd >= 0) { in onRestoreInstanceState() 5965 if (ss.selStart > len || ss.selEnd > len) { in onRestoreInstanceState() 5972 Log.e(LOG_TAG, "Saved cursor position " + ss.selStart + "/" + ss.selEnd in onRestoreInstanceState() 5975 Selection.setSelection(mSpannable, ss.selStart, ss.selEnd); in onRestoreInstanceState() 7832 final int selEnd = getSelectionEnd(); in getUpdatedHighlightPath() local 7834 if (selStart == selEnd) { in getUpdatedHighlightPath() 7853 mLayout.getSelectionPath(selStart, selEnd, mHighlightPath); in getUpdatedHighlightPath() 8048 int selEnd = getSelectionEnd(); in getFocusedRect() local 8049 if (selEnd < 0) { in getFocusedRect() [all …]
|
D | Editor.java | 1417 int selEnd = mTextView.getSelectionEnd(); in onFocusChanged() local 1422 && selEnd == mTextView.getText().length(); in onFocusChanged() 1427 if (!mFrozenWithFocus || (selStart < 0 || selEnd < 0)) { in onFocusChanged() 1450 && selStart >= 0 && selEnd >= 0) { in onFocusChanged() 1460 Selection.setSelection((Spannable) mTextView.getText(), selStart, selEnd); in onFocusChanged() local
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 773 int selEnd = getSelectionEnd(); in shrink() local 774 if (whatEnd != selEnd) { in shrink() 1796 int selEnd = getSelectionEnd(); in handleEdit() local 1797 if (chipText != null && start > -1 && selEnd > -1) { in handleEdit() 1798 editable.replace(start, selEnd, chipText); in handleEdit()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |