]> git.eshelyaron.com Git - emacs.git/commit
Implement `fullscreen' on Android 4.0 and later
authorPo Lu <luangruo@yahoo.com>
Sun, 19 Feb 2023 05:17:43 +0000 (13:17 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 19 Feb 2023 05:17:43 +0000 (13:17 +0800)
commitc8f49c9276d34741bfbe7752dd38391c0b8d782b
tree02f627d6bcbc83900ce459570c59ec77a63152da
parentc6809eb92780f8206423898151cc40c959921753
Implement `fullscreen' on Android 4.0 and later

* doc/emacs/android.texi (Android Windowing): Document what new
frame parameters are now supported.
* java/org/gnu/emacs/EmacsActivity.java (EmacsActivity): New
field `isFullscreen'.
(detachWindow, attachWindow): Sync fullscreen state.
(onWindowFocusChanged): Add more logging.
(onResume): Restore previous fullscreen state.
(syncFullscreen): New function.
* java/org/gnu/emacs/EmacsWindow.java (EmacsWindow)
(setFullscreen): New function.
* src/android.c (struct android_emacs_window): Add new method.
(android_init_emacs_window): Look up new method.
(android_set_fullscreen): New function.
* src/androidgui.h:
* src/androidterm.c (android_fullscreen_hook): Implement
accordingly.
doc/emacs/android.texi
java/org/gnu/emacs/EmacsActivity.java
java/org/gnu/emacs/EmacsWindow.java
src/android.c
src/androidgui.h
src/androidterm.c