Home
last modified time | relevance | path

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

/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.java120 int visibleBegin = WIDE ? mScrollX : mScrollY; in makeSlotVisible()
182 if (!force && (WIDE ? position == mScrollX : position == mScrollY)) return; in updateScrollPosition()
186 mScrollY = position; in updateScrollPosition()
274 canvas.translate(-mScrollX, -mScrollY); in render()
297 canvas.translate(mScrollX, mScrollY); in render()
721 setScrollPosition(WIDE ? mScrollX : mScrollY); in setSlotCount()
738 return mScrollY; in getScrollY()
DGLView.java77 protected int mScrollY = 0; field in GLView
272 int yoffset = component.mBounds.top - mScrollY; in renderChild()