Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DZoomButtonsController.java632 int distanceX; in findViewForTouch() local
634 distanceX = 0; in findViewForTouch()
636 distanceX = Math.min(Math.abs(frame.left - containerCoordsX), in findViewForTouch()
646 int distanceSq = distanceX * distanceX + distanceY * distanceY; in findViewForTouch()
DGallery.java1015 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument
1047 trackMotionScroll(-1 * (int) distanceX); in onScroll()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java353 float distanceX, float distanceY) {
354 mLiveTranslationX -= distanceX;
/frameworks/base/core/java/android/view/
DGestureDetector.java89 boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY); in onScroll() argument
166 float distanceX, float distanceY) { in onScroll() argument
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DScreenMagnifier.java520 public boolean onScroll(MotionEvent first, MotionEvent second, float distanceX, in onScroll() argument
526 Slog.i(LOG_TAG, "Panned content by scrollX: " + distanceX in onScroll()
529 mMagnificationController.offsetMagnifiedRegionCenter(distanceX, distanceY); in onScroll()
/frameworks/base/docs/html/training/gestures/
Dscale.jd217 float distanceX, float distanceY) {
222 float viewportOffsetX = distanceX * mCurrentViewport.width()
Ddetector.jd245 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX,
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java343 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument
345 translate(-distanceX, -distanceY); in onScroll()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java3026 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument