History log of /frameworks/support/v4/kitkat/android/support/v4/print/PrintHelperKitkat.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
45f4520ad78647cee60e429d9c0ddd0005e07456 04-Apr-2016 Philip P. Moltmann <moltmann@google.com> Deal with 0 color and duplex mode in supprot lib.

Change-Id: I814e25ece5bb05467be1d5f5737c65f28f7e86a4
/frameworks/support/v4/kitkat/android/support/v4/print/PrintHelperKitkat.java
73cad7b8c14ee0003a958e9a30be11e4ecaf304d 03-Mar-2016 Philip P. Moltmann <moltmann@google.com> Use fake margins on PrintHelper-api23 as in M anything but margins == 0
is broken

Bug: 26961589
Change-Id: Ife618281409d6d469493e119c28fdd60c9eb15b4
/frameworks/support/v4/kitkat/android/support/v4/print/PrintHelperKitkat.java
215440785861d37af3c6056be63ec2dd8274c452 29-Jan-2016 Philip P. Moltmann <moltmann@google.com> Turn the image if the orientation is not given and does not match the picture.

mOrientation == 0 (unset) used to mean orientation == Landscape when
printed via PrintBitmap(name, URI). Now it also mean turn bitmap if needed.

Also for API level 20 to 23 the printActivity completely ignores the
suggested oritatation, hence always turn the image if needed.

Bug: 19194758
Change-Id: If1e20e78308eb58cdc23b2d19bb5acb70e324e5b
/frameworks/support/v4/kitkat/android/support/v4/print/PrintHelperKitkat.java
16ccdd01f9b7b69041decfbd484d6a399aec7904 17-Jun-2015 Makoto Onuki <omakoto@google.com> Support grayscale bitmap

Unfortunately PdfCanvas doesn't seem to support the Paint option (or maybe just
ColorMatrix), we need to create another Bitmap.

Bug 13401761

Change-Id: I219b0534a573e1fac924c9715bcf8c949884d021
/frameworks/support/v4/kitkat/android/support/v4/print/PrintHelperKitkat.java
854aed9e83ca17ad558f3aec7fff49ef2153ceaf 27-Jan-2015 Svetoslav <svetoslavganov@google.com> Print helper does not provide correct image on print options chagnes..

The print helper was not updating the current attributes if they
change after it has loaded the bitmap.

bug:18995487

Change-Id: I4e758e35287a699ff0f5cd32401a9178fde836ce
/frameworks/support/v4/kitkat/android/support/v4/print/PrintHelperKitkat.java
b4eb9c984f1c6ac8007c74fab239437cf9f6b474 03-Sep-2014 Svet Ganov <svetoslavganov@google.com> Add a print finished callback to PrintHelper.

Applications that implement printing via the PrintHelper need to know
when printing is finished, i.e. the system got all the data for the
print job or the print job was cancelled, because they should not finish
the activity that initiated printing until the print interaction finishes.
Othwrwise, the connection between this activity and the print framework
will break and printing will fail.

bug:17367152

Change-Id: I9a25bc44e6dd0331fb146daf66ad81f39802ebdc
/frameworks/support/v4/kitkat/android/support/v4/print/PrintHelperKitkat.java
975c49f182d754dfe1a38ba0457d6e603b125570 07-Nov-2013 John Hoford <hoford@google.com> add Async handling of Print

bug:11322643
Change-Id: I9f1272f4d96752d9ce817a56f2e3e7766b82f989
/frameworks/support/v4/kitkat/android/support/v4/print/PrintHelperKitkat.java
09ad64345349f27bdeb53c536f178e46bb7ce5ac 14-Oct-2013 Svetoslav Ganov <svetoslavganov@google.com> Add color mode to PrintHelper.

Most of the time people pringing a bitmap would like the output
to be in color. Hence, when calling the platform print method
this class has to provode the corresponding color mode hint. This
change adds a color mode option to the PrintHelper class and
defaults to color. The client can override this behavior.

bug:11216402

Change-Id: Ie554e79c4b776a1582aa2b9915672bbf84519f49
/frameworks/support/v4/kitkat/android/support/v4/print/PrintHelperKitkat.java
545f1bf8b47c12d2453143706a2fd76d9eef2368 10-Oct-2013 Svetoslav Ganov <svetoslavganov@google.com> Guard against null pointer if a tream to a Uri cannot be opened.

bug:11150696

Change-Id: I99cd47712e6ddc9f0a28854da4ff4100d31d6ec1
/frameworks/support/v4/kitkat/android/support/v4/print/PrintHelperKitkat.java
b363776d911abae9d067b9ef77fccc1c3c56e652 26-Sep-2013 Svetoslav <svetoslavganov@google.com> Adding a helper class for printing bitmaps

Change-Id: Id08aeadaf2f17dd869a63468f735a0534f67dbf8
/frameworks/support/v4/kitkat/android/support/v4/print/PrintHelperKitkat.java