HomeSort by relevance Sort by last modified time
    Searched refs:selStart (Results 1 - 22 of 22) sorted by null

  /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('+'));
QwertyKeyListener.java 61 int selStart, selEnd;
72 selStart = Math.min(a, b);
75 if (selStart < 0 || selEnd < 0) {
76 selStart = selEnd = 0;
89 if (count > 0 && selStart == selEnd && selStart > 0) {
90 char c = content.charAt(selStart - 1);
112 if (selStart == selEnd) {
120 start = selStart;
130 selStart = start
    [all...]
BaseKeyListener.java 41 int selStart, selEnd;
48 selStart = Math.min(a, b);
52 if (selStart != selEnd) {
53 content.delete(selStart, selEnd);
141 int selStart, selEnd;
147 selStart = Math.min(a, b);
156 content.replace(selStart, selEnd, text);
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...]
LinkMovementMethod.java 109 int selStart = Math.min(a, b);
112 if (selStart < 0) {
114 selStart = selEnd = buffer.length();
118 if (selStart > last)
119 selStart = selEnd = Integer.MAX_VALUE;
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/
ExtractEditText.java 82 @Override protected void onSelectionChanged(int selStart, int selEnd) {
83 if (mSettingExtractedText == 0 && mIME != null && selStart >= 0 && selEnd >= 0) {
84 mIME.onExtractedSelectionChanged(selStart, selEnd);
  /frameworks/base/telephony/java/android/telephony/
PhoneNumberFormattingTextWatcher.java 74 final int selStart = Selection.getSelectionStart(s);
80 && selStart == selEnd) { // no selection
84 if (selStart == start + 1) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
EditingUtil.java 215 * @param selStart the start position of the selection within the text field
217 * the same as selStart, if there's no selection.
223 int selStart, int selEnd, String wordSeparators) {
224 if (selStart == selEnd) {
231 selWord.start = selStart - range.charsBefore;
249 CharSequence touching = getSelectedText(ic, selStart, selEnd);
260 selWord.start = selStart;
285 * Returns the selected text between the selStart and selEnd positions.
287 private static CharSequence getSelectedText(InputConnection ic, int selStart, int selEnd) {
309 ic.setSelection(selStart, selEnd)
    [all...]
  /frameworks/base/core/java/android/webkit/
WebTextView.java 389 protected void onSelectionChanged(int selStart, int selEnd) {
399 imm.updateSelection(this, selStart, selEnd, candStart, candEnd);
404 Log.v(LOGTAG, "onSelectionChanged selStart=" + selStart
407 mWebView.setSelection(selStart, selEnd);
    [all...]
WebViewCore.java     [all...]
  /frameworks/base/core/java/android/view/inputmethod/
InputMethodManager.java     [all...]
  /frameworks/base/core/java/android/widget/
TextView.java     [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
ExtractStringRefactoring.java 523 int selStart = mSelectionStart;
525 sdoc.getRegionAtCharacterOffset(selStart);
531 currAttrName = findSelectionInRegion(region, selStart);
578 private String findSelectionInRegion(IStructuredDocumentRegion region, int selStart) {
582 int startInRegion = selStart - region.getStartOffset();
    [all...]
  /external/webkit/WebKit/android/nav/
SelectText.cpp     [all...]
  /external/webkit/WebKit/android/jni/
WebViewCore.h 396 void requestKeyboardWithSelection(const WebCore::Node*, int selStart, int selEnd);
WebViewCore.cpp     [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
ComposeMessageActivity.java 734 int selStart = -1;
741 selStart = textView.getSelectionStart();
745 if (selStart == -1) {
750 selStart = textView.getSelectionStart();
757 if (selStart != selEnd) {
758 int min = Math.min(selStart, selEnd);
759 int max = Math.max(selStart, selEnd);
    [all...]
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/darwin-x86/swt/
swt.jar 
  /prebuilt/sdk/7/
android.jar 

Completed in 450 milliseconds