Code example for View.OnTouchListener

Methods: onTouch

        } else if (mDispatchEvents) {
        // 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) {