/frameworks/base/core/tests/coretests/src/android/widget/ |
D | EditTextCursorAnchorInfoTest.java | 262 int scrollY = 2 * LINE_HEIGHT; in testVisibleLineBounds_scrolled_cutTopLines() local 264 /* scrollY= */ scrollY); in testVisibleLineBounds_scrolled_cutTopLines() 271 expectedLineBounds.forEach(rectF -> rectF.offset(0, -scrollY)); in testVisibleLineBounds_scrolled_cutTopLines() 281 int scrollY = 2 * LINE_HEIGHT; in testVisibleLineBounds_scrolled_cutTopAndBottomLines() local 283 /* scrollY= */ scrollY); in testVisibleLineBounds_scrolled_cutTopAndBottomLines() 290 expectedLineBounds.forEach(rectF -> rectF.offset(0, -scrollY)); in testVisibleLineBounds_scrolled_cutTopAndBottomLines() 298 int scrollY = 2 * LINE_HEIGHT + LINE_HEIGHT / 2; in testVisibleLineBounds_scrolled_partiallyVisibleLines() local 300 /* scrollY= */ scrollY); in testVisibleLineBounds_scrolled_partiallyVisibleLines() 307 expectedLineBounds.forEach(rectF -> rectF.offset(0f, -scrollY)); in testVisibleLineBounds_scrolled_partiallyVisibleLines() 358 int scrollY = LINE_HEIGHT; in testVisibleLineBounds_withCompoundDrawable_scrolled() local [all …]
|
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | AmbientStateTest.kt | 250 sut.scrollY = 0 in <lambda>() 252 sut.scrollY = 1 in <lambda>() 254 assertThat(sut.scrollY).isEqualTo(1) in <lambda>() 259 sut.scrollY = 0 in <lambda>() 261 sut.scrollY = -1 in <lambda>() 263 assertThat(sut.scrollY).isEqualTo(0) in <lambda>()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | WearGestureInterceptionDetector.java | 184 final int scrollY = v.getScrollY(); 191 || y + scrollY < child.getTop() 192 || y + scrollY >= child.getBottom()) { 203 /* y= */ y + scrollY - child.getTop())) {
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/ |
D | DoubleShadowTextHelper.kt | 49 view.scrollY + view.extendedPaddingTop, in applyShadows() 51 view.scrollY + view.height in applyShadows()
|
/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 581 final int scrollY = mScrollY; in inChild() local 583 return !(y < child.getTop() - scrollY in inChild() 584 || y >= child.getBottom() - scrollY in inChild() 1050 protected void onOverScrolled(int scrollX, int scrollY, in onOverScrolled() argument 1057 mScrollY = scrollY; in onOverScrolled() 1064 super.scrollTo(scrollX, scrollY); in onOverScrolled() 1444 final int scrollY = mScrollY; in smoothScrollBy() local 1445 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY; in smoothScrollBy() 1447 mScroller.startScroll(mScrollX, scrollY, 0, dy); in smoothScrollBy() 1485 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()
|
/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/controls/ui/view/ |
D | MediaScrollView.kt | 121 scrollY: Int, in overScrollBy() 136 scrollY, in overScrollBy()
|
D | MediaCarouselScrollHandler.kt | 169 scrollY: Int, in onTouchEvent() 302 mainExecutor.execute { scrollView.smoothScrollTo(newScrollX, scrollView.scrollY) } in onTouch() 448 mainExecutor.execute { scrollView.smoothScrollTo(view.left, scrollView.scrollY) } in onFling() 585 { scrollView.smoothScrollTo(view.left, scrollView.scrollY) }, in scrollToPlayer()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | RootViewSurfaceTaker.java | 30 void onRootViewScrollYChanged(int scrollY); in onRootViewScrollYChanged() argument
|
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()
|
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/ |
D | ViewCapture.java | 529 public int scrollX, scrollY; 552 out.scrollY = this.scrollY; 586 .setScrollY(scrollY) 629 out.scrollY = view.getScrollY();
|
/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/view/ |
D | GestureDetector.java | 698 final float scrollY = mLastFocusY - focusY; in onTouchEvent() local 742 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent() 754 } else if ((Math.abs(scrollX) >= 1) || (Math.abs(scrollY) >= 1)) { in onTouchEvent() 756 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
|
D | ViewStructure.java | 128 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 | 174 void onQsPanelScrollChanged(int scrollY); in onQsPanelScrollChanged() argument
|
/frameworks/base/core/java/android/webkit/ |
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()
|
/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/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/proto/ |
D | view_capture.proto | 70 optional int32 scrollY = 10; field
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | AmbientState.java | 356 public void setScrollY(int scrollY) { in setScrollY() argument 360 this.mScrollY = Math.max(scrollY, 0); in setScrollY()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 532 public void setScrollY(int scrollY) { in setScrollY() argument 534 mScrollY = scrollY; in setScrollY()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | FullScreenMagnificationController.java | 543 final float scrollY; in requestRectangleOnScreen() local 567 scrollY = top - magnifFrameInScreenCoords.top; in requestRectangleOnScreen() 569 scrollY = top - magnifFrameInScreenCoords.top - offsetViewportY; in requestRectangleOnScreen() 571 scrollY = bottom - magnifFrameInScreenCoords.bottom + offsetViewportY; in requestRectangleOnScreen() 573 scrollY = 0; in requestRectangleOnScreen() 577 offsetMagnifiedRegion(scrollX * scale, scrollY * scale, INVALID_SERVICE_ID); in requestRectangleOnScreen()
|