Home
last modified time | relevance | path

Searched refs:distanceX (Results 1 – 7 of 7) 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/Support7Demos/src/com/example/android/supportv7/media/
DOverlayDisplayWindow.java457 float distanceX, float distanceY) {
458 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) {