there can be events can have both SOURCE_TOUCHSCREEN and SOURCE_STYLUS. handle them as touch events rather than mouse events. (cherry picked from commit 408000752c)
408000752c