Searched refs:distanceX (Results 1 – 6 of 6) sorted by relevance
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
D | FoldingLayoutActivity.java | 380 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/ |
D | CandidateView.java | 101 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/ |
D | GestureListener.java | 46 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, in onScroll() argument
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | OverlayDisplayWindow.java | 445 float distanceX, float distanceY) { 446 mLiveTranslationX -= distanceX;
|
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/ |
D | InteractiveLineGraphView.java | 738 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/ |
D | HdrViewfinderActivity.java | 226 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
|