/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...] |
jmemansi.c | 73 * a slop factor of 5% or so.
|
jmem-android.c | 75 * a slop factor of 5% or so.
|
jmemname.c | 180 * a slop factor of 5% or so.
|
jmemsys.h | 97 * a slop factor from the true available space. 5% should be enough.
|
/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 | 133 int slop = ViewConfiguration.get(widget.getContext()).getScaledTouchSlop(); local 135 if (Math.abs(event.getX() - ds[0].mX) >= slop || 136 Math.abs(event.getY() - ds[0].mY) >= slop) {
|
ArrowKeyMovementMethod.java | 295 // Before selecting, make sure we've moved out of the "slop". 297 // OUT of the slop
|
/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 | 472 int slop = ViewConfiguration.get(mContext).getScaledTouchSlop(); local 479 // Use a smaller slop when checking to see if we've moved far enough 480 // to scroll the text, because experimentally, slop has shown to be 482 int smallerSlop = slop/2; 498 if (Math.abs((int) event.getX() - mDragStartX) < slop 499 && Math.abs((int) event.getY() - mDragStartY) < slop) { 500 // 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/skia/include/core/ |
SkDescriptor.h | 179 + 32 // slop for occational small extras
|
/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 | 647 final int slop = ViewConfiguration.get(mContext).getScaledWindowTouchSlop(); local 648 return (x < -slop) || (y < -slop) 649 || (x > (v.getWidth()+slop)) 650 || (y > (v.getHeight()+slop)); [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceRandom.java | 337 // generate some slop in the up event 348 // TODO generate some slop in the up event
|
/external/webkit/WebCore/page/mac/ |
FrameMac.mm | 188 // This is the absolute max we search. We allow a little more slop than 225 // add 100 for slop, to make it more likely that we'll search whole nodes
|
/dalvik/libcore/luni-kernel/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/ |
ThreadsTest.java | 257 * Allow a bit more slop for the maximum on "expected
|
/external/webkit/WebCore/platform/ |
Arena.cpp | 176 sz += sizeof *a + pool->mask; /* header and alignment slop */
|