/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 244 if (mScrollY < length) { in getTopFadingEdgeStrength() 245 return mScrollY / (float) length; in getTopFadingEdgeStrength() 259 final int span = getChildAt(0).getBottom() - mScrollY - bottomEdge; in getBottomFadingEdgeStrength() 546 final int scrollY = mScrollY; in inChild() 696 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onInterceptTouchEvent() 790 final int oldY = mScrollY; in onTouchEvent() 798 if (overScrollBy(0, deltaY, 0, mScrollY, 0, range, 0, mOverscrollDistance, true) in onTouchEvent() 804 final int scrolledDeltaY = mScrollY - oldY; in onTouchEvent() 840 } else if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, in onTouchEvent() 851 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onTouchEvent() [all …]
|
D | HorizontalScrollView.java | 643 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onInterceptTouchEvent() 724 final int oldY = mScrollY; in onTouchEvent() 770 if (mScroller.springBack(mScrollX, mScrollY, 0, in onTouchEvent() 789 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onTouchEvent() 855 super.scrollTo(newScrollX, mScrollY); in onGenericMotionEvent() 876 final int oldY = mScrollY; in onOverScrolled() 878 mScrollY = scrollY; in onOverScrolled() 880 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onOverScrolled() 882 mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0); in onOverScrolled() 955 event.setMaxScrollY(mScrollY); in onInitializeAccessibilityEventInternal() [all …]
|
D | AbsListView.java | 2075 (int)((float)mScrollY / getHeight() * mItemCount * 100), 0); in computeVerticalScrollOffset() 2098 if (mScrollY != 0) { in computeVerticalScrollRange() 2100 result += Math.abs((int) ((float) mScrollY / getHeight() * mItemCount * 100)); in computeVerticalScrollRange() 2656 final int scrollY = mScrollY; in dispatchDraw() 3064 if (mScrollY != 0) { in onWindowFocusChanged() 3065 mScrollY = 0; in onWindowFocusChanged() 3532 final boolean overscroll = mScrollY != 0; in startScrollIfNeeded() 3651 0, mScrollY, 0, 0, 0, mOverscrollDistance, true); in scrollIfNeeded() 3690 final int oldScroll = mScrollY; in scrollIfNeeded() 3707 overScrollBy(0, overScrollDistance, 0, mScrollY, 0, 0, in scrollIfNeeded() [all …]
|
D | ListView.java | 645 final int listTop = mScrollY + mListPadding.top; in showingTopFadingEdge() 657 final int listBottom = mScrollY + getHeight() - mListPadding.bottom; in showingBottomFadingEdge() 3259 int oldY = mScrollY; 3333 onScrollChanged(mScrollX, mScrollY, oldX, oldY); 3491 final int listBottom = mBottom - mTop - effectivePaddingBottom + mScrollY; 3496 final int scrollY = mScrollY; 3540 final int overFooterBottom = mBottom + mScrollY; 3550 final int scrollY = mScrollY; 3746 if (mScrollY < 0) { 3785 previouslyFocusedRect.offset(mScrollX, mScrollY);
|
D | GridView.java | 1963 previouslyFocusedRect.offset(mScrollX, mScrollY); in onFocusChanged() 2355 (int) ((float) mScrollY / getHeight() * rowCount * 100), 0); in computeVerticalScrollOffset() 2367 if (mScrollY != 0) { in computeVerticalScrollRange() 2369 result += Math.abs((int) ((float) mScrollY / getHeight() * rowCount * 100)); in computeVerticalScrollRange()
|
D | NumberPicker.java | 2492 return createAccessibilityNodeInfoForNumberPicker( mScrollX, mScrollY, in createAccessibilityNodeInfo() 2493 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo() 2496 getVirtualDecrementButtonText(), mScrollX, mScrollY, in createAccessibilityNodeInfo() 2508 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo()
|
D | CompoundButton.java | 534 final int scrollY = mScrollY; in onDraw()
|
D | TextView.java | 7673 int scrollY = mScrollY; in invalidateDrawable() 7886 final int scrollY = mScrollY; in onDraw() 9803 if (scrollx != mScrollX || scrolly != mScrollY) { in bringTextIntoView() 9887 int vs = mScrollY; in bringPointIntoView() 9966 if (hs != mScrollX || vs != mScrollY) { in bringPointIntoView() 9972 int dy = vs - mScrollY; in bringPointIntoView() 9975 mScroller.startScroll(mScrollX, mScrollY, dx, dy); in bringPointIntoView() 10003 mTempRect.offset(mScrollX, mScrollY); in bringPointIntoView() 10042 final int vs = mScrollY; in moveCursorToVisibleOffset() 10081 mScrollY = mScroller.getCurrY(); in computeScroll() [all …]
|
D | ExpandableListView.java | 372 final int scrollY = mScrollY; in dispatchDraw()
|
D | ImageView.java | 1425 final int scrollY = mScrollY; in onDraw()
|
D | ProgressBar.java | 2042 final int scrollY = mScrollY + mPaddingTop; in invalidateDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaScrollView.kt | 67 if (mScrollX != x || mScrollY != y) { in scrollTo() 69 val oldY: Int = mScrollY in scrollTo() 71 mScrollY = y in scrollTo() 73 onScrollChanged(mScrollX, mScrollY, oldX, oldY) in scrollTo()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 95 int mScrollY = 0; field in AccessibilityRecord 475 return mScrollY; in getScrollY() 485 mScrollY = scrollY; in setScrollY() 875 mScrollY = record.mScrollY; in init() 903 mScrollY = 0; in clear() 944 append(builder, "ScrollY", mScrollY); in appendTo()
|
D | AccessibilityEvent.java | 1284 record.mScrollY = parcel.readInt(); in readAccessibilityRecordFromParcel() 1350 parcel.writeInt(record.mScrollY); in writeAccessibilityRecordToParcel()
|
/frameworks/base/core/java/android/text/method/ |
D | Touch.java | 195 return ds.length > 0 ? ds[0].mScrollY : -1; in getInitialScrollY() 202 public int mScrollY; field in Touch.DragState 210 mScrollY = scrollY; in DragState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | AmbientState.java | 46 private int mScrollY; field in AmbientState 138 return mScrollY; in getScrollY() 142 this.mScrollY = scrollY; in setScrollY()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ViewNode.java | 101 private int mScrollY; field in ViewNode 162 mScrollY = parcel.readInt(); in ViewNode() 272 return mScrollY; in getScrollY() 500 if (mScrollX != 0 || mScrollY != 0) { in writeSelfToParcel() 577 parcel.writeInt(mScrollY); in writeSelfToParcel() 679 mNode.mScrollY = scrollY; in setDimens()
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 655 int mScrollY; field in AssistStructure.ViewNode 812 mScrollY = in.readInt(); in ViewNode() 874 if (mScrollX != 0 || mScrollY != 0) { in writeSelfToParcel() 1044 out.writeInt(mScrollY); in writeSelfToParcel() 1249 return mScrollY; in getScrollY() 1734 mNode.mScrollY = scrollY; in setDimens()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 4441 protected int mScrollY; field in View 8664 rect.offset(-parentView.mScrollX, -parentView.mScrollY); 8896 structure.setDimens(ignoredParentLeft + mLeft, ignoredParentTop + mTop, mScrollX, mScrollY, 16403 scrollTo(value, mScrollY); 16438 return mScrollY; 16472 outRect.top = mScrollY; 16474 outRect.bottom = mScrollY + (mBottom - mTop); 18027 globalOffset.set(-mScrollX, -mScrollY); in getGlobalVisibleRect() 18206 if (mScrollX != x || mScrollY != y) { in scrollTo() 18208 int oldY = mScrollY; in scrollTo() [all …]
|
D | ViewGroup.java | 2097 final float offsetY = mScrollY - child.mTop; in dispatchResolvePointerIcon() 2427 final float offsetY = mScrollY - child.mTop; in dispatchTooltipHoverEvent() 2604 final float offsetY = mScrollY - child.mTop; in dispatchTransformedGenericPointerEvent() 2623 final float offsetY = mScrollY - child.mTop; in getTransformedMotionEvent() 3064 point[1] += mScrollY - child.mTop; in transformPointToViewLocal() 3115 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent() 3134 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent() 4240 canvas.clipRect(mScrollX + mPaddingLeft, mScrollY + mPaddingTop, in dispatchDraw() 4242 mScrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw() 6154 location[CHILD_TOP_INDEX] - mScrollY); in invalidateChildInParent() [all …]
|
D | ViewRootImpl.java | 588 int mScrollY; field in ViewRootImpl 2723 mScrollY = mCurScrollY = 0; in performTraversals() 3996 curScrollY = mScrollY; in draw() 4286 bounds.offset(0, attachInfo.mViewRootImpl.mScrollY); in getAccessibilityFocusedRect() 4373 scrollY = mScrollY; in scrollToRectOrFocus() 4399 + mScrollY + " vi=" + vi.toShortString()); in scrollToRectOrFocus() 4465 if (scrollY != mScrollY) { in scrollToRectOrFocus() 4467 + mScrollY + " , new=" + scrollY); in scrollToRectOrFocus() 4472 mScroller.startScroll(0, mScrollY, 0, scrollY-mScrollY); in scrollToRectOrFocus() 4476 mScrollY = scrollY; in scrollToRectOrFocus()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 610 r.top = mScrollY; in getFocusedRect() 611 r.bottom = mScrollY + (mBottom - mTop); in getFocusedRect()
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 2503 WebView.this.mScrollY = scrollY; in setScrollYRaw()
|