Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScrollView.java210 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 …]
DHorizontalScrollView.java545 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 …]
DAbsListView.java2061 (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 …]
DListView.java557 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);
DCompoundButton.java436 final int scrollY = mScrollY; in onDraw()
DNumberPicker.java2350 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()
DGridView.java1945 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()
DTextView.java5506 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 …]
DExpandableListView.java363 final int scrollY = mScrollY; in dispatchDraw()
DImageView.java1305 final int scrollY = mScrollY;
DProgressBar.java1687 final int scrollY = mScrollY + mPaddingTop; in invalidateDrawable()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java87 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()
DAccessibilityEvent.java1113 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/
DAmbientState.java31 private int mScrollY; field in AmbientState
49 return mScrollY; in getScrollY()
53 this.mScrollY = scrollY; in setScrollY()
DNotificationStackScrollLayout.java1699 scrollTo(scrollX, mScrollY); in onOverScrolled()
/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/core/java/android/app/assist/
DAssistStructure.java521 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/
DView.java3379 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 …]
DViewGroup.java1722 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 …]
DViewRootImpl.java337 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/
DViewGroup_Delegate.java127 int sy = child.mScrollY; in transformCanvas()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java511 r.top = mScrollY; in getFocusedRect()
512 r.bottom = mScrollY + (mBottom - mTop); in getFocusedRect()
/frameworks/base/core/java/android/webkit/
DWebView.java2271 WebView.this.mScrollY = scrollY; in setScrollYRaw()