]> git.eshelyaron.com Git - emacs.git/commit
Update Android port
authorPo Lu <luangruo@yahoo.com>
Sat, 18 Mar 2023 02:54:26 +0000 (10:54 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 18 Mar 2023 02:54:26 +0000 (10:54 +0800)
commit634e3fcc20ea9fa5b1af59286f4b846a351f52c8
tree2a98eff1365c2776f53c163e58cd539d1a65ba87
parent773bdb15abd5527dfc27d811a70263ac10cf451b
Update Android port

* java/org/gnu/emacs/EmacsView.java (EmacsView)
(prepareForLayout): New function.  Call this prior to mapping
the view.
(onGlobalLayout): New function.  Register as global layout
listener.
* java/org/gnu/emacs/EmacsWindow.java (EmacsWindow)
(notifyContentRectPosition): New function.  Use specified
xPosition and yPosition when reporting the offsets of children
of the root window.
* java/org/gnu/emacs/EmacsWindowAttachmentManager.java
(registerWindow): Specify activity launch bounds if necessary.
* src/androidterm.c (handle_one_android_event): Send
MOVE_FRAME_EVENT where necessary.
java/org/gnu/emacs/EmacsView.java
java/org/gnu/emacs/EmacsWindow.java
java/org/gnu/emacs/EmacsWindowAttachmentManager.java
src/androidterm.c