summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2015-01-07android: set single page mode in writer when init for tiled renderTomaž Vajngerl
Change-Id: Id01b373fe7ec6620ca036b1ee7bc5debf64a92b4
2015-01-07android: Add initializeForRendering to LOKTomaž Vajngerl
Change-Id: Ibf4721bf4358ef215efde09ef688b2551604bfa2
2014-12-25android: Tweak initial zoom of documents in different situationsTomaž Vajngerl
- In case of Writer document always show document by full width. - Otherwise show the whole document on the screen even when the orientation is portrait or landscape. Change-Id: Ia6704432c850a5487aee1693ed12e039ae6ef0cb
2014-12-25android: Put document into center when it's smaller than viewportTomaž Vajngerl
Change-Id: I0d0cd421e366bf34b71d9d82dd21476ecfa90b18
2014-12-22fdo#85849 on-demand create thumbnails of tiles in the sidebarTomaž Vajngerl
Change-Id: I0bef7bff0553c24b9d699845e70fbb128301a0fe
2014-12-22fdo#87098 invalidate zoom change by triggering animatedZoomToTomaž Vajngerl
Change-Id: Ie5734d8999a214a1df544579a7bfb32cc9f035eb
2014-12-19android: never use TextureView for now (for performance reasons)Tomaž Vajngerl
Get align with latest Fennec code which also has this disabled. Change-Id: Ie4c27935bacd29218207e47593f073bdce0cf7e3
2014-12-19android: remove screenshot layerTomaž Vajngerl
Change-Id: Ic2f0344bab4280fd3c55923707d100f87585199a
2014-12-19android doc browser: hide Calc filter, add Draw filterMiklos Vajna
Hide Calc filter, as ATM Calc documents are not supported. Draw filter was just missing, add it. Change-Id: I88b9e48319e584f1c86de1b970badcdd695f30ed
2014-12-18android: support building with SDK tools 24Tomaž Vajngerl
Change-Id: I424e81b849d7e0ec5c61eddcc70279e3559885d1
2014-12-17android doc browser: sync file type list with the intent filterMiklos Vajna
Change-Id: I81746860198864bb5917a6c1e898b742b65d77e1
2014-12-17android doc browser: let's list file extensions only at a single placeMiklos Vajna
There is still some duplication, as the file type -> resource mapping is there two times. Change-Id: I50cd58f1cc62e872fb925556dd151f6392eeeb87
2014-12-17android: turn off text and table boundaries in the viewerMiklos Vajna
Change-Id: I9923332372c1a09a734f3c6fd1bbd5989c6dc5d3
2014-12-17android: fix unreadable text in doc browser's about dialogMiklos Vajna
There were two inconsistencies here: - The doc browser activity had an explicit android:theme, but the viewer does not, so remove it to be consistent, this fixes the about dialog's "black text on black background" problem. - Now the doc browser had white text on white background: the about dialog explicitly uses android:textColor for the strings which should be readable on a bright background, do the same in file_explorer_folder_icon and file_explorer_grid_item, that makes doc browser text readable as well. Change-Id: Iae9103556ca7c32c9ac8ea02d9e5d5fa6dfb72b5
2014-12-17android: tweak low-res tilesTomaž Vajngerl
Change-Id: I2806f35ee112b9ea7ccf323e01372f7e2f68ffa2
2014-12-17android: support to handle events with prioritizationTomaž Vajngerl
Low-res tiles should be handleded before normal tiles so for this add priority to tiles and store in a with priority queue. Change-Id: I8d36c14503d9b684816d99f577198ac34b729d15
2014-12-17android: remove old and unused LOAndroid and LOAndroid2Tomaž Vajngerl
Change-Id: Ib25c4bb29081ae51a3b06a6fe2af76749ec8ea46
2014-12-17Remove the ThumbnailGenerator classTor Lillqvist
The only use of it is commented out. ThumbnailGenerator used the UNO-based XToolkitExperimental stuff that I want to get rid of. If/when we want thumbnails, we should use the existing thumbnails from document formats that have them, or generate them using LOKit. Also remove stuff from the Bootstrap class that was only used by ThumbnailGenerator. Conflicts: android/experimental/LOAndroid3/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java Reviewed on: https://gerrit.libreoffice.org/13503 Change-Id: Ia3a1a7f372a814359c5b496cdb17c35246e34817
2014-12-17android: fix loading documents from doc browser's about dialogMiklos Vajna
- LibreOfficeUIActivity needs to start a new activity - LibreOfficeMainActivity is enough to send a new event Change-Id: I3a7532a07b37a16bdb49f81072132aa57c2c52e8
2014-12-17android: show about menu entry in the browser as wellMiklos Vajna
Change-Id: I74a38281dc80790f7593042c205c31a6fc2d2cdc
2014-12-17android: extract LOAbout from LibreOfficeMainActivityMiklos Vajna
Change-Id: Ied6a9a64041de94766b307c7ca64eba7edeab64c
2014-12-17android: make the 'more info' document accessible from the about dialogMiklos Vajna
Now that the default activity is not the viewer, but the document browser, there is no way to show the introduction document. Add a button to the about dialog to still show it. Change-Id: I9252064aaaf4c49da519e17b651e0d290bc17c04
2014-12-16org.libreoffice.android.DocumentLoader is not used for anything in LOAndroid3Tor Lillqvist
Change-Id: Ib7d55a90935a9d2c42196b04119db1c5ea7f30f4
2014-12-16android doc browser: avoid explicit background color without a foreground oneMiklos Vajna
E.g. on my device the foreground color was white, the explicit light background color made the filenames almost unreadable. Change-Id: I64e361447ef9af4f3998afeb4a938907b6ca7eb3
2014-12-16Android: prevent NPE due to lack of permissions on a directoryJacobo Aragunde Pérez
Change-Id: Ia2f4c04ad4c524e8b72870acb0735793624f0916 Reviewed-on: https://gerrit.libreoffice.org/13278 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-12-16Android: browse documents anywhere in the sdcardJacobo Aragunde Pérez
Change-Id: I9e52489e13ed0eaeb5926347168de926cd9178b0 Reviewed-on: https://gerrit.libreoffice.org/13277 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-12-16android: Show document browser back in the menuJacobo Aragunde Pérez
Related with commit c7c2b4b54d8ab81150e9b71433970c2f338ed063. There is nothing wrong with having several activities; in fact Android development encourages using one activity per use case. After this patch we have: * One menu item that opens LibreOffice document browser. It covers the use case "open LibreOffice without documents". * The viewer activity does not have a menu item but it responds to open intents triggered by any applications like file explorers, including the document browser. Change-Id: Ie08b96e52d3a6a79aed3354620302705d7689381 Reviewed-on: https://gerrit.libreoffice.org/12108 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-12-16android: disable navigation drawer for WriterMiklos Vajna
Writer documents currently always have one part, so it's not possible to switch to an other part anyway. Also hide the matching menu item accordingly. Change-Id: Ic634d46c4ff307416b2878e5bc8a590b22a827a0
2014-12-16android: Adpater -> AdapterMiklos Vajna
Change-Id: If5297d641b4a596f20bdde8203f199d8efcb92fe
2014-12-15android: don't associate with ods, fods, ots, xls, xlsx, xltx and csvMiklos Vajna
It's pointless to do that till Calc tiled rendering is not supported on master. Change-Id: Ib1ba01c18621d0a6e39ed45052ced715defaa4d4
2014-12-15android: associate with ott, otg, otp, dotx and potx files as wellMiklos Vajna
Change-Id: If77eb099cb132ea889f623b895b32b3eef223d76
2014-12-15android: clear tiles when adding a new tile, variousTomaž Vajngerl
Change-Id: Ifc6e01a1beb39187a5231019d1bf7ac816052e78
2014-12-15android: skip tiles that are already outside of viewportTomaž Vajngerl
Change-Id: I65f286797b459f30885560577a4dcb3d1108c0bf
2014-12-15android: calculate tile position/dimension for FixedZoomTileLayerTomaž Vajngerl
Change-Id: I54664a9289ef513fb4660b002f6ce652c7a9e6ef
2014-12-15android: add to DisplayPortMetrics position and zoom getterTomaž Vajngerl
Change-Id: I90674f51113c082d3bd88a72f8b9883b44569f87
2014-12-15android: remove creation of background screenshotsTomaž Vajngerl
Change-Id: I23a2bc875229546c72708eefca68a12099c2a7af
2014-12-11fdo#87098 change zoom level tile layer zoom level on loadTomaž Vajngerl
This patch sets the zoom level to a value that shows the whole document width on the tile layer however it does not resize the view until next zoom. This still needs to be tracked down. Change-Id: I16940a2951e1be4b46cbd1870fda45f296aff70a
2014-12-11android: remove unneeded logging and comment tile rendering timingTomaž Vajngerl
Change-Id: Ia44efb54cbb0a91ea61cef9e7f250b5105c7ff51
2014-12-11android: Remove unneeded LOEventsTomaž Vajngerl
Change-Id: I057db0c3e254a9e9c90dace5551d6de51aff21c1
2014-12-11android: add FixedZoomTileLayer as a low-res layerTomaž Vajngerl
Change-Id: I20d6fb3117ac46c8de63708a122253444bca1671
2014-12-11android: split DynamicTileLayer, reevaluate tiles directlyTomaž Vajngerl
Split DynamicTileLayer and move most of the implementation into ComposedTileLayer except viewport zoom value. Reevaluate tiles directly in UI thread instead a special call to LO thread. Change-Id: I9a4ce499cf35315cd386956484c2df6d5a5f20cc
2014-12-10fdo#85286 android: don't convert objects on loadMiklos Vajna
For the WW8 bugdoc, the speedup is 435 -> 98 ms, and the end result is the same from a viewer perspective. Change-Id: I9b6ed3b77748cdc71f373daf07548c6cd0dc732e
2014-12-10android: speed up mobile-config.pyMiklos Vajna
Make it O(N) instead of O(N^2), where N is the number of children of the root note. 3.596s -> 0.960s for main.xcd Change-Id: I1b9904a377603cd57f84636c873ed2b752abd101
2014-12-09Related: fdo#85286 android: show error message given by LOK on the UIMiklos Vajna
Change-Id: Ide8e6bc7e719968bacf86572036b15c4ef834761
2014-12-04android: extract JavaPanZoomController (PZC becomes an interface)Tomaž Vajngerl
Change-Id: I87e63008fe7c6db62c18bf461dc4dcda733393ac
2014-12-04android: Fennec change - move classes from gecko.ui to gecko.gfxTomaž Vajngerl
Change-Id: I510e0d601e293ed8e013a0273d5ae0f9be078d8a
2014-12-04android: change LOKitThread.draw to return voidTomaž Vajngerl
Change-Id: I00f3ed059bd633e662e5bee09703ca505bf3b9a5
2014-12-04android: Fennec PanZoomControler updates..Tomaž Vajngerl
Change-Id: I277fbf522b16d9b479260df8372a5ee160adcc37
2014-12-04fdo#85845 android: draw tiles immediately when they are readyTomaž Vajngerl
Change-Id: I924a212210703b0f6136ddefacd77d98dc89f42d
2014-12-04android: rearange anc clean-up GeckoLayerClientTomaž Vajngerl
Change-Id: I6b4a7f8053adea6d86ee625201eeead188bbadcc