Home
last modified time | relevance | path

Searched refs:mSlop (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/view/
DTouchDelegate.java78 private int mSlop; field in TouchDelegate
90 mSlop = ViewConfiguration.get(delegateView.getContext()).getScaledTouchSlop(); in TouchDelegate()
92 mSlopBounds.inset(-mSlop, -mSlop); in TouchDelegate()
143 int slop = mSlop; in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSettingsButton.java43 private float mSlop; field in SettingsButton
47 mSlop = ViewConfiguration.get(getContext()).getScaledTouchSlop(); in SettingsButton()
77 if ((x < -mSlop) || (y < -mSlop) || (x > getWidth() + mSlop) in onTouchEvent()
78 || (y > getHeight() + mSlop)) { in onTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java71 private int mSlop; field in SwipeDismissLayout
113 mSlop = vc.getScaledTouchSlop(); in init()
328 if ((deltaX * deltaX) + (deltaY * deltaY) > mSlop * mSlop) { in updateSwiping()
329 mSwiping = deltaX > mSlop * 2 && Math.abs(deltaY) < Math.abs(deltaX); in updateSwiping()
/frameworks/support/wear/src/android/support/wear/widget/
DSwipeDismissLayout.java108 private int mSlop; field in SwipeDismissLayout
152 mSlop = vc.getScaledTouchSlop(); in SwipeDismissLayout()
303 return (dx * dx) + (dy * dy) > mSlop * mSlop; in isPotentialSwipe()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java241 private int mSlop; field in ItemTouchHelper
469 mSlop = vc.getScaledTouchSlop(); in setupCallbacks()
924 if (absDx < mSlop && absDy < mSlop) { in findSwipedView()
976 if (absDx < mSlop && absDy < mSlop) { in checkSelectForSwipe()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java239 private int mSlop; field in ItemTouchHelper
467 mSlop = vc.getScaledTouchSlop(); in setupCallbacks()
922 if (absDx < mSlop && absDy < mSlop) { in findSwipedView()
974 if (absDx < mSlop && absDy < mSlop) { in checkSelectForSwipe()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java1746 private final int mSlop; field in SearchView.UpdatableTouchDelegate
1755 mSlop = ViewConfiguration.get(delegateView.getContext()).getScaledTouchSlop(); in UpdatableTouchDelegate()
1766 mSlopBounds.inset(-mSlop, -mSlop); in setBounds()
/frameworks/base/core/java/android/widget/
DSearchView.java1807 private final int mSlop; field in SearchView.UpdatableTouchDelegate
1816 mSlop = ViewConfiguration.get(delegateView.getContext()).getScaledTouchSlop(); in UpdatableTouchDelegate()
1827 mSlopBounds.inset(-mSlop, -mSlop); in setBounds()