/frameworks/support/design/src/android/support/design/widget/ |
D | HeaderBehavior.java | 194 int setHeaderTopBottomOffset(CoordinatorLayout parent, V header, int newOffset) { in setHeaderTopBottomOffset() argument 195 return setHeaderTopBottomOffset(parent, header, newOffset, in setHeaderTopBottomOffset() 199 int setHeaderTopBottomOffset(CoordinatorLayout parent, V header, int newOffset, in setHeaderTopBottomOffset() argument 207 newOffset = MathUtils.constrain(newOffset, minOffset, maxOffset); in setHeaderTopBottomOffset() 209 if (curOffset != newOffset) { in setHeaderTopBottomOffset() 210 setTopAndBottomOffset(newOffset); in setHeaderTopBottomOffset() 212 consumed = curOffset - newOffset; in setHeaderTopBottomOffset()
|
D | AppBarLayout.java | 984 final int newOffset = offset < (snapBottom + snapTop) / 2 in snapToChildIfNeeded() local 988 MathUtils.constrain(newOffset, -abl.getTotalScrollRange(), 0), 0); in snapToChildIfNeeded() 1103 AppBarLayout header, int newOffset, int minOffset, int maxOffset) { in setHeaderTopBottomOffset() argument 1110 newOffset = MathUtils.constrain(newOffset, minOffset, maxOffset); in setHeaderTopBottomOffset() 1112 if (curOffset != newOffset) { in setHeaderTopBottomOffset() 1114 ? interpolateOffset(appBarLayout, newOffset) in setHeaderTopBottomOffset() 1115 : newOffset; in setHeaderTopBottomOffset() 1120 consumed = curOffset - newOffset; in setHeaderTopBottomOffset() 1122 mOffsetDelta = newOffset - interpolatedOffset; in setHeaderTopBottomOffset() 1136 updateAppBarLayoutDrawableState(appBarLayout, newOffset, in setHeaderTopBottomOffset() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | Utils.cpp | 67 off64_t newOffset = fAsset->seek(size, SEEK_CUR); in read() local 68 if (-1 == newOffset) { in read() 72 amount = newOffset - oldOffset; in read()
|
/frameworks/base/libs/androidfw/ |
D | Asset.cpp | 323 off64_t newOffset; in handleSeek() local 327 newOffset = offset; in handleSeek() 330 newOffset = curPosn + offset; in handleSeek() 333 newOffset = maxPosn + offset; in handleSeek() 342 if (newOffset < 0 || newOffset > maxPosn) { in handleSeek() 344 (long) newOffset, (long) maxPosn); in handleSeek() 348 return newOffset; in handleSeek()
|
/frameworks/base/tools/aapt/ |
D | StringPool.cpp | 325 size_t newOffset; in sortByConfig() local 329 newOffset = newEntries.add(oldEnt); in sortByConfig() 330 newEntries.editItemAt(newOffset).indices.clear(); in sortByConfig() 334 newOffset = origOffsetToNewOffset.valueAt(newIndexOfOffset); in sortByConfig() 337 newEntries.editItemAt(newOffset).indices.add(i); in sortByConfig() 339 newEntryArray.add(newOffset); in sortByConfig()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutTest.java | 334 final int newOffset = layout.getOffsetToRightOf(state.mSelectionStart); in moveCursorToRightCursorableOffset() local 335 state.mSelectionStart = state.mSelectionEnd = newOffset; in moveCursorToRightCursorableOffset() 341 final int newOffset = layout.getOffsetToLeftOf(state.mSelectionStart); in moveCursorToLeftCursorableOffset() local 342 state.mSelectionStart = state.mSelectionEnd = newOffset; in moveCursorToLeftCursorableOffset()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | DrawerLayout.java | 1199 final float newOffset; in onLayout() local 1202 newOffset = (float) (childWidth + childLeft) / childWidth; in onLayout() 1205 newOffset = (float) (width - childLeft) / childWidth; in onLayout() 1208 final boolean changeOffset = newOffset != lp.onScreen; in onLayout() 1247 setDrawerViewOffset(child, newOffset); in onLayout()
|
D | SlidingPaneLayout.java | 1206 final int newOffset = (int) ((1 - slideOffset) * mParallaxBy); in parallaxOtherViews() local 1207 final int dx = oldOffset - newOffset; in parallaxOtherViews()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | StaggeredGridLayoutManager.java | 749 int newOffset = -(mSpanCount - 1 - lp.mSpan.mIndex) * mSizePerSpan; 751 child.offsetLeftAndRight(newOffset - prevOffset); 753 int newOffset = lp.mSpan.mIndex * mSizePerSpan; 756 child.offsetLeftAndRight(newOffset - prevOffset); 758 child.offsetTopAndBottom(newOffset - prevOffset);
|
/frameworks/base/media/java/android/media/ |
D | MediaCodec.java | 1487 int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) { in set() argument 1488 offset = newOffset; in set()
|