HomeSort by relevance Sort by last modified time
    Searched full:slop (Results 1 - 25 of 68) sorted by null

1 2 3

  /external/chromium/third_party/icu/source/test/perf/usetperf/
bitset.cpp 16 const int32_t SLOP = 8;
21 len = SLOP;
  /external/icu4c/test/perf/usetperf/
bitset.cpp 16 const int32_t SLOP = 8;
21 len = SLOP;
  /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));
  /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...]
jmem-ashmem.c 73 * a slop factor of 5% or so.
jmemansi.c 73 * a slop factor of 5% or so.
jmem-android.c 75 * a slop factor of 5% or so.
  /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/icu4c/samples/datefmt/
util.cpp 55 plus some slop. */
  /external/icu4c/samples/msgfmt/
util.cpp 55 plus some slop. */
  /external/icu4c/samples/translit/
util.cpp 55 plus some slop. */
  /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) {
ArrowKeyMovementMethod.java 218 // Before selecting, make sure we've moved out of the "slop".
220 // OUT of the slop
  /frameworks/base/tools/obbtool/
mkobb.sh 29 SLOP=512 # Amount of filesystem slop in ${BLOCK_SIZE} blocks
221 ${DDBIN} if=/dev/zero of=${tempfile} bs=${BLOCK_SIZE} count=$((${block_count} + ${SLOP})) > /dev/null 2>&1
  /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) {
  /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...]
  /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...]
  /bionic/libc/stdio/
findfp.c 144 n = getdtablesize() - FOPEN_MAX + 20; /* 20 for slop. */
  /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
  /external/skia/include/core/
SkDescriptor.h 179 + 32 // slop for occational small extras
  /libcore/luni/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/
ThreadsTest.java 210 * Allow a bit more slop for the maximum on "expected
  /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...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeySourceRandom.java 394 // generate some slop in the up event
405 // TODO generate some slop in the up event

Completed in 315 milliseconds

1 2 3