/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/support/core-ui/java/android/support/v4/widget/ |
D | NestedScrollView.java | 92 void onScrollChange(NestedScrollView v, int scrollX, int scrollY, in onScrollChange() argument 326 final int scrollY = getScrollY(); in getTopFadingEdgeStrength() local 327 if (scrollY < length) { in getTopFadingEdgeStrength() 328 return scrollY / (float) length; in getTopFadingEdgeStrength() 569 final int scrollY = getScrollY(); in inChild() local 571 return !(y < child.getTop() - scrollY in inChild() 572 || y >= child.getBottom() - scrollY in inChild() 941 protected void onOverScrolled(int scrollX, int scrollY, in onOverScrolled() argument 943 super.scrollTo(scrollX, scrollY); in onOverScrolled() 947 int scrollX, int scrollY, in overScrollByCompat() argument [all …]
|
D | ViewDragHelper.java | 926 final int scrollY = v.getScrollY(); in canScroll() local 934 && y + scrollY >= child.getTop() && y + scrollY < child.getBottom() in canScroll() 936 y + scrollY - child.getTop())) { in canScroll()
|
/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 442 final int scrollY = mScrollY; in inChild() local 444 return !(y < child.getTop() - scrollY in inChild() 445 || y >= child.getBottom() - scrollY in inChild() 821 protected void onOverScrolled(int scrollX, int scrollY, in onOverScrolled() argument 828 mScrollY = scrollY; in onOverScrolled() 835 super.scrollTo(scrollX, scrollY); in onOverScrolled() 1217 final int scrollY = mScrollY; in smoothScrollBy() local 1218 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY; in smoothScrollBy() 1220 mScroller.startScroll(mScrollX, scrollY, 0, dy); in smoothScrollBy() 1258 final int scrollY = mScrollY; in computeVerticalScrollRange() local [all …]
|
D | CompoundButton.java | 436 final int scrollY = mScrollY; in onDraw() local 437 if (scrollX == 0 && scrollY == 0) { in onDraw() 440 canvas.translate(scrollX, scrollY); in onDraw() 442 canvas.translate(-scrollX, -scrollY); in onDraw()
|
D | ExpandableListView.java | 363 final int scrollY = mScrollY; in dispatchDraw() local 364 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in dispatchDraw() 366 scrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw()
|
D | AbsListView.java | 2632 final int scrollY = mScrollY; in dispatchDraw() local 2633 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in dispatchDraw() 2635 scrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw() 4203 protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) { in onOverScrolled() argument 4204 if (mScrollY != scrollY) { in onOverScrolled() 4205 onScrollChanged(mScrollX, scrollY, mScrollX, mScrollY); in onOverScrolled() 4206 mScrollY = scrollY; in onOverScrolled() 4317 final int scrollY = mScrollY; in draw() local 4339 final int edgeY = Math.min(0, scrollY + mFirstPositionDistanceGuess) + translateY; in draw() 4352 final int edgeY = Math.max(getHeight(), scrollY + mLastPositionDistanceGuess) in draw() [all …]
|
/frameworks/support/core-ui/tests/java/android/support/v4/widget/ |
D | ExploreByTouchHelperTest.java | 78 final int scrollY = 50; in testBoundsInScreen() local 79 mHost.scrollTo(scrollX, scrollY); in testBoundsInScreen() 94 expectedBoundsInScreen.offset(-scrollX, -scrollY); in testBoundsInScreen()
|
/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/statusbar/stack/ |
D | AmbientState.java | 52 public void setScrollY(int scrollY) { in setScrollY() argument 53 this.mScrollY = scrollY; in setScrollY()
|
D | StackScrollAlgorithm.java | 248 int scrollY = ambientState.getScrollY(); in initAlgorithmState() local 252 scrollY = Math.max(0, scrollY); in initAlgorithmState() 253 state.scrollY = (int) (scrollY + bottomOverScroll); in initAlgorithmState() 327 float currentYPosition = -algorithmState.scrollY; in updatePositionsForState() 641 public int scrollY; field in StackScrollAlgorithm.StackScrollAlgorithmState
|
/frameworks/support/compat/java/android/support/v4/view/accessibility/ |
D | AccessibilityRecordCompat.java | 61 public void setScrollY(Object record, int scrollY); in setScrollY() argument 289 public void setScrollY(Object record, int scrollY) { in setScrollY() argument 502 public void setScrollY(Object record, int scrollY) { in setScrollY() argument 503 AccessibilityRecordCompatIcs.setScrollY(record, scrollY); in setScrollY() 883 public void setScrollY(int scrollY) { in setScrollY() argument 884 IMPL.setScrollY(mRecord, scrollY); in setScrollY()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SwipeDismissLayout.java | 386 final int scrollY = v.getScrollY(); 391 y + scrollY >= child.getTop() && y + scrollY < child.getBottom() && 393 y + scrollY - child.getTop())) {
|
/frameworks/support/compat/java/android/support/v4/view/ |
D | GestureDetectorCompat.java | 331 final float scrollY = mLastFocusY - focusY; in onTouchEvent() local 340 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent() 351 } else if ((Math.abs(scrollX) >= 1) || (Math.abs(scrollY) >= 1)) { in onTouchEvent() 352 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationController.java | 690 final float scrollY; in requestRectangleOnScreen() local 708 scrollY = top - magnifFrameInScreenCoords.top; in requestRectangleOnScreen() 710 scrollY = top - magnifFrameInScreenCoords.top; in requestRectangleOnScreen() 712 scrollY = bottom - magnifFrameInScreenCoords.bottom; in requestRectangleOnScreen() 714 scrollY = 0; in requestRectangleOnScreen() 718 offsetMagnifiedRegionCenter(scrollX * scale, scrollY * scale, INVALID_ID); in requestRectangleOnScreen()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | RootViewSurfaceTaker.java | 28 void onRootViewScrollYChanged(int scrollY); in onRootViewScrollYChanged() argument
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 2176 public void super_scrollTo(int scrollX, int scrollY) { in super_scrollTo() argument 2177 WebView.super.scrollTo(scrollX, scrollY); in super_scrollTo() 2222 int scrollX, int scrollY, in overScrollBy() argument 2226 WebView.this.overScrollBy(deltaX, deltaY, scrollX, scrollY, scrollRangeX, scrollRangeY, in overScrollBy() 2270 public void setScrollYRaw(int scrollY) { in setScrollYRaw() argument 2271 WebView.this.mScrollY = scrollY; in setScrollYRaw() 2538 protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) { in onOverScrolled() argument 2539 mProvider.getViewDelegate().onOverScrolled(scrollX, scrollY, clampedX, clampedY); in onOverScrolled()
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 598 final float scrollY = mLastFocusY - focusY; in onTouchEvent() local 607 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent() 618 } else if ((Math.abs(scrollX) >= 1) || (Math.abs(scrollY) >= 1)) { in onTouchEvent() 619 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
|
D | ViewStructure.java | 50 public abstract void setDimens(int left, int top, int scrollX, int scrollY, int width, in setDimens() argument
|
/frameworks/support/compat/ics/android/support/v4/view/accessibility/ |
D | AccessibilityRecordCompatIcs.java | 178 public static void setScrollY(Object record, int scrollY) { in setScrollY() argument 179 ((AccessibilityRecord) record).setScrollY(scrollY); in setScrollY()
|
/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/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
D | ItemTouchHelper.java | 721 int scrollY = 0; in scrollIfNecessary() local 741 scrollY = topDiff; in scrollIfNecessary() 746 scrollY = bottomDiff; in scrollIfNecessary() 755 if (scrollY != 0) { in scrollIfNecessary() 756 scrollY = mCallback.interpolateOutOfBoundsScroll(mRecyclerView, in scrollIfNecessary() 757 mSelected.itemView.getHeight(), scrollY, in scrollIfNecessary() 760 if (scrollX != 0 || scrollY != 0) { in scrollIfNecessary() 764 mRecyclerView.scrollBy(scrollX, scrollY); in scrollIfNecessary()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 441 public void setScrollY(int scrollY) { in setScrollY() argument 443 mScrollY = scrollY; in setScrollY()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | FrameBuilderTests.cpp | 1539 static const int scrollY = 10; in RENDERTHREAD_TEST() local 1556 expectedMatrix.loadTranslate(50 - scrollX, 50 - scrollY, 0); in RENDERTHREAD_TEST() 1564 expectedMatrix.loadTranslate(-scrollX, 50 - scrollY, 0); in RENDERTHREAD_TEST() 1588 properties.setTranslationY(scrollY); in RENDERTHREAD_TEST() 1615 canvas.translate(-scrollX, -scrollY); // Apply scroll (note: bg undoes this internally) in RENDERTHREAD_TEST() 1632 static const int scrollY = 10; in RENDERTHREAD_TEST() local 1653 expected.loadTranslate(100 - scrollX, 100 - scrollY, 0); in RENDERTHREAD_TEST() 1669 properties.setTranslationY(scrollY); in RENDERTHREAD_TEST() 1689 canvas.translate(-scrollX, -scrollY); // Apply scroll (note: bg undoes this internally) in RENDERTHREAD_TEST() 1723 static const int scrollY = 0; in RENDERTHREAD_TEST() local [all …]
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 1073 public void setDimens(int left, int top, int scrollX, int scrollY, int width, int height) { in setDimens() argument 1077 mNode.mScrollY = scrollY; in setDimens() 1378 int scrollY = node.getScrollY(); in dump() local 1379 if (scrollX != 0 || scrollY != 0) { in dump() 1380 Log.i(TAG, prefix + " Scroll: " + scrollX + "," + scrollY); in dump()
|