Home
last modified time | relevance | path

Searched refs:mLastTouchX (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java74 private float mLastTouchX; field in GalleryThumbnailView
287 mLastTouchX = ev.getX(); in onInterceptTouchEvent()
306 final float dx = x - mLastTouchX + mTouchRemainderX; in onInterceptTouchEvent()
328 mLastTouchX = ev.getX(); in onTouchEvent()
342 final float dx = x - mLastTouchX + mTouchRemainderX; in onTouchEvent()
351 mLastTouchX = x; in onTouchEvent()
372 mLastTouchX = 0; in onTouchEvent()
536 final int dx = (int) (x - mLastTouchX); in computeScroll()
537 mLastTouchX = x; in computeScroll()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragView.java101 private int mLastTouchX; field in DragView
517 if (touchX > 0 && touchY > 0 && mLastTouchX > 0 && mLastTouchY > 0 in move()
519 mTranslateX.animateToPos(mLastTouchX - touchX); in move()
522 mLastTouchX = touchX; in move()
553 setTranslationX(mLastTouchX - mRegistrationX + mAnimatedShiftX); in applyTranslation()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTouchListener.java40 private float mLastTouchX; field in PhotoTouchListener
170 float tmpDX = (x - mLastTouchX) / dt; in onTouch()
180 mLastTouchX = x; in onTouch()