9f430b2782849090d2e5e3737304cd26724366fa |
|
20-Jul-2017 |
Steven Moreland <smoreland@google.com> |
Merge "frameworks/base: use proper nativehelper headers" am: 826eafd958 am: 5c091dc944 am: c840945a78 Change-Id: I654e14f0d1b495450db81592a2e564e308746350
|
5c091dc9449b583e18656a8850a61f557dfcc945 |
|
20-Jul-2017 |
Steven Moreland <smoreland@google.com> |
Merge "frameworks/base: use proper nativehelper headers" am: 826eafd958 Change-Id: I36f10ff4d963284a313f1cc5b368f82549a4adb2
|
2279b2534272282a5b5152723235da397e49195c |
|
19-Jul-2017 |
Steven Moreland <smoreland@google.com> |
frameworks/base: use proper nativehelper headers libnativehelper exports headers under nativehelper. These were available before incorrectly as global headers in order to give access to jni.h. Test: modules using frameworks/base find headers Bug: 63762847 Change-Id: I0f9f231acdebe460f279135462f43d3e32eff64d
/frameworks/base/core/jni/android/graphics/pdf/PdfRenderer.cpp
|
7c0ae0f58b9f258560088b670d3a4cb3ec5d832a |
|
17-Apr-2017 |
Mike Reed <reed@google.com> |
bitmaps and pixelrefs no longer need lock/unlock Test: covered by CtsGraphicsTestCases and hwui_unit_tests Change-Id: I42a25961a2eb3755d2fd22a617aa21a24ec0994f
/frameworks/base/core/jni/android/graphics/pdf/PdfRenderer.cpp
|
d55f20d3018d3328d9e26c971b814dfcb61aa7b2 |
|
17-Feb-2017 |
Philip P. Moltmann <moltmann@google.com> |
Use only official pdfium APIs Fixes: 28051413 Test: cts-tradefed run cts-dev -m CtsGraphicsTestCases -t android.graphics.pdf.cts cts-tradefed run cts-dev -m Print -t android.print.pdf.cts Change-Id: Iab52463ba225d3cddb1e97fe52cb9f56318cce68
/frameworks/base/core/jni/android/graphics/pdf/PdfRenderer.cpp
|
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/PdfRenderer.cpp
|
12328c0fd190c7baddb5f412c48005371672dc55 |
|
10-Jun-2016 |
Philip P. Moltmann <moltmann@google.com> |
Handle Pdfium errors ... and factor out common code from PdfEditor and PdfRenderer to PdfUtils.h Change-Id: If193579d8fccb55a3c2a7e1fa3c935ce410a17c2
/frameworks/base/core/jni/android/graphics/pdf/PdfRenderer.cpp
|
61a530742f70e59d7fbd7c35a22292176ca554fa |
|
31-May-2016 |
Philip P. Moltmann <moltmann@google.com> |
Use SkMatrix to compute pdf transformation. Bug: 28051413 Change-Id: Id17db12801a33955426d7e01d0af950b1c6468cf
/frameworks/base/core/jni/android/graphics/pdf/PdfRenderer.cpp
|
0768a7dc450caf4c873c5b0883a75135536e1546 |
|
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
/frameworks/base/core/jni/android/graphics/pdf/PdfRenderer.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/PdfRenderer.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/PdfRenderer.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/PdfRenderer.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/PdfRenderer.cpp
|
ed207b92747234eac88dd3664ecfb535e45d8ed1 |
|
10-Apr-2015 |
John Reck <jreck@google.com> |
Change how Java Bitmaps are accessed in a few places Stop assuming that a Java Bitmap has a SkBitmap* that has some externally managed lifecycle, and instead switch a bunch of users to accessing the bitmap by providing their own SkBitmap* on which to set the (ref counted!) SkPixelRef* instead Attempt #2 to land this, original issue was in getSkBitmap and should be fixed Change-Id: I0fd9e193968b41e5597784140d56b4885906864a
/frameworks/base/core/jni/android/graphics/pdf/PdfRenderer.cpp
|
edc22fba5921f5c2d3502727e707f959b8c3a460 |
|
21-Apr-2015 |
John Reck <jreck@google.com> |
Revert "Change how Java Bitmaps are accessed in a few places" Bug: 20207616 This reverts commit a771b9861d11671c780092d35c0062eeefcf37c0. Change-Id: Ifd891cc075274a7986e987229e0fed5a04ed9ff0
/frameworks/base/core/jni/android/graphics/pdf/PdfRenderer.cpp
|
a771b9861d11671c780092d35c0062eeefcf37c0 |
|
10-Apr-2015 |
John Reck <jreck@google.com> |
Change how Java Bitmaps are accessed in a few places Stop assuming that a Java Bitmap has a SkBitmap* that has some externally managed lifecycle, and instead switch a bunch of users to accessing the bitmap by providing their own SkBitmap* on which to set the (ref counted!) SkPixelRef* instead Change-Id: I0fd9e193968b41e5597784140d56b4885906864a
/frameworks/base/core/jni/android/graphics/pdf/PdfRenderer.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/PdfRenderer.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/PdfRenderer.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/PdfRenderer.cpp
|
035a7b0235835e856f39623fc571668e2d6048da |
|
14-Nov-2014 |
Andreas Gampe <agampe@google.com> |
am 0626ec58: Merge "Frameworks/base: Wall Werror in core/jni" * commit '0626ec58243c9dc7f4812a453ef9456b1f7ff1f4': Frameworks/base: Wall Werror in core/jni
|
0f0b4919667f418b249c497f5ad3e83fdf4437e5 |
|
12-Nov-2014 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Wall Werror in core/jni Turn on -Wall -Werror in core/jni. Fix warnings. Clang TODO: For GCC we need to turn off Wunused-but-set-variable in the GL bindings. However, Clang doesn't have that warning and thus complains about an unknown pragma. It is necessary to make the pragma #ifdef-ed on the compiler being GCC. Change-Id: I14cab48d45c2771eef0432082356c47ed44a3d7f
/frameworks/base/core/jni/android/graphics/pdf/PdfRenderer.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/PdfRenderer.cpp
|
525a66b2bb5abf844aff2109bdc9ed819566bece |
|
15-Jun-2014 |
Svet Ganov <svetoslavganov@google.com> |
Adding print preview. This change adds the pring preview part of the new print UX. The UI has two parts, the top section is the print options and the bottom section print preview with a list of pages. The user can interact only with one of them. When print options are expanded they cover the preview content and a scrim is laid out on top of the preview. Tapping the scrim collapses the print options. When the user types in page ranges and closes the options to look at the preview, the latter is updated to show only these pages. In the list of pages the user can further prune pages by deselecting them. Change-Id: I0b23d2c598afe2a34400ccfa43e4e935af83c72f
/frameworks/base/core/jni/android/graphics/pdf/PdfRenderer.cpp
|
2961769ea94f69c191a2dd785b2504666c7292d0 |
|
25-Apr-2014 |
Svetoslav <svetoslavganov@google.com> |
Adding APIs to render PDF documents. We need to render PDF documents for two main use cases. First, for print preview. Second, for resterizing the PDF document by a print service before passing it to a printer which does not natively support PDF (most consumer ones). Adding PDF rendering APIs improves guarantees for print quality as the same library is used for preview and rasterization. Also print vendors do not have to license third-party rendering engines. Last but not least as the platform uses PDF as its main print format it should also be able to natively render it. Change-Id: I57004a435db147663cafea40cf3296465aba7f99
/frameworks/base/core/jni/android/graphics/pdf/PdfRenderer.cpp
|