Home
last modified time | relevance | path

Searched refs:distanceX (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DDayView.java3978 int distanceX = (int) mInitialScrollX; in doScroll() local
3992 int absDistanceX = Math.abs(distanceX); in doScroll()
4001 mViewStartX = distanceX; in doScroll()
4011 mViewStartX = distanceX; in doScroll()
4012 if (distanceX != 0) { in doScroll()
4013 int direction = (distanceX > 0) ? 1 : -1; in doScroll()
4904 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument
4908 if (Math.abs(distanceX) < Math.abs(distanceY)) { in onScroll()
4917 DayView.this.doScroll(e1, e2, distanceX, distanceY); in onScroll()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DKenBurnsActivity.java85 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument
87 mImageView.postTranslateCenter(-distanceX, -distanceY); in onScroll()
DVideoEditorActivity.java418 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, in onCreate()
424 mTimelineScroller.scrollBy((int)distanceX, 0); in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java672 MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument
674 float distance = WIDE ? distanceX : distanceY; in onScroll()
/packages/apps/Gallery/src/com/android/camera/
DViewImage.java331 float distanceX, float distanceY) {
335 imageView.postTranslateCenter(-distanceX, -distanceY);
DGridViewSpecial.java351 float distanceX, float distanceY) { in onScroll() argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DSwapButton.java77 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DPinyinIME.java1394 float distanceX, float distanceY) { in onScroll() argument
1412 float vXThis = -distanceX / spanThis; in onScroll()
/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java2619 float distanceX = point1[0] - point2[0];
2621 return distanceX * distanceX + distanceY * distanceY;