/frameworks/base/core/java/android/text/method/ |
D | QwertyKeyListener.java | 91 int selStart, selEnd; in onKeyDown() local 102 selStart = Math.min(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() 121 char c = content.charAt(selStart - 1); in onKeyDown() 144 if (selStart == selEnd) { in onKeyDown() 152 start = selStart; in onKeyDown() 162 selStart = start; in onKeyDown() 163 Selection.setSelection(content, selStart, selEnd); in onKeyDown() [all …]
|
D | MultiTapKeyListener.java | 90 int selStart, selEnd; in onKeyDown() local 101 selStart = Math.min(a, b); in onKeyDown() 116 if (activeStart == selStart && activeEnd == selEnd && in onKeyDown() 117 selEnd - selStart == 1 && in onKeyDown() 120 char current = content.charAt(selStart); in onKeyDown() 123 content.replace(selStart, selEnd, in onKeyDown() 131 content.replace(selStart, selEnd, in onKeyDown() 142 char ch = content.charAt(selStart); in onKeyDown() 148 content.replace(selStart, selEnd, val, ix, ix + 1); in onKeyDown() 165 selStart = selEnd; in onKeyDown() [all …]
|
D | LinkMovementMethod.java | 120 int selStart = Math.min(a, b); in action() local 123 if (selStart < 0) { in action() 125 selStart = selEnd = buffer.length(); in action() 129 if (selStart > last) in action() 130 selStart = selEnd = Integer.MAX_VALUE; 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 | NumberKeyListener.java | 108 int selStart, selEnd; in onKeyDown() local 114 selStart = Math.min(a, b); in onKeyDown() 118 if (selStart < 0 || selEnd < 0) { in onKeyDown() 119 selStart = selEnd = 0; in onKeyDown() 127 if (selStart != selEnd) { in onKeyDown() 131 content.replace(selStart, selEnd, String.valueOf((char) i)); in onKeyDown() 139 if (selStart == selEnd && selEnd > 0 && in onKeyDown() 140 content.charAt(selStart - 1) == '0') { in onKeyDown() 141 content.replace(selStart - 1, selEnd, String.valueOf('+')); in onKeyDown()
|
/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/widget/ |
D | TextView.java | 5873 ss.selStart = start; in onSaveInstanceState() 5919 if (ss.selStart >= 0 && ss.selEnd >= 0) { in onRestoreInstanceState() 5923 if (ss.selStart > len || ss.selEnd > len) { in onRestoreInstanceState() 5930 Log.e(LOG_TAG, "Saved cursor position " + ss.selStart + "/" + ss.selEnd in onRestoreInstanceState() 5933 Selection.setSelection(mSpannable, ss.selStart, ss.selEnd); in onRestoreInstanceState() 7778 final int selStart = getSelectionStart(); in getUpdatedHighlightPath() local 7780 if (mMovement != null && (isFocused() || isPressed()) && selStart >= 0) { in getUpdatedHighlightPath() 7781 if (selStart == selEnd) { in getUpdatedHighlightPath() 7786 mLayout.getCursorPath(selStart, mHighlightPath, mText); in getUpdatedHighlightPath() 7800 mLayout.getSelectionPath(selStart, selEnd, mHighlightPath); in getUpdatedHighlightPath() [all …]
|
D | Editor.java | 1259 int selStart = mTextView.getSelectionStart(); in onFocusChanged() local 1264 final boolean isFocusHighlighted = mSelectAllOnFocus && selStart == 0 in onFocusChanged() 1270 if (!mFrozenWithFocus || (selStart < 0 || selEnd < 0)) { in onFocusChanged() 1290 && selStart >= 0 && selEnd >= 0) { in onFocusChanged() 1300 Selection.setSelection((Spannable) mTextView.getText(), selStart, selEnd); in onFocusChanged() local
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodManager.java | 2074 public void updateSelection(View view, int selStart, int selEnd, in updateSelection() argument 2079 fallbackImm.updateSelection(view, selStart, selEnd, candidatesStart, candidatesEnd); in updateSelection() 2091 if (mCursorSelStart != selStart || mCursorSelEnd != selEnd in updateSelection() 2103 mCursorSelStart = selStart; in updateSelection() 2108 selStart, selEnd, candidatesStart, candidatesEnd); in updateSelection()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 2858 int selStart = getSelectionStart(); in onTextChanged() local 2859 DrawableRecipientChip[] repl = getSpannable().getSpans(selStart, selStart, in onTextChanged()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |