Home
last modified time | relevance | path

Searched refs:distanceY (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
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/
DGestureListener.java47 float distanceY) { in onScroll() argument
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DOverlayDisplayWindow.java445 float distanceX, float distanceY) {
447 mLiveTranslationY -= distanceY;
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DHdrViewfinderActivity.java226 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
234 float yDistNorm = distanceY / height;
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DCandidateView.java101 float distanceX, float distanceY) { in CandidateView()
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java738 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
748 float viewportOffsetY = -distanceY * mCurrentViewport.height() / mContentRect.height();