/external/chromium_org/third_party/leveldatabase/src/util/ |
arena.cc | 46 size_t slop = (current_mod == 0 ? 0 : align - current_mod); local 47 size_t needed = bytes + slop; 50 result = alloc_ptr_ + slop;
|
/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...] |
/external/qemu/distrib/jpeg-6b/ |
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));
|
Window.java | 910 final int slop = ViewConfiguration.get(context).getScaledWindowTouchSlop(); local [all...] |
/external/chromium_org/ui/chromeos/ |
touch_exploration_controller_unittest.cc | 212 int slop = gesture_detector_config_.touch_slop; local 213 int half_slop = slop / 2; 223 generator_->MoveTouch(gfx::Point(11 + slop + 1, 12)); [all...] |
/frameworks/base/core/java/android/text/method/ |
Touch.java | 125 int slop = ViewConfiguration.get(widget.getContext()).getScaledTouchSlop(); local 127 if (Math.abs(event.getX() - ds[0].mX) >= slop || 128 Math.abs(event.getY() - ds[0].mY) >= slop) { 226 * Checks if selection has begun (are we out of slop?).
|
/frameworks/wilhelm/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);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LintTooltipManager.java | 155 int slop = mVScale.inverseScale(10); // extra space around icon where tip triggers local 168 if (p.x < x2 - layoutIconSize - slop 169 || p.x > x2 + slop 170 || p.y < y2 - layoutIconSize - slop 171 || p.y > y2 + slop) {
|
/external/chromium_org/third_party/libXNVCtrl/ |
NVCtrl.c | 438 int length, numbytes, slop; local 463 slop = numbytes & 3; 475 if (slop) _XEatData(dpy, 4-slop); 982 int length, numbytes, slop; local 1007 slop = numbytes & 3; 1019 if (slop) _XEatData(dpy, 4-slop); 1053 int inSize, outSize, length, slop; local 1097 slop = outSize & 3 [all...] |
/hardware/intel/common/libva/va/x11/ |
va_nvctrl.c | 283 int length, numbytes, slop; local 308 slop = numbytes & 3; 317 if (slop) _XEatData(dpy, 4-slop);
|
/external/chromium_org/net/http/ |
http_util.cc | 492 // some slop at the start. If the "http" string could not be found 496 const int slop = 4; local 500 int i_max = std::min(buf_len - http_len, slop); 575 // Skip any leading slop, since the consumers of this output
|
/external/pdfium/core/src/fxcodec/libjpeg/ |
fpdfapi_jmemmgr.c | 235 * we try to get enough space for the current request plus a "slop" factor,
236 * where the slop will be the amount of leftover space in the new pool.
237 * The speed vs. space tradeoff is largely determined by the slop values.
238 * A different slop value is provided for each pool class (lifetime),
266 size_t odd_bytes, min_request, slop;
local 291 /* min_request is what we need now, slop is what will be leftover */
294 slop = first_pool_slop[pool_id];
296 slop = extra_pool_slop[pool_id];
298 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request))
299 slop = (size_t) (MAX_ALLOC_CHUNK-min_request); [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
CropView.java | 253 float slop = config.getScaledTouchSlop() * config.getScaledTouchSlop(); local 257 if (squaredDist < slop &&
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
CropView.java | 253 float slop = config.getScaledTouchSlop() * config.getScaledTouchSlop(); local 257 if (squaredDist < slop &&
|
/frameworks/base/core/java/android/app/ |
SearchDialog.java | 498 final int slop = ViewConfiguration.get(mContext).getScaledWindowTouchSlop(); local 499 return (x < -slop) || (y < -slop) 500 || (x > (v.getWidth()+slop)) 501 || (y > (v.getHeight()+slop));
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragController.java | 531 final int slop = ViewConfiguration.get(mLauncher).getScaledWindowTouchSlop(); local 532 final int delay = mDistanceSinceScroll < slop ? RESCROLL_DELAY : SCROLL_DELAY;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
DragController.java | 524 final int slop = ViewConfiguration.get(mLauncher).getScaledWindowTouchSlop(); local 525 final int delay = mDistanceSinceScroll < slop ? RESCROLL_DELAY : SCROLL_DELAY;
|
/external/chromium_org/ui/events/gestures/ |
gesture_sequence.cc | 1024 float slop = GestureConfiguration::max_touch_move_in_pixels_for_click(); local [all...] |
/packages/apps/Dialer/src/com/android/dialer/widget/ |
OverlappingPaneLayout.java | 171 * vertical scroll is less than the the nested list's touch slop. 681 final int slop = mDragHelper.getTouchSlop(); local 682 if (ady > slop && adx > ady || !isCapturableViewUnder((int) x, (int) y)) { [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
SlidingPaneLayout.java | 803 final int slop = mDragHelper.getTouchSlop(); local 804 if (adx > slop && ady > adx) { 843 final int slop = mDragHelper.getTouchSlop(); local [all...] |
DrawerLayout.java | 1175 final int slop = mLeftDragger.getTouchSlop(); local [all...] |
/prebuilts/devtools/tools/lib/ |
jobb.jar | |