summaryrefslogtreecommitdiff
path: root/android/src
AgeCommit message (Collapse)Author
2013-06-20Rearrange source files.Tor Andersson
2013-06-17Tweaks to ink annotation for smoothness.Paul Gardiner
Patch from "andyhan2000" to make the ink annotations smoother.
2013-05-30Android: Tweak towards api-7 compatibilityRobin Watts
Avoid using event.getActionMasked.
2013-05-28Android: disable whole "extras" menu when in reflow modePaul Gardiner
2013-05-27Fix indentation to be consistent with regard to tabs/spaces.Tor Andersson
2013-05-24Bug 694092: Android: Redraw performance (overdraw) fixesRobin Watts
Thanks to Goncalo Ferreira(*) (aka monxalo) for this patch. Firstly, we move our textured background off the layout and into a style applied to MuPDFActivity. By using "windowBackground", we avoid the default background being redrawn only to be overlaid with ours. This cuts out one level of overdrawing. Secondly, when drawing each PageView, the old code would render the background for the page, then would draw the bitmap over the top of that. While it's important to draw the background of the page before we have a bitmap for the page, we can avoid that stage once a page bitmap arrives. (* apologies for not being able to put the cedilla on the 'c' in your name, but git gives problems with top bit set chars.)
2013-05-03Simple Image file format recogniserRobin Watts
Now can open jpeg/png/tiff files within mupdf.
2013-04-16android: More string cleanups.Tor Andersson
2013-04-11android: Clean up string resources.Tor Andersson
2013-04-09Android: Ensure mTopBarMode is initialisedRobin Watts
Otherwise loading calc.pdf and clicking buttons causes a null pointer exception.
2013-04-09Android: Remove import of java.util.DequeRobin Watts
We have this as a local class, and the import was a hangover from old code that stops it working on Froyo/Gingerbread.
2013-04-09Android: handle features not supported other than for PDF filesPaul Gardiner
2013-04-09Android: new, more-logical menu hierarchyPaul Gardiner
2013-04-08Android: Fix operation under Froyo/Gingerbread.Robin Watts
Android resolves references at class load time, so when MuPDFActivity is loaded, it tries to resolve AnimatorInflater. This fails on a 2.2 system. The fix is to push the code into 'SafeAnimatorInflater'. When MuPDFActivity is loaded, SafeAnimatorInflater is resolved, but it's not actually loaded until it's used. We never use it unless we have at least honeycomb, hence we never try to resolve the missing class.
2013-04-04Android: quicker response to print failurePaul Gardiner
2013-04-03Android: avoid SEGV when printing fails, and display errorPaul Gardiner
2013-04-03Android: prepare for localisationPaul Gardiner
2013-04-03Use xml onClick field to avoid some of the explicit Button objectsPaul Gardiner
2013-03-29Android: some user-feedback improvementsPaul Gardiner
Disable some features when in reflow mode Disable features when document format prohibits Add a few instructional on-scrren, info messages
2013-03-29Android: initial support for printingPaul Gardiner
This wont work for other than PDF documents Also, we should save the file before printing if it has been changed
2013-03-27Android: fix git rebase slipPaul Gardiner
2013-03-26Android: Ensure that autorotate doesn't kick us out of reflow mode.Robin Watts
2013-03-26Android: Popup notifications for entering/exiting reflow mode.Robin Watts
2013-03-25Android: remove unintentional reliance on API 9Paul Gardiner
The AsyncTask class we took from android source makes use of ArrayDeque which in turn makes use of Deque, neither of which are available below API 9. Fix is to take these two classes from android source also
2013-03-25Android: add support for Ink annotation creationPaul Gardiner
2013-03-24Android: warn when no text selected and avoid creating empty annotationsPaul Gardiner
2013-03-24Add another input mode for drawing ink annotationsPaul Gardiner
2013-03-21Bug 693719: Android: Catch exceptions when counting pages.Robin Watts
Return 0. Check for this case when opening a PDF and give a nice dialogue. Fix the nice dialogue code so that it doesn't crash afterwards due to a null mSearchTask.
2013-02-28Fix bug: failure to set the SubType field of created annotations.Paul Gardiner
Also, in the app, protect against exceptions thrown due to unknown annotation types.
2013-02-26Android: add support for highlight and underline markup annotations.Paul Gardiner
Highlight annotations currently come out opaque so aren't a lot of use.
2013-02-26Include required quadPoints entry in created markup annotations.Paul Gardiner
Also change the way we pass the text rectangles so that non-axis-aligned ones can be permitted, and relocate the code that calculates the strike-out lines from the bounding boxes
2013-02-26Android: implement annotation deletionPaul Gardiner
2013-02-22Android: add annotation-editing menu, triggered on annotation selectionPaul Gardiner
2013-02-22Android: support selection of annotationPaul Gardiner
2013-02-22Android: move selected text operations from PageView to MuPDFPageViewPaul Gardiner
2013-02-22Android: avoid unnecessary repeated set up of child viewsPaul Gardiner
This change showed up a bug where highlights may fail to show if passed in while the page was set as blank. That bug is also fixed in this commit
2013-02-22Android: add MuPDFCore.getAnnotationsPaul Gardiner
2013-02-13Android: highlight reflow icon when in reflow modePaul Gardiner
2013-02-11Android: factor out ReaderView's special handling of MuPDFView objectsPaul Gardiner
2013-02-11Android: factor out search from main activityPaul Gardiner
2013-02-05Android: reflow - request layout each time we learn a new page heightPaul Gardiner
2013-02-05Android: Avoid SEGV on reflow on HTC Desire HDRobin Watts
Move the one time setup of the HTMLOUT javascript interface etc into the constructor. This seems to avoid the occasional SEGV caused while flipping pages on the HTC Desire in reflow mode.
2013-02-05Android: avoid view churn in reflow modePaul Gardiner
2013-02-05Android: reflow - get zoom working againPaul Gardiner
2013-02-05Android: avoid byte[] -> String -> byte[]Paul Gardiner
2013-02-05Android: Use HTML output in reflow mode.Robin Watts
This gets us styles.
2013-02-04Android: reset zoom on mode changePaul Gardiner
We should probably record the last scale for each mode and reenstate it when returning to that mode, but there are a few difficulties to that that need to be addressed
2013-02-04Android: alter zoom range for reflow modePaul Gardiner
2013-02-04Android: zooming in reflow mode altering CSS fontSize via javascriptPaul Gardiner
2013-02-04Android: add hooks for zooming in reflow modePaul Gardiner