366262dc7854ba54f64905df8d275358be41edf5 |
|
12-May-2016 |
Philip P. Moltmann <moltmann@google.com> |
Only have a single call into pdfium at a time. Pdfium is not thread safe and uses global variables, hence no parallel call pdfium is safe Fixes: 28705066 Change-Id: I04309ee691bd9cea37587e0af5be2c07ce8c9f2c (cherry picked from commit 0768a7dc450caf4c873c5b0883a75135536e1546)
/frameworks/base/core/jni/android/graphics/pdf/PdfEditor.cpp
|
be2e7121872afe2f561f20c4660da854c31e1b66 |
|
27-Apr-2016 |
Philip P. Moltmann <moltmann@google.com> |
Syncronize pdfium initialization between users. Only initalize pdfium once per process and only destroy it once all users are gone. Bug: 28387883, 28370309, 28388184 Change-Id: I41e8f6da247a7cfab5fb9d159c047293719192c3
/frameworks/base/core/jni/android/graphics/pdf/PdfEditor.cpp
|
79bd8d48ad69c39834291809fe78ea478d067b68 |
|
07-Mar-2016 |
Philip P. Moltmann <moltmann@google.com> |
PDFium interface changed, hence adjust the adapter jni code. Bug: 27564090 Change-Id: I983398a90438062ecc9c7ebc0ad325777fa8aaff
/frameworks/base/core/jni/android/graphics/pdf/PdfEditor.cpp
|
b57dd722f1dc0663417da37d3a82f8283ad3c982 |
|
24-Sep-2015 |
Elliott Hughes <enh@google.com> |
resolved conflicts for a884d81e to stage-aosp-master Change-Id: Ice485967fa96f13786024b6939b826638e906ff0
|
76f6a86de25e1bf74717e047e55fd44b089673f3 |
|
19-Sep-2015 |
Daniel Micay <danielmicay@gmail.com> |
constify JNINativeMethod function pointer tables Change-Id: I4036c924958221cbc644724f8eb01c5de3cd7954
/frameworks/base/core/jni/android/graphics/pdf/PdfEditor.cpp
|
fbd02886559e7ca2b619ed0d9bff76b10cdb23c3 |
|
04-Jun-2015 |
Svet Ganov <svetoslavganov@google.com> |
Update the pdfium library - framework Change-Id: I4880e9310c02c6e26d4560fb8515f2ce51c597f4
/frameworks/base/core/jni/android/graphics/pdf/PdfEditor.cpp
|
71487eb0ceb2b7dea02649e78d99bb5952f5eaef |
|
19-Nov-2014 |
Mike Reed <reed@google.com> |
Merge frameworks/base changes from master-skia to master. Adaptations to changes in Skia upstream since Oct 2014. (https://code.google.com/p/skia/issues/detail?id=2377) cbb922d use new roundOut signature 77082de Call SkColorTable::readColors(). 5456ab1 Handle the result of SkMatrix::asAffine. 25cfc78 Remove dependence on SK_LEGACY_PICTURE_SIZE_API. BUG:18468293 Change-Id: I5a4d274e854298843891410b1ffd5e24f038b88a
/frameworks/base/core/jni/android/graphics/pdf/PdfEditor.cpp
|
7d13d9db1ef90063cb542ccd6554042a6a3263b7 |
|
21-Nov-2014 |
Andreas Gampe <agampe@google.com> |
resolved conflicts for merge of 3fc5e3ca to lmp-mr1-dev-plus-aosp Change-Id: Id8286e5a4381315a6060251a8055b0f1d1a96019
|
ed6b9dff563c5e22f040ff37e12c0d771e0478ae |
|
21-Nov-2014 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Consistency in core/jni Make consistent use of core_jni_helpers for registration. Translate some #ifdefs into const bools. Change-Id: I37639aa053dd50f003a552cbd8550dddecc811c5
/frameworks/base/core/jni/android/graphics/pdf/PdfEditor.cpp
|
3a091b79978caa9b5d58ae19f693279e5a717c2a |
|
21-Nov-2014 |
Dan Albert <danalbert@google.com> |
resolved conflicts for merge of 8e0cfe7c to lmp-mr1-dev-plus-aosp Change-Id: I068d2a0fb118d4e2b4c1e546bebfcbc2cb120d36
|
46d8444631b4b1253a76bfcc78a29d26014d022f |
|
19-Nov-2014 |
Dan Albert <danalbert@google.com> |
Fix clang warnings in core/jni. There are a few bugs in here too (mostly people expecting + to concatenate C strings) :( Change-Id: I0a243c05c4ea8b56e84896f37814d0fbea4c39d5
/frameworks/base/core/jni/android/graphics/pdf/PdfEditor.cpp
|
b380d7eeee2ea73bcd2bfdf0b0b3339ab93ff75c |
|
19-Nov-2014 |
Chih-hung Hsieh <chh@google.com> |
am b1e4e89b: Merge "Fix incorrect usage of bool" * commit 'b1e4e89b86ee12335fa1398a6b2bc0a0604599de': Fix incorrect usage of bool
|
92ddfcfff5cec32456e2d1e0d96671f1eb0e2986 |
|
17-Nov-2014 |
Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> |
Fix incorrect usage of bool A bool can't be < 0 Change-Id: Ie94ffadcb38c95214d1105c02610e59b4b2872b2 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
/frameworks/base/core/jni/android/graphics/pdf/PdfEditor.cpp
|
f4e341d99c4c29cb6cc7380829a316cf4847f3df |
|
14-Nov-2014 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Mask pdfium warning Mask out warnings from external/. Change-Id: I371e1346925c7eb5cdc9c4dcffab41ff0c6ddd63
/frameworks/base/core/jni/android/graphics/pdf/PdfEditor.cpp
|
fce84f035c35606c5707e735f503f7bdcfd5b2a1 |
|
01-Nov-2014 |
Svet Ganov <svetoslavganov@google.com> |
Crash apps that print malformed or password protected PDFs. If apps are writing malformed content (typically not a PDF file) or if the PDF content they provide to the print system is password protected, are now crashed as both of these are app bugs. bug:17636435 Change-Id: Ifce6a3199e587448dd38f6a84290a965c24b698b
/frameworks/base/core/jni/android/graphics/pdf/PdfEditor.cpp
|
bec22beb99b279d381f720d761ca75fe3e7414dc |
|
25-Sep-2014 |
Svetoslav <svetoslavganov@google.com> |
Save to a PDF file should look like print preview. When rendering a PDF file for print preview we take into account the selected print options such as paper size, orientation, etc without modifying the document. To print we send the doc in its original form and the print options so the print service can apply the necessary transforms in addition to the optional custom options it supports. When saving to PDF we have to actually change the document as we act as a print service. bug:13545980 Change-Id: Icdcecf962bec6ff742cc6015df5af9d9086ce760
/frameworks/base/core/jni/android/graphics/pdf/PdfEditor.cpp
|
62ce332c141cf7bc7200c4c87d63e395874fc3ec |
|
05-Sep-2014 |
Svetoslav <svetoslavganov@google.com> |
Trim unnecessary pages when printing. A user may request a subset of the document's pages to be printed. In this case the expectation is that the resulting document does not include not selected pages. While print serivices can do the trimming themselves or the printer may do so, moving, potantually many, redundant pages is inefficient. The real problem is when saving to a PDF file where the saved file must not have the pages the user did not select. This change adds shredding of undesired pages from the PDF before saving it or passing it to a print service. : bug:17285994 Change-Id: I7deba535af99457bea3c118202314f0f3812e809
/frameworks/base/core/jni/android/graphics/pdf/PdfEditor.cpp
|