Code example for View.OnTouchListener

Methods: onTouch

0
        } else if (mDispatchEvents) {
            dispatchEvent(event);
        } 
 
        // notify gecko of the event 
        mOnTouchListener.onTouch(mView, event);
 
        return true; 
    } 
 
    /** 
     * This function is how gecko sends us a default-prevented notification. It is called 
     * once gecko knows definitively whether the block of events has had preventDefault 
     * called on it (either on the initial down event that starts the block, or on 
     * the first event following that down event). 
     * 
     * This function MUST be called on the UI thread. 
     */ 
    public void handleEventListenerAction(boolean allowDefaultAction) {
        if (mProcessingBalance > 0) {
            // this event listener that triggered this took too long, and the corresponding