summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2011-11-14Add 'simple scale' variant of scaling routines.Robin Watts
draw_simple_scale.c is a cut down version of draw_scale.c, that only uses filter functions that return values strictly in the 0 to 1 range. Because of that, we can use bytes rather than ints as intermediate storage, and have no clipping to do.
2011-11-14ARM opts in draw_scale.c; updated android build opts.Robin Watts
Kammerer reports 90%+ of CPU time is spent in the image scaling code for his documents on Android. In this commit we provide ARM optimised cores for the common scaling routines (1/2/4 components). Tests indicate this doubles the speed of rendering for a bitmap heavy PDF file on an HTC desire. This code is included if ARCH_ARM is defined. If ARCH_THUMB is defined then extra instructions are added to ensure correct interworking. We also update the Android jni makefiles to set these defines. We update the ReadMe.txt with more explicit instructions and update with more modern ndk/sdk versions. We update build.xml in line with new sdk releases.
2011-07-05Fix bug 692276. Android not displaying pdf contents.Robin Watts
The calculation of the translation due to the mediabox/cropbox was wrong on android, causing nothing to be rendered.
2011-07-04Android build lifecycle tweaks; fix leaking.Robin Watts
If the app was hidden, and then restarted, it would leak lots of memory due to onCreate not only being called on create. To fix this, we armour the app a bit aginst such problems, including adding code to destroy the core when the app really is destroyed.
2011-07-04Update android documentation to be clearer.Robin Watts
In particular say where to get thirdparty and how to generate generated. Also note that ndk-build should be run in android, NOT in andoid/jni.
2011-06-01Fix android build; bug 692222.Robin Watts
Bring the MuPDF android build up to date with the latest source changes. Many thanks to Dominic Battre for his helpful report in bug 692222.
2011-04-04android: Conform to coding convention.Tor Andersson
Use tabs for indentation and no extra spaces to align stuff.
2011-04-04Le Roi est mort, vive le Roi!Tor Andersson
The run-together words are dead! Long live the underscores! The postscript inspired naming convention of using all run-together words has served us well, but it is now time for more readable code. In this commit I have also added the sed script, rename.sed, that I used to convert the source. Use it on your patches and application code.
2011-02-05Add missing MuPDFCore.java file.Tor Andersson
2011-01-29Remove file local.properties from android build.Tor Andersson
2011-01-17Speed up android app rendering by reusing a display list, and rename some of ↵Robin Watts
the internal classes.
2011-01-17Changes to make mupdf build under android ndk-r5.Robin Watts
2010-12-02Import Android demo.Robin Watts