Searched refs:end (Results 1 - 25 of 368) sorted by relevance

1234567891011>>

/frameworks/base/sax/java/android/sax/
H A DEndElementListener.java20 * Listens for the end of elements.
25 * Invoked at the end of an element.
27 void end(); method in interface:EndElementListener
H A DEndTextElementListener.java20 * Listens for the end of text elements.
25 * Invoked at the end of a text element with the body of the element.
29 void end(String body); method in interface:EndTextElementListener
/frameworks/base/core/java/android/text/
H A DSpannableString.java33 private SpannableString(CharSequence source, int start, int end) { argument
34 super(source, start, end);
45 public void setSpan(Object what, int start, int end, int flags) { argument
46 super.setSpan(what, start, end, flags);
53 public final CharSequence subSequence(int start, int end) { argument
54 return new SpannableString(this, start, end);
H A DGetChars.java29 * through <code>end - 1</code> from this CharSequence into <code>dest</code>
32 public void getChars(int start, int end, char[] dest, int destoff); argument
H A DSpannedString.java33 private SpannedString(CharSequence source, int start, int end) { argument
34 super(source, start, end);
37 public CharSequence subSequence(int start, int end) { argument
38 return new SpannedString(this, start, end);
H A DGraphicsOperations.java33 void drawText(Canvas c, int start, int end, argument
40 void drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, argument
46 float measureText(int start, int end, Paint p); argument
51 public int getTextWidths(int start, int end, float[] widths, Paint p); argument
57 float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, argument
64 float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, argument
H A DInputFilter.java28 * with the new text from the range <code>start &hellip; end</code>
42 public CharSequence filter(CharSequence source, int start, int end, argument
50 public CharSequence filter(CharSequence source, int start, int end, argument
52 for (int i = start; i < end; i++) {
54 char[] v = new char[end - start];
55 TextUtils.getChars(source, start, end, v, 0);
61 start, end, null, sp, 0);
82 public CharSequence filter(CharSequence source, int start, int end, argument
88 } else if (keep >= end - start) {
H A DSpanWatcher.java29 public void onSpanAdded(Spannable text, Object what, int start, int end); argument
34 public void onSpanRemoved(Spannable text, Object what, int start, int end); argument
H A DSelection.java24 * A cursor is a selection where the start and end are at the same offset.
123 int end = getSelectionEnd(text);
125 if (start != end) {
126 int min = Math.min(start, end);
127 int max = Math.max(start, end);
137 int line = layout.getLineForOffset(end);
144 float h = layout.getPrimaryHorizontal(end);
164 int end = getSelectionEnd(text);
166 if (start != end) {
167 int min = Math.min(start, end);
[all...]
H A DAlteredCharSequence.java66 public <T> T[] getSpans(int start, int end, Class<T> kind) { argument
67 return mSpanned.getSpans(start, end, kind);
82 public int nextSpanTransition(int start, int end, Class kind) { argument
83 return mSpanned.nextSpanTransition(start, end, kind);
100 public CharSequence subSequence(int start, int end) { argument
101 return AlteredCharSequence.make(mSource.subSequence(start, end),
105 public void getChars(int start, int end, char[] dest, int off) { argument
106 TextUtils.getChars(mSource, start, end, dest, off);
109 end = Math.min(mEnd, end);
[all...]
H A DSpannableStringBuilder.java50 public SpannableStringBuilder(CharSequence text, int start, int end) { argument
51 int srclen = end - start;
58 TextUtils.getChars(text, start, end, mText, 0);
69 Object[] spans = sp.getSpans(start, end, Object.class);
82 if (st > end - start)
83 st = end - start;
87 if (en > end - start)
88 en = end - start;
173 int end = mSpanEnds[i];
186 if (end > mGapStar
205 insert(int where, CharSequence tb, int start, int end) argument
215 delete(int start, int end) argument
255 append(CharSequence text, int start, int end) argument
265 change(int start, int end, CharSequence tb, int tbstart, int tbend) argument
269 change(boolean notify, int start, int end, CharSequence tb, int tbstart, int tbend) argument
419 replace(int start, int end, CharSequence tb) argument
424 replace(final int start, final int end, CharSequence tb, int tbstart, int tbend) argument
519 setSpan(Object what, int start, int end, int flags) argument
523 setSpan(boolean send, Object what, int start, int end, int flags) argument
830 subSequence(int start, int end) argument
838 getChars(int start, int end, char[] dest, int destoff) argument
871 substring(int start, int end) argument
904 sendSpanAdded(Object what, int start, int end) argument
913 sendSpanRemoved(Object what, int start, int end) argument
931 region(int start, int end) argument
935 checkRange(final String operation, int start, int end) argument
1042 drawText(Canvas c, int start, int end, float x, float y, Paint p) argument
1064 drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, float x, float y, int flags, Paint p) argument
1088 measureText(int start, int end, Paint p) argument
1112 getTextWidths(int start, int end, float[] widths, Paint p) argument
1137 getTextRunAdvances(int start, int end, int contextStart, int contextEnd, int flags, float[] advances, int advancesPos, Paint p) argument
1166 getTextRunAdvances(int start, int end, int contextStart, int contextEnd, int flags, float[] advances, int advancesPos, Paint p, int reserved) argument
[all...]
/frameworks/compile/libbcc/runtime/lib/
H A Dclear_cache.c24 void __clear_cache(void* start, void* end) argument
34 sys_icache_invalidate(start, end-start);
/frameworks/base/core/java/android/view/
H A DDisplayList.java41 abstract void end(); method in class:DisplayList
/frameworks/compile/linkloader/utils/
H A Dhelper.h23 size_t size, size_t begin, size_t end);
H A Dhelper.cpp26 size_t size, size_t begin, size_t end) {
27 if (end <= begin) {
33 size_t upper = (end & (~0xfUL)) ? end : ((end + 16UL) & (~0xfUL));
47 if (j == end) {
25 dump_hex(unsigned char const *data, size_t size, size_t begin, size_t end) argument
/frameworks/base/core/java/com/android/internal/util/
H A DCharSequences.java40 public CharSequence subSequence(int start, int end) {
41 return forAsciiBytes(bytes, start, end);
56 * @param end index, exclusive
58 * @throws IndexOutOfBoundsException if start or end are negative, if end
59 * is greater than length(), or if start is greater than end
62 final int start, final int end) {
63 validate(start, end, bytes.length);
70 return end - start;
86 static void validate(int start, int end, in argument
61 forAsciiBytes(final byte[] bytes, final int start, final int end) argument
[all...]
/frameworks/base/media/libstagefright/rtsp/
H A DASessionDescription.cpp207 char *end; local
208 unsigned long x = strtoul(lastSpacePos + 1, &end, 10);
209 CHECK_GT(end, lastSpacePos + 1);
210 CHECK_EQ(*end, '\0');
239 char *end; local
240 *width = strtoul(s, &end, 10);
241 CHECK_GT(end, s);
242 CHECK_EQ(*end, '-');
244 s = end + 1;
245 *height = strtoul(s, &end, 1
283 char *end; local
312 char *end; local
[all...]
/frameworks/base/core/java/android/os/
H A DConditionVariable.java125 long end = now + timeout;
126 while (!mCondition && now < end) {
128 this.wait(end-now);
/frameworks/compile/libbcc/runtime/test/Unit/
H A Dclear_cache_test.c18 extern void __clear_cache(void* start, void* end);
40 char* end = (char*)((uintptr_t)(&execution_buffer[128+4096]) & (-4095)); local
41 if ( mprotect(start, end-start, PROT_READ|PROT_WRITE|PROT_EXEC) != 0 )
/frameworks/support/v4/java/android/support/v4/util/
H A DDebugUtils.java34 int end = simpleName.lastIndexOf('.');
35 if (end > 0) {
36 simpleName = simpleName.substring(end+1);
/frameworks/base/core/java/android/text/util/
H A DLinkify.java96 public final boolean acceptMatch(CharSequence s, int start, int end) {
114 public final boolean acceptMatch(CharSequence s, int start, int end) {
117 for (int i = start; i < end; i++) {
162 * @param end The index of the last character in s that was
167 boolean acceptMatch(CharSequence s, int start, int end); argument
240 applyLink(link.url, link.start, link.end, text);
369 int end = m.end();
373 allowed = matchFilter.acceptMatch(s, start, end);
380 applyLink(url, start, end,
388 applyLink(String url, int start, int end, Spannable text) argument
542 int end; field in class:LinkSpec
[all...]
/frameworks/base/core/java/android/widget/
H A DMultiAutoCompleteTextView.java92 int end = getSelectionEnd();
93 int start = mTokenizer.findTokenStart(text, end);
95 performFiltering(text, start, end, keyCode);
117 int end = getSelectionEnd();
118 if (end < 0 || mTokenizer == null) {
122 int start = mTokenizer.findTokenStart(text, end);
124 if (end - start >= getThreshold()) {
147 int end = mTokenizer.findTokenEnd(e, start);
149 CharSequence sub = e.subSequence(start, end);
167 protected void performFiltering(CharSequence text, int start, int end, argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java165 protected void deleteText_internal(int start, int end) { argument
168 mIME.onExtractedDeleteText(start, end);
176 protected void replaceText_internal(int start, int end, CharSequence text) { argument
179 mIME.onExtractedReplaceText(start, end, text);
187 protected void setSpan_internal(Object span, int start, int end, int flags) { argument
190 mIME.onExtractedSetSpan(span, start, end, flags);
198 protected void setCursorPosition_internal(int start, int end) { argument
201 mIME.onExtractedSelectionChanged(start, end);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java267 * end of the path.
271 * The stroke projects out as a square, with the center at the end
746 * Return the paint's Cap, controlling how the start and end of stroked
1246 * @param end 1 beyond the index of the last character to measure
1249 public float measureText(String text, int start, int end) { argument
1253 if ((start | end | (end - start) | (text.length() - end)) < 0) {
1257 if (text.length() == 0 || start == end) {
1261 return native_measureText(text, start, end);
1271 native_measureText(String text, int start, int end) argument
1306 measureText(CharSequence text, int start, int end) argument
1394 breakText(CharSequence text, int start, int end, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
1515 getTextWidths(CharSequence text, int start, int end, float[] widths) argument
1559 getTextWidths(String text, int start, int end, float[] widths) argument
1619 getTextGlyphs(String text, int start, int end, int contextStart, int contextEnd, int flags, char[] glyphs) argument
1708 getTextRunAdvances(CharSequence text, int start, int end, int contextStart, int contextEnd, int flags, float[] advances, int advancesIndex) argument
1722 getTextRunAdvances(CharSequence text, int start, int end, int contextStart, int contextEnd, int flags, float[] advances, int advancesIndex, int reserved) argument
1806 getTextRunAdvances(String text, int start, int end, int contextStart, int contextEnd, int flags, float[] advances, int advancesIndex) argument
1855 getTextRunAdvances(String text, int start, int end, int contextStart, int contextEnd, int flags, float[] advances, int advancesIndex, int reserved) argument
2056 getTextPath(String text, int start, int end, float x, float y, Path path) argument
2075 getTextBounds(String text, int start, int end, Rect bounds) argument
2149 native_getTextWidths(int native_object, String text, int start, int end, float[] widths) argument
2152 native_getTextGlyphs(int native_object, String text, int start, int end, int contextStart, int contextEnd, int flags, char[] glyphs) argument
2159 native_getTextRunAdvances(int native_object, String text, int start, int end, int contextStart, int contextEnd, int flags, float[] advances, int advancesIndex, int reserved) argument
2170 native_getTextPath(int native_object, int bidiFlags, String text, int start, int end, float x, float y, int path) argument
2172 nativeGetStringBounds(int nativePaint, String text, int start, int end, Rect bounds) argument
[all...]
/frameworks/base/core/java/com/android/internal/net/
H A DDNParser.java50 private int pos, beg, end; field in class:DNParser
82 return null; // reached the end of DN
95 // unexpected end of DN
99 // mark the end of attribute type
100 end = pos;
109 // unexpected end of DN
123 if ((end - beg > 4) && (chars[beg + 3] == '.')
130 return new String(chars, beg, end - beg);
138 end = beg;
142 // unexpected end o
[all...]

Completed in 488 milliseconds

1234567891011>>