Home
last modified time | relevance | path

Searched refs:mScrollY (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/android/widget/
DScrollView.java244 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 …]
DHorizontalScrollView.java643 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.setScrollY(mScrollY); in onInitializeAccessibilityEventInternal()
[all …]
DAbsListView.java2093 (int)((float)mScrollY / getHeight() * mItemCount * 100), 0); in computeVerticalScrollOffset()
2116 if (mScrollY != 0) { in computeVerticalScrollRange()
2118 result += Math.abs((int) ((float) mScrollY / getHeight() * mItemCount * 100)); in computeVerticalScrollRange()
2675 final int scrollY = mScrollY; in dispatchDraw()
3083 if (mScrollY != 0) { in onWindowFocusChanged()
3084 mScrollY = 0; in onWindowFocusChanged()
3551 final boolean overscroll = mScrollY != 0; in startScrollIfNeeded()
3670 0, mScrollY, 0, 0, 0, mOverscrollDistance, true); in scrollIfNeeded()
3709 final int oldScroll = mScrollY; in scrollIfNeeded()
3726 overScrollBy(0, overScrollDistance, 0, mScrollY, 0, 0, in scrollIfNeeded()
[all …]
DListView.java645 final int listTop = mScrollY + mListPadding.top; in showingTopFadingEdge()
657 final int listBottom = mScrollY + getHeight() - mListPadding.bottom; in showingBottomFadingEdge()
3487 final int listBottom = mBottom - mTop - effectivePaddingBottom + mScrollY;
3492 final int scrollY = mScrollY;
3536 final int overFooterBottom = mBottom + mScrollY;
3546 final int scrollY = mScrollY;
3742 if (mScrollY < 0) {
3781 previouslyFocusedRect.offset(mScrollX, mScrollY);
DGridView.java1963 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()
DNumberPicker.java2491 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()
DCompoundButton.java494 final int scrollY = mScrollY; in onDraw()
DTextView.java7635 int scrollY = mScrollY; in invalidateDrawable()
7848 final int scrollY = mScrollY; in onDraw()
9780 if (scrollx != mScrollX || scrolly != mScrollY) { in bringTextIntoView()
9864 int vs = mScrollY; in bringPointIntoView()
9943 if (hs != mScrollX || vs != mScrollY) { in bringPointIntoView()
9949 int dy = vs - mScrollY; in bringPointIntoView()
9952 mScroller.startScroll(mScrollX, mScrollY, dx, dy); in bringPointIntoView()
9980 mTempRect.offset(mScrollX, mScrollY); in bringPointIntoView()
10019 final int vs = mScrollY; in moveCursorToVisibleOffset()
10058 mScrollY = mScroller.getCurrY(); in computeScroll()
[all …]
DExpandableListView.java372 final int scrollY = mScrollY; in dispatchDraw()
DImageView.java1425 final int scrollY = mScrollY; in onDraw()
DProgressBar.java2011 final int scrollY = mScrollY + mPaddingTop; in invalidateDrawable()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java94 int mScrollY = UNDEFINED; field in AccessibilityRecord
464 return mScrollY; in getScrollY()
474 mScrollY = scrollY; in setScrollY()
856 mScrollY = record.mScrollY; in init()
882 mScrollY = UNDEFINED; in clear()
921 append(builder, "ScrollY", mScrollY); in appendTo()
DAccessibilityEvent.java1233 record.mScrollY = parcel.readInt(); in readAccessibilityRecordFromParcel()
1299 parcel.writeInt(record.mScrollY); in writeAccessibilityRecordToParcel()
/frameworks/base/core/java/android/text/method/
DTouch.java195 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/
DAmbientState.java47 private int mScrollY; field in AmbientState
137 return mScrollY; in getScrollY()
141 this.mScrollY = scrollY; in setScrollY()
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java100 private int mScrollY; field in ViewNode
160 mScrollY = parcel.readInt(); in ViewNode()
261 return mScrollY; in getScrollY()
476 if (mScrollX != 0 || mScrollY != 0) { in writeSelfToParcel()
550 parcel.writeInt(mScrollY); in writeSelfToParcel()
649 mNode.mScrollY = scrollY; in setDimens()
/frameworks/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java156 int sy = child.mScrollY; in transformCanvas()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java653 int mScrollY; field in AssistStructure.ViewNode
805 mScrollY = in.readInt(); in ViewNode()
865 if (mScrollX != 0 || mScrollY != 0) { in writeSelfToParcel()
1026 out.writeInt(mScrollY); in writeSelfToParcel()
1226 return mScrollY; in getScrollY()
1688 mNode.mScrollY = scrollY; in setDimens()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java572 r.top = mScrollY; in getFocusedRect()
573 r.bottom = mScrollY + (mBottom - mTop); in getFocusedRect()
/frameworks/base/core/java/android/view/
DView.java4331 protected int mScrollY; field in View
8448 rect.offset(-parentView.mScrollX, -parentView.mScrollY);
8683 structure.setDimens(ignoredParentLeft + mLeft, ignoredParentTop + mTop, mScrollX, mScrollY,
16020 scrollTo(value, mScrollY); in setScrollX()
16055 return mScrollY; in getScrollY()
16089 outRect.top = mScrollY; in getDrawingRect()
16091 outRect.bottom = mScrollY + (mBottom - mTop); in getDrawingRect()
17660 globalOffset.set(-mScrollX, -mScrollY); in getGlobalVisibleRect()
17839 if (mScrollX != x || mScrollY != y) { in scrollTo()
17841 int oldY = mScrollY; in scrollTo()
[all …]
DViewGroup.java2042 final float offsetY = mScrollY - child.mTop; in dispatchResolvePointerIcon()
2372 final float offsetY = mScrollY - child.mTop; in dispatchTooltipHoverEvent()
2549 final float offsetY = mScrollY - child.mTop; in dispatchTransformedGenericPointerEvent()
2568 final float offsetY = mScrollY - child.mTop; in getTransformedMotionEvent()
3006 point[1] += mScrollY - child.mTop; in transformPointToViewLocal()
3057 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent()
3076 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent()
4156 canvas.clipRect(mScrollX + mPaddingLeft, mScrollY + mPaddingTop, in dispatchDraw()
4158 mScrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw()
6069 location[CHILD_TOP_INDEX] - mScrollY); in invalidateChildInParent()
[all …]
DViewRootImpl.java532 int mScrollY; field in ViewRootImpl
2415 mScrollY = mCurScrollY = 0; in performTraversals()
3662 curScrollY = mScrollY; in draw()
3952 bounds.offset(0, attachInfo.mViewRootImpl.mScrollY); in getAccessibilityFocusedRect()
4039 scrollY = mScrollY; in scrollToRectOrFocus()
4065 + mScrollY + " vi=" + vi.toShortString()); in scrollToRectOrFocus()
4131 if (scrollY != mScrollY) { in scrollToRectOrFocus()
4133 + mScrollY + " , new=" + scrollY); in scrollToRectOrFocus()
4138 mScroller.startScroll(0, mScrollY, 0, scrollY-mScrollY); in scrollToRectOrFocus()
4142 mScrollY = scrollY; in scrollToRectOrFocus()
/frameworks/base/core/java/android/webkit/
DWebView.java2486 WebView.this.mScrollY = scrollY; in setScrollYRaw()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt3970 Landroid/app/assist/AssistStructure$ViewNode;->mScrollY:I
70499 Landroid/text/method/Touch$DragState;->mScrollY:I
73179 Landroid/view/accessibility/AccessibilityRecord;->mScrollY:I
79248 Landroid/view/ViewRootImpl;->mScrollY:I