diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2023-11-08 15:27:48 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2023-11-09 07:54:16 +0100 |
commit | d088e3cfc582beeabb26257f689c7e4e83e7e731 (patch) | |
tree | 32c8bd4696998427d848ca5c19a9152627cf3bdd /android | |
parent | 0a5bf928d936443bf1ff84118a9790a9b334801c (diff) |
android: Drop unused LayerView#{g,s}etPaintState
... and the now also unused `mPaintState` member and
related constants.
Change-Id: Iefd40ca4a72d32807b136830833e88e250f8f38b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159161
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'android')
-rw-r--r-- | android/source/src/java/org/mozilla/gecko/gfx/LayerView.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/android/source/src/java/org/mozilla/gecko/gfx/LayerView.java b/android/source/src/java/org/mozilla/gecko/gfx/LayerView.java index 955bcde316f9..5429d09cbb1d 100644 --- a/android/source/src/java/org/mozilla/gecko/gfx/LayerView.java +++ b/android/source/src/java/org/mozilla/gecko/gfx/LayerView.java @@ -47,8 +47,6 @@ public class LayerView extends FrameLayout { private InputConnectionHandler mInputConnectionHandler; private LayerRenderer mRenderer; - /* Must be a PAINT_xxx constant */ - private int mPaintState = PAINT_NONE; private boolean mFullScreen = false; private SurfaceView mSurfaceView; @@ -58,12 +56,6 @@ public class LayerView extends FrameLayout { //TODO static because of registerCxxCompositor() function, should be fixed in the future private static LibreOfficeMainActivity mContext; - /* Flags used to determine when to show the painted surface. The integer - * order must correspond to the order in which these states occur. */ - public static final int PAINT_NONE = 0; - public static final int PAINT_BEFORE_FIRST = 1; - public static final int PAINT_AFTER_FIRST = 2; - public LayerView(Context context, AttributeSet attrs) { super(context, attrs); mContext = (LibreOfficeMainActivity) context; @@ -217,19 +209,6 @@ public class LayerView extends FrameLayout { return mRenderer; } - /* paintState must be a PAINT_xxx constant. The state will only be changed - * if paintState represents a state that occurs after the current state. */ - public void setPaintState(int paintState) { - if (paintState > mPaintState) { - Log.d(LOGTAG, "LayerView paint state set to " + paintState); - mPaintState = paintState; - } - } - - public int getPaintState() { - return mPaintState; - } - public LayerRenderer getRenderer() { return mRenderer; } |