Michael Meeks
ab852cc0b6
android: share the clobbering of ant rules to not compress resources
...
Change-Id: Id2aa869f05b09dc22676d63390ec10bf575571ef
2012-08-03 10:50:21 +01:00
Tor Lillqvist
b18e6c7d2c
Reduce confusion, this isn't "DocumentLoader"
...
Change-Id: I69683f93894ea696c3aab4033aea0ab9624f6cff
2012-08-03 12:09:33 +03:00
Tor Lillqvist
922c9d0edd
Add the largeHeap and hardwareAccelerated attributes
...
Change-Id: Ie9f8e97314778f093dc7b4b3c133882fd06e894a
2012-08-03 12:09:33 +03:00
Tor Lillqvist
1e1b858482
Update for current SDK
...
Change-Id: I247075d5c8cef86a29a4c7fef03241396b2d76b7
2012-08-03 12:09:32 +03:00
Tor Lillqvist
f6dc6f1435
Start the LibreOfficeUIActivity with "make run"
...
Change-Id: I82aff7f40d8360c0306593b02200db205e52bbcc
2012-08-03 12:09:31 +03:00
Tor Lillqvist
f1e95bd6d9
Adapt r8b bits from ../DocumentLoader/Makefile
...
Change-Id: Idd60d2dd5cb32012de6027c2c161e2dbc3b2f404
2012-08-03 08:52:38 +03:00
Tor Lillqvist
2d757306e2
Adapt architecture-specific bits from ../LibreOffice4Android/Makefile
...
Change-Id: I06ecb06df4df61fccc53477b5789a171e62248ec
2012-08-03 08:52:38 +03:00
Tor Lillqvist
963f417fa8
More NDK r8b adaptation
...
Change-Id: Ic65795a1b7bfe0435292f87f27ae39e2c3069fed
2012-07-31 09:55:08 +03:00
Michael Meeks
d3c4d9a0f8
android: x86 porting work.
2012-07-20 16:40:21 +01:00
Michael Meeks
a42f5034af
couple more file extension
2012-07-12 10:40:25 +01:00
Iain Billett
df82184b2a
Added DocumentViewer class to hide page navigation/caching details.
...
Change-Id: Ic201bea9c22bc567d6769201df260aa2a38c6c16
2012-07-11 19:58:05 +01:00
Iain Billett
b8c2ade611
Use page thumbnails for icons.
...
Change-Id: I5df6341e5d1d8d775d2676d4ef5a52a528c6615c
2012-07-04 18:38:24 +01:00
Iain Billett
731332e6cc
Moved headers in xml files. Save page 1 thumbnail in onDestroy.
...
Change-Id: I7586c6475a8e717f3db24a31dca2b1e31068edc2
2012-07-04 18:38:24 +01:00
Iain Billett
7e7eafb19f
Added licence headers on java & xml files.
...
Change-Id: I2b9a62e3426e7842baeac24cf122fc83b4f238da
2012-07-04 18:38:24 +01:00
Iain Billett
478ba74ac4
removed progress bar - layout issues - will come back to it.
...
Change-Id: Ie949a416d2898750e8d76bd119ecb462d920d6ff
2012-07-04 18:38:24 +01:00
Iain Billett
e11cd35387
Added progress bar.
2012-07-04 18:38:23 +01:00
Iain Billett
75e43a66dc
Some optimisations of the open method to re use page views where possible. work in progress
2012-07-04 18:38:23 +01:00
Tor Lillqvist
daa5157a63
This is Java, not C++
...
Change-Id: I287fcb74ca4351867c27035c6d82def93c044056
2012-07-01 09:43:43 +03:00
Tor Lillqvist
f7e4239ce4
Update for SDK tools rev 20
...
Change-Id: I482d0a488e9de5b59ce74b9c4057b4103fb048dc
2012-06-30 10:16:05 +03:00
Tor Lillqvist
8841e75d5a
Hacking on on-demand multiple-level-of-detail quad-tree ideas
...
Change-Id: Ie5efb45d401721e844e3137474c1a7473a1ac144
2012-06-30 10:16:01 +03:00
Michael Meeks
98ec4db47a
android: add more extensions, fix build issue
2012-06-29 16:04:01 +01:00
Michael Meeks
5f091e66d7
android: cleanup the file extension guessing and expand it for prettiness
2012-06-29 15:54:09 +01:00
Iain Billett
06b935baa5
First draft of "navigator", a strip of "live" thumbnails which are clickable.
...
Open method to open random page, not first.
Put some UI set up in documentLoadTask as the UI requires the number of pages in the document which is only know on load.
2012-06-28 19:45:32 +01:00
Iain Billett
797df2912a
Some styling of document viewer. Transparent overlayed action bar with hide/show on tap. Navigation overlay with page thumbnails.
2012-06-28 19:45:31 +01:00
Markus Mohrhard
fa0fd16526
update cppunit to 1.13.0
...
Change-Id: If3896361c31a84b77e4c446dac75aeb9268605a0
2012-06-27 19:09:50 +02:00
Tor Lillqvist
c793a57f54
Use "largeHeap" and "hardwareAccelerated" (quite visible improvement)
...
Change-Id: I853ab39599fdc8d1b1eae5d2b2748f39535ebf64
2012-06-27 17:29:13 +03:00
Tor Lillqvist
0179c96282
Adapt page switch animation duration to fling velocity
...
Change-Id: I30e177b45b0e25d92fd7dea02ffe4e9c0731dce5
2012-06-27 12:58:50 +03:00
Tor Lillqvist
5bfb819581
Use GestureImageView again but still do handle page changes
...
Make the GestureImageView constructors take a OnGestureListener, and
store that, Move the FlingListener class into
GestureImageViewTouchListener so that FlingListener has access to the
fields of GestureImageViewTouchListener. If the image is fully zoomed
out and can't be dragged, pass flings on up, to DocumentLoader's
gestureListener.
Change-Id: I574280de23bdab2772a361833f561dff3e182bcd
2012-06-27 12:58:37 +03:00
Tor Lillqvist
6263315825
Whitespace cleanup
...
Change-Id: I52590908e6ba59c19aded2771d779c1cfa3a45ea
2012-06-27 12:56:31 +03:00
Michael Meeks
9b95765526
android: make launcher function as expected - starts writer.
...
Remove now redundant FONTCONFIG cmdline arguments, and add fallbacks
for not having cmdline arguments in the intent when launching.
2012-06-26 20:22:05 +01:00
Michael Meeks
d091217028
android: remove duplicate services.rdb from config, and static bits
2012-06-26 20:22:05 +01:00
Iain Billett
478465f216
Fixed some erroneous package references.
2012-06-25 14:26:18 +01:00
Tor Lillqvist
cd43461697
Add some "thinking aloud" style comments
...
Change-Id: Ib4a57649ec98bcbce851687633f35e52771f137a
2012-06-25 09:12:11 +03:00
Iain Billett
a84eb85c35
Fixed file opening.
2012-06-22 21:28:50 +01:00
Iain Billett
c19c312c87
LibreOffice4Android can now open actual .odt documents from the file explorer.
2012-06-22 18:25:53 +01:00
Iain Billett
3e0c6d83d5
LibreOffice4Android now builds.
2012-06-22 18:16:06 +01:00
Iain Billett
d3949d453d
An new project to combine DocumentLoader with the Android UI. (Not building - see manifest)
2012-06-22 17:33:51 +01:00
Iain Billett
520fbf75e3
Added a preferences activity to set default behaviour.
2012-06-22 13:15:53 +01:00
Tor Lillqvist
785221e74c
Use actual view size instead of 1024x1024
...
Change-Id: I66ae59fe88411f3f0d2423fd6f1412f7ac0e1a36
2012-06-20 15:14:57 +03:00
Tor Lillqvist
08a1763147
Parametrize the page cache size
...
Change-Id: Ia3d5538feaf1fc0aad4a0f1d901ae7bd22eae61d
2012-06-20 15:14:43 +03:00
Tor Lillqvist
f3748935be
Further tweaks to the async code
...
Change-Id: Ib1e76687054a254a9918a4391a1cb512c59c6515
2012-06-20 12:40:51 +03:00
Tor Lillqvist
7bcadeadfe
Asynchronous document loading and page rendering
...
Change-Id: I085024b6bfccf6846167a5de316912a395f4e301
2012-06-19 19:29:41 +03:00
Iain Billett
5e380fbdcd
Added file sorting - alphabetical, by size, by last modified.
2012-06-19 17:02:56 +01:00
Iain Billett
b059deda1d
Re-organised the Android UI code to make better use of Android lifecycle events. A little code streamlining, also.
2012-06-19 17:02:55 +01:00
Tor Lillqvist
daaa550121
Pass also scale and offset to createScreenCompatibleDeviceUsingBuffer()
...
Pass on to VirtualDevice where used to set the MapMode of the device
appropriately. Adapt DocumentLoader, use to scale the page rendering
to exactly fit the virtual device.
Change-Id: I4b0bc67e12114d3d9d493ff1aca2ef5d2cc78912
2012-06-18 22:38:41 +03:00
Iain Billett
907ad314fb
Some UI tweeks - trying to get long filenames to display nicely.
2012-06-15 23:18:39 +01:00
Iain Billett
889ff81df6
Fixed folder navigation in list view.
2012-06-15 21:59:50 +01:00
Iain Billett
d848fac2d7
Fixed view type persistence problem.
2012-06-15 21:59:50 +01:00
Iain Billett
2b8b434325
Fix view toggle menu item label.
2012-06-15 21:59:50 +01:00
Iain Billett
4310384030
Added a list view to the Android UI.
2012-06-15 16:12:05 +01:00