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

1 2 3 4

  /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 1203 final int slop = ViewConfiguration.get(context).getScaledWindowTouchSlop(); local
    [all...]
  /prebuilts/go/darwin-x86/src/time/
tick_test.go 24 slop := target * 2 / 10
25 if dt < target-slop || (!testing.Short() && dt > target+slop) {
26 t.Fatalf("%d %s ticks took %s, expected [%s,%s]", Count, Delta, dt, target-slop, target+slop)
  /prebuilts/go/linux-x86/src/time/
tick_test.go 24 slop := target * 2 / 10
25 if dt < target-slop || (!testing.Short() && dt > target+slop) {
26 t.Fatalf("%d %s ticks took %s, expected [%s,%s]", Count, Delta, dt, target-slop, target+slop)
  /external/mesa3d/src/glx/
packsingle.h 172 GLint slop = alen*__GLX_SIZE_INT8 & 3; \
174 if (slop) _XEatData(dpy,4-slop); \
179 GLint slop = alen*__GLX_SIZE_INT8 & 3; \
181 if (slop) _XEatData(dpy,4-slop); \
187 GLint slop = (alen*__GLX_SIZE_INT16) & 3; \
189 if (slop) _XEatData(dpy,4-slop); \
  /packages/apps/Launcher3/src/com/android/launcher3/
StylusEventHelper.java 29 final float slop = ViewConfiguration.get(mView.getContext()).getScaledTouchSlop(); local
46 if (Utilities.pointInView(mView, event.getX(), event.getY(), slop)) {
Utilities.java 394 * is inside the view, where the area of the view is expanded by the slop factor.
398 public static boolean pointInView(View v, float localX, float localY, float slop) {
399 return localX >= -slop && localY >= -slop && localX < (v.getWidth() + slop) &&
400 localY < (v.getHeight() + slop);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
ExpandableView.java 106 public boolean pointInView(float localX, float localY, float slop) {
109 return localX >= -slop && localY >= top - slop && localX < ((mRight - mLeft) + slop) &&
110 localY < (bottom + slop);
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ForwardingListener.java 38 /** Scaled touch slop, used for detecting movement outside bounds. */
313 private static boolean pointInView(View view, float localX, float localY, float slop) {
314 return localX >= -slop && localY >= -slop &&
315 localX < ((view.getRight() - view.getLeft()) + slop) &&
316 localY < ((view.getBottom() - view.getTop()) + slop);
  /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) {
  /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);
  /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/opencv3/3rdparty/libtiff/
tif_packbits.c 71 long n, slop; local
96 slop = (long)(op - lastliteral);
101 while (slop-- > 0)
  /external/pdfium/third_party/libtiff/
tif_packbits.c 71 long n, slop; local
96 slop = (long)(op - lastliteral);
101 while (slop-- > 0)
  /frameworks/base/core/java/android/text/method/
Touch.java 123 int slop = ViewConfiguration.get(widget.getContext()).getScaledTouchSlop(); local
125 if (Math.abs(event.getX() - ds[0].mX) >= slop ||
126 Math.abs(event.getY() - ds[0].mY) >= slop) {
  /external/libjpeg-turbo/
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),
270 size_t min_request, slop; local
298 /* min_request is what we need now, slop is what will be leftover */
301 slop = first_pool_slop[pool_id];
303 slop = extra_pool_slop[pool_id];
305 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request))
306 slop = (size_t) (MAX_ALLOC_CHUNK-min_request)
    [all...]
  /external/opencv3/3rdparty/libjpeg/
jmemmgr.c 233 * we try to get enough space for the current request plus a "slop" factor,
234 * where the slop will be the amount of leftover space in the new pool.
235 * The speed vs. space tradeoff is largely determined by the slop values.
236 * A different slop value is provided for each pool class (lifetime),
264 size_t odd_bytes, min_request, slop; local
289 /* min_request is what we need now, slop is what will be leftover */
292 slop = first_pool_slop[pool_id];
294 slop = extra_pool_slop[pool_id];
296 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request))
297 slop = (size_t) (MAX_ALLOC_CHUNK-min_request)
    [all...]
  /external/pdfium/third_party/libjpeg/
fpdfapi_jmemmgr.c 234 * we try to get enough space for the current request plus a "slop" factor,
235 * where the slop will be the amount of leftover space in the new pool.
236 * The speed vs. space tradeoff is largely determined by the slop values.
237 * A different slop value is provided for each pool class (lifetime),
265 size_t odd_bytes, min_request, slop; local
290 /* min_request is what we need now, slop is what will be leftover */
293 slop = first_pool_slop[pool_id];
295 slop = extra_pool_slop[pool_id];
297 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request))
298 slop = (size_t) (MAX_ALLOC_CHUNK-min_request)
    [all...]
  /libcore/ojluni/src/main/java/sun/misc/
FormattedFloatingDecimal.java     [all...]
  /frameworks/base/core/java/android/app/
SearchDialog.java 496 final int slop = ViewConfiguration.get(mContext).getScaledWindowTouchSlop(); local
497 return (x < -slop) || (y < -slop)
498 || (x > (v.getWidth()+slop))
499 || (y > (v.getHeight()+slop));
  /libcore/ojluni/src/main/java/java/lang/
FloatingDecimal.java     [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
CropView.java 252 float slop = config.getScaledTouchSlop() * config.getScaledTouchSlop(); local
256 if (squaredDist < slop &&
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
CropView.java 264 float slop = config.getScaledTouchSlop() * config.getScaledTouchSlop(); local
268 if (squaredDist < slop &&
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
NotificationChildrenContainer.java 186 public boolean pointInView(float localX, float localY, float slop) {
187 return localX >= -slop && localY >= -slop && localX < ((mRight - mLeft) + slop) &&
188 localY < (mRealHeight + slop);
    [all...]
  /prebuilts/devtools/tools/lib/
jobb.jar 

Completed in 1928 milliseconds

1 2 3 4