Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DUtils.cpp46 off64_t newOffset = fAsset->seek(size, SEEK_CUR); in read() local
47 if (-1 == newOffset) { in read()
51 amount = newOffset - oldOffset; in read()
DTypeface.cpp94 off64_t newOffset = fAsset->seek(size, SEEK_CUR); in read() local
95 if (-1 == newOffset) in read()
98 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.cpp287 size_t newOffset; in sortByConfig() local
291 newOffset = newEntries.add(oldEnt); in sortByConfig()
292 newEntries.editItemAt(newOffset).indices.clear(); in sortByConfig()
296 newOffset = origOffsetToNewOffset.valueAt(newIndexOfOffset); in sortByConfig()
299 newEntries.editItemAt(newOffset).indices.add(i); in sortByConfig()
301 newEntryArray.add(newOffset); in sortByConfig()
/frameworks/base/media/java/android/media/
DMediaCodec.java128 int newOffset, int newSize, long newTimeUs, int newFlags) { in set() argument
129 offset = newOffset; in set()
/frameworks/support/v4/java/android/support/v4/widget/
DDrawerLayout.java682 final float newOffset; in onLayout() local
685 newOffset = (float) (childWidth + childLeft) / childWidth; in onLayout()
688 newOffset = (float) (width - childLeft) / childWidth; in onLayout()
691 final boolean changeOffset = newOffset != lp.onScreen; in onLayout()
729 setDrawerViewOffset(child, newOffset); in onLayout()
DSlidingPaneLayout.java1073 final int newOffset = (int) ((1 - slideOffset) * mParallaxBy); in parallaxOtherViews() local
1074 final int dx = oldOffset - newOffset; in parallaxOtherViews()