HomeSort by relevance Sort by last modified time
    Searched defs:slop (Results 1 - 15 of 15) sorted by null

  /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...]
  /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...]
  /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) {
  /external/webkit/JavaScriptCore/tests/mozilla/js1_5/Regress/
regress-216320.js 820 function slop(lbx,value) {
  /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);
  /external/chromium/net/http/
http_util.cc 428 // some slop at the start. If the "http" string could not be found
432 const int slop = 4; local
436 int i_max = std::min(buf_len - http_len, slop);
511 // Skip any leading slop, since the consumers of this output
  /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/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...]
  /external/webkit/WebKit/android/nav/
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...]
  /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...]
  /cts/tests/tests/view/src/android/view/cts/
ViewTest.java 3715 int slop = ViewConfiguration.get(mActivity).getScaledTouchSlop(); local
    [all...]

Completed in 172 milliseconds