History log of /frameworks/support/v4/java/android/support/v4/print/PrintHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f858b86418fc586d681e47c994d81f11c9d12ec2 08-Sep-2014 Svet Ganov <svetoslavganov@google.com> Fix NPE in PrintHelper.

bug:17367152

Change-Id: If413fdf4c8f8836ea0270b9d3c0e2cddcd6c0ad2
/frameworks/support/v4/java/android/support/v4/print/PrintHelper.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/java/android/support/v4/print/PrintHelper.java
975c49f182d754dfe1a38ba0457d6e603b125570 07-Nov-2013 John Hoford <hoford@google.com> add Async handling of Print

bug:11322643
Change-Id: I9f1272f4d96752d9ce817a56f2e3e7766b82f989
/frameworks/support/v4/java/android/support/v4/print/PrintHelper.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/java/android/support/v4/print/PrintHelper.java
5030ecfe56689afe327c82bb8a197999389dee13 07-Oct-2013 Svetoslav Ganov <svetoslavganov@google.com> Adding a code name version check until the SDK constant for K is set.

The code in PrintHelper was using only the SDK version to determine
whether to use the K specific print code. While this is correct we
still do not have the SDK constant for K set and the incorrect
implementation is loaded. This change adds a check for the code name
or the SDK version to ensure it works now and in the future. There
is a bug tracking the removal of the code name check.

bug:11099831

Change-Id: Ib0b6ed355519385957a7a3a53de507ba7d866687
/frameworks/support/v4/java/android/support/v4/print/PrintHelper.java
b07ca601bba6ed850b7cf9fedcd44158d78a721f 03-Oct-2013 Dianne Hackborn <hackbod@google.com> Update support lib to match final KitKat API version.

Bug: 10348975

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

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