/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 165 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 …]
|
D | ScrollView.java | 524 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 …]
|
D | TextView.java | 4319 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 …]
|
D | ExpandableListView.java | 241 final int scrollX = mScrollX; in dispatchDraw()
|
D | ImageView.java | 898 final int scrollX = mScrollX; in onDraw()
|
D | ProgressBar.java | 907 final int scrollX = mScrollX + mPaddingLeft; in invalidateDrawable()
|
D | AbsListView.java | 2079 final int scrollX = mScrollX; in dispatchDraw() 3368 onScrollChanged(mScrollX, scrollY, mScrollX, mScrollY); in onOverScrolled()
|
D | GridView.java | 1825 previouslyFocusedRect.offset(mScrollX, mScrollY); in onFocusChanged()
|
D | ListView.java | 3365 previouslyFocusedRect.offset(mScrollX, mScrollY);
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 74 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()
|
D | AccessibilityEvent.java | 867 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/ |
D | WebView.java | 1317 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 …]
|
D | WebTextView.java | 410 Log.v(LOGTAG, "onTouchEvent x=" + mScrollX + " y=" in lineUpScroll() 414 mScrollX / maxScrollX : 0); in lineUpScroll() 687 int dx = Math.abs(mScrollX - initialScrollX); in onTouchEvent()
|
D | WebViewCore.java | 1980 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/ |
D | Touch.java | 171 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/ |
D | RecentsHorizontalScrollView.java | 196 int left = mScrollX + paddingLeft; in draw() 206 left, right, top, bottom, mScrollX, mScrollY, in draw()
|
D | RecentsVerticalScrollView.java | 211 int left = mScrollX + paddingLeft; in draw() 221 left, right, top, bottom, mScrollX, mScrollY, in draw()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 2218 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 …]
|
D | ViewGroup.java | 1584 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 …]
|