Home
last modified time | relevance | path

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

/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
DFoldingLayoutActivity.java380 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument
405 mTranslation -= (int)distanceX; in onScroll()
406 touchSlop = distanceX < 0 ? -mTouchSlop : mTouchSlop; in onScroll()
408 mTranslation += (int)distanceX; in onScroll()
409 touchSlop = distanceX < 0 ? mTouchSlop : -mTouchSlop; in onScroll()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DCandidateView.java101 float distanceX, float distanceY) { in CandidateView()
104 sx += distanceX; in CandidateView()
109 sx -= distanceX; in CandidateView()
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/
DGestureListener.java46 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, in onScroll() argument
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DOverlayDisplayWindow.java445 float distanceX, float distanceY) {
446 mLiveTranslationX -= distanceX;
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java738 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
747 float viewportOffsetX = distanceX * mCurrentViewport.width() / mContentRect.width();
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DHdrViewfinderActivity.java226 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {