/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 285 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in tapView() local 287 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); in tapView() 325 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in touchAndCancelView() local 327 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); in touchAndCancelView() 361 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in clickView() local 363 x + (touchSlop / 2.0f), y + (touchSlop / 2.0f), 0); in clickView() 421 final int touchSlop = ViewConfiguration.get(v.getContext()).getScaledTouchSlop(); in longClickView() local 423 x + touchSlop / 2, y + touchSlop / 2, 0); in longClickView()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | EmergencyButton.java | 86 int touchSlop = ViewConfiguration.get(mContext).getScaledTouchSlop(); in onTouchEvent() local 87 if (Math.abs(yDiff) > touchSlop || Math.abs(xDiff) > touchSlop) { in onTouchEvent()
|
D | KeyguardSecurityContainer.java | 417 float touchSlop = mViewConfiguration.getScaledTouchSlop() * SLOP_SCALE; in onInterceptTouchEvent() local 418 if (index != -1 && mStartTouchY - event.getY(index) > touchSlop) { in onInterceptTouchEvent()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | RelativeTouchListener.kt | 91 private var touchSlop: Int = -1 in onDown() variable in com.android.wm.shell.bubbles.RelativeTouchListener 111 touchSlop = ViewConfiguration.get(v.context).scaledTouchSlop in onDown() 125 if (!movedEnough && hypot(dx, dy) > touchSlop && !performedLongClick) { in onDown()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MagnificationGestureDetector.java | 98 final int touchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in MagnificationGestureDetector() local 99 mTouchSlopSquare = touchSlop * touchSlop; in MagnificationGestureDetector()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | SingleTapClassifier.java | 36 @Named(SINGLE_TAP_TOUCH_SLOP) float touchSlop) { in SingleTapClassifier() argument 38 mTouchSlop = touchSlop; in SingleTapClassifier()
|
/frameworks/base/core/java/android/widget/ |
D | EditorTouchState.java | 189 int touchSlop = config.getScaledTouchSlop(); in update() local 190 mMovedEnoughForDrag = distanceSquared > touchSlop * touchSlop; in update()
|
D | Editor.java | 6760 final int touchSlop = viewConfig.getScaledTouchSlop(); in updateWordBasedSelection() local 6763 : touchSlop; in updateWordBasedSelection()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | LockscreenShadeTransitionController.kt | 570 private var touchSlop = 0f variable 599 touchSlop = configuration.scaledTouchSlop.toFloat() in updateResources() 617 val touchSlop = if (event.classification in onInterceptTouchEvent() constant 619 touchSlop * slopMultiplier in onInterceptTouchEvent() 621 touchSlop in onInterceptTouchEvent() 622 if (h > touchSlop && h > Math.abs(x - initialTouchX)) { in onInterceptTouchEvent()
|
D | PulseExpansionHandler.kt | 97 private var touchSlop = 0f variable 128 touchSlop = ViewConfiguration.get(context).scaledTouchSlop.toFloat() in initResources() 159 if (h > touchSlop && h > Math.abs(x - mInitialTouchX)) { in startExpansion()
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 457 int touchSlop, doubleTapSlop, doubleTapTouchSlop; in init() local 460 touchSlop = ViewConfiguration.getTouchSlop(); in init() 461 doubleTapTouchSlop = touchSlop; // Hack rather than adding a hidden method for this in init() 470 touchSlop = configuration.getScaledTouchSlop(); in init() 477 mTouchSlopSquare = touchSlop * touchSlop; in init()
|
D | View.java | 16060 int touchSlop = mTouchSlop; in onTouchEvent() local 16062 if (!pointInView(x, y, touchSlop)) { in onTouchEvent() 16077 touchSlop *= mAmbiguousGestureMultiplier; in onTouchEvent() 16081 if (!pointInView(x, y, touchSlop)) { in onTouchEvent()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/ |
D | MagnetizedObject.kt | 152 private var touchSlop = 0 in <lambda>() variable in com.android.wm.shell.common.magnetictarget.MagnetizedObject 342 if (dragDistance > touchSlop) { in <lambda>() 583 touchSlop = in <lambda>()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | EditorTouchStateTest.java | 277 int touchSlop = mConfig.getScaledTouchSlop(); in testUpdate_drag() local 278 float newX = event1.getX() + touchSlop + 1; in testUpdate_drag()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 1144 final int touchSlop = configuration.getScaledTouchSlop(); in initialize() local 1145 sTouchSlopSquare = touchSlop * touchSlop; in initialize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelViewController.java | 1219 float touchSlop = getTouchSlop(event); in onInterceptTouchEvent() local 1220 if ((h < -touchSlop in onInterceptTouchEvent() 1221 || ((openShadeWithoutHun || mAnimatingOnDown) && hAbs > touchSlop)) in onInterceptTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 3454 final float touchSlop = getTouchSlop(ev); in onScrollTouch() local 3455 if (!mIsBeingDragged && yDiff > touchSlop && yDiff > xDiff) { in onScrollTouch() 3458 deltaY -= touchSlop; in onScrollTouch() 3460 deltaY += touchSlop; in onScrollTouch() 3617 final float touchSlop = getTouchSlop(ev); in handleEmptySpaceClick() local 3618 if (mTouchIsClick && (Math.abs(ev.getY() - mInitialTouchY) > touchSlop in handleEmptySpaceClick() 3619 || Math.abs(ev.getX() - mInitialTouchX) > touchSlop)) { in handleEmptySpaceClick()
|