Lines Matching defs:end
96 public static void setComposingSpans(Spannable text, int start, int end) {
97 final Object[] sps = text.getSpans(start, end, Object.class);
117 text.setSpan(COMPOSING, start, end,
213 * the end of the text, then this method does not fail but deletes all the characters in
258 int end = b + afterLength;
259 if (end > content.length()) end = content.length();
261 content.delete(b, end);
336 return N; // Reached to the end of the text w/o any invalid surrogate pair.
370 * the end of the text, then this method does not fail but deletes all the characters in
406 final int end = findIndexForward(content, b, Math.max(afterLength, 0));
407 if (end != INVALID_INDEX) {
412 final int numDeleteAfter = end - b;
414 content.delete(b - numDeleteBefore, end - numDeleteBefore);
418 // NOTE: You may think we should return false here if start and/or end is INVALID_INDEX,
621 public boolean setComposingRegion(int start, int end) {
627 int b = end;
633 // Clip the end points to be within the content bounds.
662 public boolean setSelection(int start, int end) {
663 if (DEBUG) Log.v(TAG, "setSelection " + start + ", " + end);
667 if (start > len || end > len || start < 0 || end < 0) {
674 if (start == end && MetaKeyKeyListener.getMetaState(content,
680 Selection.setSelection(content, start, end);