Searched defs:slop (Results 1 - 3 of 3) sorted by relevance

/frameworks/wilhelm/tools/permute/
H A Dpermute.c92 // 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);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DListPopupWindow.java1215 /** Scaled touch slop, used for detecting movement outside bounds. */
1446 private static boolean pointInView(View view, float localX, float localY, float slop) { argument
1447 return localX >= -slop && localY >= -slop &&
1448 localX < ((view.getRight() - view.getLeft()) + slop) &&
1449 localY < ((view.getBottom() - view.getTop()) + slop);
/frameworks/base/core/java/android/view/
H A DView.java3380 * Cache the touch slop from the context that created the view.
11276 * is inside the view, where the area of the view is expanded by the slop factor.
11282 public boolean pointInView(float localX, float localY, float slop) { argument
11283 return localX >= -slop && localY >= -slop && localX < ((mRight - mLeft) + slop) &&
11284 localY < ((mBottom - mTop) + slop);

Completed in 88 milliseconds