HomeSort by relevance Sort by last modified time
    Searched refs:bitmap_ (Results 1 - 25 of 58) sorted by null

1 2 3

  /external/chromium_org/ui/gfx/image/
image_skia_rep.h 30 bool is_null() const { return bitmap_.isNull(); }
37 int pixel_width() const { return bitmap_.width(); }
38 int pixel_height() const { return bitmap_.height(); }
47 const SkBitmap& sk_bitmap() const { return bitmap_; }
51 SkBitmap& mutable_sk_bitmap() { return bitmap_; }
53 SkBitmap bitmap_; member in class:gfx::ImageSkiaRep
image_skia_rep.cc 16 bitmap_.setConfig(SkBitmap::kARGB_8888_Config,
19 bitmap_.allocPixels();
23 : bitmap_(src),
28 return static_cast<int>(bitmap_.width() / scale_);
32 return static_cast<int>(bitmap_.height() / scale_);
  /external/chromium_org/cc/layers/
picture_image_layer.cc 28 return !bitmap_.isNull() && PictureLayer::DrawsContent();
36 if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef())
39 bitmap_ = bitmap;
46 if (!bitmap_.width() || !bitmap_.height())
50 SkFloatToScalar(static_cast<float>(bounds().width()) / bitmap_.width());
52 SkFloatToScalar(static_cast<float>(bounds().height()) / bitmap_.height());
55 canvas->drawBitmap(bitmap_, 0, 0);
image_layer.cc 29 if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef())
32 bitmap_ = bitmap;
46 if (!updater_->UsingBitmap(bitmap_)) {
47 updater_->SetBitmap(bitmap_);
76 *content_bounds = gfx::Size(bitmap_.width(), bitmap_.height());
80 return !bitmap_.isNull() && TiledLayer::DrawsContent();
90 if (bounds().IsEmpty() || bitmap_.width() == 0)
92 return static_cast<float>(bitmap_.width()) / bounds().width();
96 if (bounds().IsEmpty() || bitmap_.height() == 0
    [all...]
picture_image_layer.h 38 SkBitmap bitmap_; member in class:cc::PictureImageLayer
image_layer.h 49 SkBitmap bitmap_; member in class:cc::ImageLayer
ui_resource_layer.h 55 SkBitmap bitmap_; member in class:cc::UIResourceLayer
  /external/chromium_org/cc/resources/
ui_resource_request.cc 16 : type_(type), id_(id), bitmap_(new UIResourceBitmap(bitmap)) {}
26 if (request.bitmap_) {
27 bitmap_ = make_scoped_ptr(new UIResourceBitmap(*request.bitmap_.get()));
29 bitmap_.reset();
ui_resource_request.h 35 DCHECK(bitmap_);
36 return *bitmap_.get();
44 scoped_ptr<UIResourceBitmap> bitmap_; member in class:cc::UIResourceRequest
scoped_ui_resource.cc 21 : bitmap_(bitmap), host_(host) {
37 return bitmap_;
ui_resource_bitmap.cc 53 const UIResourceBitmap& bitmap) : bitmap_(bitmap) {
54 bitmap_.pixel_ref_->lockPixels();
58 bitmap_.pixel_ref_->unlockPixels();
62 return static_cast<const uint8_t*>(bitmap_.pixel_ref_->pixels());
image_layer_updater.cc 44 gfx::Rect image_rect = gfx::Rect(0, 0, bitmap_.width(), bitmap_.height());
52 texture, &bitmap_, image_rect, clipped_source_rect, clipped_dest_offset);
61 bitmap_ = bitmap;
65 return bitmap.pixelRef() == bitmap_.pixelRef();
bitmap_skpicture_content_layer_updater.cc 27 bitmap_.setConfig(
30 bitmap_.allocPixels();
31 SkBitmapDevice device(bitmap_);
36 texture(), &bitmap_, source_rect, source_rect, dest_offset);
scoped_ui_resource.h 38 UIResourceBitmap bitmap_; member in class:cc::ScopedUIResource
  /external/chromium_org/skia/ext/
bitmap_platform_device_mac_unittest.cc 22 bitmap_.reset(BitmapPlatformDevice::Create(
26 scoped_ptr<BitmapPlatformDevice> bitmap_; member in class:skia::BitmapPlatformDeviceMacTest
38 bitmap_->setMatrixClip(transform, clip_region, ignore);
40 CGContextRef context = bitmap_->GetBitmapContext();
58 bitmap_->setMatrixClip(transform, clip_region, unused);
60 CGContextRef context = bitmap_->GetBitmapContext();
bitmap_platform_device_skia.cc 90 bitmap_.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0,
92 if (!bitmap_.allocPixels())
95 surface_ = bitmap_.getPixels();
  /external/chromium_org/cc/output/
copy_output_result.cc 18 bitmap_(bitmap.Pass()) {
19 DCHECK(bitmap_);
38 return bitmap_.Pass();
copy_output_result.h 39 bool HasBitmap() const { return !!bitmap_; }
55 scoped_ptr<SkBitmap> bitmap_; member in class:cc::CopyOutputResult
  /external/chromium_org/content/renderer/browser_plugin/
browser_plugin_backing_store.h 51 const SkBitmap& GetBitmap() const { return bitmap_; }
57 SkBitmap bitmap_; member in class:content::BrowserPluginBackingStore
  /external/chromium_org/chrome/browser/notifications/sync_notifier/
notification_bitmap_fetcher.cc 67 bitmap_.reset(new SkBitmap());
68 decoded_image.deepCopyTo(bitmap_.get(), decoded_image.getConfig());
71 delegate_->OnFetchComplete(url_, bitmap_.get());
  /external/chromium_org/chrome/browser/ui/ash/launcher/
launcher_favicon_loader.cc 38 const SkBitmap& bitmap() const { return bitmap_; }
67 SkBitmap bitmap_; member in class:internal::FaviconBitmapHandler
100 // Reset bitmap_ if no longer valid (i.e. not in the list of urls).
103 bitmap_.reset();
152 if (!bitmap_.isNull()) {
154 if (new_bitmap.height() > bitmap_.height())
158 bitmap_ = new_bitmap;
  /art/runtime/gc/accounting/
space_bitmap_test.cc 45 : bitmap_(bitmap),
52 EXPECT_EQ(bitmap_->Test(obj), ((reinterpret_cast<uintptr_t>(obj) & 0xF) != 0));
55 SpaceBitmap* bitmap_; member in class:art::gc::accounting::BitmapVerify
  /external/chromium_org/remoting/client/jni/
jni_frame_consumer.cc 65 uint8* dest_buffer = static_cast<uint8*>(bitmap_->pixels());
71 bitmap_->stride(), buffer_rect, rect);
116 // |bitmap_| must be deleted before |bitmap_global_ref_| is released.
117 bitmap_.reset();
119 bitmap_.reset(new gfx::JavaBitmap(bitmap_global_ref_.obj()));
  /external/chromium_org/ui/gfx/android/
java_bitmap.cc 21 : bitmap_(bitmap),
23 int err = AndroidBitmap_lockPixels(AttachCurrentThread(), bitmap_, &pixels_);
28 err = AndroidBitmap_getInfo(AttachCurrentThread(), bitmap_, &info);
36 int err = AndroidBitmap_unlockPixels(AttachCurrentThread(), bitmap_);
  /external/chromium_org/content/browser/renderer_host/
backing_store_aura.cc 43 bitmap_.setConfig(SkBitmap::kARGB_8888_Config,
45 bitmap_.allocPixels();
46 canvas_.reset(new SkCanvas(bitmap_));
54 gfx::ImageSkia image = gfx::ImageSkia(gfx::ImageSkiaRep(bitmap_,
79 new_canvas.get()->drawBitmapRect(bitmap_, &src_rect, dst_rect, &copy_paint);
82 bitmap_ = new_bitmap;
156 bitmap_.scrollRect(&rect, pixel_delta.x(), pixel_delta.y());

Completed in 1764 milliseconds

1 2 3