Lines Matching defs:contents_scale
115 iter(tiling, tiling->contents_scale(), tiling->ContentRect());
123 void SetContentsScaleOnBothLayers(float contents_scale,
130 contents_scale,
138 contents_scale,
273 tiling->contents_scale());
276 tiling->contents_scale(),
336 tiling->contents_scale());
339 tiling->contents_scale(),
395 tiling->contents_scale(),
402 iter.full_tile_geometry_rect(), 1.f / tiling->contents_scale());
466 pending_layer_->tilings()->tiling_at(0)->contents_scale());
469 pending_layer_->tilings()->tiling_at(1)->contents_scale());
483 pending_layer_->tilings()->tiling_at(0)->contents_scale());
486 pending_layer_->tilings()->tiling_at(1)->contents_scale());
499 pending_layer_->tilings()->tiling_at(0)->contents_scale());
502 pending_layer_->tilings()->tiling_at(2)->contents_scale());
515 pending_layer_->tilings()->tiling_at(0)->contents_scale());
518 pending_layer_->tilings()->tiling_at(3)->contents_scale());
532 pending_layer_->tilings()->tiling_at(0)->contents_scale());
535 pending_layer_->tilings()->tiling_at(3)->contents_scale());
583 active_layer_->tilings()->tiling_at(1)->contents_scale());
586 active_layer_->tilings()->tiling_at(3)->contents_scale());
669 float contents_scale = 1.f;
676 contents_scale, device_scale, page_scale, animating_transform);
677 EXPECT_BOTH_EQ(HighResTiling()->contents_scale(), 1.f);
683 contents_scale, device_scale, page_scale, animating_transform);
684 EXPECT_BOTH_EQ(HighResTiling()->contents_scale(), 1.f);
685 EXPECT_BOTH_EQ(LowResTiling()->contents_scale(), low_res_factor);
689 contents_scale = 4.f;
693 contents_scale, device_scale, page_scale, animating_transform);
694 EXPECT_BOTH_EQ(HighResTiling()->contents_scale(), 4.f);
695 EXPECT_BOTH_EQ(LowResTiling()->contents_scale(), low_res_factor);
701 contents_scale, device_scale, page_scale, animating_transform);
702 EXPECT_BOTH_EQ(HighResTiling()->contents_scale(), 4.f);
703 EXPECT_BOTH_EQ(LowResTiling()->contents_scale(), 4.f * low_res_factor);
717 float contents_scale = 1.f;
719 contents_scale, device_scale, page_scale, animating_transform);
720 EXPECT_BOTH_EQ(HighResTiling()->contents_scale(), contents_scale);
726 contents_scale = 0.123f;
728 contents_scale, device_scale, page_scale, animating_transform);
729 EXPECT_BOTH_EQ(HighResTiling()->contents_scale(), contents_scale);
736 contents_scale = 2.5f;
738 contents_scale, device_scale, page_scale, animating_transform);
739 EXPECT_BOTH_EQ(HighResTiling()->contents_scale(), contents_scale);
740 EXPECT_BOTH_EQ(LowResTiling()->contents_scale(),
741 contents_scale * low_res_factor);
750 contents_scale, device_scale, page_scale, animating_transform);
751 EXPECT_BOTH_EQ(HighResTiling()->contents_scale(), contents_scale);