Overlay can either be in state NONE - no overlay elements should be shown (this is the deocument reader state), CURSOR - cursor and the cursor handle are shown, SELECTION - selection and selection handles are shown. The states can change either by an invalidation or touch input.
39d4b40 android: add OverlayState to track the state of overlay
.../java/org/libreoffice/InvalidationHandler.java | 52 ++++++++++++++------
.../src/java/org/libreoffice/LOKitThread.java | 2 +
2 files changed, 40 insertions(+), 14 deletions(-)
Upstream: cgit.freedesktop.org