Searched defs:end (Results 76 - 100 of 296) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/
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 DAutoText.java109 public static String get(CharSequence src, final int start, final int end, argument
111 return getInstance(view).lookup(src, start, end);
132 private String lookup(CharSequence src, final int start, final int end) { argument
135 for (int i = start; i < end; i++) {
140 if ((i == end - 1)
226 // end, so fill in the right hand side fields.
253 // If this is the end of the word, fill in the offset.
H A DMeasuredText.java92 void setPara(CharSequence text, int start, int end, TextDirectionHeuristic textDir) { argument
96 int len = end - start;
106 TextUtils.getChars(text, start, end, mChars, 0);
110 ReplacementSpan[] spans = spanned.getSpans(start, end,
116 // The span interval may be larger and must be restricted to [start, end[
H A DSpanned.java40 * Depending on whether the insertion happens at the beginning or the end of a span, the span
42 * its beginning or a POINT at its end) or it will be <i>excluded</i>.
74 * (SPAN_MARK_MARK), except that if either end of the span is
75 * at the end of the buffer, that end behaves like _POINT
77 * middle and ends at the end, or SPAN_EXCLUSIVE_INCLUSIVE
78 * if it both starts and ends at the end).
80 * Its endpoints must be the start or end of the buffer or
83 * next \n that follows in the buffer (or to the end of
168 public <T> T[] getSpans(int start, int end, Clas argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DArrowKeyMovementMethod.java221 protected boolean end(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
H A DMultiTapKeyListener.java274 int end = buf.getSpanEnd(TextKeyListener.ACTIVE);
276 if (st == start && en == end) {
287 public void onSpanAdded(Spannable s, Object what, int start, int end) { } argument
288 public void onSpanRemoved(Spannable s, Object what, int start, int end) { } argument
H A DQwertyKeyListener.java330 // only cancel the autocomplete if the cursor is at the end of
360 private String getReplacement(CharSequence src, int start, int end, argument
362 int len = end - start;
365 String replacement = AutoText.get(src, start, end, view);
368 String key = TextUtils.substring(src, start, end).toLowerCase();
369 replacement = AutoText.get(key, 0, end - start, view);
379 for (int j = start; j < end; j++) {
413 * @param end the end of the replaced region; the location of the cursor
416 public static void markAsReplaced(Spannable content, int start, int end, argument
[all...]
H A DReplacementTransformationMethod.java136 public CharSequence subSequence(int start, int end) { argument
137 char[] c = new char[end - start];
139 getChars(start, end, c, 0);
150 public void getChars(int start, int end, char[] dest, int off) { argument
151 TextUtils.getChars(mSource, start, end, dest, off);
152 int offend = end - start + off;
179 public CharSequence subSequence(int start, int end) { argument
180 return new SpannedString(this).subSequence(start, end);
183 public <T> T[] getSpans(int start, int end, Class<T> type) { argument
184 return mSpanned.getSpans(start, end, typ
199 nextSpanTransition(int start, int end, Class type) argument
[all...]
/frameworks/base/core/java/android/text/style/
H A DBulletSpan.java82 CharSequence text, int start, int end,
80 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout l) argument
H A DLeadingMarginSpan.java63 * @param end the end of the line
70 CharSequence text, int start, int end,
85 * the beginning to the end of a paragraph.
147 CharSequence text, int start, int end,
67 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
144 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
H A DQuoteSpan.java68 CharSequence text, int start, int end,
66 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
/frameworks/base/core/java/android/transition/
H A DChangeText.java33 * changes between the start and end scenes, the transition ensures that the
35 * to the end text. This is useful in situations where you want to resize a
64 * view at the end of the fade-out animation. This transition is typically
74 * end text into the affected target view(s). This transition is typically
233 // restore opaque alpha and correct end color
252 // restore opaque alpha and correct end color
306 private void setSelection(EditText editText, int start, int end) { argument
307 if (start >= 0 && end >= 0) {
308 editText.setSelection(start, end);
/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/base/core/java/android/widget/
H A DMultiAutoCompleteTextView.java98 int end = getSelectionEnd();
99 int start = mTokenizer.findTokenStart(text, end);
101 performFiltering(text, start, end, keyCode);
123 int end = getSelectionEnd();
124 if (end < 0 || mTokenizer == null) {
128 int start = mTokenizer.findTokenStart(text, end);
130 if (end - start >= getThreshold()) {
153 int end = mTokenizer.findTokenEnd(e, start);
155 CharSequence sub = e.subSequence(start, end);
173 protected void performFiltering(CharSequence text, int start, int end, argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_SystemProperties.cpp72 char* end; local
84 result = strtol(buf, &end, 0);
85 if (end == buf) {
102 char* end; local
114 result = strtoll(buf, &end, 0);
115 if (end == buf) {
/frameworks/base/services/core/java/com/android/server/notification/
H A DDowntimeCalendar.java78 long end = getTime(time, mInfo.endHour, mInfo.endMinute);
79 if (end <= start) {
80 end = addDays(end, 1);
82 return isInDowntime(-1, time, start, end) || isInDowntime(0, time, start, end);
85 private boolean isInDowntime(int daysOffset, long time, long start, long end) { argument
89 end = addDays(end, daysOffset);
90 return mDays.contains(day) && time >= start && time < end;
[all...]
/frameworks/base/tools/obbtool/
H A DMain.cpp206 char* end; local
207 package_info.packageVersion = strtol(optarg, &end, 10);
208 if (*optarg == '\0' || *end != '\0') {
/frameworks/base/tools/split-select/
H A DRuleGenerator.cpp41 allDensities.end(), (int) ResTable_config::DENSITY_ANY) != allDensities.end();
81 std::find(familyVariants.begin(), familyVariants.end(), thisAbi);
83 Vector<abi::Variant>::const_iterator end = familyVariants.end(); local
85 end = std::find(start, familyVariants.end(), splitAbis[index + 1]);
91 while (start != end) {
/frameworks/compile/mclinker/include/mcld/MC/
H A DSymbolCategory.h91 iterator end();
93 const_iterator end() const;
142 size_t end; member in class:mcld::SymbolCategory::Category
151 end(0),
157 { return (end - begin); }
160 { return (begin == end); }
/frameworks/compile/mclinker/include/mcld/Script/
H A DScriptFile.h58 const_iterator end() const { return m_CommandQueue.end(); } function in class:mcld::ScriptFile
59 iterator end() { return m_CommandQueue.end(); } function in class:mcld::ScriptFile
/frameworks/compile/mclinker/include/mcld/Support/
H A DTargetRegistry.h40 static iterator end() { return s_TargetList.end(); } function in class:mcld::TargetRegistry
149 TargetRegistry::iterator target, ie = TargetRegistry::end();
189 } //end namespace mcld
/frameworks/compile/mclinker/include/mcld/Target/
H A DKeyEntryMap.h79 const_iterator end () const { return m_Pool.end(); } function in class:mcld::KeyEntryMap
80 iterator end () { return m_Pool.end(); } function in class:mcld::KeyEntryMap
95 const_iterator mapping, mEnd = m_Pool.end();
109 iterator mapping, mEnd = m_Pool.end();
123 const_iterator mapping, mEnd = m_Pool.end();
137 const_iterator mapping, mEnd = m_Pool.end();
151 const_iterator mapping, mEnd = m_Pool.end();
165 const_iterator mapping, mEnd = m_Pool.end();
[all...]
/frameworks/compile/mclinker/lib/Support/
H A DDirectory.cpp130 return end();
137 Directory::iterator Directory::end() function in class:Directory
139 return iterator(0, m_Cache.end());
200 if (m_pParent->m_Cache.end() == m_Iter) {
222 if (m_pParent->m_Cache.end() == m_Iter) {
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
H A DInvisibleRecipientChip.java95 public void draw(final Canvas canvas, final CharSequence text, final int start, final int end, argument
101 public int getSize(final Paint paint, final CharSequence text, final int start, final int end, argument
H A DReplacementDrawableSpan.java50 public void draw(Canvas canvas, CharSequence charSequence, int start, int end, float x, int top, argument

Completed in 299 milliseconds

1234567891011>>