Home
last modified time | relevance | path

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

/frameworks/base/test-runner/src/android/test/
DTouchUtils.java267 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in tapView() local
269 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); in tapView()
307 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in touchAndCancelView() local
309 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); in touchAndCancelView()
343 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in clickView() local
345 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); in clickView()
403 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in longClickView() local
405 x + touchSlop / 2, y + touchSlop / 2, 0); in longClickView()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButton.java153 int touchSlop = ViewConfiguration.get(mContext).getScaledTouchSlop(); in onTouchEvent() local
154 if (Math.abs(yDiff) > touchSlop || Math.abs(xDiff) > touchSlop) { in onTouchEvent()
DKeyguardSecurityContainer.java189 float touchSlop = mViewConfiguration.getScaledTouchSlop() * SLOP_SCALE; in onInterceptTouchEvent() local
191 && mStartTouchY - event.getY(index) > touchSlop) { in onInterceptTouchEvent()
/frameworks/base/core/java/android/view/
DGestureDetector.java442 int touchSlop, doubleTapSlop, doubleTapTouchSlop; in init() local
445 touchSlop = ViewConfiguration.getTouchSlop(); in init()
446 doubleTapTouchSlop = touchSlop; // Hack rather than adding a hidden method for this in init()
453 touchSlop = configuration.getScaledTouchSlop(); in init()
459 mTouchSlopSquare = touchSlop * touchSlop; in init()
DView.java15449 int touchSlop = mTouchSlop; in onTouchEvent() local
15453 if (!pointInView(x, y, touchSlop)) { in onTouchEvent()
15468 touchSlop *= ambiguousMultiplier; in onTouchEvent()
15472 if (!pointInView(x, y, touchSlop)) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleTouchHandler.java74 final int touchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in BubbleTouchHandler() local
75 mTouchSlopSquared = touchSlop * touchSlop; in BubbleTouchHandler()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1144 final int touchSlop = configuration.getScaledTouchSlop(); in initialize() local
1145 sTouchSlopSquare = touchSlop * touchSlop; in initialize()
/frameworks/base/core/java/android/widget/
DEditor.java5232 final int touchSlop = viewConfiguration.getScaledTouchSlop(); in onTouchEvent() local
5234 if (distanceSquared < touchSlop * touchSlop) { in onTouchEvent()
5983 final int touchSlop = viewConfig.getScaledTouchSlop();
5998 distanceSquared <= touchSlop * touchSlop;
6108 final int touchSlop = viewConfig.getScaledTouchSlop();
6111 : touchSlop;