Home
last modified time | relevance | path

Searched refs:newOffset (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DUtils.cpp99 off64_t newOffset = fAsset->seek(size, SEEK_CUR); in read() local
100 if (-1 == newOffset) { in read()
104 amount = newOffset - oldOffset; in read()
/frameworks/base/libs/androidfw/
DAsset.cpp363 off64_t newOffset; in handleSeek() local
367 newOffset = offset; in handleSeek()
370 newOffset = curPosn + offset; in handleSeek()
373 newOffset = maxPosn + offset; in handleSeek()
382 if (newOffset < 0 || newOffset > maxPosn) { in handleSeek()
384 (long) newOffset, (long) maxPosn); in handleSeek()
388 return newOffset; in handleSeek()
/frameworks/base/tools/aapt/
DStringPool.cpp314 size_t newOffset; in sortByConfig() local
318 newOffset = newEntries.add(oldEnt); in sortByConfig()
319 newEntries.editItemAt(newOffset).indices.clear(); in sortByConfig()
323 newOffset = origOffsetToNewOffset.valueAt(newIndexOfOffset); in sortByConfig()
326 newEntries.editItemAt(newOffset).indices.add(i); in sortByConfig()
328 newEntryArray.add(newOffset); in sortByConfig()
/frameworks/base/libs/protoutil/src/
DEncodedBuffer.cpp61 size_t newOffset = mOffset + amt; in move() local
62 mIndex += newOffset / mChunkSize; in move()
63 mOffset = newOffset % mChunkSize; in move()
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java433 final int newOffset = layout.getOffsetToRightOf(state.mSelectionStart); in moveCursorToRightCursorableOffset() local
434 state.mSelectionStart = state.mSelectionEnd = newOffset; in moveCursorToRightCursorableOffset()
440 final int newOffset = layout.getOffsetToLeftOf(state.mSelectionStart); in moveCursorToLeftCursorableOffset() local
441 state.mSelectionStart = state.mSelectionEnd = newOffset; in moveCursorToLeftCursorableOffset()
/frameworks/av/media/extractors/mp4/
DItemTable.cpp1047 off64_t newOffset = *offset; in parseNullTerminatedString() local
1049 while (newOffset < stopOffset) { in parseNullTerminatedString()
1050 if (!source()->readAt(newOffset++, &tmp, 1)) { in parseNullTerminatedString()
1057 *offset = newOffset; in parseNullTerminatedString()
1058 *size = stopOffset - newOffset; in parseNullTerminatedString()
/frameworks/base/media/java/android/media/
DMediaCodec.java1549 int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) { in set() argument
1550 offset = newOffset; in set()