Home
last modified time | relevance | path

Searched refs:ideal_contents_scale (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/cc/layers/
Dcontents_scaling_layer.cc24 float ideal_contents_scale, in CalculateContentsScale() argument
28 *contents_scale_x = ideal_contents_scale; in CalculateContentsScale()
29 *contents_scale_y = ideal_contents_scale; in CalculateContentsScale()
31 ideal_contents_scale, in CalculateContentsScale()
32 ideal_contents_scale); in CalculateContentsScale()
Ddraw_properties.h39 ideal_contents_scale(0.f), in DrawProperties()
138 float ideal_contents_scale; member
Dpicture_image_layer_impl_unittest.cc75 float ideal_contents_scale, in SetupDrawPropertiesAndUpdateTiles() argument
80 layer->draw_properties().ideal_contents_scale = ideal_contents_scale; in SetupDrawPropertiesAndUpdateTiles()
Dcontents_scaling_layer.h17 virtual void CalculateContentsScale(float ideal_contents_scale,
Dimage_layer.h26 virtual void CalculateContentsScale(float ideal_contents_scale,
Dimage_layer.cc72 void ImageLayer::CalculateContentsScale(float ideal_contents_scale, in CalculateContentsScale() argument
Dpainted_scrollbar_layer.cc100 float ideal_contents_scale, in CalculateContentsScale() argument
105 ClampScaleToMaxTextureSize(ideal_contents_scale), in CalculateContentsScale()
Dpainted_scrollbar_layer.h45 virtual void CalculateContentsScale(float ideal_contents_scale,
Dlayer.h389 virtual void CalculateContentsScale(float ideal_contents_scale,
Dpicture_layer_impl_unittest.cc156 float ideal_contents_scale, in SetupDrawPropertiesAndUpdateTiles() argument
161 layer->draw_properties().ideal_contents_scale = ideal_contents_scale; in SetupDrawPropertiesAndUpdateTiles()
1453 EXPECT_EQ(0.f, active_layer_->ideal_contents_scale()); in TEST_F()
1462 EXPECT_GT(active_layer_->ideal_contents_scale(), 0.f); in TEST_F()
1747 EXPECT_EQ(2.f, active_layer_->ideal_contents_scale()); in TEST_F()
Dpicture_layer_impl.cc1418 float ideal_source_scale = draw_properties().ideal_contents_scale / in UpdateIdealScales()
1421 std::max(draw_properties().ideal_contents_scale, min_contents_scale); in UpdateIdealScales()
Dlayer.cc405 void Layer::CalculateContentsScale(float ideal_contents_scale, in CalculateContentsScale() argument
/external/chromium_org/cc/test/
Dtiled_layer_test_common.cc117 void FakeTiledLayer::UpdateContentsScale(float ideal_contents_scale) { in UpdateContentsScale() argument
118 CalculateContentsScale(ideal_contents_scale, in UpdateContentsScale()
155 float ideal_contents_scale, in CalculateContentsScale() argument
Dtiled_layer_test_common.h118 void UpdateContentsScale(float ideal_contents_scale);
141 virtual void CalculateContentsScale(float ideal_contents_scale,
Dfake_picture_layer_impl.h80 float ideal_contents_scale() const { return ideal_contents_scale_; } in ideal_contents_scale() function
/external/chromium_org/cc/trees/
Dlayer_tree_host_common.cc926 float ideal_contents_scale, in UpdateLayerScaleDrawProperties() argument
930 layer->draw_properties().ideal_contents_scale = ideal_contents_scale; in UpdateLayerScaleDrawProperties()
972 float ideal_contents_scale, in UpdateLayerContentsScale() argument
976 CalculateContentsScale(layer, ideal_contents_scale); in UpdateLayerContentsScale()
982 float ideal_contents_scale, in UpdateLayerContentsScale() argument
988 ideal_contents_scale / (device_scale_factor * page_scale_factor); in UpdateLayerContentsScale()
1722 float ideal_contents_scale = in CalculateDrawPropertiesInternal() local
1730 ideal_contents_scale, in CalculateDrawPropertiesInternal()
1739 ideal_contents_scale, in CalculateDrawPropertiesInternal()
1750 ideal_contents_scale, in CalculateDrawPropertiesInternal()
[all …]
Dlayer_tree_host_common_unittest.cc4018 virtual void CalculateContentsScale(float ideal_contents_scale, in CalculateContentsScale() argument
4023 Layer::CalculateContentsScale(ideal_contents_scale, in CalculateContentsScale()
8388 EXPECT_FLOAT_EQ(1.f, root_layer->draw_properties().ideal_contents_scale); in TEST_F()
8389 EXPECT_FLOAT_EQ(3.f, child1_layer->draw_properties().ideal_contents_scale); in TEST_F()
8391 3.f, child1_layer->mask_layer()->draw_properties().ideal_contents_scale); in TEST_F()
8396 .ideal_contents_scale); in TEST_F()
8397 EXPECT_FLOAT_EQ(5.f, child2_layer->draw_properties().ideal_contents_scale); in TEST_F()
8454 EXPECT_FLOAT_EQ(1.f, root_layer->draw_properties().ideal_contents_scale); in TEST_F()
8455 EXPECT_FLOAT_EQ(9.f, child1_layer->draw_properties().ideal_contents_scale); in TEST_F()
8457 9.f, child1_layer->mask_layer()->draw_properties().ideal_contents_scale); in TEST_F()
[all …]
Dlayer_tree_host_unittest.cc1027 virtual void CalculateContentsScale(float ideal_contents_scale, in CalculateContentsScale() argument
1032 Layer::CalculateContentsScale(ideal_contents_scale, in CalculateContentsScale()
/external/chromium_org/cc/resources/
Dpicture_layer_tiling_set.h90 float ideal_contents_scale);
Dpicture_layer_tiling_set.cc157 float ideal_contents_scale) in CoverageIterator() argument
160 ideal_contents_scale_(ideal_contents_scale), in CoverageIterator()
Dpicture_layer_tiling_set_unittest.cc196 float ideal_contents_scale, in runTest() argument
238 ideal_contents_scale); in runTest()
Dpicture_layer_tiling.h241 float ideal_contents_scale,
Dpicture_layer_tiling.cc540 float ideal_contents_scale, in UpdateTilePriorities() argument
590 float content_to_screen_scale = ideal_contents_scale / contents_scale_; in UpdateTilePriorities()