Home
last modified time | relevance | path

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

/packages/apps/Browser/src/com/android/browser/view/
DScrollerView.java212 if (mScrollY < length) { in getTopFadingEdgeStrength()
213 return mScrollY / (float) length; in getTopFadingEdgeStrength()
234 final int span = getChildAt(0).getBottom() - mScrollY - bottomEdge; in getBottomFadingEdgeStrength()
454 final int scrollY = mScrollY; in inChild()
600 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, in onInterceptTouchEvent()
667 final int oldY = mScrollY; in onTouchEvent()
676 if (overScrollBy(0, deltaY, 0, mScrollY, 0, range, in onTouchEvent()
682 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onTouchEvent()
726 if (mScroller.springBack(mScrollX, mScrollY, 0, bottom, 0, 0)) { in onTouchEvent()
730 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, bottom)) { in onTouchEvent()
[all …]
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java229 mScrollY = Math.max(0, Math.min(mMaxScrollY, mScrollY)); in onLayout()
291 int startRow = (mScrollY - mSpec.mCellSpacing) / mBlockHeight; in moveDataWindow()
292 int endRow = (mScrollY + getHeight() - mSpec.mCellSpacing - 1) in moveDataWindow()
336 mScroller.fling(0, mScrollY, 0, -(int) velocityY, 0, 0, 0, in onFling()
436 mScroller.startScroll(mScrollX, mScrollY, 0, in ensureVisible()
437 r.bottom - getHeight() - mScrollY, 200); in ensureVisible()
441 mScroller.startScroll(mScrollX, mScrollY, 0, r.top - mScrollY, 200); in ensureVisible()
480 mImageBlockManager.doDraw(canvas, getWidth(), getHeight(), mScrollY); in onDraw()
523 int row = (mScrollY + y - spacing) / (mSpec.mCellHeight + spacing); in computeSelectedIndex()
551 scrollTo(mScrollX + x, mScrollY + y); in scrollBy()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java121 int visibleBegin = WIDE ? mScrollX : mScrollY; in makeSlotVisible()
183 if (!force && (WIDE ? position == mScrollX : position == mScrollY)) return; in updateScrollPosition()
187 mScrollY = position; in updateScrollPosition()
275 canvas.translate(-mScrollX, -mScrollY); in render()
298 canvas.translate(mScrollX, mScrollY); in render()
721 setScrollPosition(WIDE ? mScrollX : mScrollY); in setSlotCount()
738 return mScrollY; in getScrollY()
DGLView.java75 protected int mScrollY = 0; field in GLView
234 int yoffset = component.mBounds.top - mScrollY; in renderChild()
/packages/apps/Browser/src/com/android/browser/
DNavTabScroller.java104 return mHorizontal ? mScrollX : mScrollY; in getScrollValue()
186 return mContentView.getChildAt(ix).getTop() - mScrollY; in getRelativeChildTop()
252 if ((sx != mScrollX) || (sy != mScrollY)) { in snapToSelected()
417 y += mScrollY; in findViewAt()
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
DProgressBar.java908 final int scrollY = mScrollY + mPaddingTop; in invalidateDrawable()