summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2014-07-01android: i18nlangtag is too verbose, and we don't need the info.Jan Holesovsky
Change-Id: Ifc59351913fd2194b23511330d1a90f40d3e158e
2014-07-01android: Attempt to load the test file we have in the .apk.Jan Holesovsky
Change-Id: Ib438e8d7de90c202a3be6ad01bd8b7a8341527c1
2014-07-01lok bootstrap: nicer function names, clean-upTomaž Vajngerl
+ prevent lokandroid JNI functions to be removed from the library + basic use of lok Office / Document in LibreOfficeMainActivity Change-Id: I7bfe53738cf821b2270ab3e024cc506a7cff42f0
2014-07-01libreofficekit JNI for AndroidTomaž Vajngerl
Change-Id: Ia905c20fb4ee9b126d65fd3c8e3c1f54649abe1a
2014-07-01LODroid: Make SubTile hold the buffer for a tileTomaž Vajngerl
Previously there was only one buffer which contained all the tiles currently visible. This is inflexible - we need to control each tile individually. This commit introduces SubTile object, which is the holder of the buffer for each individual tile. Change-Id: I511f13dc7fad7c3c04f3d7f23b3abc97a3cc2268
2014-07-01LODroid: remove hasDirectTexture for nowTomaž Vajngerl
Change-Id: Iaf4ce2df890c0f61c9466a8ea1ec35731d3eed44
2014-07-01LODroid: Use tile images in LOAndroid2Tomaž Vajngerl
Change-Id: Ic274d19467b8d0915ae438a0651f19da14392697
2014-07-01LODroid: Don't ignore size change event, clean-up GeckoLayerClientTomaž Vajngerl
Change-Id: I615a762334434068681ecb1cc7ae6890319bd7ec
2014-07-01LODroid: cleanupTomaž Vajngerl
Change-Id: I3c2b156c6ed5c6a27ac845481150150812eef1ec
2014-06-30android: Add missing mkdir.Jan Holesovsky
Change-Id: I9c06a1a2efcb3c436287a3aac15d976fcafbd19d
2014-06-30android: Enable debugging messages as the first thing we do.Jan Holesovsky
Additionally log what we are trying to open - very useful for debugging bootstrap problems ;-) Change-Id: I942b144d97a57cbcb709b2d67029bfa09b339be2
2014-06-30android: Correct location and name of sofficerc.Jan Holesovsky
Without that, URE_BOOTSTRAP does not get set up, and we are unable to bootstrap. Change-Id: I7727e2a9dcbb958e006fadf6243e1ca343633f7e
2014-06-30android: Relink liblo-native-code.so when a library changes.Jan Holesovsky
This is so that calls like 'make configmgr android' produce an .apk with updated code changes from configmgr as expected. Change-Id: I5f576b01269cf3f559a8a6389af298a3758e7309
2014-06-30android: Make LOAndroid3 debuggable.Jan Holesovsky
Change-Id: I0fcfd784d6705cfab4790e1023851d5c537a482f
2014-06-30android: copy-stuff rule is copy'n'pasted around, consolidate it.Jan Holesovsky
Change-Id: I0a746904fa363f987e96165d8def326eb87dcf8f
2014-06-30android: Make the extract_files() part of setup / init.Jan Holesovsky
We need to have the files extracted before we attempt to initialize LibreOfficeKit (call libreofficekit_hook), otherwise the .rdb's are not there. Change-Id: Ib49db7e945a709d18a063eb488a27df18fef542b
2014-06-30android: Make use of LibreOfficeKit.Jan Holesovsky
Now the LibreOfficeKit is used to actually attempt to bootstrap LibreOffice; at the moment fails to do that. Change-Id: I91220dbff783213bf7702e7213a5646859db4581
2014-06-30android: Introduce LibreOfficeKit.java to bootstrap using LibreOfficeKit.Jan Holesovsky
Change-Id: I5e1758c15684b06ab6809f62f4da6d5f50c071a9
2014-06-30LOAndroid3: ant/make for building, Bootstrap projectTomaž Vajngerl
LOAndroid3 is based of LibreOffice4Android project which uses ant/make for building. By using LibreOffice4Android as the base, the project creates a APK archive which has all needed files to start LibreOffice in Android environment. Change-Id: I697d5f727bdaf93e774144ad597d7081d2609908
2014-06-30LODroid2: GLES2 fixes, code cleanupTomaž Vajngerl
Change-Id: I368f8caaf0433387a330a63182aab292defef0ca
2014-06-30LODroid2: Remove sdk v7 and v4 support librariesTomaž Vajngerl
Change-Id: I41a30d44c44cb439dc2e60e212eea18b00f316dd
2014-06-30LOAndroid2: use GLES2, latest GeckoSoftwareLayerClientTomaž Vajngerl
Additionally add GeckoGLLayerClient as an alternative LayerClient Change-Id: I250b5d806f520231ad9a9b84ef8387e8830bb364
2014-06-30LOAndroid2: initial import of older Fennec version with LO changesTomaž Vajngerl
rebase on mozilla-central tag RELEASE_BASE_20120531 add LOEvent, LOThread, some LO icons Change-Id: I0c3aba6d9715c60e32d8daa2002b4961eef476f0
2014-06-30Initial commit of Android Viewer projectTomaž Vajngerl
Project was created with Android Studio. Currently includes the base of Fennec's LayerView and dependencies. Change-Id: I5c3ae253d153f659eb92bd0ca17ef95372b71b23
2014-06-30android: Reformat for readibility.Jan Holesovsky
Change-Id: Ib33d3ee0c78302b858b7c814e486c417276b7e7d
2014-06-30android: Support for Android SDK Tools 23 + note about their brokeness.Jan Holesovsky
Change-Id: I6b1636703044f03c5daa4c3ac1630f23c5c3c2e5
2014-06-30android: Allow verbose output from the ant build.Jan Holesovsky
Change-Id: I1086a7ab6bc7913c9c9f2492d07915039007e613
2014-05-05simplify ternary conditions "xxx ? yyy : false"Noel Grandin
Look for code like: xxx ? yyy : false; Which can be simplified to: xxx && yyy Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-04-17remove executable bitAndras Timar
Change-Id: I91f6e861f6d0dbea1b57ac73857e0c706b27f681
2014-04-15Need libGLESv2 now thenTor Lillqvist
Change-Id: I87e91202a6005ad0bec3569b2619a5b191991502
2014-03-28Switch to android-15 here, tooTor Lillqvist
Change-Id: If7b66e60fcf8af97a69e20af9c77793a163c4c17
2014-03-06Add components needed for editing a document in android/desktop app.Matúš Kukan
As new 'edit' group because they are not needed in view-only TiledLibreOffice_app. Although, probably there are more components in 'core' which should be in 'edit' too, who knows, sigh. Change-Id: I1efebc9884662a5d25744a3414717aa410350ef4
2014-03-06native-code: Remove foo_core groups, now only 'core' and 'writer' are used.Matúš Kukan
Also remove extended_core group. If something from there will be needed, we will add it another way. Currently only android/experimental/desktop/Makefile and ios/CustomTarget_TiledLibreOffice_app.mk are known to do something. Change-Id: I99936075e35ce98d684581838c0a19dccd83f942
2014-03-05Require Android API level 15, which is from December 2011Tor Lillqvist
Note that this doesn't really mean a lot for the NDK. Change-Id: I4061cb856055ae126aadf56afc462182a875e65f
2014-02-08Add CustomTarget_android_desktop back.Matúš Kukan
Change-Id: I4bad098055c6c3b34dd5f02caf17df13cf4df797
2014-01-30moved impress remote clients to a separate repositoryNorbert Thiebaud
Change-Id: I654e3af31a6915f08ff808b351d304da773ad267 see: git://gerrit.libreoffice.org/impress_remote
2014-01-30sdremote: LibreOffice Remote for Impress version 2.0.0sdremote-2.0.0Christian Lohmaier
Change-Id: Ia1d1fef129fdccb186fa07102d3c5fcb91470fe9
2014-01-30comit translations for sdremoteChristian Lohmaier
Change-Id: Ia7f566cb9b1025f431c64180d696fb13e5726929
2014-01-30sdremote: add about/license infoChristian Lohmaier
The activity tired to include a file that was not checked in at all (probably due .gitignore ignoring assets), so replace that with a simple linear layout. Change-Id: I505855346f440712b7e170080b7db11b775c4172
2014-01-22android: Remove native-code.cxx on make clean.Matúš Kukan
Change-Id: Ib287792c754c4b3ee6c8a45749ef9ad7197df84a
2014-01-18sc/qa/unit/data/xls/border.xls was removedMatúš Kukan
..in commit a96b6f4708d587ddddd93101e51e52dec4e87b7e Change-Id: I94ea246df8fabee9b0bda579be7698c964958e16
2014-01-16tweak paddings in landcape mode (maximize space for preview & notes)Christian Lohmaier
add minimal padding around slide preview (to not touch actionbar and bottom of screen - horizontal whitespace will be larger becasue height is limiting factor anyway) avoid adding two left-paddings for the notes - the Text is "indented" compared to the notes area already, so margin implied by the layout weight distribution and the text indent is enough to separate it from the preview. avoid adding two right paddings for the note-text, as the text is not justified and the word-break itself will account for a "padding" at the edge, and the container already has a right-padding (that was reduced, since the word-padding as well as centering in the unused space will increase the effective margin) Change-Id: I2a4605ba5a98eeed93a01db16d3d86c90df56470 Reviewed-on: https://gerrit.libreoffice.org/7230 Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com> Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16add support for double-tap to go back a transitionChristian Lohmaier
by replacing the onClickListener with an onTouchListener with the simple variant of the GestureDetector. Also drop the check that prevents going to the "end-of-presentation, click to exit" slide and exiting the presentation that way. Change-Id: I54b49bf11929ad9415b8c85581fe16998ab3a7a7 Reviewed-on: https://gerrit.libreoffice.org/7107 Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com> Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16remove BluetoothOperator wrapperChristian Lohmaier
it is just another obfuscating layer of one-command-function calles that can as well be called directly. If you really want to get the path to aquire the bluetooth adapter differently, based on a runtime check, a single method to retrieve the adapter is enough in any of the classes. No need to wrap the whole adapter's api in your own class. Change-Id: I2c631321dcf8ef143fe58a0a8246e010169409ac
2014-01-16only autostart discovery when there are no known devicesChristian Lohmaier
and don't loop autodiscovery, provide a manual trigger button instead. Bluetooth discovery is a hefty process and thus should not be done lightheartedly. Moreover discovery won't even list devices that are already bonded, but not set to visible. As you will be more likely using the remote with the same devices, it makes sense to list the known devices and only do discovery on explicit request/when there are no bonded devices yet. Fix a lifecycle problem (as the service would be quit on screen-rotation as the only bound client is destroyed/restarted - start the service instead to let it keep running, and only stop/release it when finishing) icons from Android's ActionBar Icon Pack, shrinked using optipng Change-Id: Ie8467f942df1aab2d64b337fc7a6f816b9d658a6 Reviewed-on: https://gerrit.libreoffice.org/7091 Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com> Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16Use only one layout, with a dynamically sized PagerAdapterChristian Lohmaier
it is more straightforward to only have one viewpager that can be flipped through. This makes it easier to restore the user's default way of connecting (bluetooth via wifi) and also simplifies the setup and the what-tab-am-I-on checks. * Remeber what tab (wifi/bluetooth) the user last used and restore that on next launch * respect Android's guidelines and ask the user whether Bluetooth should be enabled when the user switches to the BT tab and BT is disabled. → if the user declines, select wifi tab instead Fix a lifecycle problem (bt connection would be cut if bt was not enabled before launching the remote, only restore disbled state if really finishing, not on configuration change like rotating the screen) Change-Id: Ice3a5c877a2a4810a80a0f76edea713700fe9c8c Reviewed-on: https://gerrit.libreoffice.org/7090 Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com> Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16get rid of some useless indirection/wrapper functionsChristian Lohmaier
there's no point in adding a layer of indirection if all that the called function does is running one single command, and is only called in one place. Getting rid of that indirection makes the code easier to read and understand. Change-Id: Ie2f3e03fe2870d1d4a84df738ebb3d0f34a2713c Reviewed-on: https://gerrit.libreoffice.org/7089 Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com> Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16Revert "fdo#60486 Fix auto-enabling bluetooth and improve bluetooth handling."Andrzej Hunt
This will be superceded by the following sdremote improvments, which would otherwise have path conflicts due to this patch. This reverts commit 3cc31f89787e435c893b38a0adc0a23f566ab60f. Change-Id: I49f004d068fdf852f5690e365a17168b001b9136
2014-01-16move from ActionBarSherlock to corresponding android support libChristian Lohmaier
UI wise would makes the app compatible with android api level 7, but other utility functions require higher level (8 for Base64 and 9 for TimeUnit) explicitly set the allowBackup flag and raise tested/targeted version to api level 17 also add tool-annotations to please android-lint Change-Id: I528e34acdeeecea6d20e8bea21b1d5c203e17c95
2014-01-16Add tablet specific landscape layout.Andrzej Hunt
The resolution of the slide preview is too low for a maximised preview to be of much use, hence it makes sense to make the notes larger when in landscape mode on a tablet. Also increase the notes size for tablets (either perspective) in order to be legible from a greater distance. Change-Id: Iae75dead6bb325970f2309f487a5c198d938fcb4 Reviewed-on: https://gerrit.libreoffice.org/7102 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>