/external/chromium_org/ui/gfx/image/ |
H A D | image_skia_rep.h | 36 bool is_null() const { return bitmap_.isNull(); } 43 int pixel_width() const { return bitmap_.width(); } 44 int pixel_height() const { return bitmap_.height(); } 58 const SkBitmap& sk_bitmap() const { return bitmap_; } 62 SkBitmap& mutable_sk_bitmap() { return bitmap_; } 64 SkBitmap bitmap_; member in class:gfx::ImageSkiaRep
|
H A D | image_skia_rep.cc | 18 bitmap_.allocN32Pixels(static_cast<int>(size.width() * this->scale()), 20 bitmap_.eraseColor(SK_ColorRED); 24 : bitmap_(src), 29 return static_cast<int>(bitmap_.width() / scale()); 33 return static_cast<int>(bitmap_.height() / scale());
|
/external/chromium_org/cc/resources/ |
H A D | 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();
|
H A D | ui_resource_request.h | 35 DCHECK(bitmap_); 36 return *bitmap_.get(); 44 scoped_ptr<UIResourceBitmap> bitmap_; member in class:cc::UIResourceRequest
|
H A D | scoped_ui_resource.cc | 21 : bitmap_(bitmap), host_(host) { 37 return bitmap_;
|
H A D | 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();
|
H A D | bitmap_skpicture_content_layer_updater.cc | 28 bitmap_.allocPixels(SkImageInfo::Make( 30 SkCanvas canvas(bitmap_); 34 texture(), &bitmap_, source_rect, source_rect, dest_offset);
|
H A D | scoped_ui_resource.h | 38 UIResourceBitmap bitmap_; member in class:cc::ScopedUIResource
|
H A D | ui_resource_bitmap.cc | 83 const UIResourceBitmap& bitmap) : bitmap_(bitmap) { 84 bitmap_.pixel_ref_->lockPixels(); 88 bitmap_.pixel_ref_->unlockPixels(); 92 return static_cast<const uint8_t*>(bitmap_.pixel_ref_->pixels());
|
H A D | bitmap_skpicture_content_layer_updater.h | 29 SkBitmap bitmap_; member in class:cc::BitmapSkPictureContentLayerUpdater::Resource
|
H A D | image_layer_updater.h | 53 SkBitmap bitmap_; member in class:cc::ImageLayerUpdater
|
/external/chromium_org/cc/layers/ |
H A D | image_layer.cc | 29 if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef()) 32 bitmap_ = bitmap; 38 return !bitmap_.isNull() && TiledLayer::HasDrawableContent(); 51 if (!updater_->UsingBitmap(bitmap_)) { 52 updater_->SetBitmap(bitmap_); 78 *content_bounds = gfx::Size(bitmap_.width(), bitmap_.height()); 88 if (bounds().IsEmpty() || bitmap_.width() == 0) 90 return static_cast<float>(bitmap_.width()) / bounds().width(); 94 if (bounds().IsEmpty() || bitmap_ [all...] |
H A D | picture_image_layer.cc | 28 return !bitmap_.isNull() && PictureLayer::HasDrawableContent(); 36 if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef()) 39 bitmap_ = bitmap; 48 if (!bitmap_.width() || !bitmap_.height()) 52 SkFloatToScalar(static_cast<float>(bounds().width()) / bitmap_.width()); 54 SkFloatToScalar(static_cast<float>(bounds().height()) / bitmap_.height()); 60 canvas->drawBitmap(bitmap_, 0, 0);
|
H A D | picture_image_layer.h | 41 SkBitmap bitmap_; member in class:cc::PictureImageLayer
|
H A D | image_layer.h | 48 SkBitmap bitmap_; member in class:cc::ImageLayer
|
/external/chromium_org/skia/ext/ |
H A D | 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();
|
/external/chromium_org/cc/output/ |
H A D | copy_output_result.cc | 17 bitmap_(bitmap.Pass()) { 18 DCHECK(bitmap_); 37 return bitmap_.Pass();
|
H A D | copy_output_result.h | 39 bool HasBitmap() const { return !!bitmap_; } 55 scoped_ptr<SkBitmap> bitmap_; member in class:cc::CopyOutputResult
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
H A D | desktop_frame_win.h | 31 HBITMAP bitmap() { return bitmap_; } 40 HBITMAP bitmap_; member in class:webrtc::DesktopFrameWin
|
H A D | desktop_frame_win.cc | 23 bitmap_(bitmap), 28 DeleteObject(bitmap_);
|
/external/chromium_org/chrome/browser/android/thumbnail/ |
H A D | thumbnail.cc | 44 bitmap_(gfx::Size(1, 1), true), 61 bitmap_ = cc::UIResourceBitmap(bitmap); 73 bitmap_ = cc::UIResourceBitmap(compressed_bitmap, data_size); 85 return bitmap_; 89 cc::UIResourceBitmap old_bitmap(bitmap_); 91 bitmap_ = cc::UIResourceBitmap(CreateSmallHolderBitmap());
|
/external/chromium_org/content/browser/android/ |
H A D | system_ui_resource_manager_impl.cc | 92 DCHECK(bitmap_.empty()); 94 bitmap_ = bitmap; 98 if (bitmap_.empty()) 108 DCHECK(!bitmap_.empty()); 109 return cc::UIResourceBitmap(bitmap_); 115 const SkBitmap& bitmap() const { return bitmap_; } 118 SkBitmap bitmap_; member in class:content::SystemUIResourceManagerImpl::Entry
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
H A D | launcher_favicon_loader.cc | 37 const SkBitmap& bitmap() const { return bitmap_; } 63 SkBitmap bitmap_; member in class:internal::FaviconRawBitmapHandler 95 // Reset bitmap_ if no longer valid (i.e. not in the list of urls). 98 bitmap_.reset(); 147 if (!bitmap_.isNull()) { 149 if (new_bitmap.height() > bitmap_.height()) 153 bitmap_ = new_bitmap;
|
/external/chromium_org/remoting/client/jni/ |
H A D | jni_frame_consumer.cc | 52 if (bitmap_->size().width() != buffer->size().width() || 53 bitmap_->size().height() != buffer->size().height()) { 67 uint8* dest_buffer = static_cast<uint8*>(bitmap_->pixels()); 73 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/mojo/services/public/cpp/view_manager/lib/ |
H A D | bitmap_uploader.cc | 79 bitmap_ = bitmap; 111 if (!bitmap_.isNull()) { 112 gfx::Size bitmap_size(bitmap_.width(), bitmap_.height()); 114 bitmap_.lockPixels(); 123 bitmap_.getPixels()); 124 bitmap_.unlockPixels(); 210 if (color_ != SK_ColorTRANSPARENT || !bitmap_.isNull())
|