/frameworks/base/core/jni/android/graphics/ |
Picture.cpp | 40 SkPicture* picture = NULL; local 43 picture = new SkPicture(strm); 46 return picture; 49 static void killPicture(JNIEnv* env, jobject, SkPicture* picture) { 50 SkASSERT(picture); 51 delete picture; 55 SkPicture* picture) { 57 SkASSERT(picture); 58 picture->draw(canvas); 61 static bool serialize(JNIEnv* env, jobject, SkPicture* picture, [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PictureTest.java | 28 import android.graphics.Picture; 36 @TestTargetClass(Picture.class) 45 method = "Picture", 50 method = "Picture", 51 args = {android.graphics.Picture.class} 91 Picture picture = new Picture(); local 94 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT); 97 picture.endRecording() [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
PictureDrawable.java | 25 import android.graphics.Picture; 31 * Drawable subclass that wraps a Picture, allowing the picture to be used 36 private Picture mPicture; 39 * Construct a new drawable referencing the specified picture. The picture 42 * @param picture The picture to associate with the drawable. May be null. 44 public PictureDrawable(Picture picture) { [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
PictureDrawableTest.java | 27 import android.graphics.Picture; 37 args = {android.graphics.Picture.class} 41 assertNotNull((new PictureDrawable(new Picture())).getPicture()); 52 // Create Picture for drawing 53 Picture picture = new Picture(); local 54 Canvas recodingCanvas = picture.beginRecording(100, 200); 56 picture.endRecording(); 57 pictureDrawable.setPicture(picture); 93 Picture picture = new Picture(); local 170 Picture picture = new Picture(); local [all...] |
/external/webkit/WebCore/platform/graphics/android/ |
PlatformGraphicsContext.cpp | 57 // its picture. 61 mCanvas->drawPicture(*(ptr->picture())); 68 // Place a reference to our subpicture in the Picture. 69 mCanvas->drawPicture(*(container.picture()));
|
LayerAndroid.h | 132 SkPicture* picture() const { return m_recordingPicture; } function in class:WebCore::LayerAndroid 225 LayerAndroid(SkPicture* picture) : 226 m_recordingPicture(picture), // does not assign ownership 229 SkPicture* picture() const { return m_recordingPicture; }
|
PlatformGraphicsContext.h | 75 // m_picture is referenced by another picture. When the other pictures are 89 SkPicture* picture() { return m_picture; } function in class:Container 107 // re-record to the subpicture, so the master picture will reflect the 131 // picture, so that we can rerecord this button without rerecording the
|
/external/webkit/WebKit/android/jni/ |
PictureSet.h | 58 void add(const SkRegion& area, SkPicture* picture, 61 add(area, picture, elapsed, split, emptyPicture(picture)); 63 void add(const SkRegion& area, SkPicture* picture, 95 bool mEmpty : 8; // true if the picture only draws white
|
PictureSet.cpp | 76 void PictureSet::add(const SkRegion& area, SkPicture* picture, 81 area.getBounds().fRight, area.getBounds().fBottom, picture, 83 picture->safeRef(); 84 /* if nothing is drawn beneath part of the new picture, mark it as a base */ 89 Pictures pictureAndBounds = {area, picture, area.getBounds(), 96 When a picture is partially drawn over, it is discarded if it is not a base, and 349 IsEmptyCanvas(SkBounder* bounder, SkPicture* picture) : 350 mPicture(picture), mEmpty(true) { 421 virtual void drawPicture(SkPicture& picture) { 422 SkCanvas::drawPicture(picture); [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Picture.java | 23 * A picture records drawing calls (via the canvas returned by beginRecording) 24 * and can then play them back (via picture.draw(canvas) or canvas.drawPicture). 25 * The picture's contents can also be written to a stream, and then later 26 * restored to a new picture (via writeToStream / createFromStream). For most 27 * content (esp. text, lines, rectangles), drawing a sequence from a picture can 28 * be faster than the equivalent API calls, since the picture performs its 31 public class Picture { 37 public Picture() { 42 * Create a picture by making a copy of what has already been recorded in 44 * changes will not be reflected in this picture [all...] |
Canvas.java | 38 /* Our native canvas can be either a raster, gl, or picture canvas. [all...] |
/external/webkit/WebKit/android/nav/ |
CachedLayer.cpp | 81 SkPicture* CachedLayer::picture(const LayerAndroid* root) const function in class:android::CachedLayer 86 DBG_NAV_LOGD("root=%p aLayer=%p [%d] picture=%p", 87 root, aLayer, aLayer->uniqueId(), aLayer->picture()); 88 return aLayer->picture(); 117 DUMP_NAV_LOGX("%.*s layer=%p [%d] (%g,%g,%g,%g) picture=%p clipped=%s", 120 layer->picture(), layer->m_haveClip ? "true" : "false");
|
SelectText.cpp | [all...] |
CachedLayer.h | 54 SkPicture* picture(const LayerAndroid* root) const;
|
SelectText.h | 58 bool wordSelection(const SkPicture* picture); 75 SkIRect m_visibleRect; // constrains picture computations to visible area
|
CachedRoot.h | 98 void setPicture(SkPicture* picture) { mPicture = picture; }
|
CachedRoot.cpp | 310 virtual void drawPicture(SkPicture& picture) { 312 SkCanvas::drawPicture(picture); 339 LeftCheck examines the text in a picture, within a viewable rectangle, 455 CenterCheck examines the text in a picture, within a viewable rectangle, 460 the height and three times the width of the view. The picture is drawn centered 746 bool CachedRoot::checkRings(SkPicture* picture, 750 if (!picture) 759 checker.drawPicture(*picture); 847 SkPicture* picture = node ? frame->picture(node) : pictureAt(x, y) local 1089 SkPicture* picture = frame->picture(bestNode); local 1304 SkPicture* picture = layer->picture(); local [all...] |
/external/clearsilver/imd/ |
imdm.py | 51 def makepictureurl(dir,picture): 53 return "%s?album=%s&picture=%s" % (albumstartfile,dir,picture) 59 def picturedisplay(basedir,album,picture): 64 imagename = os.path.join(album,picture) 196 picture = cgiform.getvalue('picture',None) 200 elif picture is None: 203 picturedisplay(BASEDIR,album,picture)
|
imd.cs | 23 - <?cs var:Picture ?><?cs /if ?></TITLE> 54 <TD><a href="<?cs var:CGI.PathInfo?>?album=<?cs if:Album ?><?cs var:Album ?>/<?cs /if ?><?cs var:album ?>&picture=<?cs var:url_escape(image) ?>"><img border=0 width=<?cs var:image.width ?> height=<?cs var:image.height ?> src="<?cs var:CGI.PathInfo?>?image=<?cs if:Album ?><?cs var:url_escape(Album) ?>/<?cs /if ?><?cs var:url_escape(album) ?>/<?cs var:url_escape(image) ?>&width=<?cs var:image.width ?>&height=<?cs var:image.height ?>"></a></TD> 104 <TD><?cs call:frame_picture(image, CGI.PathInfo + "?album=" + Album + "&picture=" + url_escape(image), "8") ?></TD> 136 <?cs else ?><?cs # picture ?> 140 <a href="<?cs var:CGI.PathInfo?>?album=<?cs var:Album ?>&picture=<?cs var:url_escape(image) ?>"> 160 <TD><IMG name="frame1" border=0 height=18 width=<?cs var:Picture.width ?> src="1.gif"></TD> 164 <TD><IMG name="frame3" border=0 height=<?cs var:Picture.height ?> width=18 src="3.gif"></TD> 165 <?cs if:#0 && Picture.avi ?> 166 <TD><EMBED CONTROLborder=0 width=<?cs var:Picture.width?> height=<?cs var:Picture.height?> src="<?cs var:CGI.PathInfo?>?image=<?cs var:url_escape(Album) ?>/<?cs var:url_escape(Pict (…) [all...] |
imd.c | 717 NEOERR *dowork_picture (CGI *cgi, char *album, char *picture) 734 ch = strrchr(picture, '/'); 738 snprintf(t_album, sizeof(t_album), "%s/%s", album, picture); 741 picture = t_pic; 757 err = hdf_set_value (cgi->hdf, "Context", "picture"); 764 err = rotate_image(path, picture, rotate, nfile); 766 picture = strrchr(nfile, '/') + 1; 775 err = hdf_set_value (cgi->hdf, "Picture", picture); 788 if (!strcmp(name, picture)) 1080 char *picture; local [all...] |
/external/skia/src/utils/ |
SkDumpCanvas.cpp | 375 void SkDumpCanvas::drawPicture(SkPicture& picture) { 376 this->dump(kDrawPicture_Verb, NULL, "drawPicture(%p) %d:%d", &picture, 377 picture.width(), picture.height()); 379 this->INHERITED::drawPicture(picture); 381 this->dump(kDrawPicture_Verb, NULL, "endPicture(%p) %d:%d", &picture, 382 picture.width(), picture.height());
|
SkProxyCanvas.cpp | 137 void SkProxyCanvas::drawPicture(SkPicture& picture) { 138 fProxy->drawPicture(picture);
|
/external/skia/src/core/ |
SkPictureRecord.h | 52 virtual void drawPicture(SkPicture& picture); 110 void addPicture(SkPicture& picture);
|
SkPicturePlayback.h | 138 void dumpPicture(const SkPicture& picture) const;
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
Transition3d.java | 21 * show the picture. When the user clicks the picture, it flips to show the 24 * the picture by 90 degrees on the Y axis. When the first half finishes, the 25 * list is made invisible and the picture is set visible. 60 mImageView = (ImageView) findViewById(R.id.picture); 83 * @param position the item that was clicked to show a picture, or -1 to show the list
|