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

/frameworks/base/core/jni/android/graphics/
H A DUtils.cpp67 off64_t newOffset = fAsset->seek(size, SEEK_CUR); local
68 if (-1 == newOffset) {
72 amount = newOffset - oldOffset;
/frameworks/support/design/src/android/support/design/widget/
H A DHeaderBehavior.java194 int setHeaderTopBottomOffset(CoordinatorLayout parent, V header, int newOffset) { argument
195 return setHeaderTopBottomOffset(parent, header, newOffset,
199 int setHeaderTopBottomOffset(CoordinatorLayout parent, V header, int newOffset, argument
207 newOffset = MathUtils.constrain(newOffset, minOffset, maxOffset);
209 if (curOffset != newOffset) {
210 setTopAndBottomOffset(newOffset);
212 consumed = curOffset - newOffset;
H A DAppBarLayout.java984 final int newOffset = offset < (snapBottom + snapTop) / 2
988 MathUtils.constrain(newOffset, -abl.getTotalScrollRange(), 0), 0);
1103 AppBarLayout header, int newOffset, int minOffset, int maxOffset) {
1110 newOffset = MathUtils.constrain(newOffset, minOffset, maxOffset);
1112 if (curOffset != newOffset) {
1114 ? interpolateOffset(appBarLayout, newOffset)
1115 : newOffset;
1120 consumed = curOffset - newOffset;
1122 mOffsetDelta = newOffset
1102 setHeaderTopBottomOffset(CoordinatorLayout coordinatorLayout, AppBarLayout header, int newOffset, int minOffset, int maxOffset) argument
[all...]
/frameworks/base/libs/androidfw/
H A DAsset.cpp323 off64_t newOffset; local
327 newOffset = offset;
330 newOffset = curPosn + offset;
333 newOffset = maxPosn + offset;
342 if (newOffset < 0 || newOffset > maxPosn) {
344 (long) newOffset, (long) maxPosn);
348 return newOffset;
/frameworks/base/media/java/android/media/
H A DMediaCodec.java1479 * @param newOffset the start-offset of the data in the buffer.
1487 int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) {
1488 offset = newOffset;
1486 set( int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) argument

Completed in 5603 milliseconds