Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DUtils.cpp76 off64_t newOffset = fAsset->seek(size, SEEK_CUR); in read() local
77 if (-1 == newOffset) { in read()
81 amount = newOffset - oldOffset; in read()
/frameworks/base/libs/androidfw/
DAsset.cpp317 off64_t newOffset; in handleSeek() local
321 newOffset = offset; in handleSeek()
324 newOffset = curPosn + offset; in handleSeek()
327 newOffset = maxPosn + offset; in handleSeek()
336 if (newOffset < 0 || newOffset > maxPosn) { in handleSeek()
338 (long) newOffset, (long) maxPosn); in handleSeek()
342 return newOffset; in handleSeek()
/frameworks/base/tools/aapt/
DStringPool.cpp295 size_t newOffset; in sortByConfig() local
299 newOffset = newEntries.add(oldEnt); in sortByConfig()
300 newEntries.editItemAt(newOffset).indices.clear(); in sortByConfig()
304 newOffset = origOffsetToNewOffset.valueAt(newIndexOfOffset); in sortByConfig()
307 newEntries.editItemAt(newOffset).indices.add(i); in sortByConfig()
309 newEntryArray.add(newOffset); in sortByConfig()
/frameworks/support/v4/java/android/support/v4/widget/
DDrawerLayout.java895 final float newOffset; in onLayout() local
898 newOffset = (float) (childWidth + childLeft) / childWidth; in onLayout()
901 newOffset = (float) (width - childLeft) / childWidth; in onLayout()
904 final boolean changeOffset = newOffset != lp.onScreen; in onLayout()
943 setDrawerViewOffset(child, newOffset); in onLayout()
DSlidingPaneLayout.java1197 final int newOffset = (int) ((1 - slideOffset) * mParallaxBy); in parallaxOtherViews() local
1198 final int dx = oldOffset - newOffset; in parallaxOtherViews()
/frameworks/base/media/java/android/media/
DMediaCodec.java257 int newOffset, int newSize, long newTimeUs, int newFlags) { in set() argument
258 offset = newOffset; in set()