/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityRecord.java | 467 * @param scrollY The scroll. 469 public void setScrollY(int scrollY) { argument 471 mScrollY = scrollY;
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
H A D | ItemTouchHelper.java | 715 int scrollY = 0; 735 scrollY = topDiff; 740 scrollY = bottomDiff; 749 if (scrollY != 0) { 750 scrollY = mCallback.interpolateOutOfBoundsScroll(mRecyclerView, 751 mSelected.itemView.getHeight(), scrollY, 754 if (scrollX != 0 || scrollY != 0) { 758 mRecyclerView.scrollBy(scrollX, scrollY);
|
/frameworks/support/core/ktx/src/main/java/androidx/core/view/ |
H A D | View.kt | 199 translate(-scrollX.toFloat(), -scrollY.toFloat())
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | ItemTouchHelper.java | 738 int scrollY = 0; 758 scrollY = topDiff; 763 scrollY = bottomDiff; 772 if (scrollY != 0) { 773 scrollY = mCallback.interpolateOutOfBoundsScroll(mRecyclerView, 774 mSelected.itemView.getHeight(), scrollY, 777 if (scrollX != 0 || scrollY != 0) { 781 mRecyclerView.scrollBy(scrollX, scrollY);
|
/frameworks/support/customview/src/main/java/androidx/customview/widget/ |
H A D | ViewDragHelper.java | 936 final int scrollY = v.getScrollY(); 944 && y + scrollY >= child.getTop() && y + scrollY < child.getBottom() 946 y + scrollY - child.getTop())) {
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 359 public void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY); argument
|
/frameworks/support/slidingpanelayout/src/main/java/androidx/slidingpanelayout/widget/ |
H A D | SlidingPaneLayout.java | 1247 final int scrollY = v.getScrollY(); 1255 && y + scrollY >= child.getTop() && y + scrollY < child.getBottom() 1257 y + scrollY - child.getTop())) {
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 1349 final int scrollY = mScrollY; 1350 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, 1352 scrollY + mBottom - mTop - mPaddingBottom);
|
H A D | AbsListView.java | 2627 final int scrollY = mScrollY; 2628 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, 2630 scrollY + mBottom - mTop - mPaddingBottom); 4208 protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) { argument 4209 if (mScrollY != scrollY) { 4210 onScrollChanged(mScrollX, scrollY, mScrollX, mScrollY); 4211 mScrollY = scrollY; 4322 final int scrollY = mScrollY; 4344 final int edgeY = Math.min(0, scrollY + mFirstPositionDistanceGuess) + translateY; 4357 final int edgeY = Math.max(getHeight(), scrollY [all...] |
H A D | HorizontalScrollView.java | 773 protected void onOverScrolled(int scrollX, int scrollY, argument 780 mScrollY = scrollY; 787 super.scrollTo(scrollX, scrollY);
|
H A D | ProgressBar.java | 1708 final int scrollY = mScrollY + mPaddingTop; 1710 invalidate(dirty.left + scrollX, dirty.top + scrollY, 1711 dirty.right + scrollX, dirty.bottom + scrollY);
|
H A D | ListView.java | 3473 final int scrollY = mScrollY; 3474 if (count > 0 && scrollY < 0) { 3477 bounds.top = scrollY; 3527 final int scrollY = mScrollY; 3530 bounds.top = scrollY; 3569 if (count > 0 && scrollY > 0) { 3573 bounds.bottom = absListBottom + scrollY;
|
H A D | PopupWindow.java | 1643 final int scrollY = anchor.getScrollY(); 1644 final Rect r = new Rect(scrollX, scrollY, scrollX + width + xOffset, 1645 scrollY + height + anchorHeight + yOffset);
|
H A D | TextView.java | 6878 int scrollY = mScrollY; 6891 scrollY += compoundPaddingTop + (vspace - drawables.mDrawableHeightLeft) / 2; 6899 scrollY += compoundPaddingTop + (vspace - drawables.mDrawableHeightRight) / 2; 6907 scrollY += mPaddingTop; 6915 scrollY += (mBottom - mTop - mPaddingBottom - drawables.mDrawableSizeBottom); 6921 invalidate(dirty.left + scrollX, dirty.top + scrollY, 6922 dirty.right + scrollX, dirty.bottom + scrollY); 7088 final int scrollY = mScrollY; 7113 scrollY + compoundPaddingTop + (vspace - dr.mDrawableHeightLeft) / 2); 7124 scrollY [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | FrameBuilderTests.cpp | 1611 static const int scrollY = 10; local 1628 expectedMatrix.loadTranslate(50 - scrollX, 50 - scrollY, 0); 1636 expectedMatrix.loadTranslate(-scrollX, 50 - scrollY, 0); 1651 * The parent is scrolled by scrollX/scrollY, but this does not affect the background 1661 properties.setTranslationY(scrollY); 1691 -scrollY); // Apply scroll (note: bg undoes this internally) 1708 static const int scrollY = 10; local 1727 expected.loadTranslate(100 - scrollX, 100 - scrollY, 0); 1744 properties.setTranslationY(scrollY); 1767 -scrollY); // Appl 1801 static const int scrollY = 0; local [all...] |
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 754 * Set the scroll position on all the components with the "scrollX" and "scrollY" attribute. If 991 int scrollY = parent != null ? ((View)parent).getScrollY() : 0; 997 -scrollY + view.getTop() + vOffset, -scrollX + view.getRight() + hOffset, 998 -scrollY + view.getBottom() + vOffset,
|
/frameworks/base/core/java/android/app/assist/ |
H A D | AssistStructure.java | 1577 public void setDimens(int left, int top, int scrollX, int scrollY, int width, int height) { argument 1581 mNode.mScrollY = scrollY; 2108 int scrollY = node.getScrollY(); 2109 if (scrollX != 0 || scrollY != 0) { 2110 Log.i(TAG, prefix + " Scroll: " + scrollX + "," + scrollY);
|
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 3547 int scrollY = 0; 3556 scrollY = mScrollY; 3624 "Too tall; leaving scrollY=" + scrollY); 3627 // position, and calculate new scrollY (or set it to 0). 3632 scrollY = mTempRect.top - vi.top; 3634 "Top covered; scrollY=" + scrollY); 3636 scrollY = mTempRect.bottom - (mView.getHeight()-vi.bottom); 3638 "Bottom covered; scrollY [all...] |
H A D | View.java | 14310 * @param scrollY Current vertical scroll origin. 14314 void onScrollChange(View v, int scrollX, int scrollY, int oldScrollX, int oldScrollY); argument 16341 final int scrollY = mScrollY; 16342 invalidateInternal(dirty.left - scrollX, dirty.top - scrollY, 16343 dirty.right - scrollX, dirty.bottom - scrollY, true, false); 16368 final int scrollY = mScrollY; 16369 invalidateInternal(l - scrollX, t - scrollY, r - scrollX, b - scrollY, true, false); 20410 final int scrollY = mScrollY; 20411 if ((scrollX | scrollY) 24380 overScrollBy(int deltaX, int deltaY, int scrollX, int scrollY, int scrollRangeX, int scrollRangeY, int maxOverScrollX, int maxOverScrollY, boolean isTouchEvent) argument 24443 onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ViewPager.java | 2411 final int scrollY = v.getScrollY(); 2418 && y + scrollY >= child.getTop() && y + scrollY < child.getBottom() 2420 y + scrollY - child.getTop())) {
|
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/ |
H A D | ViewPager.java | 2722 final int scrollY = v.getScrollY(); 2730 && y + scrollY >= child.getTop() && y + scrollY < child.getBottom() 2732 y + scrollY - child.getTop())) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | NotificationStackScrollLayout.java | 1876 private boolean customOverScrollBy(int deltaY, int scrollY, int scrollRangeY, argument 1879 int newScrollY = scrollY + deltaY; 2001 private void onCustomOverScrolled(int scrollY, boolean clampedY) { argument 2004 setOwnScrollY(scrollY); 2016 setOwnScrollY(scrollY); 4580 + " alpha:%f scrollY:%d maxTopPadding:%d showShelfOnly=%s"
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | GridLayoutManager.java | 3095 int scrollY; 3098 scrollY = scrollSecondary; 3101 scrollY = scrollPrimary; 3104 mBaseGridView.smoothScrollBy(scrollX, scrollY); 3106 mBaseGridView.scrollBy(scrollX, scrollY);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/ |
H A D | AlertController.java | 594 int scrollY,
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | RecyclerViewLayoutTest.java | 1056 final int scrollY = 50; 1062 view.setScrollY(scrollY); 1078 assertThat(child.getScrollY(), CoreMatchers.is(scrollY));
|