emacs/java/org/gnu/emacs
Po Lu 884ede7c95 Respond to display configuration updates on Android
* java/org/gnu/emacs/EmacsNative.java
(sendConfigurationChanged): Declare function.

* java/org/gnu/emacs/EmacsSdk7FontDriver.java (Sdk7FontEntity)
(Sdk7FontObject): Do not access `metrics' field deleted from
`EmacsService'.

* java/org/gnu/emacs/EmacsService.java (EmacsService)
<metrics, resources>: Delete fields.
<dpiX, dpiY, dpiScaled>: New fields.
(onCreate): Adjust accordingly.  Record current display metrics
for subsequent comparison.
(onConfigurationChanged): New function.

* lisp/dynamic-setting.el (font-setting-change-default-font):
Enable on systems where font-get-system-font is not defined if
invoked with SET-FONT nil.

* src/android.c (sendConfigurationChanged): New function.

* src/androidgui.h (ANDROID_CONFIGURATION_CHANGED): New enumerator.
(struct android_configuration_changed): New structure.
(union android_event): Add `config' member.

* src/androidterm.c (handle_one_android_event): Handle
ANDROID_CONFIGURATION_CHANGED events.
(syms_of_androidterm): Define Qfont_render, and
Qdynamic_setting.  Provide the latter.
2025-04-10 15:25:38 +08:00
..
EmacsActivity.java Merge from savannah/emacs-30 2025-02-19 20:42:22 +08:00
EmacsApplication.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsClipboard.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsContextMenu.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsCursor.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsDesktopNotification.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsDialog.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsDialogButtonLayout.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsDirectoryEntry.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsDocumentsProvider.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsDrawable.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsDrawLine.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsDrawPoint.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsDrawRectangle.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsFillPolygon.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsFillRectangle.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsFontDriver.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsGC.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsHandleObject.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsHolder.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsInputConnection.java ; * java/org/gnu/emacs/EmacsInputConnection.java: Fix commentary typo. 2025-03-20 10:23:49 +08:00
EmacsLauncherPreferencesActivity.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsMultitaskActivity.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsNative.java Respond to display configuration updates on Android 2025-04-10 15:25:38 +08:00
EmacsNoninteractive.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsOpenActivity.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsPixmap.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsPreferencesActivity.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsSafThread.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsSdk7FontDriver.java Respond to display configuration updates on Android 2025-04-10 15:25:38 +08:00
EmacsSdk8Clipboard.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsSdk11Clipboard.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsSdk23FontDriver.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsService.java Respond to display configuration updates on Android 2025-04-10 15:25:38 +08:00
EmacsSurfaceView.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsThread.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsTileObject.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00
EmacsView.java Circumvent another styling issue in Android 15 QPR1 2025-03-04 09:47:30 +08:00
EmacsWindow.java ; * java/org/gnu/emacs/EmacsWindow.java (viewLayout): Typo in comment. 2025-03-09 13:22:59 +08:00
EmacsWindowManager.java Update copyright year to 2025 2025-01-02 18:39:42 +01:00