Searched refs:end (Results 1 - 25 of 493) 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.java51 public SpannableStringBuilder(CharSequence text, int start, int end) { argument
52 int srclen = end - start;
61 TextUtils.getChars(text, start, end, mText, 0);
72 Object[] spans = sp.getSpans(start, end, Object.class);
85 if (st > end - start)
86 st = end - start;
90 if (en > end - start)
91 en = end - start;
169 int end = mSpanEnds[i];
182 if (end > mGapStar
201 insert(int where, CharSequence tb, int start, int end) argument
211 delete(int start, int end) argument
251 append(CharSequence text, int start, int end) argument
261 change(int start, int end, CharSequence cs, int csStart, int csEnd) argument
434 replace(int start, int end, CharSequence tb) argument
439 replace(final int start, final int end, CharSequence tb, int tbstart, int tbend) argument
587 setSpan(Object what, int start, int end, int flags) argument
591 setSpan(boolean send, Object what, int start, int end, int flags) argument
904 subSequence(int start, int end) argument
912 getChars(int start, int end, char[] dest, int destoff) argument
944 substring(int start, int end) argument
974 sendSpanAdded(Object what, int start, int end) argument
983 sendSpanRemoved(Object what, int start, int end) argument
992 sendSpanChanged(Object what, int oldStart, int oldEnd, int start, int end) argument
1003 region(int start, int end) argument
1007 checkRange(final String operation, int start, int end) argument
1111 drawText(Canvas c, int start, int end, float x, float y, Paint p) argument
1132 drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, float x, float y, int flags, Paint p) argument
1155 measureText(int start, int end, Paint p) argument
1179 getTextWidths(int start, int end, float[] widths, Paint p) argument
1203 getTextRunAdvances(int start, int end, int contextStart, int contextEnd, int flags, float[] advances, int advancesPos, Paint p) argument
1232 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 DAccessibilityIterators.java59 protected int[] getRange(int start, int end) { argument
60 if (start < 0 || end < 0 || start == end) {
64 mSegment[1] = end;
115 final int end = mImpl.following(start);
116 if (end == BreakIterator.DONE) {
119 return getRange(start, end);
131 int end = offset;
132 if (end > textLegth) {
133 end
[all...]
/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/av/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.java93 int end = getSelectionEnd();
94 int start = mTokenizer.findTokenStart(text, end);
96 performFiltering(text, start, end, keyCode);
118 int end = getSelectionEnd();
119 if (end < 0 || mTokenizer == null) {
123 int start = mTokenizer.findTokenStart(text, end);
125 if (end - start >= getThreshold()) {
148 int end = mTokenizer.findTokenEnd(e, start);
150 CharSequence sub = e.subSequence(start, end);
168 protected void performFiltering(CharSequence text, int start, int end, argument
[all...]
/frameworks/compile/libbcc/lib/Core/
H A DBCCContextImpl.cpp31 std::vector<Source *> Sources(mOwnSources.begin(), mOwnSources.end());
/frameworks/compile/mclinker/include/mcld/MC/
H A DSearchDirs.h58 iterator end() function in class:mcld::SearchDirs
59 { return m_DirList.end(); }
64 const_iterator end() const function in class:mcld::SearchDirs
65 { return m_DirList.end(); }
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java168 protected void deleteText_internal(int start, int end) { argument
171 mIME.onExtractedDeleteText(start, end);
179 protected void replaceText_internal(int start, int end, CharSequence text) { argument
182 mIME.onExtractedReplaceText(start, end, text);
190 protected void setSpan_internal(Object span, int start, int end, int flags) { argument
193 mIME.onExtractedSetSpan(span, start, end, flags);
201 protected void setCursorPosition_internal(int start, int end) { argument
204 mIME.onExtractedSelectionChanged(start, end);

Completed in 933 milliseconds

1234567891011>>