summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2015-02-10Android: run open(IFile) in a different thread.Jacobo Aragunde Pérez
Change-Id: I3a7023dba7621f9bd066edb9c0894df48313b117
2015-02-10Android: run openParentDirectory() in a different thread.Jacobo Aragunde Pérez
The Document Provider framework will implement access to network services in the future, and network operations must be run in separate threads. Change-Id: Ifcba8f28cc4dbffaf2946c12749aa38d0eb11923
2015-02-10Android: run openDirectory() in a different thread.Jacobo Aragunde Pérez
The Document Provider framework will implement access to network services in the future, and network operations must be run in separate threads.
2015-02-10Android: run IDocumentProvider setup in a different thread.Jacobo Aragunde Pérez
The Document Provider framework will implement access to network services in the future, and network operations must be run in separate threads.
2015-02-09lok::Document::postMouseEvent(): allow double-clickMiklos Vajna
Change-Id: Idaddd28d906e7508d4d2c5aab916b06fbe021beb
2015-02-09android: copy document to temp file when using content schemeTomaž Vajngerl
We get the data from Intent, which has data identified by an uri. An uri can use many schemes but we support file (loading directly from a file) or content (used by GMail App). When loading from content, the document is available through a stream and has to be stored into a temporary file locally first, and then that file is should be used as input for loading the document. Change-Id: Ia4ffa8ff02b9737b91a41c03c2eb335d28fe1d61
2015-02-09android: allow only "file" and "content" URI schemeTomaž Vajngerl
Content scheme is used by GMail App for example. Change-Id: I3583d38c42b9ad96209f0cd178ea6957a7aec86c
2015-02-09android: When loading fails, make sure we don't crash the next time.Jan Holesovsky
Until now, when the loading failed, the next attempt to open a document lead to a crash; fixed. Change-Id: Ibb55b4799169e1521f076cf38380e429a50258a3
2015-02-09android: Initialize for tiled rendering earlier.Jan Holesovsky
We need to prepare the document ASAP, otherwise we will get zero size when eg. presentation is switched to Notes view. Change-Id: I0d3ccea18058052994d91868ec1346c5de25faff
2015-02-09android: fix missing drawingML preset shapesMiklos Vajna
Change-Id: I7a22b9bcacd26b837c00bb09743ab2e176d60746
2015-02-09android: blinking cursorTomaž Vajngerl
Change-Id: I1e2d5df7917ec0f8e780e3e3481dadd10b1b76ed
2015-02-09android: show text cursor in place suggested by invalid. eventTomaž Vajngerl
Text cursor is a simple line (currently implemented as a drawable and streched), which height is adaptable. It is drawn in a different layer than the document. Change-Id: I40509a866e3a3173e3efcb88e73066565a1619ae
2015-02-09android: gather text selection handles inside TextSelectionTomaž Vajngerl
Change-Id: I7bd13bea6aa58f7a1be4b9cfbc32f9d59c0b9e14
2015-02-09android: Always log the SAL_WARN's.Jan Holesovsky
Change-Id: Iab470097cc09835efd5ab3c13a0defb267c985a0
2015-02-09android: TextSelection improvementsTomaž Vajngerl
Change-Id: I485976edda5e2bb41381ad3a90b8d2139ca7d5f4
2015-02-09android: make back button work again - return false in OnKeyDownTomaž Vajngerl
Change-Id: I8340e5f27475f38f8384d883ac0bb7fccf1135f1
2015-02-09android: mute invalid. if not editing, don't show handle on touchTomaž Vajngerl
Change-Id: I551af3849f9b0a10106bf02fff220fa4600eb07f
2015-02-09tdf#87098 don't adjust zoom/position for spreadsheetsTomaž Vajngerl
Change-Id: Ieb908980a931b123e2c48fe3ecdc7830b48810ed
2015-02-09android: Actually we don't need ViewFactoryTomaž Vajngerl
Change-Id: I2d1ccafefe9c52d0536601ba7ff219e6547ceb20
2015-02-09android: integrate text selection handles from FennecTomaž Vajngerl
Integrate text selection handles from Fennec and insert middle handle when a cursor invalidation event is recieved from LO. Change-Id: I6ba31d46bf89555bdbca9ce4be666039e8bc9041
2015-02-09android: get LayerView from LOKitShellTomaž Vajngerl
Change-Id: I4fa3f7b0906eabd41d9e44a8780c2cc62241b41d
2015-02-09android: Use callback types, extract string to rect conversionTomaž Vajngerl
Change LOKitTileProvider to use callback types defined in Document. Extract conversion from payload string to rect into its own method and use it in INVALIDATE_TILES and INVALIDATE_VISIBLE_CURSOR. Change-Id: Ic908fb187568d4b6fd73770448198e1e752cc2c6
2015-02-09android: Add callback types to DocumentTomaž Vajngerl
Change-Id: I93d117d42b6ccf48b58f9c8d64be0266ff36c6f3
2015-02-09android: key press to key event, use InputConnectionHandlerTomaž Vajngerl
Change key press event in LOEvent to a more general key event to support key release. Use InputConnectionHandler to react on key events, create LOKitInputConnectionHandler as the implementation for LOKit. Change-Id: I4282aa06cdd85ad4d80330f4d2a9c43eb67df30a
2015-02-09android: move TouchEventHandler into JavaPanZoomControllerTomaž Vajngerl
Change-Id: I6de3c0cdf3a0ec646fd63c9cc2c5a9a153e3e574
2015-02-09android: remove unneded code from GeckoLayerClientTomaž Vajngerl
Change-Id: I5c7af6dfa7c921b186972b7b8d7bc079ddec0629
2015-02-05tdf#87432: normal icons for folders in android doc browserJacobo Aragunde Pérez
The code used to draw a black circle and populate it with thumbnails of the documents inside the folder, but they are always empty because we are not generating any thumbnails. Change-Id: Id0b63f7e901525b5a962d12441cda84dfeb59d52
2015-02-01Bin obsolete commentsTor Lillqvist
2015-02-01Copy only *-debug.apkTor Lillqvist
We don't want the silly 'unaligned' apk to end up being uploaded.
2015-01-26android: touch pop-ups keyboard and sends mousebuttondown eventTomaž Vajngerl
Change-Id: I98bf7c5ae4d31ab1a48321d1c5a3a4858cd3e00b
2015-01-26android: convert to document coor. and send it with touch eventTomaž Vajngerl
Change-Id: I11286f73d23b21ee1e35e332b64b8bb37f7aaae8
2015-01-26android: view point to document point conversion updatedTomaž Vajngerl
Change-Id: Ie8a712f3fa24d0ffeef3ef524c02e97acdb1237e
2015-01-26android: extend touch event with transformed document coordinateTomaž Vajngerl
Change-Id: I17e48bd39b799dc41b8d0402652f70d33ba002d7
2015-01-26android: add mouseButtonDown(Up) to TileProvider + impl.Tomaž Vajngerl
Change-Id: I1ca2242d2bc7ee7d2d48a4a5f5bcc6e77edfaa2d
2015-01-26android: add some comments to TileProvider interfaceTomaž Vajngerl
Change-Id: I1c6f7bccda2392235242f5c26af1437f1365f728
2015-01-26android: translate DEL/ENTER in LOKitTileProviderMiklos Vajna
Change-Id: Idda4769fc85a4059ba46706430f30ed247dddaa3
2015-01-26android: use getUnicodeChar() in LOKitTileProviderMiklos Vajna
Follow gtktiledviewer's approach for keycodes: unless it's a special key, ask the system to provide the Unicode equivalent and send that. This makes typing work, except for special keys. Change-Id: If9891ddfb0d52e1160099aa00580d1b261e71e61
2015-01-26android: make sure the soffice.cfg directory is always availableMiklos Vajna
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: disable Impress View -> Slide PaneMiklos Vajna
Change-Id: I5a3c014894fe74781cf050f3cd2ce2bcc0395cb3
2015-01-26android: add postMouseEvent to LOKit JNI interfaceTomaž Vajngerl
Change-Id: I652a0c365c4a1413226cdd4dc7910e65ac2a5285
2015-01-26android: 'make release-apk' now also accepts the example document.Jan Holesovsky
Change-Id: I4144d0ed42a50be4fa91f377f78a20c28fda36f6
2015-01-26android: Rename 'make sign' to 'make release-apk'.Jan Holesovsky
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: Bind the release/debug setting to --enable-release-build.Jan Holesovsky
Change-Id: I9e9849d91dda0ff9361ef9a0023be18406b067d0
2015-01-26android: it doesn't hurt to log the document filename on loadTomaž Vajngerl
Change-Id: I18554052e543a8799ebb45727947a3466b1c793c
2015-01-26android: Fix loading files that have space in the filenameTomaž Vajngerl
Change-Id: Icf540bf199b3daf79e4eca9b0a403978b6cae18c
2015-01-26android: Add makefile rule to sign the resulting .apk.Jan Holesovsky
To sign, do: cd android make key=<your_key_name> sign Change-Id: I20214e034f997125ccfd122b97d18ae141130336
2015-01-26android: fix crash in tile provider while closing the documentMiklos Vajna
The problem was that for large documents if "back" was pressed quickly, then we closed the document, but rendering thumbnails for the different parts was still in progress. Just make sure we don't crash when the underlying document is gone. E/AndroidRuntime( 8902): java.lang.NullPointerException E/AndroidRuntime( 8902): at org.libreoffice.LOKitTileProvider.thumbnail(LOKitTileProvider.java:244) E/AndroidRuntime( 8902): at org.libreoffice.ThumbnailCreator$ThumbnailCreationTask.getThumbnail(ThumbnailCreator.java:78) E/AndroidRuntime( 8902): at org.libreoffice.LOKitThread.createThumbnail(LOKitThread.java:170) E/AndroidRuntime( 8902): at org.libreoffice.LOKitThread.processEvent(LOKitThread.java:148) E/AndroidRuntime( 8902): at org.libreoffice.LOKitThread.run(LOKitThread.java:120) Change-Id: I93e8e1ea19545ca196ef6f59d19528bb42f3676d
2015-01-26android: Set the debug / release according to the configure setting.Jan Holesovsky
Change-Id: Ic1c4328b21e1cdca2fdb1aee72b8563af8f770c7
2015-01-26android: Fix release build via top level 'make'.Jan Holesovsky
Change-Id: I342e3dfd1e142d4be14162fd8a68876d038ed5ea
2015-01-26android: Set the package name correctly.Jan Holesovsky
Change-Id: Iab771f65121e477cda871a04098df306399628e7