Searched refs:slop (Results 1 – 13 of 13) sorted by relevance
146 int slop = mSlop; in onTouchEvent() local147 event.setLocation(-(slop * 2), -(slop * 2)); in onTouchEvent()
932 final int slop = ViewConfiguration.get(context).getScaledWindowTouchSlop(); in isOutOfBounds() local934 return (x < -slop) || (y < -slop) in isOutOfBounds()935 || (x > (decorView.getWidth()+slop)) in isOutOfBounds()936 || (y > (decorView.getHeight()+slop)); in isOutOfBounds()
11282 public boolean pointInView(float localX, float localY, float slop) {11283 return localX >= -slop && localY >= -slop && localX < ((mRight - mLeft) + slop) &&11284 localY < ((mBottom - mTop) + slop);
93 unsigned slop = frameLength - s->mMinSegmentLengthFrames*2; in split() local94 assert(slop > 0); in split()97 unsigned cut = r % slop; in split()101 unsigned rightLength = s->mMinSegmentLengthFrames + (slop - cut); in split()
125 int slop = ViewConfiguration.get(widget.getContext()).getScaledTouchSlop(); in onTouchEvent() local127 if (Math.abs(event.getX() - ds[0].mX) >= slop || in onTouchEvent()128 Math.abs(event.getY() - ds[0].mY) >= slop) { in onTouchEvent()
498 final int slop = ViewConfiguration.get(mContext).getScaledWindowTouchSlop(); in isOutOfBounds() local499 return (x < -slop) || (y < -slop) in isOutOfBounds()500 || (x > (v.getWidth()+slop)) in isOutOfBounds()501 || (y > (v.getHeight()+slop)); in isOutOfBounds()
1446 private static boolean pointInView(View view, float localX, float localY, float slop) {1447 return localX >= -slop && localY >= -slop &&1448 localX < ((view.getRight() - view.getLeft()) + slop) &&1449 localY < ((view.getBottom() - view.getTop()) + slop);
253 float slop = config.getScaledTouchSlop() * config.getScaledTouchSlop(); in onTouchEvent() local257 if (squaredDist < slop && in onTouchEvent()
127 // the touch slop, start the scroll132 // Touch slop should be calculated using ViewConfiguration 174 <p>"Touch slop" refers to the distance in pixels a user's touch can wander175 before the gesture is interpreted as scrolling. Touch slop is typically used to
57 "touch slop." Touch slop refers to the distance in pixels a user's touch can wander
803 final int slop = mDragHelper.getTouchSlop(); in onInterceptTouchEvent() local804 if (adx > slop && ady > adx) { in onInterceptTouchEvent()843 final int slop = mDragHelper.getTouchSlop(); in onTouchEvent() local844 if (dx * dx + dy * dy < slop * slop && in onTouchEvent()
1206 final int slop = mLeftDragger.getTouchSlop(); in onTouchEvent() local1207 if (dx * dx + dy * dy < slop * slop) { in onTouchEvent()
132 to support touch slop configurations for paging.</li>