Home
last modified time | relevance | path

Searched refs:mStartX (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java37 private int mStartX; field in Scroller
213 return mStartX; in getStartX()
265 mCurrX = mStartX + Math.round(x * mDeltaX); in computeScrollOffset()
277 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); in computeScrollOffset()
338 mStartX = startX; in startScroll()
372 float dx = mFinalX - mStartX; in fling()
397 mStartX = startX; in fling()
482 mDeltaX = mFinalX - mStartX; in setFinalX()
503 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && in isScrollingInDirection()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DFlingScroller.java36 private int mStartX, mStartY; field in FlingScroller
78 mStartX = startX; in fling()
117 int r = (int) Math.round(mStartX + f * mDistance * mCosAngle); in getX()
118 if (mCosAngle > 0 && mStartX <= mMaxX) { in getX()
120 } else if (mCosAngle < 0 && mStartX >= mMinX) { in getX()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DTranslationAnimationCreator.java90 private final int mStartX; field in TranslationAnimationCreator.TransitionPositionListener
99 mStartX = startX - Math.round(mMovingView.getTranslationX()); in TransitionPositionListener()
109 mTransitionPosition = Math.round(mStartX + mMovingView.getTranslationX()); in onAnimationCancel()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java209 private int mStartX; field in KeyboardView
502 detectAndSendKey(mDownKey, mStartX, mStartY, me1.getEventTime()); in initGestureDetector()
873 canvas.drawCircle(mStartX, mStartY, 3, paint); in onBufferDraw()
874 canvas.drawLine(mStartX, mStartY, mLastX, mLastY, paint); in onBufferDraw()
878 canvas.drawCircle((mStartX + mLastX) / 2, (mStartY + mLastY) / 2, 2, paint); in onBufferDraw()
1288 mStartX = touchX; in onModifiedTouchEvent()
/packages/apps/PermissionController/src/android/support/wearable/view/
DWearableListView.java101 private float mStartX; field in WearableListView
302 mStartX = event.getX(); in onInterceptTouchEvent()
319 float deltaX = Math.abs(mStartX - event.getX()); in handlePossibleVerticalSwipe()