/external/chromium_org/cc/layers/ |
D | image_layer.cc | 29 if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef()) in SetBitmap() 32 bitmap_ = bitmap; in SetBitmap() 38 return !bitmap_.isNull() && TiledLayer::HasDrawableContent(); in HasDrawableContent() 51 if (!updater_->UsingBitmap(bitmap_)) { in Update() 52 updater_->SetBitmap(bitmap_); in Update() 78 *content_bounds = gfx::Size(bitmap_.width(), bitmap_.height()); in CalculateContentsScale() 88 if (bounds().IsEmpty() || bitmap_.width() == 0) in ImageContentsScaleX() 90 return static_cast<float>(bitmap_.width()) / bounds().width(); in ImageContentsScaleX() 94 if (bounds().IsEmpty() || bitmap_.height() == 0) in ImageContentsScaleY() 96 return static_cast<float>(bitmap_.height()) / bounds().height(); in ImageContentsScaleY()
|
D | picture_image_layer.cc | 28 return !bitmap_.isNull() && PictureLayer::HasDrawableContent(); in HasDrawableContent() 36 if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef()) in SetBitmap() 39 bitmap_ = bitmap; in SetBitmap() 48 if (!bitmap_.width() || !bitmap_.height()) in PaintContents() 52 SkFloatToScalar(static_cast<float>(bounds().width()) / bitmap_.width()); in PaintContents() 54 SkFloatToScalar(static_cast<float>(bounds().height()) / bitmap_.height()); in PaintContents() 60 canvas->drawBitmap(bitmap_, 0, 0); in PaintContents()
|
/external/chromium_org/ui/gfx/image/ |
D | image_skia_rep.h | 36 bool is_null() const { return bitmap_.isNull(); } in is_null() 43 int pixel_width() const { return bitmap_.width(); } in pixel_width() 44 int pixel_height() const { return bitmap_.height(); } in pixel_height() 58 const SkBitmap& sk_bitmap() const { return bitmap_; } in sk_bitmap() 62 SkBitmap& mutable_sk_bitmap() { return bitmap_; } in mutable_sk_bitmap() 64 SkBitmap bitmap_; variable
|
D | image_skia_rep.cc | 18 bitmap_.allocN32Pixels(static_cast<int>(size.width() * this->scale()), in ImageSkiaRep() 20 bitmap_.eraseColor(SK_ColorRED); in ImageSkiaRep() 24 : bitmap_(src), in ImageSkiaRep() 29 return static_cast<int>(bitmap_.width() / scale()); in GetWidth() 33 return static_cast<int>(bitmap_.height() / scale()); in GetHeight()
|
/external/chromium_org/cc/resources/ |
D | ui_resource_request.cc | 16 : type_(type), id_(id), bitmap_(new UIResourceBitmap(bitmap)) {} in UIResourceRequest() 26 if (request.bitmap_) { in operator =() 27 bitmap_ = make_scoped_ptr(new UIResourceBitmap(*request.bitmap_.get())); in operator =() 29 bitmap_.reset(); in operator =()
|
D | image_layer_updater.cc | 44 gfx::Rect image_rect = gfx::Rect(0, 0, bitmap_.width(), bitmap_.height()); in UpdateTexture() 52 texture, &bitmap_, image_rect, clipped_source_rect, clipped_dest_offset); in UpdateTexture() 61 bitmap_ = bitmap; in SetBitmap() 65 return bitmap.pixelRef() == bitmap_.pixelRef(); in UsingBitmap()
|
D | ui_resource_request.h | 35 DCHECK(bitmap_); in GetBitmap() 36 return *bitmap_.get(); in GetBitmap() 44 scoped_ptr<UIResourceBitmap> bitmap_; variable
|
D | ui_resource_bitmap.cc | 83 const UIResourceBitmap& bitmap) : bitmap_(bitmap) { in AutoLockUIResourceBitmap() 84 bitmap_.pixel_ref_->lockPixels(); in AutoLockUIResourceBitmap() 88 bitmap_.pixel_ref_->unlockPixels(); in ~AutoLockUIResourceBitmap() 92 return static_cast<const uint8_t*>(bitmap_.pixel_ref_->pixels()); in GetPixels()
|
D | bitmap_skpicture_content_layer_updater.cc | 28 bitmap_.allocPixels(SkImageInfo::Make( in Update() 30 SkCanvas canvas(bitmap_); in Update() 34 texture(), &bitmap_, source_rect, source_rect, dest_offset); in Update()
|
D | scoped_ui_resource.cc | 21 : bitmap_(bitmap), host_(host) { in ScopedUIResource() 37 return bitmap_; in GetBitmap()
|
D | zero_copy_raster_worker_pool.cc | 44 &bitmap_, buffer_, resource_->format(), resource_->size(), stride_); in AcquireSkCanvas() 45 return skia::AdoptRef(new SkCanvas(bitmap_)); in AcquireSkCanvas() 52 &bitmap_, buffer_, resource_->format()); in ReleaseSkCanvas() 60 SkBitmap bitmap_; member in cc::__anon7f4dd4b10111::RasterBufferImpl
|
/external/chromium_org/skia/ext/ |
D | bitmap_platform_device_mac_unittest.cc | 22 bitmap_.reset(BitmapPlatformDevice::Create( in BitmapPlatformDeviceMacTest() 26 scoped_ptr<BitmapPlatformDevice> bitmap_; member in skia::BitmapPlatformDeviceMacTest 38 bitmap_->setMatrixClip(transform, clip_region, ignore); in TEST_F() 40 CGContextRef context = bitmap_->GetBitmapContext(); in TEST_F() 58 bitmap_->setMatrixClip(transform, clip_region, unused); in TEST_F() 60 CGContextRef context = bitmap_->GetBitmapContext(); in TEST_F()
|
D | skia_utils_mac.mm | 300 return SkIRect::MakeWH(bitmap_.width(), bitmap_.height()); 303 SkAutoLockPixels lockedPixels(bitmap_); 305 = reinterpret_cast<uint32_t*>(bitmap_.getPixels()); 306 int rowPixels = bitmap_.rowBytesAsPixels(); 307 int width = bitmap_.width(); 308 int height = bitmap_.height(); 371 bitmap_.unlockPixels(); 376 if (!bitmap_.extractSubset(&subset, bounds)) { 433 bool result = deviceBits.extractSubset(&bitmap_, clip_bounds); 437 bitmap_.lockPixels(); [all …]
|
D | bitmap_platform_device_mac.cc | 274 if (!bitmap_.tryAllocN32Pixels(width, height, is_opaque)) in Allocate() 278 bitmap_.eraseColor(0); in Allocate() 280 surface_ = CGContextForData(bitmap_.getPixels(), bitmap_.width(), in Allocate() 281 bitmap_.height()); in Allocate()
|
/external/chromium_org/chrome/browser/android/thumbnail/ |
D | thumbnail.cc | 44 bitmap_(gfx::Size(1, 1), true), in Thumbnail() 61 bitmap_ = cc::UIResourceBitmap(bitmap); in SetBitmap() 73 bitmap_ = cc::UIResourceBitmap(compressed_bitmap, data_size); in SetCompressedBitmap() 85 return bitmap_; in GetBitmap() 89 cc::UIResourceBitmap old_bitmap(bitmap_); in GetBitmap() 91 bitmap_ = cc::UIResourceBitmap(CreateSmallHolderBitmap()); in GetBitmap()
|
/external/chromium_org/content/browser/android/ |
D | system_ui_resource_manager_impl.cc | 92 DCHECK(bitmap_.empty()); in SetBitmap() 94 bitmap_ = bitmap; in SetBitmap() 98 if (bitmap_.empty()) in GetUIResourceId() 108 DCHECK(!bitmap_.empty()); in GetBitmap() 109 return cc::UIResourceBitmap(bitmap_); in GetBitmap() 115 const SkBitmap& bitmap() const { return bitmap_; } in bitmap() 118 SkBitmap bitmap_; member in content::SystemUIResourceManagerImpl::Entry
|
/external/chromium_org/remoting/client/jni/ |
D | jni_frame_consumer.cc | 52 if (bitmap_->size().width() != buffer->size().width() || in ApplyBuffer() 53 bitmap_->size().height() != buffer->size().height()) { in ApplyBuffer() 67 uint8* dest_buffer = static_cast<uint8*>(bitmap_->pixels()); in ApplyBuffer() 73 bitmap_->stride(), buffer_rect, rect); in ApplyBuffer() 117 bitmap_.reset(); in AllocateBuffer() 119 bitmap_.reset(new gfx::JavaBitmap(bitmap_global_ref_.obj())); in AllocateBuffer()
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
D | launcher_favicon_loader.cc | 37 const SkBitmap& bitmap() const { return bitmap_; } in bitmap() 63 SkBitmap bitmap_; member in internal::FaviconRawBitmapHandler 98 bitmap_.reset(); in DidUpdateFaviconURL() 147 if (!bitmap_.isNull()) { in AddFavicon() 149 if (new_bitmap.height() > bitmap_.height()) in AddFavicon() 153 bitmap_ = new_bitmap; in AddFavicon()
|
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/ |
D | bitmap_uploader.cc | 79 bitmap_ = bitmap; in SetBitmap() 111 if (!bitmap_.isNull()) { in Upload() 112 gfx::Size bitmap_size(bitmap_.width(), bitmap_.height()); in Upload() 114 bitmap_.lockPixels(); in Upload() 123 bitmap_.getPixels()); in Upload() 124 bitmap_.unlockPixels(); in Upload() 210 if (color_ != SK_ColorTRANSPARENT || !bitmap_.isNull()) in OnSurfaceConnectionCreated()
|
/external/chromium_org/cc/output/ |
D | copy_output_result.cc | 17 bitmap_(bitmap.Pass()) { in CopyOutputResult() 18 DCHECK(bitmap_); in CopyOutputResult() 37 return bitmap_.Pass(); in TakeBitmap()
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
D | autofill_section_view_unittest.mm | 41 if (!bitmap_) { 42 bitmap_.reset( 58 context_ = [NSGraphicsContext graphicsContextWithBitmapImageRep:bitmap_]; 72 ASSERT_NSEQ(color, [bitmap_ colorAtX:x y:y]); 79 base::scoped_nsobject<NSBitmapImageRep> bitmap_; 132 NSColor* quantizedHoverColor = [bitmap_ colorAtX:0 y:0];
|
/external/chromium_org/net/dns/ |
D | record_rdata.cc | 259 rdata->bitmap_.insert(rdata->bitmap_.begin(), in Create() 275 return bitmap_ == nsec_other->bitmap_; in IsEqual() 280 if (bitmap_.size() < byte_num + 1) in GetBit() 284 return (bitmap_[byte_num] & (1 << bit_num)) != 0; in GetBit()
|
/external/chromium_org/ui/gfx/android/ |
D | java_bitmap.cc | 21 : bitmap_(bitmap), in JavaBitmap() 23 int err = AndroidBitmap_lockPixels(AttachCurrentThread(), bitmap_, &pixels_); in JavaBitmap() 28 err = AndroidBitmap_getInfo(AttachCurrentThread(), bitmap_, &info); in JavaBitmap() 36 int err = AndroidBitmap_unlockPixels(AttachCurrentThread(), bitmap_); in ~JavaBitmap()
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
D | desktop_frame_win.h | 31 HBITMAP bitmap() { return bitmap_; } in bitmap() 40 HBITMAP bitmap_; variable
|
/external/chromium_org/mojo/examples/png_viewer/ |
D | png_viewer.cc | 81 if (!bitmap_.isNull()) in OnEmbed() 125 &bitmap_); in DecodePNG() 139 canvas->drawBitmap(bitmap_, 0, 0, &paint); in DrawBitmap() 179 SkBitmap bitmap_; member in mojo::examples::PNGView
|