Lines Matching defs:picture
27 import android.graphics.Picture;
1013 public void drawPicture(Picture picture) {
1014 if (picture.createdFromStream) {
1018 picture.endRecording();
1023 public void drawPicture(Picture picture, Rect dst) {
1024 if (picture.createdFromStream) {
1030 if (picture.getWidth() > 0 && picture.getHeight() > 0) {
1031 scale(dst.width() / picture.getWidth(), dst.height() / picture.getHeight());
1033 drawPicture(picture);
1038 public void drawPicture(Picture picture, RectF dst) {
1039 if (picture.createdFromStream) {
1045 if (picture.getWidth() > 0 && picture.getHeight() > 0) {
1046 scale(dst.width() / picture.getWidth(), dst.height() / picture.getHeight());
1048 drawPicture(picture);