Home
last modified time | relevance | path

Searched refs:slop (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/view/
DTouchDelegate.java146 int slop = mSlop; in onTouchEvent() local
147 event.setLocation(-(slop * 2), -(slop * 2)); in onTouchEvent()
DWindow.java1232 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()
DView.java13133 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/
DForwardingListener.java318 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/
DExpandableView.java106 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/
Dpermute.c93 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/
DTouch.java123 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/
DSearchDialog.java496 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/
DNotificationChildrenContainer.java189 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/
DCropView.java252 float slop = config.getScaledTouchSlop() * config.getScaledTouchSlop(); in onTouchEvent() local
256 if (squaredDist < slop && in onTouchEvent()
/frameworks/base/docs/html/training/gestures/
Dviewgroup.jd127 // 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
Dmovement.jd57 "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/
DSlidingPaneLayout.java813 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()
DDrawerLayout.java1509 final int slop = mLeftDragger.getTouchSlop(); in onTouchEvent() local
1510 if (dx * dx + dy * dy < slop * slop) { in onTouchEvent()
/frameworks/base/core/java/android/widget/
DEditor.java4995 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/
Drevisions.jd2566 to support touch slop configurations for paging.</li>