Searched refs:selEnd (Results 1 - 10 of 10) sorted by relevance
/frameworks/base/core/java/android/text/method/ |
H A D | BaseKeyListener.java | 41 int selStart, selEnd; 49 selEnd = Math.max(a, b); 52 if (selStart != selEnd) { 53 content.delete(selStart, selEnd); 57 int to = TextUtils.getOffsetBefore(content, selEnd); 59 if (to != selEnd) { 60 content.delete(Math.min(to, selEnd), Math.max(to, selEnd)); 141 int selStart, selEnd; 148 selEnd [all...] |
H A D | NumberKeyListener.java | 94 int selStart, selEnd; 101 selEnd = Math.max(a, b); 104 if (selStart < 0 || selEnd < 0) { 105 selStart = selEnd = 0; 113 if (selStart != selEnd) { 114 Selection.setSelection(content, selEnd); 117 content.replace(selStart, selEnd, String.valueOf((char) i)); 125 if (selStart == selEnd && selEnd > 0 && 127 content.replace(selStart - 1, selEnd, Strin [all...] |
H A D | QwertyKeyListener.java | 61 int selStart, selEnd; 73 selEnd = Math.max(a, b); 75 if (selStart < 0 || selEnd < 0) { 76 selStart = selEnd = 0; 89 if (count > 0 && selStart == selEnd && selStart > 0) { 112 if (selStart == selEnd) { 113 start = selEnd; 115 while (start > 0 && selEnd - start < 4 && 125 String hex = TextUtils.substring(content, start, selEnd); 131 Selection.setSelection(content, selStart, selEnd); [all...] |
H A D | MultiTapKeyListener.java | 83 int selStart, selEnd; 95 selEnd = Math.max(a, b); 109 if (activeStart == selStart && activeEnd == selEnd && 110 selEnd - selStart == 1 && 116 content.replace(selStart, selEnd, 124 content.replace(selStart, selEnd, 141 content.replace(selStart, selEnd, val, ix, ix + 1); 157 Selection.setSelection(content, selEnd, selEnd); 158 selStart = selEnd; [all...] |
H A D | CharacterPickerDialog.java | 88 int selEnd = Selection.getSelectionEnd(mText); 91 if (mInsert || selEnd == 0) { 92 mText.insert(selEnd, result); 94 mText.replace(selEnd - 1, selEnd, result);
|
H A D | LinkMovementMethod.java | 110 int selEnd = Math.max(a, b); 114 selStart = selEnd = buffer.length(); 119 selStart = selEnd = Integer.MAX_VALUE; 120 if (selEnd < first) 121 selStart = selEnd = -1; 125 if (selStart == selEnd) { 129 ClickableSpan[] link = buffer.getSpans(selStart, selEnd, ClickableSpan.class); 146 if (end < selEnd || selStart == selEnd) { 168 if (start > selStart || selStart == selEnd) { [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | ExtractEditText.java | 66 @Override protected void onSelectionChanged(int selStart, int selEnd) { argument 67 if (mSettingExtractedText == 0 && mIME != null && selStart >= 0 && selEnd >= 0) { 68 mIME.onExtractedSelectionChanged(selStart, selEnd);
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberFormattingTextWatcher.java | 75 final int selEnd = Selection.getSelectionEnd(s); 80 && selStart == selEnd) { // no selection
|
/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 2294 int selEnd; field in class:TextView.SavedState 2307 out.writeInt(selEnd); 2323 + " start=" + selStart + " end=" + selEnd; 2344 selEnd = in.readInt(); 2376 ss.selEnd = end; 2426 if (ss.selStart >= 0 && ss.selEnd >= 0) { 2430 if (ss.selStart > len || ss.selEnd > len) { 2438 "/" + ss.selEnd + " out of range for " + restored + 2442 ss.selEnd); 3930 int selStart = -1, selEnd 6046 onSelectionChanged(int selStart, int selEnd) argument [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 1158 public void updateSelection(View view, int selStart, int selEnd, argument 1168 if (mCursorSelStart != selStart || mCursorSelEnd != selEnd 1176 selStart, selEnd, candidatesStart, candidatesEnd); 1178 mCursorSelEnd = selEnd;
|
Completed in 182 milliseconds