Lines Matching defs:contents_scale
140 float contents_scale = contents_scale_x();
150 contents_scale,
187 } else if (iter->contents_scale() > contents_scale_x()) {
245 if (iter->contents_scale() != ideal_contents_scale_)
276 iter->contents_scale(),
444 max_contents_scale = std::max(max_contents_scale, tiling->contents_scale());
459 if (!pile_->CanRaster(tiling->contents_scale(), content_rect))
468 tiling->contents_scale(),
488 if (twin_layer_->tilings_->tiling_at(i)->contents_scale() ==
489 tiling->contents_scale())
606 if (!CanHaveTilingWithScale(tiling->contents_scale()))
608 tilings_->AddTiling(tiling->contents_scale());
695 if (tiling->contents_scale() < min_acceptable_scale)
746 PictureLayerTiling* PictureLayerImpl::AddTiling(float contents_scale) {
747 DCHECK(CanHaveTilingWithScale(contents_scale)) <<
748 "contents_scale: " << contents_scale;
750 PictureLayerTiling* tiling = tilings_->AddTiling(contents_scale);
761 void PictureLayerImpl::RemoveTiling(float contents_scale) {
764 if (tiling->contents_scale() == contents_scale) {
782 float contents_scale) {
784 float ratio1 = PositiveRatio(layer1->contents_scale(), contents_scale);
785 float ratio2 = PositiveRatio(layer2->contents_scale(), contents_scale);
826 if (tiling->contents_scale() == raster_contents_scale_)
828 if (tiling->contents_scale() == low_res_raster_contents_scale_)
948 if (tiling->contents_scale() >= min_acceptable_high_res_scale &&
949 tiling->contents_scale() <= max_acceptable_high_res_scale)
966 twin->RemoveTiling(to_remove[i]->contents_scale());
1020 bool PictureLayerImpl::CanHaveTilingWithScale(float contents_scale) const {
1023 if (contents_scale < MinimumContentsScale())