/frameworks/av/media/libstagefright/foundation/ |
H A D | ParsedMessage.cpp | 70 char *end; local 71 *value = strtol(stringValue.c_str(), &end, 10); 73 if (end == stringValue.c_str() || *end != '\0') { 213 char *end; local 214 *statusCode = strtol(statusCodeString.c_str(), &end, 10); 216 if (*end != '\0' || end == statusCodeString.c_str() 290 char *end; local 291 *value = strtol(stringValue.c_str(), &end, 1 [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4ElementaryAssembler.cpp | 77 char *end; local 78 unsigned y = strtoul(s, &end, 10); 80 if (end == s || *end != '\0') { 216 while (it != queue->end()) { 346 it != headers.end(); ++it) {
|
H A D | ASessionDescription.cpp | 207 char *end; local 208 unsigned long x = strtoul(lastSpacePos + 1, &end, 10); 209 CHECK_GT(end, lastSpacePos + 1); 210 CHECK_EQ(*end, '\0'); 241 char *end; local 242 *width = strtoul(s, &end, 10); 243 CHECK_GT(end, s); 244 CHECK_EQ(*end, '-'); 246 s = end + 1; 247 *height = strtoul(s, &end, 1 285 char *end; local 314 char *end; local [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | JpegProcessor.cpp | 326 * naievely scanning until the end. 332 * the end of the image stream there is an End of Image (EOI) marker, which is 372 // First check for JPEG transport header at the end of the buffer 380 uint8_t *end = jpegBuffer + offset; local 381 if (checkJpegStart(jpegBuffer) && checkJpegEnd(end)) { 427 ALOGE("Could not find end of JPEG marker");
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3InputStream.cpp | 111 Vector<BufferItem>::iterator it, end; local 112 for (it = mBuffersInFlight.begin(), end = mBuffersInFlight.end(); 113 it != end;
|
/frameworks/av/services/camera/libcameraservice/gui/ |
H A D | RingBufferConsumer.cpp | 69 List<RingBufferItem>::iterator it, end, accIt; local 75 for (it = mBufferItemList.begin(), end = mBufferItemList.end(); 76 it != end; 106 } // end scope of mMutex autolock 165 List<RingBufferItem>::iterator it, end; local 167 for (it = mBufferItemList.begin(), end = mBufferItemList.end(); 168 it != end; 178 if (it == end) { 190 List<RingBufferItem>::iterator it, end, accIt; local 328 List<RingBufferItem>::iterator it, end, accIt; local [all...] |
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | TagMonitor.cpp | 51 ssize_t end = tagNames.find(",", idx); local 54 char* rest = (end != -1) ? (start + end) : (start + tagNames.size());
|
/frameworks/base/cmds/app_process/ |
H A D | app_main.cpp | 134 uintptr_t end = reinterpret_cast<uintptr_t>(argv[argc - 1]); local 135 end += strlen(argv[argc - 1]) + 1; 136 return (end - start);
|
/frameworks/base/core/java/android/content/res/ |
H A D | StringBlock.java | 92 // the style array is a flat array of <type, start, end> hence 175 + ", start=" + style[i+1] + ", end=" + style[i+2]); 360 int start, int end) { 371 if (end != 0 && end != len && buffer.charAt(end - 1) != '\n') { 372 for (end++; end < len; end++) { 373 if (buffer.charAt(end 359 addParagraphSpan(Spannable buffer, Object what, int start, int end) argument 411 chooseHeight(CharSequence text, int start, int end, int spanstartv, int v, Paint.FontMetricsInt fm) argument 418 chooseHeight(CharSequence text, int start, int end, int spanstartv, int v, Paint.FontMetricsInt fm, TextPaint paint) argument [all...] |
/frameworks/base/core/java/android/service/textservice/ |
H A D | SpellCheckerService.java | 367 public SentenceWordItem(TextInfo ti, int start, int end) { argument 370 mLength = end - start; 398 final int end = originalText.length(); 404 Log.d(TAG, "iterator: break: ---- 1st word start = " + wordStart + ", end = " 407 while (wordStart <= end && wordEnd != BreakIterator.DONE
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | FileSynthesisCallback.java | 314 public void rangeStart(int markerInFrames, int start, int end) { argument 315 mDispatcher.dispatchOnRangeStart(markerInFrames, start, end);
|
H A D | SynthesisPlaybackQueueItem.java | 192 // The end index (exclusive) in the text of the utterance. 193 public final int end; field in class:SynthesisPlaybackQueueItem.ProgressMarker 195 public ProgressMarker(int frames, int start, int end) { argument 198 this.end = end; 213 /** Informs us that at markerInFrames, the range between start and end is about to be spoken. */ 214 void rangeStart(int markerInFrames, int start, int end) { argument 215 markerList.add(new ProgressMarker(markerInFrames, start, end)); 227 getDispatcher().dispatchOnRangeStart(marker.start, marker.end, marker.frames);
|
/frameworks/base/core/java/android/text/ |
H A D | BoringLayout.java | 241 final int end = Math.min(start + MAX_BUF_LEN, textLength); 245 TextUtils.getChars(text, start, end, buffer, 0); 247 final int len = end - start; 395 public void ellipsized(int start, int end) { argument 397 mEllipsizedCount = end - start;
|
H A D | SpannableStringInternal.java | 29 int start, int end) { 30 if (start == 0 && end == source.length()) 33 mText = source.toString().substring(start, end); 41 copySpans((SpannableStringInternal) source, start, end); 43 copySpans((Spanned) source, start, end); 49 * Copies another {@link Spanned} object's spans between [start, end] into this object. 53 * @param end End index in the source object. 55 private final void copySpans(Spanned src, int start, int end) { argument 56 Object[] spans = src.getSpans(start, end, Object.class); 65 if (en > end) 28 SpannableStringInternal(CharSequence source, int start, int end) argument 80 copySpans(SpannableStringInternal src, int start, int end) argument 125 isOutOfCopyRange(int start, int end, int spanStart, int spanEnd) argument 147 getChars(int start, int end, char[] dest, int off) argument 151 setSpan(Object what, int start, int end, int flags) argument 159 setSpan(Object what, int start, int end, int flags, boolean enforceParagraph) argument 394 sendSpanAdded(Object what, int start, int end) argument 403 sendSpanRemoved(Object what, int start, int end) argument 422 region(int start, int end) argument 426 checkRange(final String operation, int start, int end) argument [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | BaseMovementMethod.java | 234 return end(widget, buffer); 353 * Performs a line-end movement action. 354 * Moves the cursor or scrolls to the end of the line. 389 * Performs an end movement action. 398 protected boolean end(TextView widget, Spannable buffer) { method in class:BaseMovementMethod 656 * Performs a scroll to line end action. 657 * Scrolls to the end of the line.
|
H A D | DigitsKeyListener.java | 339 public CharSequence filter(CharSequence source, int start, int end, argument 341 CharSequence out = super.filter(source, start, end, dest, dstart, dend); 350 end = out.length(); 389 for (int i = end - 1; i >= start; i--) { 410 if (end == start + 1) { 415 stripped = new SpannableStringBuilder(source, start, end);
|
H A D | PasswordTransformationMethod.java | 88 * something strange is going on. (We might still end up with 177 public CharSequence subSequence(int start, int end) { argument 178 char[] buf = new char[end - start]; 180 getChars(start, end, buf, 0); 188 public void getChars(int start, int end, char[] dest, int off) { argument 189 TextUtils.getChars(mSource, start, end, dest, off); 214 for (int i = start; i < end; i++) {
|
H A D | TextKeyListener.java | 181 public void onSpanAdded(Spannable s, Object what, int start, int end) { } argument 182 public void onSpanRemoved(Spannable s, Object what, int start, int end) { } argument 184 public void onSpanChanged(Spannable s, Object what, int start, int end, argument
|
/frameworks/base/core/java/android/text/util/ |
H A D | Linkify.java | 116 public final boolean acceptMatch(CharSequence s, int start, int end) { 134 public final boolean acceptMatch(CharSequence s, int start, int end) { 137 for (int i = start; i < end; i++) { 182 * @param end The index of the last character in s that was 187 boolean acceptMatch(CharSequence s, int start, int end); argument 263 applyLink(link.url, link.start, link.end, text); 457 int end = m.end(); 461 allowed = matchFilter.acceptMatch(spannable, start, end); 467 applyLink(url, start, end, spannabl 475 applyLink(String url, int start, int end, Spannable text) argument 643 int end; field in class:LinkSpec [all...] |
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 159 * Returns an interpolated angle in degrees between a set of start and end 163 * travel is determined by the shortest angle between the start and end 169 * @param end the ending angle in degrees 170 * @param amount the position between start and end in the range [0,1] 174 public static float lerpDeg(float start, float end, float amount) { argument 175 final float minAngle = (((end - start) + 180) % 360) - 180;
|
/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarVerifier.java | 448 chunk.start, chunk.end, createdBySigntool, false)) { 469 int start, int end, boolean ignoreSecondEndline, boolean ignorable) { 483 if (ignoreSecondEndline && data[end - 1] == '\n' && data[end - 2] == '\n') { 484 md.update(data, start, end - 1 - start); 486 md.update(data, start, end - start); 468 verify(Attributes attributes, String entry, byte[] data, int start, int end, boolean ignoreSecondEndline, boolean ignorable) argument
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputConnection.java | 109 * acting "after the cursor" would act after the end of the 209 * the cursor is really at the end of the text.</p> 368 * the end of the text, then this method does not fail but deletes all the characters in 395 * the end of the text, then this method does not fail but deletes all the characters in 448 * > 0, this is relative to the end of the text - 1; if <= 0, this 469 * The order of start and end is not important. In effect, the 470 * region from start to end and the region from end to start is 472 * greater than end.</p> 486 * @param end th 491 setComposingRegion(int start, int end) argument 631 setSelection(int start, int end) argument [all...] |
H A D | InputConnectionWrapper.java | 141 public boolean setComposingRegion(int start, int end) { argument 142 return mTarget.setComposingRegion(start, end); 181 public boolean setSelection(int start, int end) { argument 182 return mTarget.setSelection(start, end);
|
/frameworks/base/core/java/android/widget/ |
H A D | SpellChecker.java | 194 private void addSpellCheckSpan(Editable editable, int start, int end) { argument 197 editable.setSpan(spellCheckSpan, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); 216 public void spellCheck(int start, int end) { argument 218 Log.d(TAG, "Start spell-checking: " + start + ", " + end); 226 end = mTextView.getText().length(); 242 spellParser.parse(start, end); 257 spellParser.parse(start, end); 275 final int end = editable.getSpanEnd(spellCheckSpan); 281 // which could end up being a mid-word punctuation. 282 if (selectionStart == end 506 parse(int start, int end) argument 529 setRangeSpan(Editable editable, int start, int end) argument 754 haveWordBoundariesChanged(final Editable editable, final int start, final int end, final int spanStart, final int spanEnd) argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | LoggingPrintStream.java | 83 * even though they don't end in a line break 129 int end = start + count; 130 while (start < end) { 132 // way, if we end with a partial character we don't lose it. 133 int numBytes = Math.min(encodedBytes.remaining(), end - start); 340 CharSequence csq, int start, int end) { 341 builder.append(csq, start, end); 339 append( CharSequence csq, int start, int end) argument
|