Home
last modified time | relevance | path

Searched refs:touchSlop (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/test-runner/src/android/test/
DTouchUtils.java261 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in tapView() local
263 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); in tapView()
301 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in touchAndCancelView() local
303 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); in touchAndCancelView()
337 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in clickView() local
339 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); in clickView()
397 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in longClickView() local
399 x + touchSlop / 2, y + touchSlop / 2, 0); in longClickView()
/frameworks/base/core/java/android/view/
DGestureDetector.java389 int touchSlop, doubleTapSlop, doubleTapTouchSlop; in init() local
392 touchSlop = ViewConfiguration.getTouchSlop(); in init()
393 doubleTapTouchSlop = touchSlop; // Hack rather than adding a hiden method for this in init()
400 touchSlop = configuration.getScaledTouchSlop(); in init()
406 mTouchSlopSquare = touchSlop * touchSlop; in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHeadsUpNotificationView.java246 float touchSlop = viewConfiguration.getScaledTouchSlop(); in onAttachedToWindow() local
249 mEdgeSwipeHelper = new EdgeSwipeHelper(touchSlop); in onAttachedToWindow()
452 public EdgeSwipeHelper(float touchSlop) { in EdgeSwipeHelper() argument
453 mTouchSlop = touchSlop; in EdgeSwipeHelper()
/frameworks/support/v4/java/android/support/v4/view/
DGestureDetectorCompat.java175 final int touchSlop = configuration.getScaledTouchSlop(); in init() local
180 mTouchSlopSquare = touchSlop * touchSlop; in init()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1127 final int touchSlop = configuration.getScaledTouchSlop(); in initialize() local
1128 sTouchSlopSquare = touchSlop * touchSlop; in initialize()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPagedView.java1243 final int touchSlop = Math.round(TOUCH_SLOP_SCALE * mTouchSlop); in isHorizontalCameraScroll() local
1245 boolean xMoved = xDiff > touchSlop; in isHorizontalCameraScroll()
1270 final int touchSlop = Math.round(TOUCH_SLOP_SCALE * mTouchSlop); in determineScrollingStart() local
1272 boolean xMoved = xDiff > touchSlop; in determineScrollingStart()
/frameworks/base/core/java/android/widget/
DEditor.java3597 final int touchSlop = viewConfiguration.getScaledTouchSlop();
3599 if (distanceSquared < touchSlop * touchSlop) {