Searched refs:newOffset (Results 1 - 10 of 10) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
H A D | Utils.cpp | 67 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 D | HeaderBehavior.java | 191 int setHeaderTopBottomOffset(CoordinatorLayout parent, V header, int newOffset) { argument 192 return setHeaderTopBottomOffset(parent, header, newOffset, 196 int setHeaderTopBottomOffset(CoordinatorLayout parent, V header, int newOffset, argument 204 newOffset = MathUtils.clamp(newOffset, minOffset, maxOffset); 206 if (curOffset != newOffset) { 207 setTopAndBottomOffset(newOffset); 209 consumed = curOffset - newOffset;
|
H A D | AppBarLayout.java | 985 final int newOffset = offset < (snapBottom + snapTop) / 2 989 MathUtils.clamp(newOffset, -abl.getTotalScrollRange(), 0), 0); 1113 AppBarLayout appBarLayout, int newOffset, int minOffset, int maxOffset) { 1120 newOffset = MathUtils.clamp(newOffset, minOffset, maxOffset); 1121 if (curOffset != newOffset) { 1123 ? interpolateOffset(appBarLayout, newOffset) 1124 : newOffset; 1129 consumed = curOffset - newOffset; 1131 mOffsetDelta = newOffset 1112 setHeaderTopBottomOffset(CoordinatorLayout coordinatorLayout, AppBarLayout appBarLayout, int newOffset, int minOffset, int maxOffset) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | Asset.cpp | 361 off64_t newOffset; local 365 newOffset = offset; 368 newOffset = curPosn + offset; 371 newOffset = maxPosn + offset; 380 if (newOffset < 0 || newOffset > maxPosn) { 382 (long) newOffset, (long) maxPosn); 386 return newOffset;
|
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 321 size_t newOffset; 325 newOffset = newEntries.add(oldEnt); 326 newEntries.editItemAt(newOffset).indices.clear(); 330 newOffset = origOffsetToNewOffset.valueAt(newIndexOfOffset); 333 newEntries.editItemAt(newOffset).indices.add(i); 335 newEntryArray.add(newOffset);
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | StaticLayoutTest.java | 329 final int newOffset = layout.getOffsetToRightOf(state.mSelectionStart); 330 state.mSelectionStart = state.mSelectionEnd = newOffset; 336 final int newOffset = layout.getOffsetToLeftOf(state.mSelectionStart); 337 state.mSelectionStart = state.mSelectionEnd = newOffset;
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | DrawerLayout.java | 1198 final float newOffset; 1201 newOffset = (float) (childWidth + childLeft) / childWidth; 1204 newOffset = (float) (width - childLeft) / childWidth; 1207 final boolean changeOffset = newOffset != lp.onScreen; 1246 setDrawerViewOffset(child, newOffset);
|
H A D | SlidingPaneLayout.java | 1205 final int newOffset = (int) ((1 - slideOffset) * mParallaxBy); 1206 final int dx = oldOffset - newOffset;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaCodec.java | 1483 * @param newOffset the start-offset of the data in the buffer. 1491 int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) { 1492 offset = newOffset; 1490 set( int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) argument
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManager.java | 766 int newOffset = -(mSpanCount - 1 - lp.mSpan.mIndex) * mSizePerSpan; 768 child.offsetLeftAndRight(newOffset - prevOffset); 770 int newOffset = lp.mSpan.mIndex * mSizePerSpan; 773 child.offsetLeftAndRight(newOffset - prevOffset); 775 child.offsetTopAndBottom(newOffset - prevOffset);
|
Completed in 1066 milliseconds