Searched defs:sourceIndex (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/text/method/
H A DAllCapsTransformationMethod.java97 private static int mapToDest(Edits.Iterator iterator, int sourceIndex) { argument
98 // Guaranteed to succeed if sourceIndex < source.length().
99 iterator.findSourceIndex(sourceIndex);
100 if (sourceIndex == iterator.sourceIndex()) {
116 return iterator.destinationIndex() + (sourceIndex - iterator.sourceIndex());
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp571 int32_t sourceIndex; local
572 CHECK(msg->findInt32("source-index", &sourceIndex));
573 sp<SourceInfo> source = mSources.editItemAt(sourceIndex);
587 writeAccessUnit(sourceIndex, buffer);
601 writeAccessUnit(sourceIndex, buffer);
618 sourceIndex, source->lastAccessUnitTimeUs() / 1E6);
793 int32_t sourceIndex, const sp<ABuffer> &accessUnit) {
798 // PID = b0 0001 1110 ???? (13 bits) [0x1e0 + 1 + sourceIndex]
832 const unsigned PID = 0x1e0 + sourceIndex + 1;
835 mSources.editItemAt(sourceIndex)
792 writeAccessUnit( int32_t sourceIndex, const sp<ABuffer> &accessUnit) argument
[all...]

Completed in 77 milliseconds