summaryrefslogtreecommitdiff
path: root/android/Bootstrap
AgeCommit message (Collapse)AuthorFilesLines
2015-11-13LOK: setClientZoom() - sets the client zoom levelMihai Varga1-0/+2
We need to know the client's view level to correctly handle the mouse events in calc. PaintTile() set a zoom level that corresponds to the requested tiles and previously postMouseEvent would call SetZoom(1,1). Now we can make use of knowing the client's view level and call SetZoom() with the correct parameters Change-Id: I34b5afcdcc06a671a8ac92c03e87404e42adf4cd Conflicts: sc/source/ui/unoobj/docuno.cxx
2015-11-01android: update JNI facade, rename mouse/keyboard event flagsTomaž Vajngerl2-13/+45
Change-Id: Ia2b9a812717d05c7d98d47bf0fe5fd293029d045
2015-11-01android: remove CommandLine.java as we don't use it anymoreTomaž Vajngerl1-176/+0
Change-Id: Ib487d4f948dde2027bebc914bb3fe43b55c6d50b
2015-10-21android: remove the native DirectBufferAllocatorTomaž Vajngerl1-46/+5
Change-Id: I41d25d288253f1b35c268ba70b8384812fa567e5
2015-10-14allow using Android Studio with lldb to debug native partChristian Lohmaier1-1/+1
and of course also for the Java part Using build-id linker flag allows lldb to map the installed .so to the non-stripped version on the buildhost. Also ndk-gdb supports specifying a different package name on the commandline, so no need for the error in configure anymore. Change-Id: If6887a27cc8ab15ee6ab612502cacf0a22ade737
2015-10-11move extracting assets to Java & use AssetManager to access assetsChristian Lohmaier1-2/+6
using AssetsManager in both java as well as native parts allows to handle files both with and without compression transparently Change-Id: If02f1159c498be7ea965fd9c217410722f2dca1f
2015-10-11migrate android build to gradleChristian Lohmaier11-518/+29
move preparation tasks (creating assets/processing files) from the makefile into the gradle script This allows much easier integration into android-studio (just open android/source with android studio after running make to compile the native library) Change-Id: I9a9d6832797c24a7e195a1c7954cd6d20f5a8496
2015-10-03tdf#93281 clean cache directory on each startChristian Lohmaier1-10/+35
to avoid segfault in native lib. It's only a workaround, but I couldn't see what's wrong with the cache... Change-Id: Iceeee1e190bbbd6efe336d84ddcbd8c4d3a1c621
2015-10-03android: remove no longer used filesChristian Lohmaier2-107/+2
Change-Id: Id3b71ac50e3c8ce9705f6df18edaaaa6ba8ad3fd
2015-10-01android: fix make install and don't use ant -quiet by defaultMiklos Vajna1-1/+1
Unlike 'make -s', 'ant -quiet' will stay silent even if there was an error. Change-Id: Iba921d3cde48875f7a6da4c5ba811cab46dfb89f
2015-09-28Revert "revert back to android-21 target until tinderbox gets updated"Tor Lillqvist2-2/+2
Now it has been updated. This reverts commit 4e47ed7e5aad8bde548b4953baba13cf99b6fd9c.
2015-09-25revert back to android-21 target until tinderbox gets updatedChristian Lohmaier2-2/+2
Change-Id: Ief38ef9cc4f167caef8d991c9543161997682418
2015-09-24android.util.FloatMath is deprecated/was removed in ver 23Christian Lohmaier2-2/+2
replace with corresponding Math functions and bump android sdk target to 23 to be able to use current appcompat-v7 pre-JIT FloatMath was faster, but since then was wrapper to Math anyway http://developer.android.com/reference/android/util/FloatMath.html Change-Id: I19e316fb7d32e616162a70fca8c565fa320a8c1a
2015-08-11gbuild/config stop using VERBOSE, use only verbose=tNorbert Thiebaud1-2/+2
configure.ac was setting VERBOSE=YES/NO when really we use verbose=t or verbose= Change-Id: I47aee8d177cb2d788a62ecdbbb9cc3695c2bb299 Reviewed-on: https://gerrit.libreoffice.org/17634 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-07-04Fix typosAndrea Gelmini1-1/+1
Change-Id: I75b4ad61785bf0ba1cb07735d938c0977356b8cc Reviewed-on: https://gerrit.libreoffice.org/16705 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-05-21Let's simplify the paths and be less 'experimental'Tor Lillqvist1-2/+2
2015-05-21Remove more obsolete Android code: The 'AppSupport' stuffTor Lillqvist1-31/+0
2015-05-03android: Plain .component files are not used from what I know.Jan Holesovsky1-2/+1
Change-Id: I6e70dd44430a7b0e61c7618e3f0da42deadcd43d
2015-04-13java part handles received statechange callbackSiqi Liu1-0/+10
2015-03-30Bootstrap.initVCL is not used by our Android app any moreTor Lillqvist1-4/+0
Change-Id: Id1e58547cf2b0786d7a2ca29eae8bbcdd644fdd5
2015-03-30android: Bump to android-21Jack Leigh2-2/+2
Change-Id: Ifbe9a316795fc0519119aa9420152118f3926653 Reviewed-on: https://gerrit.libreoffice.org/14946 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2015-03-24Kill dead <touch/touch.h> APITor Lillqvist1-2/+2
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
2015-03-23android: add debugrun Makefile targetMiklos Vajna1-1/+1
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
2015-03-16android: Make the Bold button actually work - switches to typing in bold.Jan Holesovsky1-0/+6
Change-Id: I48da0f3cc918bda1cdb396b4ea72a82eddafb9a8
2015-03-16android: add to JNI - setGraphicSelection, resetSelectionTomaž Vajngerl1-1/+20
Change-Id: Ib81763148b077423d3903802b13a11b15ba3b0c1
2015-03-16android: use LOK_SETTEXTSELECTION_RESET as it is meant to be usedTomaž Vajngerl1-4/+4
Change-Id: I09f175a09c8b4c9468e2221274b17216b23b76ff
2015-03-16android: make & build appcompat-v7 library, up target to v21Tomaž Vajngerl1-0/+8
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
2015-03-09android: add CALLBACK_GRAPHIC_SELECTION to LOK facadeTomaž Vajngerl1-1/+1
Change-Id: I105f8811f810b393cac8518b42d77f8bd4d0c763
2015-03-09tdf#89705: provides callback for url handling on android.Siqi Liu1-0/+2
Change-Id: Ie28cd768519fbdc305f98e1d764d05bd209951ca
2015-03-09android: add and handle show/hide cursor message from LOKTomaž Vajngerl1-0/+1
Change-Id: I42c0971b10e3926f8fca989884da089bec8d59d4
2015-03-09android: rename text selection callback messagesTomaž Vajngerl1-3/+3
Change-Id: I78c8a984907d1481134426eef164f2587c0f06c6
2015-03-02LOK: move Office::postKeyEvent to DocumentMiklos Vajna2-8/+8
The implementation still sends them to the currently active VCL frame, not to the given document, though. Change-Id: I6fa2decdea3f949c55287e802cb3373c85664207
2015-02-23android: organise importsTomaž Vajngerl2-4/+0
Change-Id: Ie8178e34698ba686e899ddd8e4f8775081fc9d83
2015-02-23android: forgot to update javadoc of JNI wrapperMiklos Vajna1-1/+2
Change-Id: I2964c030f420638672da5390e11179aee28043e5
2015-02-23lok::Office::postKeyEvent: allow different char and key codeMiklos Vajna1-1/+1
editeng is not happy with non-zero char code for css::awt::Key::ESCAPE. Change-Id: If26923df7defb8a47766e9109835a8569067e578
2015-02-16android: add support for text selection to JNITomaž Vajngerl1-0/+18
Change-Id: Ifa307eb6a8cb031bdd88b9fadae42c8a0811772b
2015-02-14Related: tdf#63690 - remove rtl_logfileThorsten Behrens1-1/+0
This was unused since the earlier cleanup. Change-Id: Ia56641c4242037a0ce501e43939b8dc862499f0e
2015-02-09lok::Document::postMouseEvent(): allow double-clickMiklos Vajna1-1/+2
Change-Id: Idaddd28d906e7508d4d2c5aab916b06fbe021beb
2015-02-09android: fix missing drawingML preset shapesMiklos Vajna1-0/+2
Change-Id: I7a22b9bcacd26b837c00bb09743ab2e176d60746
2015-02-09android: Add callback types to DocumentTomaž Vajngerl1-0/+9
Change-Id: I93d117d42b6ccf48b58f9c8d64be0266ff36c6f3
2015-01-26android: make sure the soffice.cfg directory is always availableMiklos Vajna1-0/+3
Otherwise FSStorageFactory::createInstanceWithArguments() would throw, resulting in a css::configuration::CorruptedConfigurationException later, that makes LO throw up its hands in Desktop::Main() and say that the instset is simply corrupted, there is no point in continuing further. Change-Id: I3a401ee77f4fbf1a42a09c5fedd7681b4f32e952
2015-01-26android: add postMouseEvent to LOKit JNI interfaceTomaž Vajngerl1-0/+12
Change-Id: I652a0c365c4a1413226cdd4dc7910e65ac2a5285
2015-01-26android: 'make release-apk' now also accepts the example document.Jan Holesovsky1-1/+1
Change-Id: I4144d0ed42a50be4fa91f377f78a20c28fda36f6
2015-01-26android: Rename 'make sign' to 'make release-apk'.Jan Holesovsky1-1/+5
This now also allows to specify the version number; now you want to use: cd android/ make versionCode=<previous_version_num+1> key=<key_name> release-apk Change-Id: I078e8dbbe671969fc3b228ac987cdb9a4a53b281
2015-01-26android: Set the package name correctly.Jan Holesovsky6-2/+7
Change-Id: Iab771f65121e477cda871a04098df306399628e7
2015-01-26android: show vendor in LOAboutMiklos Vajna1-1/+1
Change-Id: Iddcf953718083b218d41fcb895d28adb5808a8f4
2015-01-16android: guard buffer allocation and return null if alloc. failsTomaž Vajngerl1-0/+10
Change-Id: I684c7af245cc755b94f69e175c652d161e0f643a
2015-01-16android: remove logging null in DirectBufferAllocatorTomaž Vajngerl1-2/+0
Change-Id: Iad6b90782f4f750eeab420653ed6701fbba9a777
2015-01-16android: comments for new interfaces and methodsTomaž Vajngerl2-0/+15
Change-Id: I742e232b3a9994f82423bc4bdfa1a5b656f8af87
2015-01-12android: show version / buildid in about dialogMiklos Vajna1-1/+2
Note that getPackageName() also throws NameNotFoundException, so in the unlikely situations in case: - package info (class containing the package version) is not found or - the package version is not in an "a/b" form We still just don't show anything. Also, mark the new TextView as android:textIsSelectable, so it's possible to copy&paste the version for bugreport purposes. Change-Id: I63b53cca4126da17bfbda0293d7c98e8524ef41a