/frameworks/base/core/java/android/view/ |
D | TouchDelegate.java | 146 int slop = mSlop; in onTouchEvent() local 147 event.setLocation(-(slop * 2), -(slop * 2)); in onTouchEvent()
|
D | Window.java | 1232 final int slop = ViewConfiguration.get(context).getScaledWindowTouchSlop(); in isOutOfBounds() local 1234 return (x < -slop) || (y < -slop) in isOutOfBounds() 1235 || (x > (decorView.getWidth()+slop)) in isOutOfBounds() 1236 || (y > (decorView.getHeight()+slop)); in isOutOfBounds()
|
D | View.java | 13133 public boolean pointInView(float localX, float localY, float slop) { in pointInView() argument 13134 return localX >= -slop && localY >= -slop && localX < ((mRight - mLeft) + slop) && in pointInView() 13135 localY < ((mBottom - mTop) + slop); in pointInView()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ForwardingListener.java | 318 private static boolean pointInView(View view, float localX, float localY, float slop) { in pointInView() argument 319 return localX >= -slop && localY >= -slop && in pointInView() 320 localX < ((view.getRight() - view.getLeft()) + slop) && in pointInView() 321 localY < ((view.getBottom() - view.getTop()) + slop); in pointInView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ExpandableView.java | 106 public boolean pointInView(float localX, float localY, float slop) { in pointInView() argument 109 return localX >= -slop && localY >= top - slop && localX < ((mRight - mLeft) + slop) && in pointInView() 110 localY < (bottom + slop); in pointInView()
|
/frameworks/wilhelm/tools/permute/ |
D | permute.c | 93 unsigned slop = frameLength - s->mMinSegmentLengthFrames*2; in split() local 94 assert(slop > 0); in split() 97 unsigned cut = r % slop; in split() 101 unsigned rightLength = s->mMinSegmentLengthFrames + (slop - cut); in split()
|
/frameworks/base/core/java/android/text/method/ |
D | Touch.java | 123 int slop = ViewConfiguration.get(widget.getContext()).getScaledTouchSlop(); in onTouchEvent() local 125 if (Math.abs(event.getX() - ds[0].mX) >= slop || in onTouchEvent() 126 Math.abs(event.getY() - ds[0].mY) >= slop) { in onTouchEvent()
|
/frameworks/base/core/java/android/app/ |
D | SearchDialog.java | 496 final int slop = ViewConfiguration.get(mContext).getScaledWindowTouchSlop(); in isOutOfBounds() local 497 return (x < -slop) || (y < -slop) in isOutOfBounds() 498 || (x > (v.getWidth()+slop)) in isOutOfBounds() 499 || (y > (v.getHeight()+slop)); in isOutOfBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationChildrenContainer.java | 189 public boolean pointInView(float localX, float localY, float slop) { in pointInView() argument 190 return localX >= -slop && localY >= -slop && localX < ((mRight - mLeft) + slop) && in pointInView() 191 localY < (mRealHeight + slop); in pointInView()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 252 float slop = config.getScaledTouchSlop() * config.getScaledTouchSlop(); in onTouchEvent() local 256 if (squaredDist < slop && in onTouchEvent()
|
/frameworks/base/docs/html/training/gestures/ |
D | viewgroup.jd | 127 // the touch slop, start the scroll 132 // Touch slop should be calculated using ViewConfiguration 174 <p>"Touch slop" refers to the distance in pixels a user's touch can wander 175 before the gesture is interpreted as scrolling. Touch slop is typically used to
|
D | movement.jd | 57 "touch slop." Touch slop refers to the distance in pixels a user's touch can wander
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | SlidingPaneLayout.java | 813 final int slop = mDragHelper.getTouchSlop(); in onInterceptTouchEvent() local 814 if (adx > slop && ady > adx) { in onInterceptTouchEvent() 853 final int slop = mDragHelper.getTouchSlop(); in onTouchEvent() local 854 if (dx * dx + dy * dy < slop * slop in onTouchEvent()
|
D | DrawerLayout.java | 1509 final int slop = mLeftDragger.getTouchSlop(); in onTouchEvent() local 1510 if (dx * dx + dy * dy < slop * slop) { in onTouchEvent()
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 4995 final float slop = mTextView.getLineHeight() * LINE_SLOP_MULTIPLIER_FOR_HANDLEVIEWS; 4999 final float yTopBound = Math.max(prevLineTop - slop, firstLineTop + slop); 5003 final float yBottomBound = Math.min(prevLineBottom + slop, lastLineBottom - slop);
|
/frameworks/base/docs/html/topic/libraries/support-library/ |
D | revisions.jd | 2566 to support touch slop configurations for paging.</li>
|