Searched refs:selStart (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/core/java/android/text/method/ |
H A D | QwertyKeyListener.java | 91 int selStart, selEnd; 102 selStart = Math.min(a, b); 105 if (selStart < 0 || selEnd < 0) { 106 selStart = selEnd = 0; 120 if (count > 0 && selStart == selEnd && selStart > 0) { 121 char c = content.charAt(selStart - 1); 144 if (selStart == selEnd) { 152 start = selStart; 162 selStart [all...] |
H A D | MultiTapKeyListener.java | 90 int selStart, selEnd; 101 selStart = Math.min(a, b); 116 if (activeStart == selStart && activeEnd == selEnd && 117 selEnd - selStart == 1 && 120 char current = content.charAt(selStart); 123 content.replace(selStart, selEnd, 131 content.replace(selStart, selEnd, 142 char ch = content.charAt(selStart); 148 content.replace(selStart, selEnd, val, ix, ix + 1); 165 selStart [all...] |
H A D | LinkMovementMethod.java | 119 int selStart = Math.min(a, b); 122 if (selStart < 0) { 124 selStart = selEnd = buffer.length(); 128 if (selStart > last) 129 selStart = selEnd = Integer.MAX_VALUE; 131 selStart = selEnd = -1; 135 if (selStart == selEnd) { 139 ClickableSpan[] links = buffer.getSpans(selStart, selEnd, ClickableSpan.class); 162 if (end < selEnd || selStart == selEnd) { 184 if (start > selStart || selStar [all...] |
H A D | NumberKeyListener.java | 108 int selStart, selEnd; 114 selStart = Math.min(a, b); 118 if (selStart < 0 || selEnd < 0) { 119 selStart = selEnd = 0; 127 if (selStart != selEnd) { 131 content.replace(selStart, selEnd, String.valueOf((char) i)); 139 if (selStart == selEnd && selEnd > 0 && 140 content.charAt(selStart - 1) == '0') { 141 content.replace(selStart - 1, selEnd, String.valueOf('+'));
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | ExtractEditText.java | 87 @Override protected void onSelectionChanged(int selStart, int selEnd) { argument 88 if (mSettingExtractedText == 0 && mIME != null && selStart >= 0 && selEnd >= 0) { 89 mIME.onExtractedSelectionChanged(selStart, selEnd);
|
/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 5353 ss.selStart = start; 5399 if (ss.selStart >= 0 && ss.selEnd >= 0) { 5403 if (ss.selStart > len || ss.selEnd > len) { 5410 Log.e(LOG_TAG, "Saved cursor position " + ss.selStart + "/" + ss.selEnd 5413 Selection.setSelection(mSpannable, ss.selStart, ss.selEnd); 7033 final int selStart = getSelectionStart(); 7035 if (mMovement != null && (isFocused() || isPressed()) && selStart >= 0) { 7036 if (selStart == selEnd) { 7041 mLayout.getCursorPath(selStart, mHighlightPath, mText); 7055 mLayout.getSelectionPath(selStart, selEn 9663 onSelectionChanged(int selStart, int selEnd) argument 12174 int selStart = -1; field in class:TextView.SavedState [all...] |
H A D | Editor.java | 1241 int selStart = mTextView.getSelectionStart(); 1246 final boolean isFocusHighlighted = mSelectAllOnFocus && selStart == 0 1252 if (!mFrozenWithFocus || (selStart < 0 || selEnd < 0)) { 1272 && selStart >= 0 && selEnd >= 0) { 1282 Selection.setSelection((Spannable) mTextView.getText(), selStart, selEnd);
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 1627 public void updateSelection(View view, int selStart, int selEnd, argument 1637 if (mCursorSelStart != selStart || mCursorSelEnd != selEnd 1649 mCursorSelStart = selStart; 1654 selStart, selEnd, candidatesStart, candidatesEnd);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 2858 int selStart = getSelectionStart(); 2859 DrawableRecipientChip[] repl = getSpannable().getSpans(selStart, selStart,
|
Completed in 2473 milliseconds