/aosp14/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | EditTextCursorAnchorInfoTest.java | 262 int scrollY = 2 * LINE_HEIGHT; in testVisibleLineBounds_scrolled_cutTopLines() local 264 /* scrollY= */ scrollY); in testVisibleLineBounds_scrolled_cutTopLines() 281 int scrollY = 2 * LINE_HEIGHT; in testVisibleLineBounds_scrolled_cutTopAndBottomLines() local 283 /* scrollY= */ scrollY); in testVisibleLineBounds_scrolled_cutTopAndBottomLines() 300 /* scrollY= */ scrollY); in testVisibleLineBounds_scrolled_partiallyVisibleLines() 358 int scrollY = LINE_HEIGHT; in testVisibleLineBounds_withCompoundDrawable_scrolled() local 380 int scrollY = LINE_HEIGHT / 2; in testVisibleLineBounds_withCompoundDrawable_partiallyVisible() local 435 int scrollY = LINE_HEIGHT; in testVisibleLineBounds_withPaddings_scrolled() local 456 int scrollY = LINE_HEIGHT / 2; in testVisibleLineBounds_withPadding_partiallyVisible() local 567 mEditText.scrollTo(0, scrollY); in setupEditText() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
H A D | AmbientStateTest.kt | 280 sut.scrollY = 0 282 sut.scrollY = 1 284 assertThat(sut.scrollY).isEqualTo(1) 289 sut.scrollY = 0 291 sut.scrollY = -1 293 assertThat(sut.scrollY).isEqualTo(0)
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | ScrollView.java | 573 final int scrollY = mScrollY; in inChild() local 1006 mScrollY = scrollY; in onOverScrolled() 1013 super.scrollTo(scrollX, scrollY); in onOverScrolled() 1393 final int scrollY = mScrollY; in smoothScrollBy() local 1394 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY; in smoothScrollBy() 1434 final int scrollY = mScrollY; in computeVerticalScrollRange() local 1436 if (scrollY < 0) { in computeVerticalScrollRange() 1437 scrollRange -= scrollY; in computeVerticalScrollRange() 1548 int scrollY = getScrollY(); in consumeFlingInStretch() local 1549 if (scrollY < 0 || scrollY > getScrollRange()) { in consumeFlingInStretch() [all …]
|
H A 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()
|
H A D | ExpandableListView.java | 373 final int scrollY = mScrollY; in dispatchDraw() local 374 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in dispatchDraw() 376 scrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw()
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/ |
H A D | DoubleShadowTextHelper.kt | 49 view.scrollY + view.extendedPaddingTop, 51 view.scrollY + view.height
|
/aosp14/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A 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,
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/ |
H A D | MediaScrollView.kt | 113 scrollY: Int, 128 scrollY,
|
H A D | MediaCarouselScrollHandler.kt | 165 scrollY: Int, 299 mainExecutor.execute { scrollView.smoothScrollTo(newScrollX, scrollView.scrollY) } 445 mainExecutor.execute { scrollView.smoothScrollTo(view.left, scrollView.scrollY) } 578 { scrollView.smoothScrollTo(view.left, scrollView.scrollY) },
|
/aosp14/frameworks/base/core/java/com/android/internal/view/ |
H A D | ScrollCaptureViewSupport.java | 102 public static Rect transformFromRequestToContainer(int scrollY, Rect requestBounds, in transformFromRequestToContainer() argument 105 requestedContainerBounds.offset(0, -scrollY); in transformFromRequestToContainer() 119 public static Rect transformFromContainerToRequest(int scrollY, Rect requestBounds, in transformFromContainerToRequest() argument 123 requestRect.offset(0, scrollY); in transformFromContainerToRequest()
|
H A D | RootViewSurfaceTaker.java | 30 void onRootViewScrollYChanged(int scrollY); in onRootViewScrollYChanged() argument
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DecorCaptionView.java | 410 public void onRootViewScrollYChanged(int scrollY) { in onRootViewScrollYChanged() argument 414 mRootScrollY = scrollY; in onRootViewScrollYChanged() 415 mCaption.setTranslationY(scrollY); in onRootViewScrollYChanged()
|
/aosp14/frameworks/base/core/java/android/text/method/ |
H A D | Touch.java | 206 public DragState(float x, float y, int scrollX, int scrollY) { in DragState() argument 210 mScrollY = scrollY; in DragState()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | GestureDetector.java | 666 final float scrollY = mLastFocusY - focusY; in onTouchEvent() local 710 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent() 722 } else if ((Math.abs(scrollX) >= 1) || (Math.abs(scrollY) >= 1)) { in onTouchEvent() 724 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
|
H A D | ViewStructure.java | 93 public abstract void setDimens(int left, int top, int scrollX, int scrollY, int width, in setDimens() argument
|
/aosp14/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 2430 public void super_scrollTo(int scrollX, int scrollY) { in super_scrollTo() argument 2431 WebView.super.scrollTo(scrollX, scrollY); in super_scrollTo() 2484 int scrollX, int scrollY, in overScrollBy() argument 2488 WebView.this.overScrollBy(deltaX, deltaY, scrollX, scrollY, scrollRangeX, scrollRangeY, in overScrollBy() 2532 public void setScrollYRaw(int scrollY) { in setScrollYRaw() argument 2533 WebView.this.mScrollY = scrollY; in setScrollYRaw() 2930 protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) { in onOverScrolled() argument 2931 mProvider.getViewDelegate().onOverScrolled(scrollX, scrollY, clampedX, clampedY); in onOverScrolled()
|
/aosp14/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
H A D | QS.java | 171 void onQsPanelScrollChanged(int scrollY); in onQsPanelScrollChanged() argument
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/helper/ |
H A 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()
|
/aosp14/frameworks/base/core/java/android/view/autofill/ |
H A D | AutofillPopupWindow.java | 212 anchor.setOnScrollChangeListener((v, scrollX, scrollY, oldScrollX, oldScrollY) -> { in update() 214 mLocationOnScreen[1] = mLocationOnScreen[1] - (scrollY - oldScrollY); in update()
|
/aosp14/frameworks/base/packages/SettingsLib/ActionBarShadow/src/com/android/settingslib/widget/ |
H A D | ActionBarShadowController.java | 111 public void onScrollChange(View view, int scrollX, int scrollY, int oldScrollX, in onScrollChange() argument
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
H A D | FullScreenMagnificationController.java | 456 final float scrollY; in requestRectangleOnScreen() local 480 scrollY = top - magnifFrameInScreenCoords.top; in requestRectangleOnScreen() 482 scrollY = top - magnifFrameInScreenCoords.top - offsetViewportY; in requestRectangleOnScreen() 484 scrollY = bottom - magnifFrameInScreenCoords.bottom + offsetViewportY; in requestRectangleOnScreen() 486 scrollY = 0; in requestRectangleOnScreen() 490 offsetMagnifiedRegion(scrollX * scale, scrollY * scale, INVALID_SERVICE_ID); in requestRectangleOnScreen()
|
/aosp14/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityRecord.java | 533 public void setScrollY(int scrollY) { in setScrollY() argument 535 mScrollY = scrollY; in setScrollY()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
H A D | AmbientState.java | 326 public void setScrollY(int scrollY) { in setScrollY() argument 330 this.mScrollY = Math.max(scrollY, 0); in setScrollY()
|
H A D | StackScrollAlgorithm.java | 355 state.scrollY = ambientState.getScrollY(); in initAlgorithmState() 356 state.mCurrentYPosition = -state.scrollY; in initAlgorithmState() 357 state.mCurrentExpandedYPosition = -state.scrollY; in initAlgorithmState() 1010 public int scrollY; field in StackScrollAlgorithm.StackScrollAlgorithmState
|