Searched refs:end (Results 1 - 25 of 885) 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 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);
84 public CharSequence filter(CharSequence source, int start, int end, Spanned dest, argument
89 } 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.
124 int end = getSelectionEnd(text);
126 if (start != end) {
127 int min = Math.min(start, end);
128 int max = Math.max(start, end);
138 int line = layout.getLineForOffset(end);
145 float h = layout.getPrimaryHorizontal(end);
153 } else if (end != 0) {
164 * offset, to the end of the buffer if it is on the bottom line but
165 * not at the end, o
[all...]
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
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...]
/frameworks/av/media/libeffects/loudness/dsp/core/
H A Dbasic-inl.h32 int end = end_index; local
33 while (end > start + 1) {
34 int i = (end + start) / 2;
36 end = i;
/frameworks/base/core/java/android/view/
H A DAccessibilityIterators.java57 protected int[] getRange(int start, int end) { argument
58 if (start < 0 || end < 0 || start == end) {
62 mSegment[1] = end;
113 final int end = mImpl.following(start);
114 if (end == BreakIterator.DONE) {
117 return getRange(start, end);
129 int end = offset;
130 if (end > textLegth) {
131 end
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DMergedStringTable.cpp19 string_map_iterator it, end = m_StringMap.end(); local
21 for (it = m_StringMap.begin(); it != end; ++it) {
30 string_map_iterator it, end = m_StringMap.end(); local
31 for (it = m_StringMap.begin(); it != end; ++it) {
38 assert(m_StringMap.find(pStr) != m_StringMap.end());
/frameworks/base/libs/androidfw/tests/
H A DAttributeFinder_test.cpp58 const int end = sizeof(sortedAttributes) / sizeof(*sortedAttributes); local
59 MockAttributeFinder finder(sortedAttributes, end);
68 EXPECT_EQ(end, finder.find(0x7f010002));
72 const int end = sizeof(sortedAttributes) / sizeof(*sortedAttributes); local
73 MockAttributeFinder finder(sortedAttributes, end);
76 EXPECT_EQ(end, finder.find(0x7f010002));
86 const int end = sizeof(sortedAttributes) / sizeof(*sortedAttributes); local
87 MockAttributeFinder finder(sortedAttributes, end);
92 EXPECT_EQ(end, finder.find(0x01010003));
94 EXPECT_EQ(end, finde
101 const int end = sizeof(packageUnsortedAttributes) / sizeof(*packageUnsortedAttributes); local
118 const int end = sizeof(singlePackageAttributes) / sizeof(*singlePackageAttributes); local
[all...]
/frameworks/support/v4/jellybean-mr1/android/support/v4/widget/
H A DTextViewCompatJbMr1.java28 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
31 textView.setCompoundDrawables(rtl ? end : start, top, rtl ? start : end, bottom);
35 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
38 textView.setCompoundDrawablesWithIntrinsicBounds(rtl ? end : start, top, rtl ? start : end,
43 int start, int top, int end, int bottom) {
45 textView.setCompoundDrawablesWithIntrinsicBounds(rtl ? end : start, top, rtl ? start : end,
27 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
34 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
42 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) 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/core/java/android/net/
H A DINetworkStatsSession.aidl27 NetworkStats getDeviceSummaryForNetwork(in NetworkTemplate template, long start, long end);
30 NetworkStats getSummaryForNetwork(in NetworkTemplate template, long start, long end);
35 NetworkStats getSummaryForAllUid(in NetworkTemplate template, long start, long end, boolean includeTags);
39 NetworkStatsHistory getHistoryIntervalForUid(in NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end);
/frameworks/base/tools/aapt2/link/
H A DProductFilter.cpp24 const ResourceConfigValueIter end,
26 ResourceConfigValueIter defaultProductIter = end;
27 ResourceConfigValueIter selectedProductIter = end;
29 for (ResourceConfigValueIter iter = begin; iter != end; ++iter) {
31 if (mProducts.find(configValue->product) != mProducts.end()) {
32 if (selectedProductIter != end) {
42 return end;
50 if (defaultProductIter != end) {
58 return end;
66 if (defaultProductIter == end) {
22 selectProductToKeep(const ResourceNameRef& name, const ResourceConfigValueIter begin, const ResourceConfigValueIter end, IDiagnostics* diag) 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/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/support/v4/java/android/support/v4/widget/
H A DTextViewCompat.java39 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
42 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
45 @DrawableRes int start, @DrawableRes int top, @DrawableRes int end,
55 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
57 textView.setCompoundDrawables(start, top, end, bottom);
62 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
64 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom);
69 @DrawableRes int start, @DrawableRes int top, @DrawableRes int end,
71 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom);
105 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
38 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
41 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
44 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
54 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
61 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
68 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
104 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
111 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
119 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
129 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
136 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
145 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
192 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
212 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
236 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DMultiAutoCompleteTextView.java96 int end = getSelectionEnd();
97 int start = mTokenizer.findTokenStart(text, end);
99 performFiltering(text, start, end, keyCode);
121 int end = getSelectionEnd();
122 if (end < 0 || mTokenizer == null) {
126 int start = mTokenizer.findTokenStart(text, end);
128 if (end - start >= getThreshold()) {
151 int end = mTokenizer.findTokenEnd(e, start);
153 CharSequence sub = e.subSequence(start, end);
171 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 DAttributeSet.h41 const_iterator end() const { return m_AttrSet.end(); } function in class:mcld::AttributeSet
42 iterator end() { return m_AttrSet.end(); } function in class:mcld::AttributeSet

Completed in 2989 milliseconds

1234567891011>>