Searched refs:scrollOffset (Results 1 - 5 of 5) sorted by relevance
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | LinearLayoutManagerTest.java | 445 final int scrollOffset = config.mStackFromEnd ? startOffset + startOffset / 2 448 scrollToPositionWithOffset(position, scrollOffset); 458 scrollOffset, finalOffset); 585 public void scrollToPositionWithPredictive(final int scrollPosition, final int scrollOffset) argument 595 if (scrollOffset != LinearLayoutManager.INVALID_OFFSET) { 597 scrollOffset, mLayoutManager.mPendingScrollPositionOffset); 603 if (scrollOffset != LinearLayoutManager.INVALID_OFFSET) { 605 mLayoutManager.getPaddingTop() + scrollOffset + 619 if (scrollOffset == LinearLayoutManager.INVALID_OFFSET) { 623 scrollOffset); [all...] |
H A D | StaggeredGridLayoutManagerTest.java | 425 public void scrollToPositionWithPredictive(final int scrollPosition, final int scrollOffset) argument 437 if (scrollOffset != LinearLayoutManager.INVALID_OFFSET) { 439 scrollOffset, mLayoutManager.mPendingScrollPositionOffset); 444 if (scrollOffset != LinearLayoutManager.INVALID_OFFSET) { 446 mLayoutManager.getPaddingTop() + scrollOffset 460 if (scrollOffset == LinearLayoutManager.INVALID_OFFSET) { 464 scrollOffset); 1296 final int scrollOffset = startOffset / 2; 1298 scrollToPositionWithOffset(position, scrollOffset); 1306 scrollOffset, finalOffse [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackScrollAlgorithm.java | 427 float scrollOffset = yPositionInScrollView - algorithmState.scrollY + mCollapsedSize; 434 currentYPosition = Math.min(scrollOffset, bottomStackStart); 446 numberOfElementsCompletelyIn, i, childHeight, childViewState, scrollOffset); 664 StackViewState childViewState, float scrollOffset) { 681 childViewState.yTranslation = scrollOffset; 662 updateStateForTopStackChild(StackScrollAlgorithmState algorithmState, int numberOfElementsCompletelyIn, int i, int childHeight, StackViewState childViewState, float scrollOffset) argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ViewPager.java | 1493 final float scrollOffset = ii != null ? Math.min(ii.offset, mLastOffset) : 0; 1494 final int scrollPos = (int) (scrollOffset * 2173 final float scrollOffset = width > 0 ? (float) startOffset / width : 0; 2198 if (first || scrollOffset >= startBound) { 2200 if (scrollOffset < endBound || i == mItems.size() - 1) {
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 1524 final float scrollOffset = ii != null ? Math.min(ii.offset, mLastOffset) : 0; 1525 final int scrollPos = (int) (scrollOffset * 2197 final float scrollOffset = width > 0 ? (float) getScrollX() / width : 0; 2220 if (first || scrollOffset >= leftBound) { 2221 if (scrollOffset < rightBound || i == mItems.size() - 1) {
|
Completed in 145 milliseconds