/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaScrollView.kt | 48 private fun transformScrollX(scrollX: Int): Int = if (isLayoutRtl) { in transformScrollX() 49 contentContainer.width - width - scrollX in transformScrollX() 51 scrollX 58 get() = transformScrollX(scrollX) 60 scrollX = transformScrollX(value) 104 scrollX: Int, in overScrollBy() 116 return super.overScrollBy(deltaX, deltaY, scrollX, scrollY, scrollRangeX, in overScrollBy()
|
D | MediaCarouselScrollHandler.kt | 190 scrollX: Int, in onTouchEvent() 544 scrollView.scrollX = Math.max(scrollView.scrollX - playerWidthPlusPadding, 0) in onPrePlayerRemoved()
|
/frameworks/base/core/java/android/text/method/ |
D | BaseMovementMethod.java | 468 int scrollX = widget.getScrollX(); in scrollLeft() local 469 if (scrollX > minScrollX) { in scrollLeft() 470 scrollX = Math.max(scrollX - getCharacterWidth(widget) * amount, minScrollX); in scrollLeft() 471 widget.scrollTo(scrollX, widget.getScrollY()); in scrollLeft() 489 int scrollX = widget.getScrollX(); in scrollRight() local 490 if (scrollX < maxScrollX) { in scrollRight() 491 scrollX = Math.min(scrollX + getCharacterWidth(widget) * amount, maxScrollX); in scrollRight() 492 widget.scrollTo(scrollX, widget.getScrollY()); in scrollRight() 647 int scrollX = widget.getScrollX(); in scrollLineStart() local 648 if (scrollX > minScrollX) { in scrollLineStart() [all …]
|
D | Touch.java | 206 public DragState(float x, float y, int scrollX, int scrollY) { in DragState() argument 209 mScrollX = scrollX; in DragState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ObservableScrollView.java | 119 protected boolean overScrollBy(int deltaX, int deltaY, int scrollX, int scrollY, in overScrollBy() argument 123 return super.overScrollBy(deltaX, deltaY, scrollX, scrollY, scrollRangeX, scrollRangeY, in overScrollBy() 139 protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) { in onOverScrolled() argument 140 super.onOverScrolled(scrollX, scrollY, clampedX, clampedY); in onOverScrolled()
|
/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 520 final int scrollX = mScrollX; in inChild() local 524 || x < child.getLeft() - scrollX in inChild() 525 || x >= child.getRight() - scrollX); in inChild() 897 protected void onOverScrolled(int scrollX, int scrollY, in onOverScrolled() argument 903 mScrollX = scrollX; in onOverScrolled() 911 super.scrollTo(scrollX, scrollY); in onOverScrolled() 1327 final int scrollX = mScrollX; in smoothScrollBy() local 1328 dx = Math.max(0, Math.min(scrollX + dx, maxX)) - scrollX; in smoothScrollBy() 1330 mScroller.startScroll(scrollX, mScrollY, dx, 0); in smoothScrollBy() 1364 final int scrollX = mScrollX; in computeHorizontalScrollRange() local [all …]
|
D | CompoundButton.java | 563 final int scrollX = mScrollX; in onDraw() local 565 if (scrollX == 0 && scrollY == 0) { in onDraw() 568 canvas.translate(scrollX, scrollY); in onDraw() 570 canvas.translate(-scrollX, -scrollY); in onDraw()
|
D | ExpandableListView.java | 371 final int scrollX = mScrollX; in dispatchDraw() local 373 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in dispatchDraw() 374 scrollX + mRight - mLeft - mPaddingRight, in dispatchDraw()
|
D | ImageView.java | 1430 final int scrollX = mScrollX; in onDraw() local 1432 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in onDraw() 1433 scrollX + mRight - mLeft - mPaddingRight, in onDraw()
|
D | ScrollView.java | 958 protected void onOverScrolled(int scrollX, int scrollY, in onOverScrolled() argument 964 mScrollX = scrollX; in onOverScrolled() 972 super.scrollTo(scrollX, scrollY); in onOverScrolled()
|
D | ProgressBar.java | 2072 final int scrollX = mScrollX + mPaddingLeft; in invalidateDrawable() local 2075 invalidate(dirty.left + scrollX, dirty.top + scrollY, in invalidateDrawable() 2076 dirty.right + scrollX, dirty.bottom + scrollY); in invalidateDrawable()
|
D | PopupWindow.java | 1786 final int scrollX = anchor.getScrollX(); in findDropDownPosition() local 1788 final Rect r = new Rect(scrollX, scrollY, scrollX + width + xOffset, in findDropDownPosition()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 1509 final int scrollX = getScrollX(); 1558 childLeft += scrollX; 1648 private boolean pageScrolled(int scrollX) { 1662 scrollStart = MAX_SCROLL_X - scrollX; 1664 scrollStart = scrollX; 1700 final int scrollX = getScrollX(); 1729 childLeft += scrollX; 1746 final int scrollX = getScrollX(); 1754 final float transformPos = (float) (child.getLeft() - scrollX) / getPaddedWidth(); 2341 final int scrollX = getScrollX(); [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | FullScreenMagnificationController.java | 388 final float scrollX; in requestRectangleOnScreen() local 394 scrollX = left - magnifFrameInScreenCoords.left; in requestRectangleOnScreen() 396 scrollX = right - magnifFrameInScreenCoords.right; in requestRectangleOnScreen() 399 scrollX = left - magnifFrameInScreenCoords.left; in requestRectangleOnScreen() 401 scrollX = right - magnifFrameInScreenCoords.right; in requestRectangleOnScreen() 403 scrollX = 0; in requestRectangleOnScreen() 417 offsetMagnifiedRegion(scrollX * scale, scrollY * scale, INVALID_ID); in requestRectangleOnScreen()
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 2418 public void super_scrollTo(int scrollX, int scrollY) { in super_scrollTo() argument 2419 WebView.super.scrollTo(scrollX, scrollY); in super_scrollTo() 2472 int scrollX, int scrollY, in overScrollBy() argument 2476 WebView.this.overScrollBy(deltaX, deltaY, scrollX, scrollY, scrollRangeX, scrollRangeY, in overScrollBy() 2515 public void setScrollXRaw(int scrollX) { in setScrollXRaw() argument 2516 WebView.this.mScrollX = scrollX; in setScrollXRaw() 2918 protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) { in onOverScrolled() argument 2919 mProvider.getViewDelegate().onOverScrolled(scrollX, scrollY, clampedX, clampedY); in onOverScrolled()
|
D | WebViewProvider.java | 406 public void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY); in onOverScrolled() argument
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 659 final float scrollX = mLastFocusX - focusX; in onTouchEvent() local 704 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent() 716 } else if ((Math.abs(scrollX) >= 1) || (Math.abs(scrollY) >= 1)) { in onTouchEvent() 718 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
|
D | ViewStructure.java | 69 public abstract void setDimens(int left, int top, int scrollX, int scrollY, int width, in setDimens() argument
|
/frameworks/base/packages/SettingsLib/ActionBarShadow/src/com/android/settingslib/widget/ |
D | ActionBarShadowController.java | 111 public void onScrollChange(View view, int scrollX, int scrollY, int oldScrollX, in onScrollChange() argument
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchHelper.java | 714 int scrollX = 0; in scrollIfNecessary() local 721 scrollX = leftDiff; in scrollIfNecessary() 727 scrollX = rightDiff; in scrollIfNecessary() 744 if (scrollX != 0) { in scrollIfNecessary() 745 scrollX = mCallback.interpolateOutOfBoundsScroll(mRecyclerView, in scrollIfNecessary() 746 mSelected.itemView.getWidth(), scrollX, in scrollIfNecessary() 754 if (scrollX != 0 || scrollY != 0) { in scrollIfNecessary() 758 mRecyclerView.scrollBy(scrollX, scrollY); in scrollIfNecessary()
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillPopupWindow.java | 212 anchor.setOnScrollChangeListener((v, scrollX, scrollY, oldScrollX, oldScrollY) -> { in update() argument 213 mLocationOnScreen[0] = mLocationOnScreen[0] - (scrollX - oldScrollX); in update()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 464 public void setScrollX(int scrollX) { in setScrollX() argument 466 mScrollX = scrollX; in setScrollX()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | WalletCardCarousel.java | 227 int scrollX = cardCenter - viewCenter; in updatePadding() local 228 scrollBy(scrollX, 0); in updatePadding()
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 1860 public void setDimens(int left, int top, int scrollX, int scrollY, int width, int height) { in setDimens() argument 1863 mNode.mScrollX = scrollX; in setDimens() 2404 int scrollX = node.getScrollX(); in dump() local 2406 if (scrollX != 0 || scrollY != 0) { in dump() 2407 Log.i(TAG, prefix + " Scroll: " + scrollX + "," + scrollY); in dump()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ViewNode.java | 691 public void setDimens(int left, int top, int scrollX, int scrollY, int width, int height) { in setDimens() argument 694 mNode.mScrollX = scrollX; in setDimens()
|