HomeSort by relevance Sort by last modified time
    Searched refs:test_layer (Results 1 - 8 of 8) sorted by null

  /external/chromium_org/cc/layers/
nine_patch_layer_unittest.cc 51 scoped_refptr<NinePatchLayer> test_layer = NinePatchLayer::Create(); local
52 ASSERT_TRUE(test_layer.get());
53 test_layer->SetIsDrawable(true);
54 test_layer->SetBounds(gfx::Size(100, 100));
56 layer_tree_host_->SetRootLayer(test_layer);
58 EXPECT_EQ(test_layer->layer_tree_host(), layer_tree_host_.get());
62 test_layer->SavePaintProperties();
63 test_layer->Update(&queue, &occlusion_tracker);
65 EXPECT_FALSE(test_layer->DrawsContent());
76 test_layer->SetAperture(aperture)
    [all...]
ui_resource_layer_unittest.cc 52 scoped_refptr<UIResourceLayer> test_layer = UIResourceLayer::Create(); local
53 ASSERT_TRUE(test_layer.get());
54 test_layer->SetIsDrawable(true);
55 test_layer->SetBounds(gfx::Size(100, 100));
57 layer_tree_host_->SetRootLayer(test_layer);
59 EXPECT_EQ(test_layer->layer_tree_host(), layer_tree_host_.get());
65 test_layer->SavePaintProperties();
66 test_layer->Update(&queue, &occlusion_tracker);
68 EXPECT_FALSE(test_layer->DrawsContent());
75 test_layer->SetBitmap(bitmap)
82 scoped_refptr<UIResourceLayer> test_layer = UIResourceLayer::Create(); local
    [all...]
contents_scaling_layer_unittest.cc 47 scoped_refptr<MockContentsScalingLayer> test_layer = local
51 root->AddChild(test_layer);
54 test_layer->SetBounds(gfx::Size(320, 240));
57 EXPECT_FLOAT_EQ(1.f, test_layer->contents_scale_x());
58 EXPECT_FLOAT_EQ(1.f, test_layer->contents_scale_y());
59 EXPECT_EQ(320, test_layer->content_bounds().width());
60 EXPECT_EQ(240, test_layer->content_bounds().height());
63 EXPECT_EQ(640, test_layer->content_bounds().width());
64 EXPECT_EQ(480, test_layer->content_bounds().height());
66 test_layer->SetBounds(gfx::Size(10, 20))
    [all...]
layer_perftest.cc 61 scoped_refptr<Layer> test_layer = Layer::Create(); local
65 layer_tree_host_->SetRootLayer(test_layer);
77 test_layer->SetNeedsDisplayRect(gfx::RectF(0.f, 0.f, 5.f, 5.f));
78 test_layer->SetAnchorPointZ(anchor_point_z);
79 test_layer->SetContentsOpaque(contents_opaque);
80 test_layer->SetDoubleSided(double_sided);
81 test_layer->SetHideLayerAndSubtree(hide_layer_and_subtree);
82 test_layer->SetMasksToBounds(masks_to_bounds);
83 test_layer->SetScrollable(scrollable);
84 test_layer->PushPropertiesTo(impl_layer.get())
    [all...]
layer_unittest.cc 146 scoped_refptr<Layer> test_layer = Layer::Create(); local
147 ASSERT_TRUE(test_layer.get());
150 test_layer->SetLayerTreeHost(layer_tree_host_.get());
154 test_layer->SetLayerTreeHost(NULL);
315 // create another simple tree with test_layer and child4.
316 scoped_refptr<Layer> test_layer = Layer::Create(); local
318 test_layer->AddChild(child4);
319 ASSERT_EQ(1U, test_layer->children().size());
320 EXPECT_EQ(child4, test_layer->children()[0]);
321 EXPECT_EQ(test_layer.get(), child4->parent())
474 scoped_refptr<Layer> test_layer = Layer::Create(); local
528 scoped_refptr<Layer> test_layer = Layer::Create(); local
585 scoped_refptr<Layer> test_layer = Layer::Create(); local
614 scoped_refptr<Layer> test_layer = Layer::Create(); local
633 scoped_refptr<Layer> test_layer = Layer::Create(); local
651 scoped_refptr<Layer> test_layer = Layer::Create(); local
692 scoped_refptr<Layer> test_layer = Layer::Create(); local
732 scoped_refptr<Layer> test_layer = Layer::Create(); local
    [all...]
texture_layer_unittest.cc 86 scoped_refptr<TextureLayer> test_layer = TextureLayer::Create(NULL); local
87 ASSERT_TRUE(test_layer.get());
91 layer_tree_host_->SetRootLayer(test_layer);
93 EXPECT_EQ(test_layer->layer_tree_host(), layer_tree_host_.get());
97 test_layer->SetTextureId(1);
102 test_layer->SetTextureId(2);
107 test_layer->SetTextureId(0);
114 scoped_refptr<TextureLayer> test_layer = TextureLayer::Create(NULL); local
115 ASSERT_TRUE(test_layer.get());
122 layer_tree_host_->SetRootLayer(test_layer);
169 scoped_refptr<TextureLayer> test_layer = TextureLayer::Create(NULL); local
201 scoped_refptr<TextureLayer> test_layer = TextureLayer::Create(NULL); local
269 scoped_refptr<TextureLayer> test_layer = TextureLayer::CreateForMailbox( local
391 scoped_refptr<TextureLayer> test_layer = TextureLayer::CreateForMailbox(NULL); local
505 scoped_refptr<TextureLayer> test_layer = TextureLayer::CreateForMailbox(NULL); local
560 scoped_refptr<TextureLayer> test_layer = TextureLayer::CreateForMailbox(NULL); local
616 scoped_refptr<TextureLayer> test_layer = TextureLayer::CreateForMailbox(NULL); local
672 scoped_refptr<TextureLayer> test_layer = TextureLayer::CreateForMailbox(NULL); local
    [all...]
  /external/chromium_org/cc/trees/
layer_tree_host_common_unittest.cc 4604 scoped_ptr<LayerImpl> test_layer = local
4631 LayerImpl* test_layer = root->children()[0]; local
5346 scoped_ptr<LayerImpl> test_layer = local
5366 scoped_ptr<LayerImpl> test_layer = local
5713 scoped_ptr<LayerImpl> test_layer = local
5741 LayerImpl* test_layer = root->children()[0]; local
5820 scoped_ptr<LayerImpl> test_layer = local
5852 LayerImpl* test_layer = root->children()[0]; local
    [all...]
layer_tree_host_unittest.cc     [all...]

Completed in 36 milliseconds