summaryrefslogtreecommitdiff
path: root/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/MainActivity.java
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2013-10-29 16:02:20 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2013-10-29 22:59:03 -0700
commit0b73e61c6c2ff5acb70a7e78717dee3c36a88d6d (patch)
treeef004b84a9cc402464968a0a2486bf2cd4b7970f /samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/MainActivity.java
parent15a65401a8071dd36641726e788e19abe91d5b47 (diff)
Adding an API demo for how to implement printing in an app.
This is a very comprehensive code sample in which: 1. Layout based on the selected print options is performed. 2. Layout work is performed only if print options change would change the content. 3. Layout result is properly reported. 4. Only requested pages are written. 5. Write result is properly reported. 6. Both Layout and write respond to cancellation. 7. Layout and render of views is demonstrated. Change-Id: I0179b025b286f0a511cb2268da18c729c66874ba
Diffstat (limited to 'samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/MainActivity.java')
0 files changed, 0 insertions, 0 deletions