Search in sources :

Example 16 with IVLCVout

use of org.videolan.libvlc.IVLCVout in project vlc-android by GeoffreyMetais.

the class VideoPlayerActivity method sendMouseEvent.

private void sendMouseEvent(int action, int x, int y) {
    if (mService == null)
        return;
    final IVLCVout vlcVout = mService.getVLCVout();
    vlcVout.sendMouseEvent(action, 0, x, y);
}
Also used : IVLCVout(org.videolan.libvlc.IVLCVout)

Aggregations

IVLCVout (org.videolan.libvlc.IVLCVout)16 TargetApi (android.annotation.TargetApi)6 SuppressLint (android.annotation.SuppressLint)2 GestureDetectorCompat (android.support.v4.view.GestureDetectorCompat)2 LayoutInflater (android.view.LayoutInflater)2 SurfaceView (android.view.SurfaceView)2 LayoutParams (android.view.ViewGroup.LayoutParams)2 FrameLayout (android.widget.FrameLayout)2