Lines Matching defs:Picture
23 * A Picture records drawing calls (via the canvas returned by beginRecording)
24 * and can then play them back into Canvas (via {@link Picture#draw(Canvas)} or
25 * {@link Canvas#drawPicture(Picture)}).For most content (e.g. text, lines, rectangles),
30 public class Picture {
44 public Picture() {
53 public Picture(Picture src) {
74 * be used anymore. This is automatically called if {@link Picture#draw}
75 * or {@link Canvas#drawPicture(Picture)} is called.
102 * {@link Picture#endRecording()} in order to prepare for playback.
129 public static Picture createFromStream(InputStream stream) {
130 return new Picture(nativeCreateFromStream(stream, new byte[WORKING_STREAM_STORAGE]), true);
137 * there is no guarantee that the Picture can be successfully reconstructed.
171 private Picture(int nativePicture, boolean fromStream) {
192 private final Picture mPicture;
194 public RecordingCanvas(Picture pict, int nativeCanvas) {
206 public void drawPicture(Picture picture) {