/frameworks/base/core/java/android/view/ |
TouchDelegate.java | 49 * mBounds inflated to include some slop. This rect is to track whether the motion events 146 int slop = mSlop; local 147 event.setLocation(-(slop * 2), -(slop * 2));
|
View.java | 4503 int slop = mTouchSlop; local [all...] |
/external/jpeg/ |
jmemmac.c | 18 * application's zone, with the exception of the rather small "slop" 123 long slop, mem; local 132 * We add some slop to ensure we don't use up all available memory. 134 slop = max_bytes_needed / 16 + 32768L; 135 mem = CompactMem(max_bytes_needed + slop) - slop; 137 mem = 0; /* sigh, couldn't even get the slop */
|
jmemmgr.c | 232 * we try to get enough space for the current request plus a "slop" factor, 233 * where the slop will be the amount of leftover space in the new pool. 234 * The speed vs. space tradeoff is largely determined by the slop values. 235 * A different slop value is provided for each pool class (lifetime), 263 size_t odd_bytes, min_request, slop; local 288 /* min_request is what we need now, slop is what will be leftover */ 291 slop = first_pool_slop[pool_id]; 293 slop = extra_pool_slop[pool_id]; 295 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request)) 296 slop = (size_t) (MAX_ALLOC_CHUNK-min_request) [all...] |
/system/media/opensles/tools/permute/ |
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/ |
Touch.java | 132 int slop = ViewConfiguration.get(widget.getContext()).getScaledTouchSlop(); local 134 if (Math.abs(event.getX() - ds[0].mX) >= slop || 135 Math.abs(event.getY() - ds[0].mY) >= slop) {
|
/frameworks/base/core/java/android/app/ |
Dialog.java | 568 final int slop = ViewConfiguration.get(mContext).getScaledWindowTouchSlop(); local 570 return (x < -slop) || (y < -slop) 571 || (x > (decorView.getWidth()+slop)) 572 || (y > (decorView.getHeight()+slop)); [all...] |
SearchDialog.java | 649 final int slop = ViewConfiguration.get(mContext).getScaledWindowTouchSlop(); local 650 return (x < -slop) || (y < -slop) 651 || (x > (v.getWidth()+slop)) 652 || (y > (v.getHeight()+slop)); [all...] |
/packages/apps/Browser/src/com/android/browser/ |
TitleBar.java | 182 int slop = ViewConfiguration.get(mBrowserActivity) local 184 if ((int) event.getY() > getHeight() + slop) { 195 if (mTitleBg.isPressed() && x > titleRight + slop) { 198 } else if (button.isPressed() && x < titleRight - slop) {
|
/frameworks/base/core/java/android/webkit/ |
WebTextView.java | 500 int slop = ViewConfiguration.get(mContext).getScaledTouchSlop(); local 507 // Use a smaller slop when checking to see if we've moved far enough 508 // to scroll the text, because experimentally, slop has shown to be 510 int smallerSlop = slop/2; 517 if (Math.abs((int) event.getX() - mDragStartX) < slop 518 && Math.abs((int) event.getY() - mDragStartY) < slop) { 519 // If the user has not scrolled further than slop, we should not [all...] |
WebView.java | 485 // true when the touch movement exceeds the slop 519 // pre-computed density adjusted navigation slop 1026 int slop = configuration.getScaledTouchSlop(); local [all...] |
/external/webkit/WebKit/android/nav/ |
WebView.cpp | 841 bool pointInNavCache(int x, int y, int slop) 846 IntRect rect = IntRect(x - slop, y - slop, slop * 2, slop * 2); 851 bool motionUp(int x, int y, int slop) 855 IntRect rect = IntRect(x - slop, y - slop, slop * 2, slop * 2) [all...] |
CachedRoot.cpp | 376 && mPartial.fRight + SLOP >= rect.fLeft 402 touch coordinates, given some slop */ 410 if (!mBounds.isEmpty() && (mPartial.fTop > mBounds.fBottom + SLOP 411 || mPartial.fBottom < mBounds.fTop - SLOP)) { 443 static const int SLOP = 30; // space between text parts and lines 534 touch coordinates, given some slop */ 836 const int slop = 1; local 837 WebCore::IntRect rect = WebCore::IntRect(x - slop, y - slop, 838 slop * 2, slop * 2) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AllApps3D.java | 652 int slop; 653 slop = Math.abs(rawY - mMotionDownRawY); 655 if (!mStartedScrolling && slop < mSlop) { [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Regress/ |
regress-216320.js | 820 function slop(lbx,value) {
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewTest.java | 3715 int slop = ViewConfiguration.get(mActivity).getScaledTouchSlop(); local [all...] |
/external/v8/test/mjsunit/ |
unicode-test.js | [all...] |