/frameworks/base/core/java/android/text/method/ |
NumberKeyListener.java | 94 int selStart, selEnd; 100 selStart = Math.min(a, b); 104 if (selStart < 0 || selEnd < 0) { 105 selStart = selEnd = 0; 113 if (selStart != selEnd) { 117 content.replace(selStart, selEnd, String.valueOf((char) i)); 125 if (selStart == selEnd && selEnd > 0 && 126 content.charAt(selStart - 1) == '0') { 127 content.replace(selStart - 1, selEnd, String.valueOf('+'));
|
LinkMovementMethod.java | 110 int selStart = Math.min(a, b); 113 if (selStart < 0) { 115 selStart = selEnd = buffer.length(); 119 if (selStart > last) 120 selStart = selEnd = Integer.MAX_VALUE; 122 selStart = selEnd = -1; 126 if (selStart == selEnd) { 130 ClickableSpan[] link = buffer.getSpans(selStart, selEnd, ClickableSpan.class); 147 if (end < selEnd || selStart == selEnd) { 169 if (start > selStart || selStart == selEnd) [all...] |
MultiTapKeyListener.java | 83 int selStart, selEnd; 94 selStart = Math.min(a, b); 109 if (activeStart == selStart && activeEnd == selEnd && 110 selEnd - selStart == 1 && 113 char current = content.charAt(selStart); 116 content.replace(selStart, selEnd, 124 content.replace(selStart, selEnd, 135 char ch = content.charAt(selStart); 141 content.replace(selStart, selEnd, val, ix, ix + 1); 158 selStart = selEnd [all...] |
QwertyKeyListener.java | 82 int selStart, selEnd; 93 selStart = Math.min(a, b); 96 if (selStart < 0 || selEnd < 0) { 97 selStart = selEnd = 0; 111 if (count > 0 && selStart == selEnd && selStart > 0) { 112 char c = content.charAt(selStart - 1); 135 if (selStart == selEnd) { 143 start = selStart; 153 selStart = start [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringRefactoring.java | 587 int selStart = mSelectionStart; 589 sdoc.getRegionAtCharacterOffset(selStart); 595 currAttrName = findSelectionInRegion(region, selStart); 647 private String findSelectionInRegion(IStructuredDocumentRegion region, int selStart) { 651 int startInRegion = selStart - region.getStartOffset(); [all...] |
/frameworks/base/core/java/android/webkit/ |
WebTextView.java | 602 protected void onSelectionChanged(int selStart, int selEnd) { 606 Log.v(LOGTAG, "onSelectionChanged selStart=" + selStart 609 mWebView.setSelection(selStart, selEnd); [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
ComposeMessageActivity.java | 762 int selStart = -1; 769 selStart = textView.getSelectionStart(); 775 if (selStart != selEnd) { 776 int min = Math.min(selStart, selEnd); 777 int max = Math.max(selStart, selEnd); [all...] |
/frameworks/base/core/java/android/widget/ |
TextView.java | [all...] |
/prebuilt/sdk/14/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/7/ |
android.jar | |
/prebuilt/darwin-x86/swt/ |
swt.jar | |
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/12/ |
android.jar | |
/prebuilt/sdk/13/ |
android.jar | |
/prebuilt/sdk/9/ |
android.jar | |
/prebuilt/sdk/11/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |