Home
last modified time | relevance | path

Searched refs:mStartX (Results 1 – 7 of 7) 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/Launcher3/src/com/android/launcher3/
DLauncherScroller.java34 private int mStartX; field in LauncherScroller
243 return mStartX; in getStartX()
294 mCurrX = mStartX + Math.round(x * mDeltaX); in computeScrollOffset()
313 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); in computeScrollOffset()
375 mStartX = startX; in startScroll()
409 float dx = (float) (mFinalX - mStartX); in fling()
433 mStartX = startX; in fling()
534 mDeltaX = mFinalX - mStartX; in setFinalX()
555 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.java72 private final int mStartX; field in TranslationAnimationCreator.TransitionPositionListener
81 mStartX = startX - Math.round(mMovingView.getTranslationX()); in TransitionPositionListener()
91 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/PackageInstaller/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()
/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;