Home
last modified time | relevance | path

Searched refs:contents_scale_x (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/cc/layers/
Dpicture_image_layer_impl_unittest.cc78 float contents_scale_x; in TEST_F() local
82 &contents_scale_x, &contents_scale_y, in TEST_F()
84 EXPECT_FLOAT_EQ(1.f, contents_scale_x); in TEST_F()
96 float contents_scale_x; in TEST_F() local
100 &contents_scale_x, &contents_scale_y, in TEST_F()
118 float contents_scale_x; in TEST_F() local
125 &contents_scale_x, in TEST_F()
138 &contents_scale_x, in TEST_F()
Dcontents_scaling_layer.cc28 float* contents_scale_x, in CalculateContentsScale() argument
31 *contents_scale_x = ideal_contents_scale; in CalculateContentsScale()
43 if (draw_properties().contents_scale_x == last_update_contents_scale_x_ && in Update()
47 last_update_contents_scale_x_ = draw_properties().contents_scale_x; in Update()
Dpicture_layer_impl.cc141 float contents_scale = contents_scale_x(); in AppendQuads()
162 tilings_.get(), contents_scale_x(), rect, ideal_contents_scale_); in AppendQuads()
182 } else if (iter->contents_scale() > contents_scale_x()) { in AppendQuads()
208 tilings_.get(), contents_scale_x(), rect, ideal_contents_scale_); in AppendQuads()
355 contents_scale_x(), in UpdateTilePriorities()
366 last_content_scale_ = contents_scale_x(); in UpdateTilePriorities()
394 float* contents_scale_x, in CalculateContentsScale() argument
409 *contents_scale_x = ideal_contents_scale_; in CalculateContentsScale()
449 *contents_scale_x = max_contents_scale; in CalculateContentsScale()
640 float scale = contents_scale_x(); in ContentsResourceId()
[all …]
Dpicture_image_layer_impl.cc35 float* contents_scale_x, in CalculateContentsScale() argument
45 contents_scale_x, in CalculateContentsScale()
Ddraw_properties.h27 contents_scale_x(1.f), in DrawProperties()
89 float contents_scale_x; member
Dpainted_scrollbar_layer.cc96 float* contents_scale_x, in CalculateContentsScale() argument
104 contents_scale_x, in CalculateContentsScale()
230 skcanvas.scale(SkFloatToScalar(contents_scale_x()), in RasterizeScrollbarPart()
234 rect, 1.f / contents_scale_x(), 1.f / contents_scale_y()); in RasterizeScrollbarPart()
Dimage_layer.cc71 float* contents_scale_x, in CalculateContentsScale() argument
74 *contents_scale_x = ImageContentsScaleX(); in CalculateContentsScale()
Dlayer_impl.cc442 1.f / contents_scale_x(), in TryScroll()
481 gfx::ScaleRect(layer_rect, contents_scale_x(), contents_scale_y()); in LayerRectToContentRect()
506 layer->SetContentsScale(contents_scale_x(), contents_scale_y()); in PushPropertiesTo()
967 void LayerImpl::SetContentsScale(float contents_scale_x, in SetContentsScale() argument
969 if (this->contents_scale_x() == contents_scale_x && in SetContentsScale()
973 draw_properties_.contents_scale_x = contents_scale_x; in SetContentsScale()
983 float* contents_scale_x, in CalculateContentsScale() argument
988 *contents_scale_x = this->contents_scale_x(); in CalculateContentsScale()
Dcontents_scaling_layer.h22 float* contents_scale_x,
Dpicture_image_layer_impl.h28 float* contents_scale_x,
Dimage_layer.h31 float* contents_scale_x,
Dlayer_impl.h360 float contents_scale_x() const { return draw_properties_.contents_scale_x; } in contents_scale_x() function
362 void SetContentsScale(float contents_scale_x, float contents_scale_y);
374 float* contents_scale_x,
Dcontents_scaling_layer_unittest.cc57 EXPECT_FLOAT_EQ(1.f, test_layer->contents_scale_x()); in TEST()
Dscrollbar_layer_impl_base.cc42 contents_scale_x(), in ScrollbarLayerRectToContentRect()
Dpainted_scrollbar_layer.h47 float* contents_scale_x,
Dlayer.h382 float contents_scale_x() const { return draw_properties_.contents_scale_x; } in contents_scale_x() function
390 float* contents_scale_x,
Dpicture_layer_impl.h50 float* contents_scale_x,
Dpicture_layer.cc107 visible_content_rect(), 1.f / contents_scale_x()); in Update()
/external/chromium_org/cc/test/
Dtiled_layer_test_common.cc121 &draw_properties().contents_scale_x, in UpdateContentsScale()
161 float* contents_scale_x, in CalculateContentsScale() argument
164 *contents_scale_x = in CalculateContentsScale()
Dtiled_layer_test_common.h147 float* contents_scale_x,
/external/chromium_org/cc/debug/
Drasterize_and_record_benchmark_impl.cc74 PictureLayerTiling* tiling = tiling_set.AddTiling(layer->contents_scale_x()); in RunOnLayer()
77 tiling, layer->contents_scale_x(), layer->visible_content_rect()); in RunOnLayer()
Ddebug_rect_history.cc189 layer->contents_scale_x(), in SaveTouchEventHandlerRectsCallback()
210 wheel_rect.Scale(layer->contents_scale_x(), layer->contents_scale_y()); in SaveWheelEventHandlerRectsCallback()
229 layer->contents_scale_x(), in SaveNonFastScrollableRectsCallback()
Drasterize_and_record_benchmark.cc115 layer->visible_content_rect(), 1.f / layer->contents_scale_x()); in RunOnLayer()
/external/chromium_org/cc/trees/
Dlayer_tree_host_pixeltest_readback.cc640 EXPECT_EQ(device_scale_factor_, background_impl->contents_scale_x()); in DrawLayersOnThread()
644 EXPECT_EQ(device_scale_factor_, green_impl->contents_scale_x()); in DrawLayersOnThread()
648 EXPECT_EQ(device_scale_factor_, blue_impl->contents_scale_x()); in DrawLayersOnThread()
834 EXPECT_EQ(device_scale_factor_, background_impl->contents_scale_x()); in DrawLayersOnThread()
838 EXPECT_EQ(device_scale_factor_, green_impl->contents_scale_x()); in DrawLayersOnThread()
842 EXPECT_EQ(device_scale_factor_, blue_impl->contents_scale_x()); in DrawLayersOnThread()
Dlayer_tree_host_common.cc703 container->contents_scale_x(), container->contents_scale_y()); in ComputeSizeDeltaCompensation()
920 &layer->draw_properties().contents_scale_x, in CalculateContentsScale()
931 &mask_layer->draw_properties().contents_scale_x, in CalculateContentsScale()
944 &replica_mask_layer->draw_properties().contents_scale_x, in CalculateContentsScale()
1574 SK_MScalar1 / layer->contents_scale_x(), in CalculateDrawPropertiesInternal()
1657 Scale(render_surface_sublayer_scale.x() / layer->contents_scale_x(), in CalculateDrawPropertiesInternal()
2065 layer->contents_scale_x() / render_surface_sublayer_scale.x(), in CalculateDrawPropertiesInternal()
2412 layer_impl->contents_scale_x(), in LayerHasTouchEventHandlersAt()

12