wineandroid.drv: Add Override annotation to overridden methods.

Signed-off-by: Isira Seneviratne <isirasen96@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Isira Seneviratne 2019-03-28 15:08:30 +05:30 committed by Alexandre Julliard
parent d9da6e642e
commit f33c51bb8c
1 changed files with 7 additions and 0 deletions

View File

@ -672,6 +672,7 @@ public WineWindow get_window()
return window;
}
@Override
public void onSurfaceTextureAvailable( SurfaceTexture surftex, int width, int height )
{
Log.i( LOGTAG, String.format( "onSurfaceTextureAvailable win %08x %dx%d %s",
@ -679,6 +680,7 @@ public void onSurfaceTextureAvailable( SurfaceTexture surftex, int width, int he
window.set_surface( surftex, is_client );
}
@Override
public void onSurfaceTextureSizeChanged( SurfaceTexture surftex, int width, int height )
{
Log.i( LOGTAG, String.format( "onSurfaceTextureSizeChanged win %08x %dx%d %s",
@ -686,6 +688,7 @@ public void onSurfaceTextureSizeChanged( SurfaceTexture surftex, int width, int
window.set_surface( surftex, is_client);
}
@Override
public boolean onSurfaceTextureDestroyed( SurfaceTexture surftex )
{
Log.i( LOGTAG, String.format( "onSurfaceTextureDestroyed win %08x %s",
@ -694,6 +697,7 @@ public boolean onSurfaceTextureDestroyed( SurfaceTexture surftex )
return false; // hold on to the texture since the app may still be using it
}
@Override
public void onSurfaceTextureUpdated(SurfaceTexture surftex)
{
}
@ -704,6 +708,7 @@ public PointerIcon onResolvePointerIcon( MotionEvent event, int index )
return current_cursor;
}
@Override
public boolean onGenericMotionEvent( MotionEvent event )
{
if (is_client) return false; // let the whole window handle it
@ -722,6 +727,7 @@ public boolean onGenericMotionEvent( MotionEvent event )
return super.onGenericMotionEvent(event);
}
@Override
public boolean onTouchEvent( MotionEvent event )
{
if (is_client) return false; // let the whole window handle it
@ -736,6 +742,7 @@ public boolean onTouchEvent( MotionEvent event )
event.getButtonState(), 0 );
}
@Override
public boolean dispatchKeyEvent( KeyEvent event )
{
Log.i( LOGTAG, String.format( "view key event win %08x action %d keycode %d (%s)",