/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 210 if (mScrollY < length) { in getTopFadingEdgeStrength() 211 return mScrollY / (float) length; in getTopFadingEdgeStrength() 225 final int span = getChildAt(0).getBottom() - mScrollY - bottomEdge; in getBottomFadingEdgeStrength() 442 final int scrollY = mScrollY; in inChild() 592 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onInterceptTouchEvent() 682 final int oldY = mScrollY; in onTouchEvent() 690 if (overScrollBy(0, deltaY, 0, mScrollY, 0, range, 0, mOverscrollDistance, true) in onTouchEvent() 696 final int scrolledDeltaY = mScrollY - oldY; in onTouchEvent() 732 } else if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, in onTouchEvent() 743 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onTouchEvent() [all …]
|
D | HorizontalScrollView.java | 545 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onInterceptTouchEvent() 626 final int oldY = mScrollY; in onTouchEvent() 672 if (mScroller.springBack(mScrollX, mScrollY, 0, in onTouchEvent() 691 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onTouchEvent() 757 super.scrollTo(newScrollX, mScrollY); in onGenericMotionEvent() 778 final int oldY = mScrollY; in onOverScrolled() 780 mScrollY = scrollY; in onOverScrolled() 782 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onOverScrolled() 784 mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0); in onOverScrolled() 857 event.setScrollY(mScrollY); in onInitializeAccessibilityEventInternal() [all …]
|
D | AbsListView.java | 2061 (int)((float)mScrollY / getHeight() * mItemCount * 100), 0); in computeVerticalScrollOffset() 2084 if (mScrollY != 0) { in computeVerticalScrollRange() 2086 result += Math.abs((int) ((float) mScrollY / getHeight() * mItemCount * 100)); in computeVerticalScrollRange() 2632 final int scrollY = mScrollY; in dispatchDraw() 3017 if (mScrollY != 0) { in onWindowFocusChanged() 3018 mScrollY = 0; in onWindowFocusChanged() 3483 final boolean overscroll = mScrollY != 0; in startScrollIfNeeded() 3602 0, mScrollY, 0, 0, 0, mOverscrollDistance, true); in scrollIfNeeded() 3641 final int oldScroll = mScrollY; in scrollIfNeeded() 3658 overScrollBy(0, overScrollDistance, 0, mScrollY, 0, 0, in scrollIfNeeded() [all …]
|
D | ListView.java | 557 final int listTop = mScrollY + mListPadding.top; in showingTopFadingEdge() 569 final int listBottom = mScrollY + getHeight() - mListPadding.bottom; in showingBottomFadingEdge() 3386 final int listBottom = mBottom - mTop - effectivePaddingBottom + mScrollY; 3391 final int scrollY = mScrollY; 3435 final int overFooterBottom = mBottom + mScrollY; 3445 final int scrollY = mScrollY; 3637 if (mScrollY < 0) { 3676 previouslyFocusedRect.offset(mScrollX, mScrollY);
|
D | CompoundButton.java | 436 final int scrollY = mScrollY; in onDraw()
|
D | NumberPicker.java | 2350 return createAccessibilityNodeInfoForNumberPicker( mScrollX, mScrollY, in createAccessibilityNodeInfo() 2351 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo() 2354 getVirtualDecrementButtonText(), mScrollX, mScrollY, in createAccessibilityNodeInfo() 2366 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo()
|
D | GridView.java | 1945 previouslyFocusedRect.offset(mScrollX, mScrollY); in onFocusChanged() 2325 (int) ((float) mScrollY / getHeight() * rowCount * 100), 0); in computeVerticalScrollOffset() 2337 if (mScrollY != 0) { in computeVerticalScrollRange() 2339 result += Math.abs((int) ((float) mScrollY / getHeight() * rowCount * 100)); in computeVerticalScrollRange()
|
D | TextView.java | 5506 int scrollY = mScrollY; in invalidateDrawable() 5719 final int scrollY = mScrollY; in onDraw() 7449 if (scrollx != mScrollX || scrolly != mScrollY) { in bringTextIntoView() 7531 int vs = mScrollY; in bringPointIntoView() 7602 if (hs != mScrollX || vs != mScrollY) { in bringPointIntoView() 7608 int dy = vs - mScrollY; in bringPointIntoView() 7611 mScroller.startScroll(mScrollX, mScrollY, dx, dy); in bringPointIntoView() 7639 mTempRect.offset(mScrollX, mScrollY); in bringPointIntoView() 7677 final int vs = mScrollY; in moveCursorToVisibleOffset() 7716 mScrollY = mScroller.getCurrY(); in computeScroll() [all …]
|
D | ExpandableListView.java | 363 final int scrollY = mScrollY; in dispatchDraw()
|
D | ImageView.java | 1305 final int scrollY = mScrollY;
|
D | ProgressBar.java | 1687 final int scrollY = mScrollY + mPaddingTop; in invalidateDrawable()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 87 int mScrollY = UNDEFINED; field in AccessibilityRecord 433 return mScrollY; in getScrollY() 443 mScrollY = scrollY; in setScrollY() 786 mScrollY = record.mScrollY; in init() 814 mScrollY = UNDEFINED; in clear() 853 builder.append("; ScrollY: " + mScrollY); in toString()
|
D | AccessibilityEvent.java | 1113 record.mScrollY = parcel.readInt(); in readAccessibilityRecordFromParcel() 1165 parcel.writeInt(record.mScrollY); in writeAccessibilityRecordToParcel() 1225 builder.append("; ScrollY: " + record.mScrollY); in toString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | AmbientState.java | 31 private int mScrollY; field in AmbientState 49 return mScrollY; in getScrollY() 53 this.mScrollY = scrollY; in setScrollY()
|
D | NotificationStackScrollLayout.java | 1699 scrollTo(scrollX, mScrollY); in onOverScrolled()
|
/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/core/java/android/app/assist/ |
D | AssistStructure.java | 521 int mScrollY; field in AssistStructure.ViewNode 600 mScrollY = in.readInt(); in ViewNode() 644 if (mScrollX != 0 || mScrollY != 0) { in writeSelfToParcel() 695 out.writeInt(mScrollY); in writeSelfToParcel() 780 return mScrollY; in getScrollY() 1077 mNode.mScrollY = scrollY; in setDimens()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 3379 protected int mScrollY; field in View 6648 position.offset(-parentView.mScrollX, -parentView.mScrollY); in getBoundsOnScreen() 6711 structure.setDimens(mLeft, mTop, mScrollX, mScrollY, mRight - mLeft, mBottom - mTop); in onProvideStructure() 11738 scrollTo(value, mScrollY); in setScrollX() 11771 return mScrollY; in getScrollY() 11805 outRect.top = mScrollY; in getDrawingRect() 11807 outRect.bottom = mScrollY + (mBottom - mTop); in getDrawingRect() 13173 globalOffset.set(-mScrollX, -mScrollY); in getGlobalVisibleRect() 13352 if (mScrollX != x || mScrollY != y) { in scrollTo() 13354 int oldY = mScrollY; in scrollTo() [all …]
|
D | ViewGroup.java | 1722 final float offsetY = mScrollY - child.mTop; in dispatchResolvePointerIcon() 2115 final float offsetY = mScrollY - child.mTop; in dispatchTransformedGenericPointerEvent() 2134 final float offsetY = mScrollY - child.mTop; in getTransformedMotionEvent() 2578 point[1] += mScrollY - child.mTop; in transformPointToViewLocal() 2629 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent() 2648 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent() 3476 canvas.clipRect(mScrollX + mPaddingLeft, mScrollY + mPaddingTop, in dispatchDraw() 3478 mScrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw() 5238 location[CHILD_TOP_INDEX] - mScrollY); in invalidateChildInParent() 5362 dirty.offset(left - mScrollX, top - mScrollY); in damageChildInParent() [all …]
|
D | ViewRootImpl.java | 337 int mScrollY; field in ViewRootImpl 1866 mScrollY = mCurScrollY = 0; in performTraversals() 2695 curScrollY = mScrollY; in draw() 2984 bounds.offset(0, attachInfo.mViewRootImpl.mScrollY); in getAccessibilityFocusedRect() 3028 scrollY = mScrollY; in scrollToRectOrFocus() 3054 + mScrollY + " vi=" + vi.toShortString()); in scrollToRectOrFocus() 3120 if (scrollY != mScrollY) { in scrollToRectOrFocus() 3122 + mScrollY + " , new=" + scrollY); in scrollToRectOrFocus() 3127 mScroller.startScroll(0, mScrollY, 0, scrollY-mScrollY); in scrollToRectOrFocus() 3131 mScrollY = scrollY; in scrollToRectOrFocus()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 127 int sy = child.mScrollY; in transformCanvas()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 511 r.top = mScrollY; in getFocusedRect() 512 r.bottom = mScrollY + (mBottom - mTop); in getFocusedRect()
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 2271 WebView.this.mScrollY = scrollY; in setScrollYRaw()
|