Lines Matching refs:end
34 * with the new text from the range <code>start … end</code>
49 public CharSequence filter(CharSequence source, int start, int end,
74 public CharSequence filter(CharSequence source, int start, int end,
76 final CharSequence wrapper = new CharSequenceWrapper(source, start, end);
79 final int length = end - start;
81 // We access 'wrapper' instead of 'source' to make sure no code unit beyond 'end' is
110 CharSequenceWrapper(CharSequence source, int start, int end) {
113 mEnd = end;
114 mLength = end - start;
128 public CharSequence subSequence(int start, int end) {
129 if (start < 0 || end < 0 || end > mLength || start > end) {
132 return new CharSequenceWrapper(mSource, mStart + start, mStart + end);
139 public <T> T[] getSpans(int start, int end, Class<T> type) {
140 return ((Spanned) mSource).getSpans(mStart + start, mStart + end, type);
173 public CharSequence filter(CharSequence source, int start, int end, Spanned dest,
178 } else if (keep >= end - start) {