Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f33c51bb
Commit
f33c51bb
authored
Mar 28, 2019
by
Isira Seneviratne
Committed by
Alexandre Julliard
Mar 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineandroid.drv: Add Override annotation to overridden methods.
Signed-off-by:
Isira Seneviratne
<
isirasen96@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d9da6e64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
WineActivity.java
dlls/wineandroid.drv/WineActivity.java
+7
-0
No files found.
dlls/wineandroid.drv/WineActivity.java
View file @
f33c51bb
...
...
@@ -672,6 +672,7 @@ public class WineActivity extends Activity
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 class WineActivity extends Activity
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 class WineActivity extends Activity
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 class WineActivity extends Activity
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 class WineActivity extends Activity
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 class WineActivity extends Activity
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 class WineActivity extends Activity
event
.
getButtonState
(),
0
);
}
@Override
public
boolean
dispatchKeyEvent
(
KeyEvent
event
)
{
Log
.
i
(
LOGTAG
,
String
.
format
(
"view key event win %08x action %d keycode %d (%s)"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment