Searched refs:slop (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/core/java/android/view/ |
H A D | TouchDelegate.java | 49 * mBounds inflated to include some slop. This rect is to track whether the motion events 146 int slop = mSlop; 147 event.setLocation(-(slop * 2), -(slop * 2));
|
H A D | Window.java | 853 final int slop = ViewConfiguration.get(context).getScaledWindowTouchSlop(); 855 return (x < -slop) || (y < -slop) 856 || (x > (decorView.getWidth()+slop)) 857 || (y > (decorView.getHeight()+slop));
|
H A D | View.java | 3098 * Cache the touch slop from the context that created the view. 9704 * is inside the view, where the area of the view is expanded by the slop factor. 9708 private boolean pointInView(float localX, float localY, float slop) { argument 9709 return localX >= -slop && localY >= -slop && localX < ((mRight - mLeft) + slop) && 9710 localY < ((mBottom - mTop) + slop);
|
/frameworks/wilhelm/tools/permute/ |
H A D | permute.c | 92 // slop is how much wiggle room we have to play with 93 unsigned slop = frameLength - s->mMinSegmentLengthFrames*2; local 94 assert(slop > 0); 95 // choose a random cut point within the slop region 97 unsigned cut = r % slop; 101 unsigned rightLength = s->mMinSegmentLengthFrames + (slop - cut);
|
/frameworks/base/core/java/android/text/method/ |
H A D | Touch.java | 121 int slop = ViewConfiguration.get(widget.getContext()).getScaledTouchSlop(); 123 if (Math.abs(event.getX() - ds[0].mX) >= slop || 124 Math.abs(event.getY() - ds[0].mY) >= slop) {
|
/frameworks/base/core/java/android/app/ |
H A D | SearchDialog.java | 499 final int slop = ViewConfiguration.get(mContext).getScaledWindowTouchSlop(); 500 return (x < -slop) || (y < -slop) 501 || (x > (v.getWidth()+slop)) 502 || (y > (v.getHeight()+slop));
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewCore.java | 2011 private WebKitHitTest performHitTest(int x, int y, int slop, boolean moveMouse) { argument 2012 WebKitHitTest hit = nativeHitTest(mNativeClass, x, y, slop, moveMouse); 2015 hit.mHitTestSlop = slop; 3100 int slop, boolean moveMouse); 3099 nativeHitTest(int nativeClass, int x, int y, int slop, boolean moveMouse) argument
|
H A D | WebViewClassic.java | 851 // true when the touch movement exceeds the slop 871 // pre-computed density adjusted navigation slop 1637 int slop = configuration.getScaledTouchSlop(); 1638 mTouchSlopSquare = slop * slop; 1639 slop = configuration.getScaledDoubleTapSlop(); 1640 mDoubleTapSlopSquare = slop * slop; 2999 we need to account for the slop that occurs with antialiasing. To
|
Completed in 166 milliseconds