android: add selection support to TextCursorView{Layer}

Desktop / LibreOffice - Tomaž Vajngerl [collabora.co.uk] - 2 March 2015 01:50 UTC

TextCursorView is a overlay view on top of document view which is used to draw the cursor (and blink it too). This also adds selection rectangles drawing to the same view so both can be drawn at the same time.

5b4fc00 android: add selection support to TextCursorView{Layer}
.../src/java/org/libreoffice/TextCursorLayer.java | 12 ++-
.../src/java/org/libreoffice/TextCursorView.java | 81 +++++++++++++-------
2 files changed, 64 insertions(+), 29 deletions(-)

Upstream: cgit.freedesktop.org


  • Share