HomeSort by relevance Sort by last modified time
    Searched full:selend (Results 1 - 21 of 21) sorted by null

  /frameworks/base/core/java/android/text/method/
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, String.valueOf('+'))
    [all...]
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...]
QwertyKeyListener.java 82 int selStart, selEnd;
94 selEnd = Math.max(a, b);
96 if (selStart < 0 || selEnd < 0) {
97 selStart = selEnd = 0;
111 if (count > 0 && selStart == selEnd && selStart > 0) {
135 if (selStart == selEnd) {
136 start = selEnd;
138 while (start > 0 && selEnd - start < 4 &&
148 String hex = TextUtils.substring(content, start, selEnd);
154 Selection.setSelection(content, selStart, selEnd);
    [all...]
LinkMovementMethod.java 111 int selEnd = Math.max(a, b);
115 selStart = selEnd = buffer.length();
120 selStart = selEnd = Integer.MAX_VALUE;
121 if (selEnd < first)
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...]
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/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
InputConnectionCompatUtils.java 62 * Returns the selected text between the selStart and selEnd positions.
64 public static CharSequence getSelectedText(InputConnection ic, int selStart, int selEnd) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
EditingUtils.java 255 * @param selEnd the end position of the selection within the text field. This could be
262 int selStart, int selEnd, String wordSeparators) {
263 if (selStart == selEnd) {
268 return new SelectedWord(selStart - range.mCharsBefore, selEnd + range.mCharsAfter,
287 ic, selStart, selEnd);
297 return new SelectedWord(selStart, selEnd, touching);
  /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;
  /frameworks/base/core/java/android/text/
SpannableStringBuilder.java 446 int selend = Selection.getSelectionEnd(this); local
499 if (selend > start && selend < end) {
500 long off = selend - start;
503 selend = (int) off + start;
505 setSpan(false, Selection.SELECTION_END, selend, selend, Spanned.SPAN_POINT_POINT);
    [all...]
  /frameworks/base/core/java/android/webkit/
WebTextView.java 602 protected void onSelectionChanged(int selStart, int selEnd) {
607 + " selEnd=" + selEnd);
609 mWebView.setSelection(selStart, selEnd);
    [all...]
WebViewCore.java     [all...]
  /external/webkit/Source/WebKit/android/nav/
SelectText.cpp     [all...]
  /frameworks/base/core/java/android/widget/
TextView.java     [all...]
  /frameworks/ex/chips/src/com/android/ex/chips/
RecipientEditTextView.java 375 int selEnd = getSelectionEnd();
376 if (whatEnd != selEnd) {
    [all...]
  /frameworks/base/core/java/android/view/inputmethod/
InputMethodManager.java     [all...]
  /external/webkit/Source/WebKit/android/jni/
WebViewCore.h 468 void requestKeyboardWithSelection(const WebCore::Node*, int selStart, int selEnd);
WebViewCore.cpp     [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
ComposeMessageActivity.java 763 int selEnd = -1;
770 selEnd = textView.getSelectionEnd();
775 if (selStart != selEnd) {
776 int min = Math.min(selStart, selEnd);
777 int max = Math.max(selStart, selEnd);
    [all...]
  /prebuilt/sdk/14/
android.jar 
  /prebuilt/sdk/6/
android.jar 

Completed in 618 milliseconds