Searched defs:end (Results 101 - 125 of 387) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddct.cpp1212 UChar *end; local
1217 end = pred + (16 << 3);
1231 while (pred < end) ;
1249 UChar *end; local
1255 end = cur + (width << 3);
1272 while (cur < end) ;
/frameworks/av/media/libstagefright/foundation/
H A DADebug.cpp55 char *end; local
57 long level = strtol(current, &end, 10);
58 while (isspace(*end)) {
59 ++end;
61 if (errno != 0 || end == current || (end != colon && *end != '\0' && end != next)) {
/frameworks/av/media/libstagefright/rtsp/
H A DARTPSession.cpp218 char *end; local
219 unsigned long x = strtoul(portString.c_str(), &end, 10);
220 if (end == portString.c_str() || *end != '\0') {
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3InputStream.cpp108 Vector<BufferItem>::iterator it, end; local
109 for (it = mBuffersInFlight.begin(), end = mBuffersInFlight.end();
110 it != end;
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java185 protected void deleteText_internal(int start, int end) { argument
188 mIME.onExtractedDeleteText(start, end);
196 protected void replaceText_internal(int start, int end, CharSequence text) { argument
199 mIME.onExtractedReplaceText(start, end, text);
207 protected void setSpan_internal(Object span, int start, int end, int flags) { argument
210 mIME.onExtractedSetSpan(span, start, end, flags);
218 protected void setCursorPosition_internal(int start, int end) { argument
221 mIME.onExtractedSelectionChanged(start, end);
/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.java100 void setPara(CharSequence text, int start, int end, TextDirectionHeuristic textDir, argument
106 int len = end - start;
116 TextUtils.getChars(text, start, end, mChars, 0);
120 ReplacementSpan[] spans = spanned.getSpans(start, end,
126 // 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
170 public <T> T[] getSpans(int start, int end, Clas argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DArrowKeyMovementMethod.java220 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...]
H A DWordIterator.java58 public void setCharSequence(CharSequence charSequence, int start, int end) { argument
60 final int windowEnd = Math.min(charSequence.length(), end + WINDOW_WIDTH);
180 * If the offset is on a word boundary that can be considered the start and end of a
194 * considered the end of a word (e.g. word_ where "_" is any character that would not
198 * If the offset is on a word boundary that can be considered the start and end of a
200 * between AA and BB, this would return the end of the next word, BB.
216 * If the offset is on a word boundary that can be considered the start and end of a
248 * considered the end of a word (e.g. word_ where "_" is any character that would not be
252 * If the offset is on a word boundary that can be considered the start and end of a
255 * the end o
[all...]
/frameworks/base/core/java/android/text/style/
H A DBulletSpan.java92 CharSequence text, int start, int end,
90 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.
157 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
154 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.java80 CharSequence text, int start, int end,
78 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/util/jar/
H A DStrictJarManifest.java52 final int end; field in class:StrictJarManifest.Chunk
54 Chunk(int start, int end) { argument
56 this.end = end;
63 * The end of the main attributes section in the manifest is needed in
/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/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/core/tests/coretests/src/android/text/method/
H A DEditorState.java66 public int getSize(Paint paint, CharSequence text, int start, int end, argument
70 public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, argument
147 "Selection end position doesn't exist.");
154 "Selection start position appears after end position.");
166 "ReplacementSpan end position doesn't exist.");
170 "ReplacementSpan start position appears after end position.");
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
H A DSensorLoggerSession.java56 public void end(long endTimestampMillis, int result) { method in class:SensorLoggerSession
/frameworks/base/services/core/java/com/android/server/notification/
H A DScheduleCalendar.java81 long end = getTime(time, mSchedule.endHour, mSchedule.endMinute);
82 if (end <= start) {
83 end = addDays(end, 1);
86 isInSchedule(-1, time, start, end) || isInSchedule(0, time, start, end);
96 private boolean isInSchedule(int daysOffset, long time, long start, long end) { argument
100 end = addDays(end, daysOffset);
101 return mDays.contains(day) && time >= start && time < end;
[all...]
/frameworks/base/tools/aapt2/
H A DLocale.cpp66 return std::all_of(std::begin(str), std::end(str), ::isalpha);
70 return std::all_of(std::begin(str), std::end(str), ::isdigit);
139 std::vector<std::string>::iterator end) {
213 if (iter != end) {
138 initFromParts(std::vector<std::string>::iterator iter, std::vector<std::string>::iterator end) argument

Completed in 851 milliseconds

1234567891011>>