/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 122 mLastOverscrollAmount = Math.max(0, scrollY + deltaY - getMaxScrollY()); in overScrollBy() 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 | ScrollView.java | 552 final int scrollY = mScrollY; in inChild() local 554 return !(y < child.getTop() - scrollY in inChild() 555 || y >= child.getBottom() - scrollY in inChild() 958 protected void onOverScrolled(int scrollX, int scrollY, in onOverScrolled() argument 965 mScrollY = scrollY; in onOverScrolled() 972 super.scrollTo(scrollX, scrollY); in onOverScrolled() 1352 final int scrollY = mScrollY; in smoothScrollBy() local 1353 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY; in smoothScrollBy() 1355 mScroller.startScroll(mScrollX, scrollY, 0, dy); in smoothScrollBy() 1393 final int scrollY = mScrollY; in computeVerticalScrollRange() local [all …]
|
D | CompoundButton.java | 564 final int scrollY = mScrollY; 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 | 372 final int scrollY = mScrollY; in dispatchDraw() local 373 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in dispatchDraw() 375 scrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw()
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | AssistVisualizer.java | 43 final int scrollY; field in AssistVisualizer.TextEntry 58 this.scrollY = node.getScrollY(); in TextEntry() 199 canvas.drawLine(0, te.lineBaselines[j] - te.scrollY, 200 te.bounds.right - te.bounds.left, te.lineBaselines[j] - te.scrollY,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaScrollView.kt | 105 scrollY: Int, in overScrollBy() 116 return super.overScrollBy(deltaX, deltaY, scrollX, scrollY, scrollRangeX, in overScrollBy()
|
D | MediaCarouselScrollHandler.kt | 191 scrollY: Int, in onTouchEvent() 306 scrollView.smoothScrollTo(newScrollX, scrollView.scrollY) in onTouch() 443 scrollView.smoothScrollTo(view.left, scrollView.scrollY) in onFling() 580 scrollView.smoothScrollTo(view.left, scrollView.scrollY) in scrollToPlayer()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | ScrollCaptureViewSupport.java | 99 public static Rect transformFromRequestToContainer(int scrollY, Rect requestBounds, in transformFromRequestToContainer() argument 102 requestedContainerBounds.offset(0, -scrollY); in transformFromRequestToContainer() 116 public static Rect transformFromContainerToRequest(int scrollY, Rect requestBounds, in transformFromContainerToRequest() argument 120 requestRect.offset(0, scrollY); in transformFromContainerToRequest()
|
D | RootViewSurfaceTaker.java | 31 void onRootViewScrollYChanged(int scrollY); in onRootViewScrollYChanged() argument
|
/frameworks/base/core/tests/coretests/src/com/android/internal/view/ |
D | ScrollViewCaptureHelperTest.java | 339 static int assertScrollToY(View v, int scrollY) { in assertScrollToY() argument 340 v.scrollTo(0, scrollY); in assertScrollToY() 342 assertEquals(scrollY, dest); in assertScrollToY() 343 return scrollY; in assertScrollToY()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DecorCaptionView.java | 410 public void onRootViewScrollYChanged(int scrollY) { in onRootViewScrollYChanged() argument 414 mRootScrollY = scrollY; in onRootViewScrollYChanged() 415 mCaption.setTranslationY(scrollY); in onRootViewScrollYChanged()
|
/frameworks/base/core/java/android/text/method/ |
D | Touch.java | 206 public DragState(float x, float y, int scrollX, int scrollY) { in DragState() argument 210 mScrollY = scrollY; in DragState()
|
/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() 2520 public void setScrollYRaw(int scrollY) { in setScrollYRaw() argument 2521 WebView.this.mScrollY = scrollY; in setScrollYRaw() 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()
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 660 final float scrollY = mLastFocusY - focusY; 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/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
D | QS.java | 115 void onQsPanelScrollChanged(int scrollY); in onQsPanelScrollChanged() argument
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | FullScreenMagnificationController.java | 389 final float scrollY; in requestRectangleOnScreen() local 407 scrollY = top - magnifFrameInScreenCoords.top; in requestRectangleOnScreen() 409 scrollY = top - magnifFrameInScreenCoords.top; in requestRectangleOnScreen() 411 scrollY = bottom - magnifFrameInScreenCoords.bottom; in requestRectangleOnScreen() 413 scrollY = 0; in requestRectangleOnScreen() 417 offsetMagnifiedRegion(scrollX * scale, scrollY * scale, INVALID_ID); in requestRectangleOnScreen()
|
/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 | 715 int scrollY = 0; in scrollIfNecessary() local 735 scrollY = topDiff; in scrollIfNecessary() 740 scrollY = bottomDiff; in scrollIfNecessary() 749 if (scrollY != 0) { in scrollIfNecessary() 750 scrollY = mCallback.interpolateOutOfBoundsScroll(mRecyclerView, in scrollIfNecessary() 751 mSelected.itemView.getHeight(), scrollY, 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 214 mLocationOnScreen[1] = mLocationOnScreen[1] - (scrollY - oldScrollY); in update()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | AmbientState.java | 232 public void setScrollY(int scrollY) { in setScrollY() argument 236 this.mScrollY = Math.max(scrollY, 0); in setScrollY()
|
D | StackScrollAlgorithm.java | 237 state.scrollY = ambientState.getScrollY(); in initAlgorithmState() 238 state.mCurrentYPosition = -state.scrollY; in initAlgorithmState() 239 state.mCurrentExpandedYPosition = -state.scrollY; in initAlgorithmState() 739 public int scrollY; field in StackScrollAlgorithmState
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QuickStatusBarHeader.java | 512 public void setExpandedScrollAmount(int scrollY) { in setExpandedScrollAmount() argument 513 mClockIconsView.setScrollY(scrollY); in setExpandedScrollAmount() 514 mDatePrivacyView.setScrollY(scrollY); in setExpandedScrollAmount()
|
D | QSFragment.java | 187 (v, scrollX, scrollY, oldScrollX, oldScrollY) -> { in onViewCreated() argument 190 mHeader.setExpandedScrollAmount(scrollY); in onViewCreated() 192 mScrollListener.onQsPanelScrollChanged(scrollY); in onViewCreated()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 483 public void setScrollY(int scrollY) { in setScrollY() argument 485 mScrollY = scrollY; in setScrollY()
|