Even though it doesn't work...
Change-Id: Ia84da613fd1e5cb3b2c9c5fa3d0458056b9cb728
Reviewed-on: https://gerrit.libreoffice.org/14950
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Has all been obsoleted by LibreOfficeKit.
Only some MOBILE_* constant #defines are now left in touch.h, but probably
those are used only by dead code.
Change-Id: I646945c4408b4e6cd5510da535cfc12088dd391c
Added new packages:
* overlay - overlay elements like TextCursor*
* canvas - classes that its only purpose is to draw to canvas
Change-Id: I0dec06e76819231dacae26d24e43bb6315bba6e4
editeng sends LOK_CALLBACK_CURSOR_VISIBLE after the text selection is
already created. The effect of this is that after a long push on a word
you get not only the selection overlay + the start/end handles, but also
the middle one, which is not expected. Just check if we're in a
selection already, and if so, don't react to
LOK_CALLBACK_CURSOR_VISIBLE=true.
Change-Id: I939c957feb7889dfb1997fac1051cb4eaa77004c
Also, if we are at it:
- clean up 'run' as well: since the doc browser is the default activity,
no need to pass the test doc path anymore
- make 'install' not depend on build: a full build would need a toplevel
'make' anyway
Change-Id: Ia55d52f767ab3e0be02a753a95b2aac02f8491cc
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).
Change-Id: Iccceeb3d4de2fc1761b23fc5ede99d00d5e803aa
That was something from the other LibreOffice4Android that got merged
with LOAndroid3. The document browser doesn't use it, so we don't need
it anymore.
Change-Id: I5446eb7a0fe6e0de81532e981a0853da16910f54
Simplify by removing all but one transition state (which disables
handles depending on previous state).
Additionally show/hide/change the graphic selection depending on
the messages we get from LO.
Change-Id: I95d22a58e0a7f3cb034b18034cb816816a48f355
Previously we included the android support library v4 for some
GUI elements like GridView. This commit in addition adds the v7
appcompat library which is needed for the new Lollipop style
Toolbar and many other new GUI elements.
The appcompat v7 library is not distributed as only a jar file
but needs to be build (as it includes additional resources) and
included as a library project. So to do this the content is copied
from SDK and build with the build system. The files also include
the v4 so it doesn't need to be copied from SDK anymore.
The target had to be raised to v21 (Lollipop), however the minimum
SDK version remains unchanged.
Change-Id: I4f1a6ce69e7f6c3f9df784a6835f376a01d4dfdb