Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
flycast
Commits
0d91b537
Commit
0d91b537
authored
Jan 29, 2014
by
Matteo Hausner
Browse files
Merge pull request
#183
from bwRavencl/immersive-mode
Immersive mode
parents
5771deda
57212196
Changes
2
Hide whitespace changes
Inline
Side-by-side
shell/android/res/values-ru/strings.xml
View file @
0d91b537
<resources>
<string
name=
"app_name"
>
reicast
</string>
<string
name=
"hello_world"
>
Hello world!
</string>
<string
name=
"menu_settings"
>
Настройки
</string>
<string
name=
"title_activity_main"
>
reicast
</string>
<string
name=
"system_path"
>
Системная папка (папка с dc_boot.bin/dc_flash.bin)
</string>
...
...
shell/android/src/com/reicast/emulator/GL2JNIView.java
View file @
0d91b537
...
...
@@ -200,7 +200,7 @@ class GL2JNIView extends GLSurfaceView
resetEditMode
();
requestLayout
();
}
}
public
GL2JNIView
(
Context
context
,
String
newFileName
,
boolean
translucent
,
int
depth
,
int
stencil
,
boolean
editVjoyMode
)
{
...
...
@@ -208,6 +208,19 @@ class GL2JNIView extends GLSurfaceView
this
.
context
=
context
;
this
.
editVjoyMode
=
editVjoyMode
;
setKeepScreenOn
(
true
);
setOnSystemUiVisibilityChangeListener
(
new
OnSystemUiVisibilityChangeListener
()
{
@Override
public
void
onSystemUiVisibilityChange
(
int
visibility
)
{
if
((
visibility
&
SYSTEM_UI_FLAG_FULLSCREEN
)
==
0
)
{
GL2JNIView
.
this
.
setSystemUiVisibility
(
SYSTEM_UI_FLAG_IMMERSIVE_STICKY
|
SYSTEM_UI_FLAG_FULLSCREEN
|
SYSTEM_UI_FLAG_HIDE_NAVIGATION
);
}
}
});
vib
=(
Vibrator
)
context
.
getSystemService
(
Context
.
VIBRATOR_SERVICE
);
Runtime
.
getRuntime
().
freeMemory
();
...
...
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