Home
last modified time | relevance | path

Searched refs:contents_scale_y (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/cc/layers/
Dpicture_image_layer_impl_unittest.cc79 float contents_scale_y; in TEST_F() local
82 &contents_scale_x, &contents_scale_y, in TEST_F()
85 EXPECT_FLOAT_EQ(1.f, contents_scale_y); in TEST_F()
97 float contents_scale_y; in TEST_F() local
100 &contents_scale_x, &contents_scale_y, in TEST_F()
119 float contents_scale_y; in TEST_F() local
126 &contents_scale_y, in TEST_F()
139 &contents_scale_y, in TEST_F()
Dcontents_scaling_layer.cc29 float* contents_scale_y, in CalculateContentsScale() argument
32 *contents_scale_y = ideal_contents_scale; in CalculateContentsScale()
44 draw_properties().contents_scale_y == last_update_contents_scale_y_) in Update()
48 last_update_contents_scale_y_ = draw_properties().contents_scale_y; in Update()
Dpainted_scrollbar_layer.cc97 float* contents_scale_y, in CalculateContentsScale() argument
105 contents_scale_y, in CalculateContentsScale()
155 layer_rect, contents_scale_y(), contents_scale_y()); in ScrollbarLayerRectToContentRect()
231 SkFloatToScalar(contents_scale_y())); in RasterizeScrollbarPart()
234 rect, 1.f / contents_scale_x(), 1.f / contents_scale_y()); in RasterizeScrollbarPart()
Dpicture_image_layer_impl.cc36 float* contents_scale_y, in CalculateContentsScale() argument
46 contents_scale_y, in CalculateContentsScale()
Ddraw_properties.h28 contents_scale_y(1.f), in DrawProperties()
90 float contents_scale_y; member
Dimage_layer.cc72 float* contents_scale_y, in CalculateContentsScale() argument
75 *contents_scale_y = ImageContentsScaleY(); in CalculateContentsScale()
Dlayer_impl.cc443 1.f / contents_scale_y()); 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()
968 float contents_scale_y) { in SetContentsScale() argument
970 this->contents_scale_y() == contents_scale_y) in SetContentsScale()
974 draw_properties_.contents_scale_y = contents_scale_y; in SetContentsScale()
984 float* contents_scale_y, in CalculateContentsScale() argument
989 *contents_scale_y = this->contents_scale_y(); in CalculateContentsScale()
Dcontents_scaling_layer.h23 float* contents_scale_y,
Dpicture_image_layer_impl.h29 float* contents_scale_y,
Dimage_layer.h32 float* contents_scale_y,
Dlayer_impl.h361 float contents_scale_y() const { return draw_properties_.contents_scale_y; } in contents_scale_y() function
362 void SetContentsScale(float contents_scale_x, float contents_scale_y);
375 float* contents_scale_y,
Dcontents_scaling_layer_unittest.cc58 EXPECT_FLOAT_EQ(1.f, test_layer->contents_scale_y()); in TEST()
Dscrollbar_layer_impl_base.cc43 contents_scale_y()); in ScrollbarLayerRectToContentRect()
Dpainted_scrollbar_layer.h48 float* contents_scale_y,
Dlayer.h383 float contents_scale_y() const { return draw_properties_.contents_scale_y; } in contents_scale_y() function
391 float* contents_scale_y,
Dpicture_layer_impl.h51 float* contents_scale_y,
Dlayer.cc213 gfx::ScaleRect(layer_rect, contents_scale_x(), contents_scale_y()); in LayerRectToContentRect()
429 float* contents_scale_y, in CalculateContentsScale() argument
434 *contents_scale_y = 1; in CalculateContentsScale()
874 layer->SetContentsScale(contents_scale_x(), contents_scale_y()); in PushPropertiesTo()
Dscrollbar_layer_unittest.cc297 scrollbar_layer_impl->draw_properties().contents_scale_y = 2.f; in TEST()
309 scrollbar_layer_impl->draw_properties().contents_scale_y = 1.f; in TEST()
688 scrollbar_layer->draw_properties().contents_scale_y = test_scale; in TestResourceUpload()
Dpicture_layer_impl.cc395 float* contents_scale_y, in CalculateContentsScale() argument
410 *contents_scale_y = ideal_contents_scale_; in CalculateContentsScale()
450 *contents_scale_y = max_contents_scale; in CalculateContentsScale()
Dheads_up_display_layer_impl.cc163 hud_canvas_->scale(contents_scale_x(), contents_scale_y()); in UpdateHudTexture()
665 1.0 / contents_scale_y()); in DrawDebugRects()
/external/chromium_org/cc/test/
Dtiled_layer_test_common.cc122 &draw_properties().contents_scale_y, in UpdateContentsScale()
162 float* contents_scale_y, in CalculateContentsScale() argument
166 *contents_scale_y = in CalculateContentsScale()
Dtiled_layer_test_common.h148 float* contents_scale_y,
/external/chromium_org/cc/debug/
Ddebug_rect_history.cc190 layer->contents_scale_y()); in SaveTouchEventHandlerRectsCallback()
210 wheel_rect.Scale(layer->contents_scale_x(), layer->contents_scale_y()); in SaveWheelEventHandlerRectsCallback()
230 layer->contents_scale_y()); in SaveNonFastScrollableRectsCallback()
/external/chromium_org/cc/trees/
Dlayer_tree_host_pixeltest_readback.cc641 EXPECT_EQ(device_scale_factor_, background_impl->contents_scale_y()); in DrawLayersOnThread()
645 EXPECT_EQ(device_scale_factor_, green_impl->contents_scale_y()); in DrawLayersOnThread()
649 EXPECT_EQ(device_scale_factor_, blue_impl->contents_scale_y()); in DrawLayersOnThread()
835 EXPECT_EQ(device_scale_factor_, background_impl->contents_scale_y()); in DrawLayersOnThread()
839 EXPECT_EQ(device_scale_factor_, green_impl->contents_scale_y()); in DrawLayersOnThread()
843 EXPECT_EQ(device_scale_factor_, blue_impl->contents_scale_y()); in DrawLayersOnThread()
Dlayer_tree_host_common.cc703 container->contents_scale_x(), container->contents_scale_y()); in ComputeSizeDeltaCompensation()
921 &layer->draw_properties().contents_scale_y, in CalculateContentsScale()
932 &mask_layer->draw_properties().contents_scale_y, in CalculateContentsScale()
945 &replica_mask_layer->draw_properties().contents_scale_y, in CalculateContentsScale()
1575 SK_MScalar1 / layer->contents_scale_y()); in CalculateDrawPropertiesInternal()
1658 render_surface_sublayer_scale.y() / layer->contents_scale_y()); in CalculateDrawPropertiesInternal()
2066 layer->contents_scale_y() / render_surface_sublayer_scale.y()); in CalculateDrawPropertiesInternal()
2413 layer_impl->contents_scale_y())) in LayerHasTouchEventHandlersAt()

12