/frameworks/base/core/java/android/text/method/ |
NumberKeyListener.java | 98 int selStart, selEnd; 105 selEnd = Math.max(a, b); 108 if (selStart < 0 || selEnd < 0) { 109 selStart = selEnd = 0; 117 if (selStart != selEnd) { 118 Selection.setSelection(content, selEnd); 121 content.replace(selStart, selEnd, String.valueOf((char) i)); 129 if (selStart == selEnd && selEnd > 0 && 131 content.replace(selStart - 1, selEnd, String.valueOf('+')) [all...] |
MultiTapKeyListener.java | 87 int selStart, selEnd; 99 selEnd = Math.max(a, b); 113 if (activeStart == selStart && activeEnd == selEnd && 114 selEnd - selStart == 1 && 120 content.replace(selStart, selEnd, 128 content.replace(selStart, selEnd, 145 content.replace(selStart, selEnd, val, ix, ix + 1); 161 Selection.setSelection(content, selEnd, selEnd); 162 selStart = selEnd; [all...] |
QwertyKeyListener.java | 86 int selStart, selEnd; 98 selEnd = Math.max(a, b); 100 if (selStart < 0 || selEnd < 0) { 101 selStart = selEnd = 0; 115 if (count > 0 && selStart == selEnd && selStart > 0) { 139 if (selStart == selEnd) { 140 start = selEnd; 142 while (start > 0 && selEnd - start < 4 && 152 String hex = TextUtils.substring(content, start, selEnd); 158 Selection.setSelection(content, selStart, selEnd); [all...] |
LinkMovementMethod.java | 116 int selEnd = Math.max(a, b); 120 selStart = selEnd = buffer.length(); 125 selStart = selEnd = Integer.MAX_VALUE; 126 if (selEnd < first) 127 selStart = selEnd = -1; 131 if (selStart == selEnd) { 135 ClickableSpan[] link = buffer.getSpans(selStart, selEnd, ClickableSpan.class); 152 if (end < selEnd || selStart == selEnd) { 174 if (start > selStart || selStart == selEnd) { [all...] |
CharacterPickerDialog.java | 94 int selEnd = Selection.getSelectionEnd(mText); 95 if (mInsert || selEnd == 0) { 96 mText.insert(selEnd, replace); 98 mText.replace(selEnd - 1, selEnd, replace);
|
/packages/apps/Email/src/com/android/email/activity/ |
ComposeActivityEmail.java | 55 final int selEnd = mBodyView.getSelectionEnd(); 58 if (selEnd >= 0 && selStart >= 0) { 61 final int replaceStart = selStart < selEnd ? selStart : selEnd; 62 final int replaceEnd = selStart < selEnd ? selEnd : selStart;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
InputMethodManagerWrapper.java | 59 public void updateSelection(View view, int selStart, int selEnd, 61 getInputMethodManager().updateSelection(view, selStart, selEnd, candidatesStart,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
ic.py | 210 selEnd = len(data) 212 selStart = selEnd = start 214 selEnd = end 215 selStart, selEnd = self.ic.ICParseURL(hint, data, selStart, selEnd, self.h) 216 return self.h.data, selStart, selEnd
|
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/ |
TestInputMethodManagerWrapper.java | 57 public void updateSelection(View view, int selStart, int selEnd,
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/ |
AdapterInputConnectionTest.java | 112 public void updateSelection(View view, int selStart, int selEnd, 114 mUpdates.add(new ImeState("", selStart, selEnd, candidatesStart, candidatesEnd));
|
/frameworks/base/core/java/android/inputmethodservice/ |
ExtractEditText.java | 83 @Override protected void onSelectionChanged(int selStart, int selEnd) { 84 if (mSettingExtractedText == 0 && mIME != null && selStart >= 0 && selEnd >= 0) { 85 mIME.onExtractedSelectionChanged(selStart, selEnd);
|
/external/chromium/chrome/browser/accessibility/ |
browser_accessibility_cocoa.mm | 285 int selStart, selEnd; 289 GetAttributeAsInt(WebAccessibility::ATTR_TEXT_SEL_END, &selEnd)) { 290 if (selStart > selEnd) 291 std::swap(selStart, selEnd); 292 int selLength = selEnd - selStart;
|
/external/chromium_org/content/browser/accessibility/ |
browser_accessibility_cocoa.mm | [all...] |
/frameworks/base/core/java/android/widget/ |
TextView.java | [all...] |
Editor.java | [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
InputMethodManager.java | [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
RecipientEditTextView.java | 508 int selEnd = getSelectionEnd(); 509 if (whatEnd != selEnd) { [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
ComposeMessageActivity.java | [all...] |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/6/ |
android.jar | |