android: move graphic selection, use a touch event to transmit

Desktop / LibreOffice - Tomaž Vajngerl [collabora.co.uk] - 23 March 2015 03:19 UTC

Initiali implementation moving of graphic selection in TextCursorView. Transmit start and end coordinates of the move using a touch event with a special type "GraphicSelectionStart" and "GraphicSelectionEnd" set.

In LOKitThread process the event and delegate the request to the TileProvider (setGraphicSelectionStart/setGraphicSelectionEnd).

86548b6 android: move graphic selection, use a touch event to transmit
.../src/java/org/libreoffice/LOKitThread.java | 6 +-
.../src/java/org/libreoffice/TextCursorView.java | 69 +++++++++++++++++++-
2 files changed, 72 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share