Home
last modified time | relevance | path

Searched refs:scrollY (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/webkit/
DOverScrollGlow.java160 final int scrollY = mHostView.getScrollY(); in drawEdgeGlows() local
168 canvas.translate(scrollX, mHostView.getVisibleTitleHeight() + Math.min(0, scrollY)); in drawEdgeGlows()
176 canvas.translate(-width + scrollX, Math.max(mHostView.computeMaxScrollY(), scrollY) in drawEdgeGlows()
187 canvas.translate(-height - scrollY, Math.min(0, scrollX)); in drawEdgeGlows()
196 canvas.translate(scrollY, in drawEdgeGlows()
DWebView.java1681 public void super_scrollTo(int scrollX, int scrollY) { in super_scrollTo() argument
1682 WebView.super.scrollTo(scrollX, scrollY); in super_scrollTo()
1723 int scrollX, int scrollY, in overScrollBy() argument
1727 WebView.this.overScrollBy(deltaX, deltaY, scrollX, scrollY, scrollRangeX, scrollRangeY, in overScrollBy()
1766 public void setScrollYRaw(int scrollY) { in setScrollYRaw() argument
1767 WebView.this.mScrollY = scrollY; in setScrollYRaw()
1962 protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) { in onOverScrolled() argument
1963 mProvider.getViewDelegate().onOverScrolled(scrollX, scrollY, clampedX, clampedY); in onOverScrolled()
DWebViewClassic.java3265 final int scrollY = getScrollY(); in computeVerticalScrollRange() local
3267 if (scrollY < 0) { in computeVerticalScrollRange()
3268 range -= scrollY; in computeVerticalScrollRange()
3269 } else if (scrollY > overscrollBottom) { in computeVerticalScrollRange()
3270 range += scrollY - overscrollBottom; in computeVerticalScrollRange()
3298 public void onOverScrolled(int scrollX, int scrollY, boolean clampedX, in onOverScrolled() argument
3303 scrollEditText(scrollX, scrollY); in onOverScrolled()
3307 scrollLayerTo(scrollX, scrollY); in onOverScrolled()
3319 if (scrollY < 0 || scrollY > maxY) { in onOverScrolled()
3326 mWebViewPrivate.super_scrollTo(scrollX, scrollY); in onOverScrolled()
[all …]
DZoomManager.java595 int scrollY = mWebView.pinLocY(Math.round(sy));
596 if(!mWebView.updateScrollCoordinates(scrollX, scrollY)) {
697 int scrollY = mWebView.getScrollY();
698 if (scrollY < mWebView.getTitleHeight()) {
DWebViewProvider.java288 public void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY); in onOverScrolled() argument
DWebViewCore.java2819 int scrollX, int scrollY) { in updateTextSizeAndScroll() argument
2821 Rect rect = new Rect(-scrollX, -scrollY, width - scrollX, in updateTextSizeAndScroll()
2822 height - scrollY); in updateTextSizeAndScroll()
/frameworks/base/core/java/android/widget/
DScrollView.java405 final int scrollY = mScrollY; in inChild() local
407 return !(y < child.getTop() - scrollY in inChild()
408 || y >= child.getBottom() - scrollY in inChild()
731 protected void onOverScrolled(int scrollX, int scrollY, in onOverScrolled() argument
736 mScrollY = scrollY; in onOverScrolled()
742 super.scrollTo(scrollX, scrollY); in onOverScrolled()
1113 final int scrollY = mScrollY; in smoothScrollBy() local
1114 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY; in smoothScrollBy()
1116 mScroller.startScroll(mScrollX, scrollY, 0, dy); in smoothScrollBy()
1154 final int scrollY = mScrollY; in computeVerticalScrollRange() local
[all …]
DExpandableListView.java244 final int scrollY = mScrollY; in dispatchDraw() local
245 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in dispatchDraw()
247 scrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw()
DAbsListView.java2421 final int scrollY = mScrollY; in dispatchDraw() local
2422 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in dispatchDraw()
2424 scrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw()
3727 protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) { in onOverScrolled() argument
3728 if (mScrollY != scrollY) { in onOverScrolled()
3729 onScrollChanged(mScrollX, scrollY, mScrollX, mScrollY); in onOverScrolled()
3730 mScrollY = scrollY; in onOverScrolled()
3761 final int scrollY = mScrollY; in draw() local
3768 int edgeY = Math.min(0, scrollY + mFirstPositionDistanceGuess); in draw()
3785 int edgeY = Math.max(height, scrollY + mLastPositionDistanceGuess); in draw()
[all …]
DImageView.java968 final int scrollY = mScrollY; in onDraw() local
969 canvas.clipRect(scrollX + mPaddingLeft, scrollY + mPaddingTop, in onDraw()
971 scrollY + mBottom - mTop - mPaddingBottom); in onDraw()
DProgressBar.java968 final int scrollY = mScrollY + mPaddingTop; in invalidateDrawable() local
970 invalidate(dirty.left + scrollX, dirty.top + scrollY, in invalidateDrawable()
971 dirty.right + scrollX, dirty.bottom + scrollY); in invalidateDrawable()
DPopupWindow.java1119 int scrollY = anchor.getScrollY(); in findDropDownPosition() local
1120 Rect r = new Rect(scrollX, scrollY, scrollX + mPopupWidth + xoff, in findDropDownPosition()
1121 scrollY + mPopupHeight + anchor.getHeight() + yoff); in findDropDownPosition()
DListView.java3123 final int scrollY = mScrollY;
3124 if (count > 0 && scrollY < 0) {
3127 bounds.top = scrollY;
3170 final int scrollY = mScrollY;
3173 bounds.top = scrollY;
3205 if (count > 0 && scrollY > 0) {
3209 bounds.bottom = absListBottom + scrollY;
DHorizontalScrollView.java718 protected void onOverScrolled(int scrollX, int scrollY, in onOverScrolled() argument
723 mScrollY = scrollY; in onOverScrolled()
729 super.scrollTo(scrollX, scrollY); in onOverScrolled()
DTextView.java4546 int scrollY = mScrollY; in invalidateDrawable() local
4559 scrollY += compoundPaddingTop + (vspace - drawables.mDrawableHeightLeft) / 2; in invalidateDrawable()
4566 scrollY += compoundPaddingTop + (vspace - drawables.mDrawableHeightRight) / 2; in invalidateDrawable()
4573 scrollY += mPaddingTop; in invalidateDrawable()
4580 scrollY += (mBottom - mTop - mPaddingBottom - drawables.mDrawableSizeBottom); in invalidateDrawable()
4584 invalidate(dirty.left + scrollX, dirty.top + scrollY, in invalidateDrawable()
4585 dirty.right + scrollX, dirty.bottom + scrollY); in invalidateDrawable()
4749 final int scrollY = mScrollY; in onDraw() local
4770 scrollY + compoundPaddingTop + in onDraw()
4781 scrollY + compoundPaddingTop + (vspace - dr.mDrawableHeightRight) / 2); in onDraw()
[all …]
/frameworks/base/core/java/android/view/
DGestureDetector.java532 final float scrollY = mLastMotionY - y; in onTouchEvent() local
541 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
552 } else if ((Math.abs(scrollX) >= 1) || (Math.abs(scrollY) >= 1)) { in onTouchEvent()
553 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
DView.java10147 final int scrollY = mScrollY;
10149 r.set(dirty.left - scrollX, dirty.top - scrollY,
10150 dirty.right - scrollX, dirty.bottom - scrollY);
10190 final int scrollY = mScrollY;
10192 tmpr.set(l - scrollX, t - scrollY, r - scrollX, b - scrollY);
11287 final int scrollY = mScrollY;
11303 top = scrollY + height - size - (mUserPaddingBottom & inside);
11332 top = scrollY + (mPaddingTop & inside);
11334 bottom = scrollY + height - (mUserPaddingBottom & inside);
13279 final int scrollY = hasDisplayList ? 0 : sy;
[all …]
DViewRootImpl.java2366 int scrollY = 0; in scrollToRectOrFocus() local
2375 scrollY = mScrollY; in scrollToRectOrFocus()
2449 "Too tall; leaving scrollY=" + scrollY); in scrollToRectOrFocus()
2450 } else if ((mTempRect.top-scrollY) < vi.top) { in scrollToRectOrFocus()
2451 scrollY -= vi.top - (mTempRect.top-scrollY); in scrollToRectOrFocus()
2453 "Top covered; scrollY=" + scrollY); in scrollToRectOrFocus()
2454 } else if ((mTempRect.bottom-scrollY) in scrollToRectOrFocus()
2456 scrollY += (mTempRect.bottom-scrollY) in scrollToRectOrFocus()
2459 "Bottom covered; scrollY=" + scrollY); in scrollToRectOrFocus()
2467 if (scrollY != mScrollY) { in scrollToRectOrFocus()
[all …]
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityRecordCompat.java60 public void setScrollY(Object record, int scrollY); in setScrollY() argument
246 public void setScrollY(Object record, int scrollY) { in setScrollY() argument
455 public void setScrollY(Object record, int scrollY) { in setScrollY() argument
456 AccessibilityRecordCompatIcs.setScrollY(record, scrollY); in setScrollY()
827 public void setScrollY(int scrollY) { in setScrollY() argument
828 IMPL.setScrollY(mRecord, scrollY); in setScrollY()
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityRecordCompatIcs.java178 public static void setScrollY(Object record, int scrollY) { in setScrollY() argument
179 ((AccessibilityRecord) record).setScrollY(scrollY); in setScrollY()
/frameworks/base/core/java/android/text/method/
DTouch.java203 public DragState(float x, float y, int scrollX, int scrollY) { in DragState() argument
207 mScrollY = scrollY; in DragState()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java424 public void setScrollY(int scrollY) { in setScrollY() argument
426 mScrollY = scrollY; in setScrollY()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsScrollViewPerformanceHelper.java89 int left, int right, int top, int bottom, int scrollX, int scrollY, in drawCallback() argument
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java2190 final int scrollY = v.getScrollY();
2198 y + scrollY >= child.getTop() && y + scrollY < child.getBottom() &&
2200 y + scrollY - child.getTop())) {
/frameworks/base/api/
D14.txt819 field public static final int scrollY = 16842963; // 0x10100d3

12