Searched refs:layer_width (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
D | svc_test.cc | 342 uint32_t layer_width, layer_height; in TEST_F() local 344 &layer_width, &layer_height); in TEST_F() 347 res = vpx_svc_get_layer_resolution(NULL, 0, &layer_width, &layer_height); in TEST_F() 353 res = vpx_svc_get_layer_resolution(&svc_, 0, &layer_width, NULL); in TEST_F() 356 res = vpx_svc_get_layer_resolution(&svc_, 0, &layer_width, &layer_height); in TEST_F() 358 EXPECT_EQ(kWidth * 4 / 16, layer_width); in TEST_F() 361 res = vpx_svc_get_layer_resolution(&svc_, 1, &layer_width, &layer_height); in TEST_F() 363 EXPECT_EQ(kWidth * 8 / 16, layer_width); in TEST_F()
|
/external/libvpx/libvpx/test/ |
D | svc_test.cc | 342 uint32_t layer_width, layer_height; in TEST_F() local 344 &layer_width, &layer_height); in TEST_F() 347 res = vpx_svc_get_layer_resolution(NULL, 0, &layer_width, &layer_height); in TEST_F() 353 res = vpx_svc_get_layer_resolution(&svc_, 0, &layer_width, NULL); in TEST_F() 356 res = vpx_svc_get_layer_resolution(&svc_, 0, &layer_width, &layer_height); in TEST_F() 358 EXPECT_EQ(kWidth * 4 / 16, layer_width); in TEST_F() 361 res = vpx_svc_get_layer_resolution(&svc_, 1, &layer_width, &layer_height); in TEST_F() 363 EXPECT_EQ(kWidth * 8 / 16, layer_width); in TEST_F()
|
/external/chromium_org/cc/trees/ |
D | layer_sorter.cc | 281 float layer_width, layer_height; in CreateGraphNodes() local 284 layer_width = render_surface->content_rect().width(); in CreateGraphNodes() 288 layer_width = node.layer->content_bounds().width(); in CreateGraphNodes() 292 node.shape = LayerShape(layer_width, layer_height, draw_transform); in CreateGraphNodes()
|
/external/chromium_org/cc/layers/ |
D | tiled_layer.cc | 109 int layer_width = content_bounds().width(); in UpdateTileSizeAndTilingOption() local 112 gfx::Size tile_size(std::min(default_tile_size.width(), layer_width), in UpdateTileSizeAndTilingOption() 120 bool any_dimension_large = layer_width > max_untiled_layer_size.width() || in UpdateTileSizeAndTilingOption() 123 (layer_width <= default_tile_size.width() || in UpdateTileSizeAndTilingOption() 125 (layer_width * layer_height) <= (max_untiled_layer_size.width() * in UpdateTileSizeAndTilingOption()
|
D | tiled_layer_unittest.cc | 663 int layer_width = 5 * FakeTiledLayer::tile_size().width(); in TEST_F() local 665 int memory_for_layer = layer_width * layer_height * 4; in TEST_F() 671 layer_width *= 2; in TEST_F() 684 layer->SetBounds(gfx::Size(layer_width, layer_height)); in TEST_F() 685 gfx::Rect visible_rect(0, 0, layer_width / 2, layer_height); in TEST_F()
|
/external/chromium_org/ui/wm/core/ |
D | image_grid.cc | 32 float layer_width = layer->bounds().width() * layer->device_scale_factor(); in ScaleWidth() local 33 float scale = static_cast<float>(center.width()) / layer_width; in ScaleWidth()
|