Code example for PointF

0
     */ 
    private Handler mHandler = null;
    private PendingCheckForLongClick mPendingCheckForLongClick = null;
    private boolean mWaitingForLongClick;
    static final int LONG_CLICK_TOLERANCE = 20;
    PointF start = new PointF();
    PointF last = new PointF();
 
    class PendingCheckForLongClick implements Runnable {
        public void run() { 
            // Log.d("PendingCheckForLongClick", "run"); 
            if (mWaitingForLongClick) {
                mWaitingForLongClick = false;
                onLongClickEvent(); 
            } 
        } 
    } 
 
    private void checkForLongClick(int delayOffset) {
        // Log.d("checkForLongClick", "check"); 
        mWaitingForLongClick = true;