Home
last modified time | relevance | path

Searched refs:scrollbar_layer (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/cc/layers/
Dscrollbar_layer_unittest.cc125 scoped_refptr<Layer> scrollbar_layer = in TEST() local
136 layer_tree_root->AddChild(scrollbar_layer); in TEST()
176 scoped_refptr<FakePaintedScrollbarLayer> scrollbar_layer = in TEST() local
186 root_layer->AddChild(scrollbar_layer); in TEST()
189 scrollbar_layer->SetBounds(gfx::Size(70, 10)); in TEST()
190 scrollbar_layer->fake_scrollbar()->set_location(gfx::Point(20, 10)); in TEST()
191 scrollbar_layer->fake_scrollbar()->set_track_rect(gfx::Rect(30, 10, 50, 10)); in TEST()
192 scrollbar_layer->fake_scrollbar()->set_thumb_thickness(10); in TEST()
193 scrollbar_layer->fake_scrollbar()->set_thumb_length(4); in TEST()
194 scrollbar_layer->UpdateThumbAndTrackGeometry(); in TEST()
[all …]
Dpainted_scrollbar_layer.cc112 PaintedScrollbarLayerImpl* scrollbar_layer = in PushPropertiesTo() local
115 scrollbar_layer->SetThumbThickness(thumb_thickness_); in PushPropertiesTo()
116 scrollbar_layer->SetThumbLength(thumb_length_); in PushPropertiesTo()
118 scrollbar_layer->SetTrackStart( in PushPropertiesTo()
120 scrollbar_layer->SetTrackLength(track_rect_.width()); in PushPropertiesTo()
122 scrollbar_layer->SetTrackStart( in PushPropertiesTo()
124 scrollbar_layer->SetTrackLength(track_rect_.height()); in PushPropertiesTo()
128 scrollbar_layer->set_track_ui_resource_id(track_resource_->id()); in PushPropertiesTo()
130 scrollbar_layer->set_thumb_ui_resource_id(thumb_resource_->id()); in PushPropertiesTo()
132 scrollbar_layer->set_is_overlay_scrollbar(is_overlay_); in PushPropertiesTo()
Dpainted_scrollbar_layer_impl.cc53 PaintedScrollbarLayerImpl* scrollbar_layer = in PushPropertiesTo() local
56 scrollbar_layer->SetThumbThickness(thumb_thickness_); in PushPropertiesTo()
57 scrollbar_layer->SetThumbLength(thumb_length_); in PushPropertiesTo()
58 scrollbar_layer->SetTrackStart(track_start_); in PushPropertiesTo()
59 scrollbar_layer->SetTrackLength(track_length_); in PushPropertiesTo()
61 scrollbar_layer->set_track_ui_resource_id(track_ui_resource_id_); in PushPropertiesTo()
62 scrollbar_layer->set_thumb_ui_resource_id(thumb_ui_resource_id_); in PushPropertiesTo()
Dlayer_impl.h495 void SetHorizontalScrollbarLayer(ScrollbarLayerImplBase* scrollbar_layer);
500 void SetVerticalScrollbarLayer(ScrollbarLayerImplBase* scrollbar_layer);
Dlayer_impl.cc1183 ScrollbarLayerImplBase* scrollbar_layer) { in SetHorizontalScrollbarLayer() argument
1184 horizontal_scrollbar_layer_ = scrollbar_layer; in SetHorizontalScrollbarLayer()
1190 ScrollbarLayerImplBase* scrollbar_layer) { in SetVerticalScrollbarLayer() argument
1191 vertical_scrollbar_layer_ = scrollbar_layer; in SetVerticalScrollbarLayer()
/external/chromium_org/cc/trees/
Dtree_synchronizer.cc153 ScrollbarLayerType* scrollbar_layer = layer->ToScrollbarLayer(); in UpdateScrollbarLayerPointersRecursiveInternal() local
154 if (!scrollbar_layer) in UpdateScrollbarLayerPointersRecursiveInternal()
163 iter = new_layers->find(scrollbar_layer->ScrollLayerId()); in UpdateScrollbarLayerPointersRecursiveInternal()
170 if (scrollbar_layer->orientation() == HORIZONTAL) in UpdateScrollbarLayerPointersRecursiveInternal()
Dlayer_tree_host_unittest_damage.cc438 scoped_refptr<Layer> scrollbar_layer = in SetupTree() local
440 scrollbar_layer->SetPosition(gfx::Point(300, 300)); in SetupTree()
441 scrollbar_layer->SetBounds(gfx::Size(10, 100)); in SetupTree()
442 root_layer->AddChild(scrollbar_layer); in SetupTree()
446 gfx::RectF scrollbar_rect(scrollbar_layer->position(), in SetupTree()
447 scrollbar_layer->bounds()); in SetupTree()