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.java38 private int mStartX; field in Scroller
214 return mStartX; in getStartX()
266 mCurrX = mStartX + Math.round(x * mDeltaX); in computeScrollOffset()
278 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); in computeScrollOffset()
339 mStartX = startX; in startScroll()
373 float dx = mFinalX - mStartX; in fling()
398 mStartX = startX; in fling()
483 mDeltaX = mFinalX - mStartX; in setFinalX()
504 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && in isScrollingInDirection()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherScroller.java35 private int mStartX; field in LauncherScroller
244 return mStartX; in getStartX()
295 mCurrX = mStartX + Math.round(x * mDeltaX); in computeScrollOffset()
314 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); in computeScrollOffset()
376 mStartX = startX; in startScroll()
410 float dx = (float) (mFinalX - mStartX); in fling()
434 mStartX = startX; in fling()
535 mDeltaX = mFinalX - mStartX; in setFinalX()
556 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/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
DHoloSpiralView.java31 private float mStartX = 0; field in HoloSpiralView
116 float realPosition = mCurrentPosition + (event.getX() - mStartX); in onTouchEvent()
125 mStartX = event.getX(0); in onTouchEvent()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboardView.java187 private int mStartX; field in KeyboardView
427 detectAndSendKey(mDownKey, mStartX, mStartY, me1.getEventTime()); in initGestureDetector()
481 int keyIndex = getKeyIndices(mStartX, mStartY, null); in setKeyboard()
1211 mStartX = touchX;