Searched refs:slop (Results 1 – 8 of 8) sorted by relevance
296 public static boolean pointInView(View v, float localX, float localY, float slop) { in pointInView() argument297 return localX >= -slop && localY >= -slop && localX < (v.getWidth() + slop) && in pointInView()298 localY < (v.getHeight() + slop); in pointInView()760 float slop = ViewConfiguration.get(context).getScaledTouchSlop(); in squaredTouchSlop() local761 return slop * slop; in squaredTouchSlop()
104 float slop = ViewConfiguration.get(context).getScaledTouchSlop(); in AssistantTouchConsumer() local106 mSquaredSlop = slop * slop; in AssistantTouchConsumer()
163 float slop = QUICKSTEP_TOUCH_SLOP_RATIO * mTouchSlop; in OtherActivityInputConsumer() local164 mSquaredTouchSlop = slop * slop; in OtherActivityInputConsumer()
263 float slop = config.getScaledTouchSlop() * config.getScaledTouchSlop(); in onTouchEvent() local267 if (squaredDist < slop && in onTouchEvent()