Searched refs:mStartX (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | Scroller.java | 37 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/ |
D | FlingScroller.java | 36 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/ |
D | TranslationAnimationCreator.java | 90 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/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | EdgeBackGesturePanel.java | 155 private float mStartX; field in EdgeBackGesturePanel 342 mStartX = event.getX(); in onMotionEvent() 526 float touchTranslation = Math.abs(x - mStartX); in handleMoveEvent() 585 if (Math.abs(yOffset) > Math.abs(x - mStartX) * 2) { in handleMoveEvent()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/ |
D | KeyboardView.java | 209 private int mStartX; field in KeyboardView 505 detectAndSendKey(mDownKey, mStartX, mStartY, me1.getEventTime()); in initGestureDetector() 876 canvas.drawCircle(mStartX, mStartY, 3, paint); in onBufferDraw() 877 canvas.drawLine(mStartX, mStartY, mLastX, mLastY, paint); in onBufferDraw() 881 canvas.drawCircle((mStartX + mLastX) / 2, (mStartY + mLastY) / 2, 2, paint); in onBufferDraw() 1291 mStartX = touchX; in onModifiedTouchEvent()
|
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/ |
D | LeanbackKeyboardContainer.java | 458 private float mStartX; field in LeanbackKeyboardContainer.ScaleAnimation 484 mStartX = mView.getX(); in applyTransformation() 489 setValues(((mEndX - mStartX) * interpolatedTime + mStartX), in applyTransformation() local
|