Home | History | Annotate | Download | only in layers

Lines Matching refs:bitmap_

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_.height() == 0)
96 return static_cast<float>(bitmap_.height()) / bounds().height();