Home
last modified time | relevance | path

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

/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DPlayheadView.java45 private int mScrollX; field in PlayheadView
85 mScrollX = scrollX; in PlayheadView()
91 mScrollX = scrollX; in PlayheadView()
109 mScrollX = scrollView.getScrollX(); in onAttachedToWindow()
167 final float startX = Math.max(mScrollX - (((mScrollX - (mScreenWidth / 2)) % spacing)), in onDraw()
174 final float endX = mScrollX + mScreenWidth; in onDraw()
DHorizontalScrollView.java157 if (mScrollX < length) { in getLeftFadingEdgeStrength()
158 return mScrollX / (float) length; in getLeftFadingEdgeStrength()
172 final int span = getChildAt(0).getRight() - mScrollX - rightEdge; in getRightFadingEdgeStrength()
380 final int scrollX = mScrollX; in inChild()
511 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onInterceptTouchEvent()
584 final int oldX = mScrollX; in onTouchEvent()
591 if (overScrollBy(deltaX, 0, mScrollX, 0, range, 0, in onTouchEvent()
596 onScrollChanged(mScrollX, mScrollY, oldX, oldY); in onTouchEvent()
629 if (mScroller.springBack(mScrollX, mScrollY, 0, in onTouchEvent()
648 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onTouchEvent()
[all …]
DTransitionView.java58 private int mScrollX; field in TransitionView
104 mScrollX = scrollX; in TransitionView()
152 mScrollX = mScrollView.getScrollX(); in onAttachedToWindow()
339 final int start = getLeft() + getPaddingLeft() - mScrollX; in requestThumbnails()
340 final int end = getRight() - getPaddingRight() - mScrollX; in requestThumbnails()
DAudioTrackView.java52 private int mScrollX; field in AudioTrackView
120 mScrollX = scrollX; in AudioTrackView()
147 mScrollX = scrollView.getScrollX(); in onAttachedToWindow()
308 final int start = Math.max(mScrollX - mScreenWidth / 2, getPaddingLeft()); in onDraw()
309 final int limit = Math.min(mScrollX + mScreenWidth, getWidth() - getPaddingRight()); in onDraw()
DMediaItemView.java79 private int mScrollX; field in MediaItemView
198 mScrollX = scrollX; in onScrollProgress()
205 mScrollX = scrollX; in onScrollEnd()
218 mScrollX = mScrollView.getScrollX(); in onAttachedToWindow()
448 int left = getLeft() + getPaddingLeft() - mScrollX; in drawThumbnails()
450 int right = getRight() - getPaddingRight() - mScrollX; in drawThumbnails()
/packages/apps/Browser/src/com/android/browser/view/
DScrollerView.java207 if (mScrollX < length) { in getTopFadingEdgeStrength()
208 return mScrollX / (float) length; in getTopFadingEdgeStrength()
227 final int span = getChildAt(0).getRight() - mScrollX - bottomEdge; in getBottomFadingEdgeStrength()
600 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, in onInterceptTouchEvent()
666 final int oldX = mScrollX; in onTouchEvent()
670 if (overScrollBy(deltaY, 0, mScrollX, 0, range, 0, 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()
749 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onTouchEvent()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java119 int visibleBegin = WIDE ? mScrollX : mScrollY; in makeSlotVisible()
181 if (!force && (WIDE ? position == mScrollX : position == mScrollY)) return; in updateScrollPosition()
183 mScrollX = position; in updateScrollPosition()
247 int oldX = mScrollX; in render()
253 int newX = mScrollX; in render()
273 canvas.translate(-mScrollX, -mScrollY); in render()
296 canvas.translate(mScrollX, mScrollY); in render()
317 canvas.multiplyMatrix(mPaper.getTransform(rect, mScrollX), 0); in renderItem()
720 setScrollPosition(WIDE ? mScrollX : mScrollY); in setSlotCount()
733 return mScrollX; in getScrollX()
DGLView.java77 protected int mScrollX = 0; field in GLView
270 int xoffset = component.mBounds.left - mScrollX; in renderChild()
/packages/apps/Gallery/src/com/android/camera/
DActionMenuButton.java83 mScrollX + mRight - mLeft), in draw()
DGridViewSpecial.java436 mScroller.startScroll(mScrollX, mScrollY, 0, in ensureVisible()
441 mScroller.startScroll(mScrollX, mScrollY, 0, r.top - mScrollY, 200); in ensureVisible()
551 scrollTo(mScrollX + x, mScrollY + y); in scrollBy()
/packages/apps/Browser/src/com/android/browser/
DNavTabScroller.java104 return mHorizontal ? mScrollX : mScrollY; in getScrollValue()
252 if ((sx != mScrollX) || (sy != mScrollY)) { in snapToSelected()
416 x += mScrollX; in findViewAt()
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
DProgressBar.java907 final int scrollX = mScrollX + mPaddingLeft; in invalidateDrawable()