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

/frameworks/base/core/jni/android/graphics/
H A DUtils.cpp46 off_t newOffset = fAsset->seek(size, SEEK_CUR); local
47 if (-1 == newOffset) {
51 amount = newOffset - oldOffset;
/frameworks/base/libs/utils/
H A DAsset.cpp300 off_t newOffset; local
304 newOffset = offset;
307 newOffset = curPosn + offset;
310 newOffset = maxPosn + offset;
319 if (newOffset < 0 || newOffset > maxPosn) {
321 (long) newOffset, (long) maxPosn);
325 return newOffset;

Completed in 1577 milliseconds