/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
DisplayList.cpp | 53 SkPicture* DisplayList::picture() const function in class:WebCore::DisplayList
|
DeferredImageDecoderTest.cpp | 70 SkPicture* picture; member in struct:WebCore::__anon10836::Rasterizer 206 static void rasterizeMain(SkCanvas* canvas, SkPicture* picture) 208 canvas->drawPicture(*picture);
|
/external/chromium_org/cc/trees/ |
layer_tree_host_unittest_picture.cc | 16 // These tests deal with picture layers. 30 scoped_refptr<FakePictureLayer> picture = variable 32 layer_tree_host()->root_layer()->AddChild(picture); variable 43 // Drop the picture layer from the tree. 47 // Add a new picture layer. 48 scoped_refptr<FakePictureLayer> picture = variable 50 layer_tree_host()->root_layer()->AddChild(picture); variable 83 // and active layer. Then we recreate a picture layer in the 4th activate
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PictureTest.java | 28 import android.graphics.Picture; 39 Picture picture = new Picture(); local 42 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT); 45 picture.endRecording(); 49 picture.draw(canvas); 50 checkSize(picture); 53 picture.writeToStream(bout); 54 picture = Picture.createFromStream(new ByteArrayInputStream(bout.toByteArray())) [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
PictureDrawableTest.java | 23 import android.graphics.Picture; 31 assertNotNull((new PictureDrawable(new Picture())).getPicture()); 37 // Create Picture for drawing 38 Picture picture = new Picture(); local 39 Canvas recodingCanvas = picture.beginRecording(100, 200); 41 picture.endRecording(); 42 pictureDrawable.setPicture(picture); 62 // Test with null Picture objec 66 Picture picture = new Picture(); local 106 Picture picture = new Picture(); local [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
JavaBrowserViewRendererHelper.java | 9 import android.graphics.Picture; 16 * Provides auxiliary methods related to Picture objects and native SkPictures. 67 * Creates a new Picture that records drawing a provided bitmap. 68 * Will return an empty Picture if the Bitmap is null. 71 private static Picture recordBitmapIntoPicture(Bitmap bitmap) { 72 Picture picture = new Picture(); local 74 Canvas recordingCanvas = picture.beginRecording(bitmap.getWidth(), bitmap.getHeight()); 76 picture.endRecording() [all...] |
AwContentsClientCallbackHelper.java | 7 import android.graphics.Picture; 125 Picture picture = null; local 127 if (msg.obj != null) picture = (Picture) ((Callable<?>) msg.obj).call(); 129 throw new RuntimeException("Error getting picture", e); 131 mContentsClient.onNewPicture(picture); 179 public void postOnNewPicture(Callable<Picture> pictureProvider) {
|
/frameworks/base/core/jni/android/graphics/ |
Picture.cpp | 41 SkPicture* picture = NULL; local 44 picture = SkPicture::CreateFromStream(strm); 47 return picture; 50 static void killPicture(JNIEnv* env, jobject, SkPicture* picture) { 51 SkASSERT(picture); 52 picture->unref(); 56 SkPicture* picture) { 58 SkASSERT(picture); 59 picture->draw(canvas); 62 static bool serialize(JNIEnv* env, jobject, SkPicture* picture, [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
meye.h | 42 unsigned char picture; member in struct:meye_params
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
meye.h | 42 unsigned char picture; member in struct:meye_params
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
meye.h | 42 unsigned char picture; member in struct:meye_params
|
/external/chromium_org/cc/debug/ |
picture_record_benchmark.cc | 113 scoped_refptr<Picture> picture = Picture::Create(rect); local 114 picture->Record(painter, tile_grid_info);
|
/external/chromium_org/cc/layers/ |
content_layer.cc | 161 skia::RefPtr<SkPicture> picture = skia::AdoptRef(new SkPicture); local 162 SkCanvas* canvas = picture->beginRecording(width, height); 164 picture->endRecording(); 165 return picture;
|
picture_layer.cc | 110 // the full page content must always be provided in the picture layer. 144 // picture. For now we just paint a fresh one to get consistent results. 152 skia::RefPtr<SkPicture> picture = skia::AdoptRef(new SkPicture); local 153 SkCanvas* canvas = picture->beginRecording(width, height); 155 picture->endRecording(); 156 return picture;
|
/external/chromium_org/cc/resources/ |
picture_unittest.cc | 5 #include "cc/resources/picture.h" 43 // Invalid picture (not a dict). 45 scoped_refptr<Picture> invalid_picture = 46 Picture::CreateFromValue(tmp.get()); 49 // Single full-size rect picture. 51 scoped_refptr<Picture> one_rect_picture = Picture::Create(layer_rect); 57 // Reconstruct the picture. 58 scoped_refptr<Picture> one_rect_picture_check = 59 Picture::CreateFromValue(serialized_one_rect.get()) 136 scoped_refptr<Picture> picture = Picture::Create(layer_rect); local 233 scoped_refptr<Picture> picture = Picture::Create(layer_rect); local 354 scoped_refptr<Picture> picture = Picture::Create(layer_rect); local [all...] |
picture_pile.cc | 18 // picture that intersects the visible layer rect expanded by this distance 227 scoped_refptr<Picture> picture = Picture::Create(record_rect); local 234 picture->Record(painter, tile_grid_info_); 240 picture->LayerRect().width() * picture->LayerRect().height(); 243 picture->GatherPixelRefs(tile_grid_info_); 244 picture->CloneForDrawing(num_raster_threads_); 256 info.SetPicture(picture); [all...] |
picture_pile_base.cc | 19 // Dimensions of the tiles in this picture pile as well as the dimensions of 20 // the base picture in each tile. 133 // Picture contents are played back scaled. When the final contents scale is 137 // buffer margin is added so that any picture can be snapped to integral 245 Picture* picture = map_iter->second.GetPicture(); local 246 if (picture && (appended_pictures.count(picture) == 0)) { 247 appended_pictures.insert(picture); 248 pictures->Append(TracedValue::CreateIDRef(picture).release()) [all...] |
picture_pile_impl.cc | 103 // If this picture has opaque contents, it is guaranteeing that it will 153 // Rasterize the collection of relevant picture piles. 157 // Coalesce rasters of the same picture into different rects: 179 Picture* picture = info.GetPicture(); local 180 if (!picture) 185 // of the picture chunk's layer rect. The min_contents_scale enforces that 192 << picture->LayerRect().ToString() 196 PictureRegionMap::iterator it = results->find(picture); 198 Region& region = (*results)[picture]; 241 Picture* picture = it->first; local 298 skia::RefPtr<SkPicture> picture = skia::AdoptRef(new SkPicture); local 392 const Picture* picture = it->second.GetPicture(); local 410 Picture* picture = it->second.GetPicture(); local [all...] |
/external/chromium_org/media/tools/player_x11/ |
x11_video_renderer.cc | 32 // Returns the picture format for ARGB. 122 // creats a picture from the pixmap and composite the picture over 123 // the picture represending the window. 154 // Creates the picture representing the pixmap. 155 unsigned long picture = XRenderCreatePicture( local 158 // Composite the picture over the picture representing the window. 159 XRenderComposite(display_, PictOpSrc, picture, 0, 163 XRenderFreePicture(display_, picture); [all...] |
/external/skia/bench/ |
PicturePlaybackBench.cpp | 40 SkPicture picture; local 42 SkCanvas* pCanvas = picture.beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT); 44 picture.endRecording(); 49 picture.draw(canvas);
|
PictureRecordBench.cpp | 54 SkAutoTDelete<SkPicture> picture; variable 61 picture.reset(SkNEW(SkPicture)); 62 canvas = picture->beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT); 123 SkAutoTDelete<SkPicture> picture; variable 127 picture.reset(SkNEW(SkPicture)); 128 canvas = picture->beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT); 161 SkPicture picture; variable 162 SkCanvas* canvas = picture.beginRecording(PICTURE_WIDTH, PICTURE_HEIGHT);
|
/external/chromium_org/content/renderer/ |
skia_benchmarking_extension.cc | 11 #include "cc/resources/picture.h" 41 static scoped_refptr<cc::Picture> ParsePictureStr(v8::Isolate* isolate, 46 return cc::Picture::CreateFromSkpValue(picture_value.get()); 49 static scoped_refptr<cc::Picture> ParsePictureHash(v8::Isolate* isolate, 54 return cc::Picture::CreateFromValue(picture_value.get()); 67 "chrome.skiaBenchmarking.rasterize = function(picture, params) {" 69 " Rasterizes a Picture JSON-encoded by cc::Picture::AsValue()." 70 " @param {Object} picture A json-encoded cc::Picture. 144 scoped_refptr<cc::Picture> picture = ParsePictureHash(isolate, args[0]); local 238 scoped_refptr<cc::Picture> picture = ParsePictureHash(isolate, args[0]); local 279 scoped_refptr<cc::Picture> picture = ParsePictureHash(isolate, args[0]); local 318 scoped_refptr<cc::Picture> picture = ParsePictureStr(isolate, args[0]); local [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
testwin.c | 24 SDL_Surface *picture; local 34 fprintf(stderr, "Loading picture: %s\n", bmpfile); 35 picture = SDL_LoadBMP(bmpfile); 36 if ( picture == NULL ) { 43 if ( picture->format->palette ) { 44 ncolors = picture->format->palette->ncolors; 47 memcpy(colors, picture->format->palette->colors, 94 /* Display the picture */ 98 fprintf(stderr, "Converting picture\n"); 99 displayfmt = SDL_DisplayFormat(picture); [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
EmojiTest.java | 23 import android.graphics.Picture; 234 Picture picture = webViewOnUiThread.capturePicture(); local 235 if (picture == null || picture.getHeight() <= 0 || picture.getWidth() <= 0) { 238 bitmap = Bitmap.createBitmap(picture.getWidth(), picture.getHeight(), 241 picture.draw(canvas);
|
/external/chromium_org/content/browser/renderer_host/ |
backing_store_gtk.cc | 89 Picture picture, 99 BackingStoreEvents(TransportDIB* dib, XDisplay* d, Picture pic, Pixmap pix, 103 picture(pic), 115 Picture picture; member in struct:content::__anon7796::XSyncHandler::BackingStoreEvents 146 Picture picture, 150 dib, display, picture, pixmap, completion_callback)); 200 XRenderFreePicture(data->display, data->picture); [all...] |