test if a motionevent with the given start and end offsets can be considered as a `` click '' . concode_field_sep OnPinchListener onPinchListener concode_elem_sep float lastDownX concode_elem_sep float lastDownY concode_elem_sep Runnable runnableClick concode_elem_sep State state concode_elem_sep float pointer2LastY concode_elem_sep Handler handlerClick concode_elem_sep float pointer2LastX concode_elem_sep int POINTER1 concode_elem_sep float dragLastY concode_elem_sep float dragLastX concode_elem_sep float MAX_CLICK_DISTANCE concode_elem_sep long lastClickTime concode_elem_sep float zoomLastDistance concode_elem_sep OnDragListener onDragListener concode_elem_sep OnDoubleTapListener onDoubleTapListener concode_elem_sep View mView concode_elem_sep long MAX_CLICK_TIME concode_elem_sep float MAX_DOUBLE_CLICK_TIME concode_elem_sep int POINTER2 concode_field_sep void endDrag concode_elem_sep void endDrag concode_elem_sep float distance concode_elem_sep void setOnDragListener concode_elem_sep void run concode_elem_sep void zoom concode_elem_sep void onDrag concode_elem_sep void setOnPinchListener concode_elem_sep void startZoom concode_elem_sep void onDoubleTap concode_elem_sep void setOnDoubleTapListener concode_elem_sep void startDrag concode_elem_sep void startDrag concode_elem_sep void onPinch concode_elem_sep void drag concode_elem_sep boolean onTouch
boolean function ( MotionEvent arg0 , float arg1 , float arg2 , float arg3 , float arg4 ) { if ( arg0 == null ) return false ; long loc0 = arg0 . getEventTime ( ) - arg0 . getDownTime ( ) ; float loc1 = PointF . length ( arg1 - arg3 , arg2 - arg4 ) ; return loc0 < MAX_CLICK_TIME && loc1 < MAX_CLICK_DISTANCE ; }