Searched refs:distanceY (Results 1 – 7 of 7) 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 389 mTranslation -= (int)distanceY; in onScroll() 390 touchSlop = distanceY < 0 ? -mTouchSlop : mTouchSlop; in onScroll() 392 mTranslation += (int)distanceY; in onScroll() 393 touchSlop = distanceY < 0 ? mTouchSlop : -mTouchSlop; in onScroll()
|
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/ |
D | GestureListener.java | 47 float distanceY) { in onScroll() argument
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | OverlayDisplayWindow.java | 445 float distanceX, float distanceY) { 447 mLiveTranslationY -= distanceY;
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | OverlayDisplayWindow.java | 457 float distanceX, float distanceY) { 459 mLiveTranslationY -= distanceY;
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
D | HdrViewfinderActivity.java | 226 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { 234 float yDistNorm = distanceY / height;
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
D | CandidateView.java | 101 float distanceX, float distanceY) { in CandidateView()
|
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/ |
D | InteractiveLineGraphView.java | 738 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { 748 float viewportOffsetY = -distanceY * mCurrentViewport.height() / mContentRect.height();
|