android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java | 4 ++-- android/source/src/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 72bd91e174e61fa90ac5588baa7bd01f1d75c49c Author: Michael Weghorn <[email protected]> AuthorDate: Wed Nov 19 11:45:39 2025 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Thu Nov 20 00:08:33 2025 +0100 android: Make a constant static ... and use uppercase letters for its name. Change-Id: Ib10b792d55928223d7484b7fb339ca252532bc28 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194197 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java b/android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java index 15396388876b..228e8d2e1d77 100644 --- a/android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java +++ b/android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java @@ -32,7 +32,7 @@ public class DocumentOverlay { private final DocumentOverlayView mDocumentOverlayView; private final DocumentOverlayLayer mDocumentOverlayLayer; - private final long hidePageNumberRectDelayInMilliseconds = 500; + private static final long HIDE_PAGE_NUMBER_RECT_DELAY_IN_MILLISECONDS = 500; /** * DocumentOverlayLayer responsibility is to get the changes to the viewport @@ -118,7 +118,7 @@ public class DocumentOverlay { public void run() { mDocumentOverlayView.hidePageNumberRect(); } - }, hidePageNumberRectDelayInMilliseconds); + }, HIDE_PAGE_NUMBER_RECT_DELAY_IN_MILLISECONDS); } /** commit 4ec5e2e420e01314a8aa2bfa1a98ea72efdf9e63 Author: Michael Weghorn <[email protected]> AuthorDate: Wed Nov 19 11:43:21 2025 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Thu Nov 20 00:08:24 2025 +0100 android: Make member final Change-Id: I61e6b512120df15c81c8c22ed2a97c38ca0813f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194196 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/android/source/src/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java b/android/source/src/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java index 212a3080a7fa..befea1eb5a2b 100644 --- a/android/source/src/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java +++ b/android/source/src/java/org/mozilla/gecko/gfx/DisplayPortCalculator.java @@ -20,7 +20,7 @@ final class DisplayPortCalculator { // Keep this in sync with the TILEDLAYERBUFFER_TILE_SIZE defined in gfx/layers/TiledLayerBuffer.h private static final int TILE_SIZE = 256; - private DisplayPortStrategy sStrategy; + private final DisplayPortStrategy sStrategy; DisplayPortCalculator(LibreOfficeMainActivity context) { sStrategy = new VelocityBiasStrategy(context);
