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

1 2

  /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 961 final int slop = ViewConfiguration.get(context).getScaledWindowTouchSlop(); local
    [all...]
View.java     [all...]
  /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 32 final float slop = ViewConfiguration.get(mView.getContext()).getScaledTouchSlop(); local
49 if (Utilities.pointInView(mView, event.getX(), event.getY(), slop)) {
Utilities.java 333 * is inside the view, where the area of the view is expanded by the slop factor.
337 public static boolean pointInView(View v, float localX, float localY, float slop) {
338 return localX >= -slop && localY >= -slop && localX < (v.getWidth() + slop) &&
339 localY < (v.getHeight() + slop);
DragController.java 549 final int slop = ViewConfiguration.get(mLauncher).getScaledWindowTouchSlop(); local
550 final int delay = mDistanceSinceScroll < slop ? RESCROLL_DELAY : SCROLL_DELAY;
  /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...]
  /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);
  /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?).
  /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/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));
  /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 252 float slop = config.getScaledTouchSlop() * config.getScaledTouchSlop(); local
256 if (squaredDist < slop &&
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ListPopupWindow.java     [all...]
  /prebuilts/devtools/tools/lib/
jobb.jar 
  /frameworks/support/v4/java/android/support/v4/widget/
SlidingPaneLayout.java 806 final int slop = mDragHelper.getTouchSlop(); local
807 if (adx > slop && ady > adx) {
846 final int slop = mDragHelper.getTouchSlop(); local
    [all...]
DrawerLayout.java 1351 final int slop = mLeftDragger.getTouchSlop(); local
    [all...]
  /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;
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.lucene_1.9.1.v20100518-1140.jar 
  /frameworks/base/core/java/android/widget/
Editor.java     [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewTest.java 2720 int slop = ViewConfiguration.get(mActivity).getScaledTouchSlop(); local
    [all...]

Completed in 1631 milliseconds

1 2