Searched refs:scroll_layer (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/cc/trees/
H A Dlayer_tree_host_unittest_scroll.cc38 scoped_refptr<Layer> scroll_layer = Layer::Create(); variable
39 root_layer->AddChild(scroll_layer);
41 scroll_layer->SetBounds(gfx::Size(root_layer->bounds().width() + 100,
43 scroll_layer->SetIsDrawable(true);
44 scroll_layer->SetIsContainerForFixedPositionLayers(true);
45 scroll_layer->SetScrollClipLayerId(root_layer->id());
46 scroll_layer->SetScrollOffset(initial_scroll_);
47 layer_tree_host()->RegisterViewportLayers(root_layer, scroll_layer, NULL);
53 Layer* scroll_layer = root->children()[0].get(); variable
55 EXPECT_VECTOR_EQ(initial_scroll_, scroll_layer
67 LayerImpl* scroll_layer = root->children()[0]; variable
143 LayerImpl* scroll_layer = variable
406 LayerImpl* scroll_layer = root->children()[0]; variable
776 Layer* scroll_layer = root->children()[0].get(); variable
801 LayerImpl* scroll_layer = root->children()[0]; variable
905 Layer* scroll_layer = root->children()[0].get(); variable
982 LayerImpl* scroll_layer = root->children()[0]; variable
1016 scoped_refptr<Layer> scroll_layer = Layer::Create(); variable
1017 layer_tree_host()->root_layer()->AddChild(scroll_layer); variable
1024 LayerImpl* scroll_layer = root->children()[0]; variable
1189 scoped_refptr<PictureLayer> scroll_layer = local
[all...]
H A Dlayer_tree_host_unittest_damage.cc440 LayerImpl* scroll_layer = scroll_clip_layer->children()[0]; variable
445 scroll_layer->SetPosition(gfx::Point(1, 1));
446 scroll_layer->SetScrollOffset(scroll_layer->scroll_offset());
450 scroll_layer->ScrollBy(gfx::Vector2dF(10.f, 10.f));
454 scroll_layer->SetBounds(gfx::Size(root->bounds().width() + 60,
516 LayerImpl* scroll_layer = scroll_clip_layer->children()[0]; variable
521 scroll_layer->ScrollBy(gfx::Vector2dF(10.f, 10.f));
H A Dlayer_tree_host_impl_unittest.cc240 LayerImpl* scroll_layer = scroll.get(); local
274 return scroll_layer;
278 LayerImpl* scroll_layer = CreateScrollAndContentsLayers( local
281 return scroll_layer;
561 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); local
570 scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100));
578 ExpectContains(*scroll_info, scroll_layer->id(), scroll_delta);
753 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(200, 200)); local
754 EXPECT_FALSE(scroll_layer->have_scroll_event_handlers());
766 LayerImpl* scroll_layer local
848 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(200, 200)); local
914 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); local
1014 LayerImpl* scroll_layer = host_impl_->InnerViewportScrollLayer(); local
1157 LayerImpl* scroll_layer = host_impl_->InnerViewportScrollLayer(); local
1250 LayerImpl* scroll_layer = host_impl_->InnerViewportScrollLayer(); local
1291 LayerImpl* scroll_layer = host_impl_->InnerViewportScrollLayer(); local
2549 scoped_ptr<LayerImpl> scroll_layer = local
2644 scoped_ptr<LayerImpl> scroll_layer = local
3104 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); local
3146 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); local
3233 LayerImpl* scroll_layer = local
3363 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); local
3460 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); local
3632 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(50, 50)); local
6399 LayerImpl* scroll_layer = local
6432 LayerImpl* scroll_layer = local
6470 LayerImpl* scroll_layer = local
6505 LayerImpl* scroll_layer = local
6741 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); local
6798 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 200)); local
6852 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 200)); local
6918 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 200)); local
[all...]
H A Dlayer_tree_host_unittest_context.cc1134 scoped_refptr<Layer> scroll_layer = Layer::Create(); variable
1136 FakePaintedScrollbarLayer::Create(false, true, scroll_layer->id());
1139 layer_tree_host()->root_layer()->AddChild(scroll_layer); variable
H A Dlayer_tree_host_common_unittest.cc315 LayerImpl* scroll_layer = scroll_layer_scoped_ptr.get(); local
316 SetLayerPropertiesForTesting(scroll_layer,
327 scroll_layer->SetScrollClipLayer(clip_layer->id());
329 gfx::Size(scroll_layer->bounds().width() + kMaxScrollOffset.x(),
330 scroll_layer->bounds().height() + kMaxScrollOffset.y()));
331 scroll_layer->SetScrollClipLayer(clip_layer->id());
332 scroll_layer->SetScrollDelta(kScrollDelta);
334 scroll_layer->AddChild(sublayer_scoped_ptr.Pass());
350 root.get(), kDeviceScale, kPageScale, scroll_layer->parent());
365 SetLayerPropertiesForTesting(scroll_layer,
7678 LayerImpl* scroll_layer = scroller.get(); local
[all...]
H A Dlayer_tree_host_impl.cc2942 LayerImpl* scroll_layer = OuterViewportScrollLayer() local
2946 gfx::Vector2dF unused_delta = scroll_layer->ScrollBy(scroll_delta);
2948 if (!unused_delta.IsZero() && (scroll_layer == OuterViewportScrollLayer()))
/external/chromium_org/cc/animation/
H A Dscrollbar_animation_controller_linear_fade.cc15 LayerImpl* scroll_layer,
20 scroll_layer, client, delay_before_starting, duration));
24 LayerImpl* scroll_layer,
29 scroll_layer_(scroll_layer) {
14 Create( LayerImpl* scroll_layer, ScrollbarAnimationControllerClient* client, base::TimeDelta delay_before_starting, base::TimeDelta duration) argument
23 ScrollbarAnimationControllerLinearFade( LayerImpl* scroll_layer, ScrollbarAnimationControllerClient* client, base::TimeDelta delay_before_starting, base::TimeDelta duration) argument
H A Dscrollbar_animation_controller_linear_fade.h19 LayerImpl* scroll_layer,
30 LayerImpl* scroll_layer,
H A Dscrollbar_animation_controller_thinning.cc21 LayerImpl* scroll_layer,
26 scroll_layer, client, delay_before_starting, duration));
30 LayerImpl* scroll_layer,
35 scroll_layer_(scroll_layer),
20 Create( LayerImpl* scroll_layer, ScrollbarAnimationControllerClient* client, base::TimeDelta delay_before_starting, base::TimeDelta duration) argument
29 ScrollbarAnimationControllerThinning( LayerImpl* scroll_layer, ScrollbarAnimationControllerClient* client, base::TimeDelta delay_before_starting, base::TimeDelta duration) argument
H A Dscrollbar_animation_controller_thinning.h21 LayerImpl* scroll_layer,
40 LayerImpl* scroll_layer,
H A Dscrollbar_animation_controller_linear_fade_unittest.cc38 scoped_ptr<LayerImpl> scroll_layer = local
49 scroll_layer->SetScrollClipLayer(clip_layer_->id());
50 LayerImpl* scroll_layer_ptr = scroll_layer.get();
51 clip_layer_->AddChild(scroll_layer.Pass());
H A Dscrollbar_animation_controller_thinning_unittest.cc31 scoped_ptr<LayerImpl> scroll_layer = local
34 scroll_layer->SetScrollClipLayer(clip_layer_->id());
35 LayerImpl* scroll_layer_ptr = scroll_layer.get();
36 clip_layer_->AddChild(scroll_layer.Pass());
/external/chromium_org/cc/layers/
H A Dscrollbar_layer_impl_base.cc59 LayerImpl* scroll_layer,
61 if (!container_layer || !scroll_layer)
68 for (LayerImpl* current_layer = scroll_layer;
71 // TODO(wjmaclean) We shouldn't need to exempt the scroll_layer from the
74 current_layer == scroll_layer)
83 LayerImpl* scroll_layer = layer_tree_impl()->LayerById(scroll_layer_id); local
85 if (scroll_layer_ == scroll_layer && clip_layer_ == clip_layer)
90 scroll_layer_ = scroll_layer;
57 RegisterScrollbarWithLayers(ScrollbarLayerImplBase* scrollbar, LayerImpl* container_layer, LayerImpl* scroll_layer, ScrollbarRegistrationOperation operation) argument
H A Dscrollbar_layer_unittest.cc134 scoped_refptr<Layer> scroll_layer = Layer::Create(); local
141 scroll_layer->SetScrollClipLayerId(layer_tree_root->id());
142 scroll_layer->SetScrollOffset(gfx::Vector2d(10, 20));
143 scroll_layer->SetBounds(gfx::Size(100, 200));
147 layer_tree_root->AddChild(scroll_layer);
148 scroll_layer->AddChild(content_layer);
150 scrollbar_layer->ToScrollbarLayer()->SetScrollLayer(scroll_layer->id());
167 scroll_layer->SetBounds(gfx::Size(1000, 2000));
168 scroll_layer->SetScrollOffset(gfx::Vector2d(100, 200));
169 scroll_layer
425 scoped_refptr<Layer> scroll_layer = Layer::Create(); local
[all...]
H A Dlayer_position_constraint_unittest.cc41 LayerImpl* scroll_layer = root_layer->children()[0]; local
46 // We are probably not testing what is intended if the scroll_layer bounds are
48 DCHECK(!scroll_layer->bounds().IsEmpty());
78 scoped_ptr<LayerImpl> scroll_layer = local
92 SetLayerPropertiesForTesting(scroll_layer.get(),
114 scroll_layer->SetScrollClipLayer(root->id());
120 scroll_layer->AddChild(child.Pass());
121 root->AddChild(scroll_layer.Pass());
139 void SetFixedContainerSizeDelta(LayerImpl* scroll_layer, argument
141 DCHECK(scroll_layer);
[all...]
/external/chromium_org/cc/blink/
H A Dweb_scrollbar_layer_impl.cc62 cc::Layer* scroll_layer = local
64 layer_->layer()->ToScrollbarLayer()->SetScrollLayer(scroll_layer->id());

Completed in 406 milliseconds