summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2014-09-28android: minimize the rounding error, clean-up MultiTileLayerTomaž Vajngerl
Change-Id: Ib167acf5914596b69ee240255aaab173a0570038
2014-09-28android: LayerRendered - rename member to mScreenShotLayerTomaž Vajngerl
Change-Id: I16fbda06c75bbf80e7d2c2b045418297589c6ff7
2014-09-28android: revert ScreenshotLayer draw method backTomaž Vajngerl
Own draw method expands the picture correctly but for some reason the SingleTileLayer draw method does not so revert back. Change-Id: Ie8e39fc46b84ae410439a781928ff79bc1503d10
2014-09-28android: replace with ImmutableViewportMetrics (Fennec import)Tomaž Vajngerl
Change-Id: I46509f8be4dc49dac45eb98059dad25e150988dd
2014-09-28android: Improve panning smoothness (Fennec import)Tomaž Vajngerl
Change-Id: I3983709651548eb97e588ebe2c2de608a4a4dfc7
2014-09-28android: solve black screen on load - call setForceRedrawTomaž Vajngerl
Change-Id: Ia9ae05a14c0c751fde961186be350d57d5308519
2014-09-28android: remove notifyLayerClientOfGeometryChange (Fennec import)Tomaž Vajngerl
Change-Id: Ibc1f4d11dcfdf177cd45fcf689b518d975b13709
2014-09-28android: move scrollBy & scaleWithFocus to PZC (Fennec Import)Tomaž Vajngerl
Change-Id: Ie0d23b302994134f9d382e255b0408f7c9f1c1fb
2014-09-28android: add PanZoomTarget (Fennec import)Tomaž Vajngerl
Change-Id: Ib946b7a95cd59833a732e3da6c139e848778e1bc
2014-09-28android: remove getViewport and getZoomFactor (Fennec import)Tomaž Vajngerl
Change-Id: Id28994e51adf779bd5462901c23c488e3465f91b
2014-09-28android: add ZoomConstraints (Fennec import)Tomaž Vajngerl
Change-Id: I7bb840f74675a2e23fd7ee45aad4d48a705e567e
2014-09-26android: PanZoomControler updates from FennecTomaž Vajngerl
Change-Id: Ic338221ced6133771af8f46ae4a257e043a1709f
2014-09-26android: remove unused screenSize (Fennec import)Tomaž Vajngerl
Change-Id: I0b8d1b29ab3219bc75de6c087e410523c18dbeef
2014-09-26android: change pageSize to pageRect (Fennec import)Tomaž Vajngerl
Change-Id: Ia3958b174e7190171cbd006550e47677a1ba0966
2014-09-26android: remove tiles delayed by one redraw callTomaž Vajngerl
Change-Id: I5ab5e4a0ba9cdf3f3115c4913b4cf04e7f062755
2014-09-26android: rerender tiles when the zoom changesTomaž Vajngerl
Initial implementation which needs a lots of polish. Sometimes the app crashes (for yet unknown reasons). Sometimes a gap between tiles is visible probably because of rounding errors. Tile handling and releasing after zoom is quite naive for now (just clearing all the tiles) which needs to be improved to be more seamless. Other changes: The responsibility of LOKitThread to handle tiles was moved to MultiTileLayer. TileProvider now takes into account the current zoom level when requesting tile rerendering. Change-Id: Ic188c03bfadf3a3dd2f79b04f07668eb63b705fb
2014-09-26android: clean MultiTileLayer of unneeded variables/methodsTomaž Vajngerl
Change-Id: I7750322000230448d6283107daace3d9bb5da61d
2014-09-26android: Log number of invalidated tilesTomaž Vajngerl
Change-Id: I1ebfcf48f1d9a44836b4d9bf90c04c3be27cb365
2014-09-24android: LayerRenderer - use highp and flip in vertex shaderTomaž Vajngerl
Change-Id: Ia517b0d94fdfb3f8fdd9b9c383c8fb337173932c
2014-09-24android: define mRootLayer directly as MultiTileLayerTomaž Vajngerl
Change-Id: I6a1f6971482ea1de28977d7905ba9fd85921551d
2014-09-24android: upgrade PanZoomController - add configurable zoom limitsTomaž Vajngerl
Change-Id: I19815f58af4d060cffe515829a2a5472d32bf83c
2014-09-24android: update LayerRenderer to newer Fennec codeTomaž Vajngerl
Change-Id: Idc7c49351c17dc9953d55ee7f1b42e497074c85a
2014-09-24android: introduce TileProviderFactoryTomaž Vajngerl
Change-Id: I98ba16b4d1537ddeb2f8a29d15a803d527ccafe3
2014-09-24android: GeckoLayerClient updateTomaž Vajngerl
Change-Id: Ie684a4d3ef012b004ede52265750da5497db434e
2014-09-24android: update DisplayPortCalculatorTomaž Vajngerl
Change-Id: Ib47822940e83e8fb78a0a8b1e18028646bfb35ae
2014-09-24android: destroy tiles (free the bitmap) when they are removedTomaž Vajngerl
Change-Id: I55959c115467f98d43d471c280bb3a0248b669ec
2014-09-24android: force initialize LibreOfficeKit, clean-upTomaž Vajngerl
Change-Id: I0c7b7d10b34c0f71bf8500696fdbc0ed38303f0e
2014-09-24android: extract touch handling into TouchEventHandlerTomaž Vajngerl
Change-Id: I138f746940bf89349d4662c95427113bff221231
2014-09-24android: remove FlexibleGLSurfaceViewTomaž Vajngerl
Change-Id: Ie2f3741d7aa86b5df25723d8665a679962a0efc9
2014-09-24android: optimize LayerRendererTomaž Vajngerl
Change-Id: I95ccb35848dc5cf3d44b761abac4e81562089186
2014-09-24android: add DisplayPortCalculator and DisplayPortMetricsTomaž Vajngerl
Change-Id: I1418023011cf0ef3611e3fda6f313d9fcb9ccea7
2014-09-24android: use JNI direct memory allocator from FennecTomaž Vajngerl
Change-Id: I95a9ab54222150a1f9cde30df820f3cd6915f641
2014-09-22android: cleanly load/close a document when activity starts/stopsTomaž Vajngerl
Change-Id: I2206a2b6818c030ba756f2b4d014a20d46f4106e
2014-09-22LOKit: add "destroy" and "saveAs" to android JNITomaž Vajngerl
Change-Id: I08542b736e49cb9262323e9fe6188b1976d47935
2014-09-22Remove ActionBarSherlock from androidPeter Foley
3195c6d removed the only use of ActionBarSherlock, but did not stop it from being built. This causes the build to fail in abs-lib due to the missing v4 support library. Stop building abs-lib and remove the no-longer used code. Change-Id: Ib9dd4b4b95d64ef251eaf8d4b24e539be9d855ff Reviewed-on: https://gerrit.libreoffice.org/11421 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-09-21android: upgrade layers to newer codeTomaž Vajngerl
Change-Id: Ife0d7cfad8b416c9363321a2fd1f4e9a8a1f4325
2014-09-21android: upgrade gestures and scrolling to newer codeTomaž Vajngerl
Change-Id: I84b9f66036891f6ad384ee71d078c654511a6e38
2014-09-18android: convert to ImmutableViewportMetricsTomaž Vajngerl
Change-Id: Idd5e604541577f6b812a971e585cee9b089d2b4b
2014-09-18android: thumbnail as background when tile is not availableTomaž Vajngerl
Change-Id: Id38e40b3fdb46adeb19e6a1e106775391c5da455
2014-09-18android: fix thumbnail() to produce a valid bitmapTomaž Vajngerl
Change-Id: I578ac9482f334765c71a66421a3fa2dfb85e22b3
2014-09-18android: import changes from Fennec to get ScreenShotLayerTomaž Vajngerl
Change-Id: I1b72af85a906aef289d1be086274941094df4f96
2014-09-18android: Log tile managing timesTomaž Vajngerl
Change-Id: I70fe5f1ca6553e2b3282ad0f5c227c5c0bc31f86
2014-09-18android: create thumbnail with "paintTile" LOKit functionTomaž Vajngerl
Additionally remember the document dimensions, so there is no continuous call to "getDocumentWidth" and "getDocumentHeight" Change-Id: I269b47178a25da28de8df98d0bd45211fb64797d
2014-09-18android: disable reinitialization on orientation change or resumeTomaž Vajngerl
Change-Id: Ia87f27395acdf35a50d37212106674e9f9f34c0d
2014-09-18Android browser: open documents with the new viewerJacobo Aragunde Pérez
Change-Id: Iae63a8ec591df912938e74d67cb173f591c2a93d Reviewed-on: https://gerrit.libreoffice.org/11488 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-09-18Android: merge LibreOffice4Android into LOAndroid3Jacobo Aragunde Pérez
This commit merges the code of the document browser found in android/experimental/LibreOffice4Android into the new document viewer at LOAndroid3. All the source and resources is moved, and some duplicated files are removed. From now on the apk generated by LOAndroid3 will provide the document browser too. Slightly modified the build files of ExperimentalDesktop project because they depended on LibreOffice4Android being built. Change-Id: I0579afda7b570509ca4d3873c28a13fcbeeb5ab8 Reviewed-on: https://gerrit.libreoffice.org/11487 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-09-12LibreOffice4Android: Reorganize resources.Jacobo Aragunde Pérez
Removed several copies of repeated resources and moved one of each to the "drawable" directory. There is no need to place several identical resources in "drawable-*" directories, it's enough placing one copy in "drawable". Change-Id: I72a9cecab5db7cdb461fcd7f89c783817746385b
2014-09-11LibreOffice4Android: Fix NullPointerExceptionJacobo Aragunde Pérez
The member fileNames was being correctly set in createUI() but it was being reset at openDirectory(). The only purpose of this member was sending the file name to open() method, but we can rewrite open() to accept File objects so fileNames became useless and was removed. Change-Id: I944be8ff13d221573a5a7accf0081c30872c62f0
2014-09-11LibreOffice4Android: Remove dependency from actionbarsherlockJacobo Aragunde Pérez
Replace with the native Android action bar since API 11. Change-Id: Ia332b51cfea084072e8d0362702a359b8f09adea
2014-09-11LibreOffice4Android: Disable thumbnails so the application can runJacobo Aragunde Pérez
Commented out the piece of code that invokes the creation of thumbnails, because it crashes after the call to native code. Once LibreOffice4Android is merged with the LOKit-based viewer, it will be the moment to fix the thumbnails properly. Change-Id: I6dd38c6f91008d41905d3c4a856899e9ec81bd6b