Home
last modified time | relevance | path

Searched refs:mScrollX (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java165 if (mScrollX < length) { in getLeftFadingEdgeStrength()
166 return mScrollX / (float) length; in getLeftFadingEdgeStrength()
180 final int span = getChildAt(0).getRight() - mScrollX - rightEdge; in getRightFadingEdgeStrength()
388 final int scrollX = mScrollX; in inChild()
507 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onInterceptTouchEvent()
565 final int oldX = mScrollX; in onTouchEvent()
572 if (overScrollBy(deltaX, 0, mScrollX, 0, range, 0, 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()
[all …]
DScrollView.java524 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onInterceptTouchEvent()
579 final int oldX = mScrollX; 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()
693 super.scrollTo(mScrollX, newScrollY); in onGenericMotionEvent()
709 mScrollX = scrollX; in onOverScrolled()
713 mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange()); in onOverScrolled()
732 event.setScrollX(mScrollX); in onInitializeAccessibilityEvent()
734 event.setMaxScrollX(mScrollX); in onInitializeAccessibilityEvent()
[all …]
DTextView.java4319 invalidate(horizontalPadding + mScrollX, top + verticalPadding, in invalidateCursor()
4320 horizontalPadding + mScrollX + getWidth() - in invalidateCursor()
4534 int scrollX = mScrollX; in invalidateDrawable()
4718 final int scrollX = mScrollX; in onDraw()
6782 if (scrollx != mScrollX || scrolly != mScrollY) { in bringTextIntoView()
6842 int hs = mScrollX; in bringPointIntoView()
6914 if (hs != mScrollX || vs != mScrollY) { in bringPointIntoView()
6919 int dx = hs - mScrollX; in bringPointIntoView()
6923 mScroller.startScroll(mScrollX, mScrollY, dx, dy); in bringPointIntoView()
6951 mTempRect.offset(mScrollX, mScrollY); in bringPointIntoView()
[all …]
DExpandableListView.java241 final int scrollX = mScrollX; in dispatchDraw()
DImageView.java898 final int scrollX = mScrollX; in onDraw()
DProgressBar.java907 final int scrollX = mScrollX + mPaddingLeft; in invalidateDrawable()
DAbsListView.java2079 final int scrollX = mScrollX; in dispatchDraw()
3368 onScrollChanged(mScrollX, scrollY, mScrollX, mScrollY); in onOverScrolled()
DGridView.java1825 previouslyFocusedRect.offset(mScrollX, mScrollY); in onFocusChanged()
DListView.java3365 previouslyFocusedRect.offset(mScrollX, mScrollY);
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java74 int mScrollX = UNDEFINED; field in AccessibilityRecord
358 return mScrollX; in getScrollX()
368 mScrollX = scrollX; in setScrollX()
706 mScrollX = record.mScrollX; in init()
732 mScrollX = UNDEFINED; in clear()
763 builder.append("; ScrollX: " + mScrollX); in toString()
DAccessibilityEvent.java867 record.mScrollX = parcel.readInt(); in readAccessibilityRecordFromParcel()
921 parcel.writeInt(record.mScrollX); in writeAccessibilityRecordToParcel()
973 builder.append("; ScrollX: " + record.mScrollX); in toString()
/frameworks/base/core/java/android/webkit/
DWebView.java1317 event.setScrollX(mScrollX); in onInitializeAccessibilityEvent()
1818 b.putInt("scrollX", mScrollX); in savePicture()
1831 mScrollX = sx; in restoreHistoryPictureFields()
2340 return pinScrollTo(mScrollX, 0, true, 0); in pageUp()
2366 return pinScrollTo(mScrollX, computeRealVerticalScrollRange(), true, 0); in pageDown()
2545 int contentX = viewToContentX(mLastTouchX + mScrollX); in hitTestResult()
2584 int contentX = viewToContentX(mLastTouchX + mScrollX); in requestFocusNodeHref()
2611 int contentX = viewToContentX(mLastTouchX + mScrollX); in requestImageRef()
2834 updateScrollCoordinates(pinLocX(mScrollX), pinLocY(mScrollY)); in recordNewContentSize()
3013 final int scrollX = mScrollX; in computeHorizontalScrollRange()
[all …]
DWebTextView.java410 Log.v(LOGTAG, "onTouchEvent x=" + mScrollX + " y=" in lineUpScroll()
414 mScrollX / maxScrollX : 0); in lineUpScroll()
687 int dx = Math.abs(mScrollX - initialScrollX); in onTouchEvent()
DWebViewCore.java1980 int mScrollX; field in WebViewCore.ViewState
2370 viewState.mScrollX = 0; in setupViewport()
2399 mInitialViewState.mScrollX = mRestoredX; in setupViewport()
/frameworks/base/core/java/android/text/method/
DTouch.java171 return ds.length > 0 ? ds[0].mScrollX : -1; in getInitialScrollX()
182 public int mScrollX; field in Touch.DragState
190 mScrollX = scrollX; in DragState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsHorizontalScrollView.java196 int left = mScrollX + paddingLeft; in draw()
206 left, right, top, bottom, mScrollX, mScrollY, in draw()
DRecentsVerticalScrollView.java211 int left = mScrollX + paddingLeft; in draw()
221 left, right, top, bottom, mScrollX, mScrollY, in draw()
/frameworks/base/core/java/android/view/
DView.java2218 protected int mScrollX; field in View
6853 scrollTo(mScrollX, value);
6865 return mScrollX;
6907 outRect.left = mScrollX;
6909 outRect.right = mScrollX + (mRight - mLeft);
8018 globalOffset.set(-mScrollX, -mScrollY);
8168 if (mScrollX != x || mScrollY != y) {
8169 int oldX = mScrollX;
8171 mScrollX = x;
8174 onScrollChanged(mScrollX, mScrollY, oldX, oldY);
[all …]
DViewGroup.java1584 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedGenericPointerEvent()
1895 float localX = x + mScrollX - child.mLeft; in isTransformedTouchPointInView()
1955 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedTouchEvent()
1974 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedTouchEvent()
2478 canvas.clipRect(mScrollX + mPaddingLeft, mScrollY + mPaddingTop, in dispatchDraw()
2479 mScrollX + mRight - mLeft - mPaddingRight, in dispatchDraw()
2744 final int sx = child.mScrollX; in drawChild()
4047 dirty.offset(location[CHILD_LEFT_INDEX] - mScrollX, in invalidateChildInParent()
4130 rect.offset(descendant.mLeft - descendant.mScrollX, in offsetRectBetweenParentAndChild()
4141 rect.offset(descendant.mScrollX - descendant.mLeft, in offsetRectBetweenParentAndChild()
[all …]