/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 267 if (mScrollY < length) { in getTopFadingEdgeStrength() 268 return mScrollY / (float) length; in getTopFadingEdgeStrength() 282 final int span = getChildAt(0).getBottom() - mScrollY - bottomEdge; in getBottomFadingEdgeStrength() 581 final int scrollY = mScrollY; in inChild() 759 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onInterceptTouchEvent() 853 final int oldY = mScrollY; in onTouchEvent() 876 overScrollBy(0, deltaY, 0, mScrollY, 0, range, 0, mOverscrollDistance, true); in onTouchEvent() 878 final int scrolledDeltaY = mScrollY - oldY; in onTouchEvent() 914 } else if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, in onTouchEvent() 926 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onTouchEvent() [all …]
|
D | HorizontalScrollView.java | 668 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onInterceptTouchEvent() 806 if (mScroller.springBack(mScrollX, mScrollY, 0, in onTouchEvent() 825 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onTouchEvent() 912 super.scrollTo(newScrollX, mScrollY); in onGenericMotionEvent() 936 final int oldY = mScrollY; in onOverScrolled() 938 mScrollY = scrollY; in onOverScrolled() 940 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onOverScrolled() 942 mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0); in onOverScrolled() 1015 event.setMaxScrollY(mScrollY); in onInitializeAccessibilityEventInternal() 1364 mScroller.startScroll(scrollX, mScrollY, dx, 0); in smoothScrollBy() [all …]
|
D | AbsListView.java | 2162 (int)((float)mScrollY / getHeight() * mItemCount * 100), 0); in computeVerticalScrollOffset() 2185 if (mScrollY != 0) { in computeVerticalScrollRange() 2187 result += Math.abs((int) ((float) mScrollY / getHeight() * mItemCount * 100)); in computeVerticalScrollRange() 2763 final int scrollY = mScrollY; in dispatchDraw() 3171 if (mScrollY != 0) { in onWindowFocusChanged() 3172 mScrollY = 0; in onWindowFocusChanged() 3639 final boolean overscroll = mScrollY != 0; in startScrollIfNeeded() 3760 0, mScrollY, 0, 0, 0, mOverscrollDistance, true); in scrollIfNeeded() 3799 final int oldScroll = mScrollY; in scrollIfNeeded() 3816 overScrollBy(0, overScrollDistance, 0, mScrollY, 0, 0, in scrollIfNeeded() [all …]
|
D | ListView.java | 643 final int listTop = mScrollY + mListPadding.top; in showingTopFadingEdge() 655 final int listBottom = mScrollY + getHeight() - mListPadding.bottom; in showingBottomFadingEdge() 3257 int oldY = mScrollY; 3331 onScrollChanged(mScrollX, mScrollY, oldX, oldY); 3489 final int listBottom = mBottom - mTop - effectivePaddingBottom + mScrollY; 3494 final int scrollY = mScrollY; 3538 final int overFooterBottom = mBottom + mScrollY; 3548 final int scrollY = mScrollY; 3744 if (mScrollY < 0) { 3783 previouslyFocusedRect.offset(mScrollX, mScrollY);
|
D | GridView.java | 1964 previouslyFocusedRect.offset(mScrollX, mScrollY); in onFocusChanged() 2362 (int) ((float) mScrollY / getHeight() * rowCount * 100), 0); in computeVerticalScrollOffset() 2374 if (mScrollY != 0) { in computeVerticalScrollRange() 2376 result += Math.abs((int) ((float) mScrollY / getHeight() * rowCount * 100)); in computeVerticalScrollRange()
|
D | NumberPicker.java | 2491 return createAccessibilityNodeInfoForNumberPicker( mScrollX, mScrollY, in createAccessibilityNodeInfo() 2492 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo() 2495 getVirtualDecrementButtonText(), mScrollX, mScrollY, in createAccessibilityNodeInfo() 2507 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo()
|
D | CompoundButton.java | 564 final int scrollY = mScrollY; in onDraw()
|
D | ExpandableListView.java | 374 final int scrollY = mScrollY; in dispatchDraw()
|
D | ImageView.java | 1435 final int scrollY = mScrollY; in onDraw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/ |
D | MediaScrollView.kt | 87 if (mScrollX != x || mScrollY != y) { in scrollTo() 89 val oldY: Int = mScrollY in scrollTo() 91 mScrollY = y in scrollTo() 93 onScrollChanged(mScrollX, mScrollY, oldX, oldY) in scrollTo()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 90 int mScrollY = 0; field in AccessibilityRecord 524 return mScrollY; in getScrollY() 534 mScrollY = scrollY; in setScrollY() 897 mScrollY = record.mScrollY; in init() 926 mScrollY = 0; in clear() 970 append(builder, "ScrollY", mScrollY); in appendTo()
|
D | AccessibilityEvent.java | 1636 record.mScrollY = parcel.readInt(); in readAccessibilityRecordFromParcel() 1704 parcel.writeInt(record.mScrollY); in writeAccessibilityRecordToParcel()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | StretchShaderActivity.java | 48 private float mScrollY = 0f; field in StretchShaderActivity 145 scrollXText.setText("Scroll X: " + mScrollY); in onCreate() 169 mScrollY = (progress / 100f); in onCreate() 170 scrollYText.setText("Scroll Y: " + mScrollY); in onCreate() 358 float uScrollY = mScrollY; in updateShader()
|
/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 | 66 private int mScrollY; field in AmbientState 350 return mScrollY; in getScrollY() 360 this.mScrollY = Math.max(scrollY, 0); in setScrollY() 786 pw.println("mScrollY=" + mScrollY); in dump()
|
/frameworks/base/core/java/android/view/ |
D | RoundScrollbarRenderer.java | 159 bounds.top = mParent.mScrollY + (int) padding; in getRoundVerticalScrollBarBounds() 161 bounds.bottom = mParent.mScrollY + height - (int) padding; in getRoundVerticalScrollBarBounds()
|
D | ImeBackAnimationController.java | 103 if (isAdjustPan()) mStartRootScrollY = mViewRoot.mScrollY; in onBackStarted()
|
D | ViewGroup.java | 2086 final float offsetY = mScrollY - child.mTop; in dispatchResolvePointerIcon() 2416 final float offsetY = mScrollY - child.mTop; in dispatchTooltipHoverEvent() 2593 final float offsetY = mScrollY - child.mTop; in dispatchTransformedGenericPointerEvent() 2612 final float offsetY = mScrollY - child.mTop; in getTransformedMotionEvent() 3068 point[1] += mScrollY - child.mTop; in transformPointToViewLocal() 3119 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent() 3138 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent() 4261 canvas.clipRect(mScrollX + mPaddingLeft, mScrollY + mPaddingTop, in dispatchDraw() 4263 mScrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw() 6186 location[CHILD_TOP_INDEX] - mScrollY); in invalidateChildInParent() [all …]
|
D | View.java | 4793 protected int mScrollY; field in View 9457 rect.offset(-parentView.mScrollX, -parentView.mScrollY); 9686 ignoredParentTop += parentGroup.mTop - parentGroup.mScrollY; 9697 structure.setDimens(ignoredParentLeft + mLeft, ignoredParentTop + mTop, mScrollX, mScrollY, 18672 scrollTo(value, mScrollY); in setScrollX() 18707 return mScrollY; in getScrollY() 18741 outRect.top = mScrollY; in getDrawingRect() 18743 outRect.bottom = mScrollY + (mBottom - mTop); in getDrawingRect() 20335 globalOffset.set(-mScrollX, -mScrollY); in getGlobalVisibleRect() 20552 if (mScrollX != x || mScrollY != y) { in scrollTo() [all …]
|
D | ViewRootImpl.java | 902 int mScrollY; field in ViewRootImpl 3804 mScrollY = mCurScrollY = 0; in performTraversals() 5536 curScrollY = mScrollY; in draw() 5881 bounds.offset(0, attachInfo.mViewRootImpl.mScrollY); in getAccessibilityFocusedRect() 6056 scrollY = mScrollY; in scrollToRectOrFocus() 6082 + mScrollY + " vi=" + vi.toShortString()); in scrollToRectOrFocus() 6148 if (scrollY != mScrollY) { in scrollToRectOrFocus() 6150 + mScrollY + " , new=" + scrollY); in scrollToRectOrFocus() 6155 mScroller.startScroll(0, mScrollY, 0, scrollY-mScrollY); in scrollToRectOrFocus() 6159 mScrollY = scrollY; in scrollToRectOrFocus() [all …]
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ViewNode.java | 101 private int mScrollY; field in ViewNode 163 mScrollY = parcel.readInt(); in ViewNode() 276 return mScrollY; in getScrollY() 515 if (mScrollX != 0 || mScrollY != 0) { in writeSelfToParcel() 595 parcel.writeInt(mScrollY); in writeSelfToParcel() 700 mNode.mScrollY = scrollY; in setDimens()
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 683 int mScrollY; field in AssistStructure.ViewNode 887 mScrollY = in.readInt(); in initializeFromParcelWithoutChildren() 952 if (mScrollX != 0 || mScrollY != 0) { in writeSelfToParcel() 1126 out.writeInt(mScrollY); in writeSelfToParcel() 1373 return mScrollY; in getScrollY() 1943 mNode.mScrollY = scrollY; in setDimens()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 1041 r.top = mScrollY; in getFocusedRect() 1042 r.bottom = mScrollY + (mBottom - mTop); in getFocusedRect()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | Layout.java | 215 globalOffset.set(-mScrollX, -mScrollY); in getGlobalVisibleRect()
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 2533 WebView.this.mScrollY = scrollY; in setScrollYRaw()
|