summaryrefslogtreecommitdiffstats
path: root/android
Commit message (Collapse)AuthorAgeFilesLines
* Add CustomTarget_android_desktop back.Matúš Kukan2014-02-081-1/+2
| | | | Change-Id: I4bad098055c6c3b34dd5f02caf17df13cf4df797
* moved impress remote clients to a separate repositoryNorbert Thiebaud2014-01-30191-9175/+3
| | | | | Change-Id: I654e3af31a6915f08ff808b351d304da773ad267 see: git://gerrit.libreoffice.org/impress_remote
* sdremote: LibreOffice Remote for Impress version 2.0.0sdremote-2.0.0Christian Lohmaier2014-01-301-1/+1
| | | | Change-Id: Ia1d1fef129fdccb186fa07102d3c5fcb91470fe9
* comit translations for sdremoteChristian Lohmaier2014-01-3042-5/+1928
| | | | Change-Id: Ia7f566cb9b1025f431c64180d696fb13e5726929
* sdremote: add about/license infoChristian Lohmaier2014-01-303-24/+54
| | | | | | | | 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
* android: Remove native-code.cxx on make clean.Matúš Kukan2014-01-221-0/+1
| | | | Change-Id: Ib287792c754c4b3ee6c8a45749ef9ad7197df84a
* sc/qa/unit/data/xls/border.xls was removedMatúš Kukan2014-01-183-3/+0
| | | | | | ..in commit a96b6f4708d587ddddd93101e51e52dec4e87b7e Change-Id: I94ea246df8fabee9b0bda579be7698c964958e16
* tweak paddings in landcape mode (maximize space for preview & notes)Christian Lohmaier2014-01-161-5/+4
| | | | | | | | | | | | | | | | | | | | | | 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>
* add support for double-tap to go back a transitionChristian Lohmaier2014-01-162-25/+37
| | | | | | | | | | | | | 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>
* remove BluetoothOperator wrapperChristian Lohmaier2014-01-164-57/+7
| | | | | | | | | | | | 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
* only autostart discovery when there are no known devicesChristian Lohmaier2014-01-1611-42/+57
| | | | | | | | | | | | | | | | | | | | | | | 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>
* Use only one layout, with a dynamically sized PagerAdapterChristian Lohmaier2014-01-162-124/+69
| | | | | | | | | | | | | | | | | | | | | | 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>
* get rid of some useless indirection/wrapper functionsChristian Lohmaier2014-01-164-215/+57
| | | | | | | | | | | | 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>
* Revert "fdo#60486 Fix auto-enabling bluetooth and improve bluetooth handling."Andrzej Hunt2014-01-166-50/+14
| | | | | | | | | 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
* move from ActionBarSherlock to corresponding android support libChristian Lohmaier2014-01-1624-101/+112
| | | | | | | | | | | | | 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
* Add tablet specific landscape layout.Andrzej Hunt2014-01-166-6/+98
| | | | | | | | | | | | | | 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>
* Copy the built .apks to where push_nightlies.sh will find them for uploadingTor Lillqvist2014-01-142-0/+12
| | | | | | | As such, personally I don't see the point in uploading daily builds of there boring useless test apps, but maybe it is good for marketing. Change-Id: I6601107719ed28b72e239a2af8b7e3578ee3388d
* get rid of custom all-caps ui widgetChristian Lohmaier2014-01-024-40/+6
| | | | | | | | | as there is a corresponding property available since Api Level 14 that is already used in the corresponding stlye definition. Not a problem if older versions of android ignore that and don't show the string in caps. Change-Id: Ia9d5e32242bfc83370524011d11854f2c08348ba
* sdremote: show notes also in landscape orientationChristian Lohmaier2014-01-021-8/+57
| | | | | | since why should portrait and landscape behave differently? Change-Id: I06ca350bc14ca0f9163d58927636d70a9630f3f9
* native code generator: Do not use single_component_map anymore.Matúš Kukan2014-01-022-4/+3
| | | | | | | | | | Put cui and spl into extended_code and ignore the rest. Also change DocumentLoader and LibreOffice4Android to use only extended_core and writer as all the ios apps do, without knowing what is really needed there. Change-Id: Ic6a256ea47cc96132c0e7658d6ef2838b295ca71
* android: Further reduce size of LibreOfficeExperimentalDesktop.apk.Matúš Kukan2014-01-011-2/+1
| | | | | | | | | It still seems to work for me. Probably we do not need more components, but it's small enough for now. Also add uui into 'core' group. Change-Id: Ifadea8aa819ed17bbd021a0fa2373e6287e06446
* android: 'core' and 'writer' components should be enoughMatúš Kukan2013-12-311-1/+1
| | | | Change-Id: I97a4989ed29db5f777895fee13940cbd6910068e
* Improve native-code generator for (not only) Android.Matúš Kukan2013-12-233-3/+3
| | | | | | | | | | | | | | | | | Group logic from include/osl/detail/component-mapping.h has been duplicated here for now. The plan is to reuse this for iOS too if possible. We don't need component-declarations.h now, which is good because the list of implementation constructors is going to grow a lot over time. Also, something needs to be done to avoid component-defines.h. --constructor parameter was removed because it was not used and also does not make sense. __attribute__ ((visibility("default"))) is removed too. Change-Id: I5e3f988800303d31e1d78220cbd25339bcbc482a
* typo fixesAndras Timar2013-12-201-1/+1
| | | | Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
* Add tool to generate native-code.cxx for Android.Matúš Kukan2013-12-207-161/+19
| | | | | | Should be extended to be helpfull for iOS too. Change-Id: I862731b6386d5f9cbb508e0c138f45fbe1cb3f46
* Deduplicate more components.Matúš Kukan2013-12-193-69/+13
| | | | | | | No one says this is the only good classification. Quite possibly it's not even a good one, but at least something. Change-Id: I81178314222f9f63708a83b262ff8ef73a1d9467
* Deduplicate calc components.Matúš Kukan2013-12-193-9/+3
| | | | | | | Hopefully it makes sense, I don't know. Inspired by Debian packages. Change-Id: I8caf2d4aa75b8f6de3cc7da9eb293955a4ed58d8
* Deduplicate writer component factories.Matúš Kukan2013-12-193-11/+6
| | | | Change-Id: I0b82e8a284f871829b7c22a654d61534b5c5a3cc
* Deduplicate a lot of common components.Matúš Kukan2013-12-193-49/+0
| | | | Change-Id: Ic3eb95119eed7a691c9cd0c677f28c87395b9415
* Add .component <implementation constructor="..." featureStephan Bergmann2013-12-193-24/+24
| | | | | | | | | | | | | | ...to directly call constructor functions of ComponentContext-based C++ implementations of (non-single-instance) UNO services. The case where these calls would need to be bridged across different environments (e.g., from gcc3 to gcc3:affine) is not yet implemented. bootstrap.component and expwrap.component are adapted accordingly as a proof-of- concept (which had previously been adapted to use the prefix="direct" feature, which may become unnecessary again in the end, depending on how to handle single-instance services/singletons). More to follow. Change-Id: I18682d75bcd29d3d427e31331b4ce8161dbb846d
* Bin obsolete commentTor Lillqvist2013-12-181-5/+0
| | | | Change-Id: I21d233996d21d78f601d427e89c14f668af85bcf
* Get more --disable-dynamic-loading code out of shlib.cxx.Matúš Kukan2013-12-183-3/+45
| | | | | | | | | It's not terribly nice, but, hopefully, better. The hope is that one day, lo_get_library_map will be no more. In lo_get_implementation_map we can specify more precisely what to link into the binary. Change-Id: I99a1854fbae05be2f70302cc56bea88e522ec129
* Deduplicate some foo_component_getFactory declarations.Matúš Kukan2013-12-183-164/+0
| | | | Change-Id: I9304b62134bab375b721399ae078bf66e01191d8
* Allow UNO component libraries to have each implementation in its own function.Matúš Kukan2013-12-182-4/+0
| | | | | | | | | Demonstrating on expwrap library. There is hope, this will bring code size savings for mobile platforms, where we don't need every implementation. Change-Id: I3519fb6148fd7a47ed9df092c73779ea6add552f
* fdo#60698: Merge fastsax and sax_shared into expwrapMarcos Paulo de Souza2013-12-112-4/+0
| | | | | | | Change-Id: I6f8c6827c00db50184a46f39968f882b944d18d4 Reviewed-on: https://gerrit.libreoffice.org/6967 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
* fdo#60486 Fix auto-enabling bluetooth and improve bluetooth handling.Andrzej Hunt2013-12-106-14/+50
| | | | | | | | | We should only enable bluetooth with explicit approval of the user, see: http://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#enable%28%29 We now also display an appropriate message if bluetooth is disabled. Change-Id: Ic3a07c9ad0806a60ac7c7e609a30add7af18916f
* Fix path to lo-all-static-libsTor Lillqvist2013-12-051-1/+1
| | | | Change-Id: I431841a71d6b4dc1f7a50efbf28f827e7e50ca57
* Those AFM files are not used anymoreKhaled Hosny2013-12-041-1/+1
| | | | | | | | | | They were used to build metrics for printer built in fonts, which was dropped in the previous commit. Change-Id: Id9fb3108facec61eb6de0a2d16546f1187465e50 Reviewed-on: https://gerrit.libreoffice.org/6861 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* remove executable bits from .java filesMichael Stahl2013-11-2678-0/+0
| | | | Change-Id: Id36b1d56553a413ab9b4d82fe6f65185f4f6fc00
* outter -> outer (also when "outter" is inside another word)Julien Nabet2013-11-231-9/+9
| | | | Change-Id: I0290d57f1c27a82a34a7dba56d88d51ec6d0bd9e
* Use lo-all-static-libsTor Lillqvist2013-11-221-27/+1
| | | | Change-Id: Ifaf7a6f6dd61d27a89feed2f718f7a91e9da7262
* Separate Impress Remote from Android build.Andrzej J.R. Hunt2013-11-201-1/+8
| | | | | | | | | | | | | | | | | Previously the Impress Remote app could only be built within gbuild when building the entirety of LO for Android, it can now be enabled separately to be built within any LO build. (Note that the app could still be built separately without doing a full Android build of LO by using the android build tools and/or IDE.) Conflicts: config_host.mk.in Change-Id: I21d4389082a1492a3c9029d630f3fff97d9ba99a Reviewed-on: https://gerrit.libreoffice.org/6146 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
* good-bye stringex, you served wellAndras Timar2013-11-171-40/+2
| | | | | | | | | It will be better to handle Android Impress Remote localization independent of the big LibreOffice source tree. Instead of stringex, we will use android2po, a 3rd party utility for conversion strings.xml <-> pot/po. Change-Id: I4eae53e4f8d94c55e5564d54c5e5c214bc9569d7
* fix Makefile of Android Impress RemoteAndras Timar2013-11-151-5/+7
| | | | | | | it is not part of gbuild system qtz does not build Change-Id: I46fb43d21255df76775a2d7e30950bf519c58526
* Add EBOOK_LIBS to android build.Andrzej J.R. Hunt2013-11-141-0/+1
| | | | | | | Change-Id: I19af7ecf0fe746e6c41c95e647141b4c0af0f6d4 Reviewed-on: https://gerrit.libreoffice.org/6673 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* remove INPATH and PROEXTMichael Stahl2013-11-073-18/+0
| | | | | | | | | | | | | | - WORKDIR path is just workdir - INSTDIR path is just instdir - WORKDIR_FOR_BUILD is workdir_for_build - INSTDIR_FOR_BUILD is instdir_for_build - replace other usage of INPATH by combination of OS and CPUNAME Change-Id: Ie398387ebd82a968ec2605f2103c55b43a231482 Reviewed-on: https://gerrit.libreoffice.org/6601 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* Add (dummy) touch_ui_dialog_modal() implementationsTor Lillqvist2013-11-012-0/+61
| | | | Change-Id: I12fde9cc7180118ade39b7a037d05e8793bd1c12
* Add FREEHAND_LIBSTor Lillqvist2013-11-011-0/+1
| | | | Change-Id: I0230a18aaf5c8c9fe9f55a137cc62cbfc3992d42
* android: fix/remove last uses of $(OUTDIR) hereMatúš Kukan2013-10-264-11/+11
| | | | Change-Id: Iba4db538fea3ab494af737c91f5fd754de0c044c
* Change version to 2.0.0.Artur Dryomov2013-10-251-1/+1
| | | | Change-Id: Ic6ca04d61991afec627c7d76270c370233b0892f