/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 | 546 final int scrollY = mScrollY; in inChild() local 548 return !(y < child.getTop() - scrollY in inChild() 549 || y >= child.getBottom() - scrollY in inChild() 929 protected void onOverScrolled(int scrollX, int scrollY, in onOverScrolled() argument 936 mScrollY = scrollY; in onOverScrolled() 943 super.scrollTo(scrollX, scrollY); in onOverScrolled() 1325 final int scrollY = mScrollY; in smoothScrollBy() local 1326 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY; in smoothScrollBy() 1328 mScroller.startScroll(mScrollX, scrollY, 0, dy); in smoothScrollBy() 1366 final int scrollY = mScrollY; in computeVerticalScrollRange() local [all …]
|
D | CompoundButton.java | 494 final int scrollY = mScrollY; in onDraw() local 495 if (scrollX == 0 && scrollY == 0) { in onDraw() 498 canvas.translate(scrollX, scrollY); in onDraw() 500 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()
|
D | AbsListView.java | 2675 final int scrollY = mScrollY; in dispatchDraw() local 2676 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in dispatchDraw() 2678 scrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw() 4276 protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) { in onOverScrolled() argument 4277 if (mScrollY != scrollY) { in onOverScrolled() 4278 onScrollChanged(mScrollX, scrollY, mScrollX, mScrollY); in onOverScrolled() 4279 mScrollY = scrollY; in onOverScrolled() 4390 final int scrollY = mScrollY; in draw() local 4414 final int edgeY = Math.min(0, scrollY + mFirstPositionDistanceGuess) + translateY; in draw() 4426 final int edgeY = Math.max(getHeight(), scrollY + mLastPositionDistanceGuess) in draw() [all …]
|
D | ImageView.java | 1425 final int scrollY = mScrollY; in onDraw() local 1426 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in onDraw() 1428 scrollY + mBottom - mTop - mPaddingBottom); in onDraw()
|
D | ListView.java | 3492 final int scrollY = mScrollY; 3493 if (count > 0 && scrollY < 0) { 3496 bounds.top = scrollY; 3546 final int scrollY = mScrollY; 3549 bounds.top = scrollY; 3588 if (count > 0 && scrollY > 0) { 3592 bounds.bottom = absListBottom + scrollY;
|
/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/notification/stack/ |
D | StackScrollAlgorithm.java | 238 int scrollY = ambientState.getScrollY(); in initAlgorithmState() local 242 scrollY = Math.max(0, scrollY); in initAlgorithmState() 243 state.scrollY = (int) (scrollY + bottomOverScroll); in initAlgorithmState() 381 float currentYPosition = -algorithmState.scrollY; in updatePositionsForState() 708 public int scrollY;
|
D | AmbientState.java | 140 public void setScrollY(int scrollY) { in setScrollY() argument 141 this.mScrollY = scrollY; in setScrollY()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SwipeDismissLayout.java | 394 final int scrollY = v.getScrollY(); 399 y + scrollY >= child.getTop() && y + scrollY < child.getBottom() && 401 y + scrollY - child.getTop())) {
|
D | DecorCaptionView.java | 433 public void onRootViewScrollYChanged(int scrollY) { in onRootViewScrollYChanged() argument 437 mRootScrollY = scrollY; in onRootViewScrollYChanged() 438 mCaption.setTranslationY(scrollY); in onRootViewScrollYChanged()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | RootViewSurfaceTaker.java | 28 void onRootViewScrollYChanged(int scrollY); in onRootViewScrollYChanged() argument
|
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/ |
D | ActivityViewScrollActivity.java | 41 (View v, int scrollX, int scrollY, int oldScrollX, int oldScrollY) in onCreate()
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 642 final float scrollY = mLastFocusY - focusY; in onTouchEvent() local 686 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent() 698 } else if ((Math.abs(scrollX) >= 1) || (Math.abs(scrollY) >= 1)) { in onTouchEvent() 700 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
|
D | ViewStructure.java | 68 public abstract void setDimens(int left, int top, int scrollX, int scrollY, int width, in setDimens() argument
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 2391 public void super_scrollTo(int scrollX, int scrollY) { in super_scrollTo() argument 2392 WebView.super.scrollTo(scrollX, scrollY); in super_scrollTo() 2437 int scrollX, int scrollY, in overScrollBy() argument 2441 WebView.this.overScrollBy(deltaX, deltaY, scrollX, scrollY, scrollRangeX, scrollRangeY, in overScrollBy() 2485 public void setScrollYRaw(int scrollY) { in setScrollYRaw() argument 2486 WebView.this.mScrollY = scrollY; in setScrollYRaw() 2859 protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) { in onOverScrolled() argument 2860 mProvider.getViewDelegate().onOverScrolled(scrollX, scrollY, clampedX, clampedY); in onOverScrolled()
|
D | WebViewProvider.java | 375 public void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY); in onOverScrolled() argument
|
/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/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationController.java | 357 final float scrollY; in requestRectangleOnScreen() local 375 scrollY = top - magnifFrameInScreenCoords.top; in requestRectangleOnScreen() 377 scrollY = top - magnifFrameInScreenCoords.top; in requestRectangleOnScreen() 379 scrollY = bottom - magnifFrameInScreenCoords.bottom; in requestRectangleOnScreen() 381 scrollY = 0; in requestRectangleOnScreen() 385 offsetMagnifiedRegion(scrollX * scale, scrollY * scale, INVALID_ID); in requestRectangleOnScreen()
|
/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 | 210 anchor.setOnScrollChangeListener((v, scrollX, scrollY, oldScrollX, oldScrollY) -> { in update() argument 212 mLocationOnScreen[1] = mLocationOnScreen[1] - (scrollY - oldScrollY); in update()
|
/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/android/view/accessibility/ |
D | AccessibilityRecord.java | 472 public void setScrollY(int scrollY) { in setScrollY() argument 474 mScrollY = scrollY; in setScrollY()
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 1684 public void setDimens(int left, int top, int scrollX, int scrollY, int width, int height) { in setDimens() argument 1688 mNode.mScrollY = scrollY; in setDimens() 2219 int scrollY = node.getScrollY(); in dump() local 2220 if (scrollX != 0 || scrollY != 0) { in dump() 2221 Log.i(TAG, prefix + " Scroll: " + scrollX + "," + scrollY); in dump()
|