Searched refs:mScrollY (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DScrollView.java163 if (mScrollY < length) {
164 return mScrollY / (float) length;
178 final int span = getChildAt(0).getBottom() - mScrollY - bottomEdge;
383 final int scrollY = mScrollY;
466 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) {
527 final int oldY = mScrollY;
529 if (overScrollBy(0, deltaY, 0, mScrollY, 0, range,
534 onScrollChanged(mScrollX, mScrollY, oldX, oldY);
569 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, bottom)) {
590 if (mScroller.springBack(mScrollX, mScrollY,
[all...]
H A DHorizontalScrollView.java471 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) {
532 final int oldY = mScrollY;
539 onScrollChanged(mScrollX, mScrollY, oldX, oldY);
574 if (mScroller.springBack(mScrollX, mScrollY, 0, right, 0, 0)) {
595 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) {
640 mScrollY = scrollY;
642 mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0);
999 mScroller.startScroll(scrollX, mScrollY, dx, 0);
1017 smoothScrollBy(x - mScrollX, y - mScrollY);
1098 int oldY = mScrollY;
[all...]
H A DAbsListView.java1163 (int)((float)mScrollY / getHeight() * mItemCount * 100), 0);
1186 if (mScrollY != 0) {
1188 result += Math.abs((int) ((float) mScrollY / getHeight() * mItemCount * 100));
1468 final int scrollY = mScrollY;
1728 if (mScrollY != 0) {
1729 mScrollY = 0;
2040 final boolean overscroll = mScrollY != 0;
2086 if (mScrollY != 0) {
2087 mScrollY = 0;
2247 overScrollBy(0, overscroll, 0, mScrollY,
[all...]
H A DListView.java534 final int listTop = mScrollY + mListPadding.top;
546 final int listBottom = mScrollY + getHeight() - mListPadding.bottom;
3035 final int listBottom = mBottom - mTop - mListPadding.bottom + mScrollY;
3040 final int scrollY = mScrollY;
3076 final int overFooterBottom = mBottom + mScrollY;
3087 final int scrollY = mScrollY;
3249 if (mScrollY < 0) {
3286 previouslyFocusedRect.offset(mScrollX, mScrollY);
H A DGridView.java1612 previouslyFocusedRect.offset(mScrollX, mScrollY);
1868 (int) ((float) mScrollY / getHeight() * rowCount * 100), 0);
1880 if (mScrollY != 0) {
1882 result += Math.abs((int) ((float) mScrollY / getHeight() * rowCount * 100));
H A DTextView.java3878 int scrollY = mScrollY;
3933 final int scrollY = mScrollY;
5616 if (scrollx != mScrollX || scrolly != mScrollY) {
5671 int vs = mScrollY;
5742 if (hs != mScrollX || vs != mScrollY) {
5748 int dy = vs - mScrollY;
5751 mScroller.startScroll(mScrollX, mScrollY, dx, dy);
5775 r.offset(mScrollX, mScrollY);
5813 final int vs = mScrollY;
5848 mScrollY
[all...]
H A DExpandableListView.java241 final int scrollY = mScrollY;
H A DImageView.java861 final int scrollY = mScrollY;
H A DProgressBar.java802 final int scrollY = mScrollY + mPaddingTop;
/frameworks/base/core/java/android/webkit/
H A DWebView.java1210 // need to restrict mScrollY due to over scroll
1211 return Math.max(getTitleHeight() - Math.max(0, mScrollY), 0);
1475 b.putInt("scrollY", mScrollY);
1489 mScrollY = sy;
2008 int contentY = viewToContentY((int) mLastTouchY + mScrollY);
2060 int contentY = viewToContentY((int) mLastTouchY + mScrollY);
2278 int oldY = mScrollY;
2280 mScrollY = pinLocY(mScrollY);
2281 if (oldX != mScrollX || oldY != mScrollY) {
[all...]
H A DWebTextView.java298 float maxScrollX = Touch.getMaxScrollX(this, layout, mScrollY);
301 + mScrollY + " maxX=" + maxScrollX);
304 mScrollX / maxScrollX : 0, mScrollY);
506 int dy = Math.abs(mScrollY - initialScrollY);
H A DWebViewCore.java1713 int mScrollY; field in class:WebViewCore.RestoreState
2134 mRestoreState.mScrollY = mRestoredY;
/frameworks/base/core/java/android/text/method/
H A DTouch.java197 return ds.length > 0 ? ds[0].mScrollY : -1;
204 public int mScrollY; field in class:Touch.DragState
212 mScrollY = scrollY;
/frameworks/base/core/java/android/view/
H A DView.java1679 protected int mScrollY; field in class:View
4791 return mScrollY;
4823 outRect.top = mScrollY;
4825 outRect.bottom = mScrollY + (mBottom - mTop);
4933 globalOffset.set(-mScrollX, -mScrollY);
5011 if (mScrollX != x || mScrollY != y) {
5013 int oldY = mScrollY;
5015 mScrollY = y;
5016 onScrollChanged(mScrollX, mScrollY, oldX, oldY);
5031 scrollTo(mScrollX + x, mScrollY
[all...]
H A DViewGroup.java833 final float scrolledYFloat = yf + mScrollY;
1356 canvas.clipRect(mScrollX + mPaddingLeft, mScrollY + mPaddingTop,
1358 mScrollY + mBottom - mTop - mPaddingBottom);
1565 final int sy = child.mScrollY;
2533 location[CHILD_TOP_INDEX] - mScrollY);
2604 descendant.mTop - descendant.mScrollY);
2615 descendant.mScrollY - descendant.mTop);
2627 descendant.mTop - descendant.mScrollY);
2630 descendant.mScrollY - descendant.mTop);
2660 int dy = child.mTop - mScrollY;
[all...]
H A DViewRoot.java203 int mScrollY; field in class:ViewRoot
1004 mScrollY = mCurScrollY = 0;
1369 yoff = mScrollY;
1573 scrollY = mScrollY;
1605 + mScrollY + " vi=" + vi.toShortString());
1665 if (scrollY != mScrollY) {
1667 + mScrollY + " , new=" + scrollY);
1672 mScroller.startScroll(0, mScrollY, 0, scrollY-mScrollY);
1676 mScrollY
[all...]

Completed in 1603 milliseconds