Searched refs:touchSlop (Results 1 – 10 of 10) sorted by relevance
41 fun addPointerInputChange(dragEvent: PointerInputChange, touchSlop: Float): Offset { in mainAxis()54 val hasCrossedSlop = inDirection >= touchSlop in mainAxis()57 calculatePostSlopOffset(touchSlop) in mainAxis()74 private fun calculatePostSlopOffset(touchSlop: Float): Offset { in calculatePostSlopOffset()77 totalPositionChange / totalPositionChange.getDistance() * touchSlop in calculatePostSlopOffset()82 totalPositionChange.mainAxis() - (sign(totalPositionChange.mainAxis()) * touchSlop) in calculatePostSlopOffset()
51 private float touchSlop; field in PhoneFavoriteListView105 touchSlop = ViewConfiguration.get(context).getScaledPagingTouchSlop(); in PhoneFavoriteListView()112 touchSlop = ViewConfiguration.get(getContext()).getScaledPagingTouchSlop(); in onConfigurationChanged()153 (Math.abs(lastDragY - touchDownForDragStartY) >= 4 * touchSlop)) { in onDragEvent()
175 val touchSlop = viewConfiguration.touchSlop in transferTouchesToSurfaceControlViewHost() constant198 touchSlopDetector.addPointerInputChange(dragEvent, touchSlop) in transferTouchesToSurfaceControlViewHost()
641 float touchSlop = ViewConfiguration.get(mContext).getScaledTouchSlop(); in getTouchSlop() local646 return customSlopMultiplier * slopMultiplier * touchSlop; in getTouchSlop()648 return slopMultiplier * touchSlop; in getTouchSlop()658 float touchSlop = getTouchSlop(); in getSquaredTouchSlop() local659 return touchSlop * touchSlop; in getSquaredTouchSlop()
50 private int touchSlop; field in SwipeButtonHelper114 touchSlop = configuration.getScaledPagingTouchSlop(); in initDimens()182 if (!touchSlopExeeded && distance > touchSlop) { in onTouchEvent()486 return translation > 0.0f ? translation + touchSlop : 0.0f; in getTranslationFromRadius()490 if (translation <= touchSlop) { in getRadiusFromTranslation()493 return (translation - touchSlop) * BACKGROUND_RADIUS_SCALE_FACTOR + minBackgroundRadius; in getRadiusFromTranslation()
348 float touchSlop = (float) mHeadsUpNotificationOnTouchListener.getTouchSlop(); in setUpMotionEvents() local359 when(mMoveMotionEventLessThanTouchSlop.getRawX()).thenReturn(touchSlop - TRANSLATION); in setUpMotionEvents()360 when(mMoveMotionEventLessThanTouchSlop.getRawY()).thenReturn(touchSlop - TRANSLATION); in setUpMotionEvents()365 when(mMoveMotionEventMoreThanTouchSlop.getRawX()).thenReturn(touchSlop + TRANSLATION); in setUpMotionEvents()366 when(mMoveMotionEventMoreThanTouchSlop.getRawY()).thenReturn(touchSlop + TRANSLATION); in setUpMotionEvents()
156 private float touchSlop; field in FlingUpDownTouchHandler179 touchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); in FlingUpDownTouchHandler()274 if (Math.abs(deltaY) > touchSlop) { in onTouch()295 || Math.abs(pointerY - initialTouchY) > touchSlop in endMotionEvent()
110 if ((up.position - down.position).getDistance() >= viewConfiguration.touchSlop) in conditional()
1147 boolean shouldClearFocus(MotionEvent ev, float touchSlop) { in shouldClearFocus() argument1173 if (distY >= touchSlop || distX >= touchSlop) { in shouldClearFocus()
1173 final int touchSlop = Math.round(touchSlopScale * mTouchSlop); in determineScrollingStart() local1174 boolean moved = diff > touchSlop || ev.getAction() == ACTION_MOVE_ALLOW_EASY_FLING; in determineScrollingStart()