Searched defs:slop (Results 1 - 2 of 2) 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/base/core/java/android/view/
H A DView.java3275 * Cache the touch slop from the context that created the view.
10375 * is inside the view, where the area of the view is expanded by the slop factor.
10381 public boolean pointInView(float localX, float localY, float slop) { argument
10382 return localX >= -slop && localY >= -slop && localX < ((mRight - mLeft) + slop) &&
10383 localY < ((mBottom - mTop) + slop);

Completed in 129 milliseconds