Home
last modified time | relevance | path

Searched refs:mTouchSlop (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardLayout.java34 private float mTouchSlop = 0.f; field in CardLayout
57 mTouchSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop() * 2.f; in init()
77 mSwiping = Math.abs(mDownX - event.getX()) > mTouchSlop; in onInterceptTouchEvent()
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
DFoldingLayoutActivity.java89 private int mTouchSlop = -1; field in FoldingLayoutActivity
129 mTouchSlop = ViewConfiguration.get(this).getScaledTouchSlop(); in onCreate()
390 touchSlop = distanceY < 0 ? -mTouchSlop : mTouchSlop; in onScroll()
393 touchSlop = distanceY < 0 ? mTouchSlop : -mTouchSlop; in onScroll()
406 touchSlop = distanceX < 0 ? -mTouchSlop : mTouchSlop; in onScroll()
409 touchSlop = distanceX < 0 ? mTouchSlop : -mTouchSlop; in onScroll()