Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScrollView.java175 if (mScrollY < length) { in getTopFadingEdgeStrength()
176 return mScrollY / (float) length; in getTopFadingEdgeStrength()
190 final int span = getChildAt(0).getBottom() - mScrollY - bottomEdge; in getBottomFadingEdgeStrength()
399 final int scrollY = mScrollY; in inChild()
524 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onInterceptTouchEvent()
580 final int oldY = mScrollY; in onTouchEvent()
586 if (overScrollBy(0, deltaY, 0, mScrollY, in onTouchEvent()
591 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onTouchEvent()
623 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, in onTouchEvent()
636 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onTouchEvent()
[all …]
DHorizontalScrollView.java507 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onInterceptTouchEvent()
566 final int oldY = mScrollY; in onTouchEvent()
577 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onTouchEvent()
609 if (mScroller.springBack(mScrollX, mScrollY, 0, in onTouchEvent()
628 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onTouchEvent()
688 super.scrollTo(newScrollX, mScrollY); in onGenericMotionEvent()
705 mScrollY = scrollY; in onOverScrolled()
708 mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0); in onOverScrolled()
727 event.setScrollY(mScrollY); in onInitializeAccessibilityEvent()
729 event.setMaxScrollY(mScrollY); in onInitializeAccessibilityEvent()
[all …]
DAbsListView.java1752 (int)((float)mScrollY / getHeight() * mItemCount * 100), 0); in computeVerticalScrollOffset()
1775 if (mScrollY != 0) { in computeVerticalScrollRange()
1777 result += Math.abs((int) ((float) mScrollY / getHeight() * mItemCount * 100)); in computeVerticalScrollRange()
2080 final int scrollY = mScrollY; in dispatchDraw()
2426 if (mScrollY != 0) { in onWindowFocusChanged()
2427 mScrollY = 0; in onWindowFocusChanged()
2768 final boolean overscroll = mScrollY != 0; in startScrollIfNeeded()
2866 overScrollBy(0, overscroll, 0, mScrollY, 0, 0, in scrollIfNeeded()
2868 if (Math.abs(mOverscrollDistance) == Math.abs(mScrollY)) { in scrollIfNeeded()
2901 final int oldScroll = mScrollY; in scrollIfNeeded()
[all …]
DListView.java525 final int listTop = mScrollY + mListPadding.top; in showingTopFadingEdge()
537 final int listBottom = mScrollY + getHeight() - mListPadding.bottom; in showingBottomFadingEdge()
3115 final int listBottom = mBottom - mTop - effectivePaddingBottom + mScrollY;
3120 final int scrollY = mScrollY;
3157 final int overFooterBottom = mBottom + mScrollY;
3167 final int scrollY = mScrollY;
3327 if (mScrollY < 0) {
3365 previouslyFocusedRect.offset(mScrollX, mScrollY);
DGridView.java1825 previouslyFocusedRect.offset(mScrollX, mScrollY); in onFocusChanged()
2101 (int) ((float) mScrollY / getHeight() * rowCount * 100), 0); in computeVerticalScrollOffset()
2113 if (mScrollY != 0) { in computeVerticalScrollRange()
2115 result += Math.abs((int) ((float) mScrollY / getHeight() * rowCount * 100)); in computeVerticalScrollRange()
DExpandableListView.java242 final int scrollY = mScrollY; in dispatchDraw()
DImageView.java899 final int scrollY = mScrollY; in onDraw()
DTextView.java4535 int scrollY = mScrollY; in invalidateDrawable()
4719 final int scrollY = mScrollY; in onDraw()
6782 if (scrollx != mScrollX || scrolly != mScrollY) { in bringTextIntoView()
6843 int vs = mScrollY; in bringPointIntoView()
6914 if (hs != mScrollX || vs != mScrollY) { in bringPointIntoView()
6920 int dy = vs - mScrollY; in bringPointIntoView()
6923 mScroller.startScroll(mScrollX, mScrollY, dx, dy); in bringPointIntoView()
6951 mTempRect.offset(mScrollX, mScrollY); in bringPointIntoView()
6989 final int vs = mScrollY; in moveCursorToVisibleOffset()
7028 mScrollY = mScroller.getCurrY(); in computeScroll()
[all …]
DProgressBar.java908 final int scrollY = mScrollY + mPaddingTop; in invalidateDrawable()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java75 int mScrollY = UNDEFINED; field in AccessibilityRecord
377 return mScrollY; in getScrollY()
387 mScrollY = scrollY; in setScrollY()
707 mScrollY = record.mScrollY; in init()
733 mScrollY = UNDEFINED; in clear()
764 builder.append("; ScrollY: " + mScrollY); in toString()
DAccessibilityEvent.java868 record.mScrollY = parcel.readInt(); in readAccessibilityRecordFromParcel()
922 parcel.writeInt(record.mScrollY); in writeAccessibilityRecordToParcel()
974 builder.append("; ScrollY: " + record.mScrollY); in toString()
/frameworks/base/core/java/android/webkit/
DWebView.java1318 event.setScrollY(mScrollY); in onInitializeAccessibilityEvent()
1486 return Math.max(getTitleHeight() - Math.max(0, mScrollY), in getVisibleTitleHeightImpl()
1819 b.putInt("scrollY", mScrollY); in savePicture()
1832 mScrollY = sy; in restoreHistoryPictureFields()
2546 int contentY = viewToContentY(mLastTouchY + mScrollY); in hitTestResult()
2585 int contentY = viewToContentY(mLastTouchY + mScrollY); in requestFocusNodeHref()
2612 int contentY = viewToContentY(mLastTouchY + mScrollY); in requestImageRef()
2834 updateScrollCoordinates(pinLocX(mScrollX), pinLocY(mScrollY)); in recordNewContentSize()
3043 final int scrollY = mScrollY; in computeVerticalScrollRange()
3056 return Math.max(mScrollY - getTitleHeight(), 0); in computeVerticalScrollOffset()
[all …]
DWebTextView.java411 + mScrollY + " maxX=" + maxScrollX); in lineUpScroll()
417 mWebView.scrollFocusedTextInputY(mScrollY); in lineUpScroll()
688 int dy = Math.abs(mScrollY - initialScrollY); in onTouchEvent()
DWebViewCore.java1981 int mScrollY; field in WebViewCore.ViewState
2400 mInitialViewState.mScrollY = mRestoredY; in setupViewport()
/frameworks/base/core/java/android/text/method/
DTouch.java176 return ds.length > 0 ? ds[0].mScrollY : -1; in getInitialScrollY()
183 public int mScrollY; field in Touch.DragState
191 mScrollY = scrollY; in DragState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsHorizontalScrollView.java198 int top = mScrollY + getFadeTop(offsetRequired); in draw()
206 left, right, top, bottom, mScrollX, mScrollY, in draw()
DRecentsVerticalScrollView.java213 int top = mScrollY + getFadeTop(offsetRequired); in draw()
221 left, right, top, bottom, mScrollX, mScrollY, in draw()
/frameworks/base/core/java/android/view/
DView.java2225 protected int mScrollY; field in View
6843 scrollTo(value, mScrollY);
6876 return mScrollY;
6908 outRect.top = mScrollY;
6910 outRect.bottom = mScrollY + (mBottom - mTop);
8018 globalOffset.set(-mScrollX, -mScrollY);
8168 if (mScrollX != x || mScrollY != y) {
8170 int oldY = mScrollY;
8172 mScrollY = y;
8174 onScrollChanged(mScrollX, mScrollY, oldX, oldY);
[all …]
DViewGroup.java1585 final float offsetY = mScrollY - child.mTop; in dispatchTransformedGenericPointerEvent()
1896 float localY = y + mScrollY - child.mTop; in isTransformedTouchPointInView()
1956 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent()
1975 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent()
2478 canvas.clipRect(mScrollX + mPaddingLeft, mScrollY + mPaddingTop, in dispatchDraw()
2480 mScrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw()
2745 final int sy = child.mScrollY; in drawChild()
4048 location[CHILD_TOP_INDEX] - mScrollY); in invalidateChildInParent()
4131 descendant.mTop - descendant.mScrollY); in offsetRectBetweenParentAndChild()
4142 descendant.mScrollY - descendant.mTop); in offsetRectBetweenParentAndChild()
[all …]
DViewRootImpl.java256 int mScrollY; field in ViewRootImpl
1222 yoff = mScrollY; in performTraversals()
1298 mScrollY = mCurScrollY = 0; in performTraversals()
1833 yoff = mScrollY; in draw()
2050 scrollY = mScrollY; in scrollToRectOrFocus()
2082 + mScrollY + " vi=" + vi.toShortString()); in scrollToRectOrFocus()
2142 if (scrollY != mScrollY) { in scrollToRectOrFocus()
2144 + mScrollY + " , new=" + scrollY); in scrollToRectOrFocus()
2149 mScroller.startScroll(0, mScrollY, 0, scrollY-mScrollY); in scrollToRectOrFocus()
2153 mScrollY = scrollY; in scrollToRectOrFocus()