Searched defs:scrollbar_layer (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/cc/layers/
H A Dsolid_color_scrollbar_layer.cc65 SolidColorScrollbarLayerImpl* scrollbar_layer = local
68 scrollbar_layer->SetScrollLayerAndClipLayerByIds(scroll_layer_id_,
H A Dpainted_scrollbar_layer.cc116 PaintedScrollbarLayerImpl* scrollbar_layer = local
119 scrollbar_layer->SetThumbThickness(thumb_thickness_);
120 scrollbar_layer->SetThumbLength(thumb_length_);
122 scrollbar_layer->SetTrackStart(
124 scrollbar_layer->SetTrackLength(track_rect_.width());
126 scrollbar_layer->SetTrackStart(
128 scrollbar_layer->SetTrackLength(track_rect_.height());
132 scrollbar_layer->set_track_ui_resource_id(track_resource_->id());
134 scrollbar_layer->set_track_ui_resource_id(0);
136 scrollbar_layer
148 PaintedScrollbarLayerImpl* scrollbar_layer = local
[all...]
H A Dpainted_scrollbar_layer_impl.cc53 PaintedScrollbarLayerImpl* scrollbar_layer = local
56 scrollbar_layer->SetThumbThickness(thumb_thickness_);
57 scrollbar_layer->SetThumbLength(thumb_length_);
58 scrollbar_layer->SetTrackStart(track_start_);
59 scrollbar_layer->SetTrackLength(track_length_);
61 scrollbar_layer->set_track_ui_resource_id(track_ui_resource_id_);
62 scrollbar_layer->set_thumb_ui_resource_id(thumb_ui_resource_id_);
H A Dscrollbar_layer_unittest.cc136 scoped_refptr<Layer> scrollbar_layer = local
149 layer_tree_root->AddChild(scrollbar_layer);
150 scrollbar_layer->ToScrollbarLayer()->SetScrollLayer(scroll_layer->id());
151 scrollbar_layer->ToScrollbarLayer()->SetClipLayer(layer_tree_root->id());
191 scrollbar_layer->UpdateThumbAndTrackGeometry(); \
205 scoped_refptr<FakePaintedScrollbarLayer> scrollbar_layer = local
217 root_layer->AddChild(scrollbar_layer);
220 scrollbar_layer->SetBounds(gfx::Size(70, 10));
221 scrollbar_layer->SetScrollLayer(root_layer->id());
222 scrollbar_layer
250 scoped_refptr<FakePaintedScrollbarLayer> scrollbar_layer = local
709 scoped_refptr<Layer> scrollbar_layer; local
798 scoped_refptr<FakePaintedScrollbarLayer> scrollbar_layer = local
941 scoped_refptr<FakePaintedScrollbarLayer> scrollbar_layer = local
1023 scoped_refptr<FakePaintedScrollbarLayer> scrollbar_layer = local
[all...]
H A Dlayer_impl.cc1233 void LayerImpl::SetScrollbarPosition(ScrollbarLayerImplBase* scrollbar_layer, argument
1235 DCHECK(scrollbar_layer);
1284 scrollbar_needs_animation |= scrollbar_layer->SetVerticalAdjust(
1286 if (scrollbar_layer->orientation() == HORIZONTAL) {
1289 scrollbar_layer->SetCurrentPos(current_offset.x());
1291 scrollbar_layer->SetMaximum(scroll_rect.width() - clip_rect.width());
1293 scrollbar_layer->SetVisibleToTotalLengthRatio(visible_ratio);
1297 scrollbar_layer->SetCurrentPos(current_offset.y());
1299 scrollbar_layer->SetMaximum(scroll_rect.height() - clip_rect.height());
1301 scrollbar_layer
[all...]
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_unittest_damage.cc375 scoped_refptr<Layer> scrollbar_layer = variable
377 scrollbar_layer->SetPosition(gfx::Point(300, 300));
378 scrollbar_layer->SetBounds(gfx::Size(10, 100));
379 scrollbar_layer->ToScrollbarLayer()->SetClipLayer(scroll_clip_layer->id());
380 scrollbar_layer->ToScrollbarLayer()->SetScrollLayer(content_layer->id());
381 root_layer->AddChild(scrollbar_layer);
385 gfx::RectF scrollbar_rect(scrollbar_layer->position(),
386 scrollbar_layer->bounds());
H A Dtree_synchronizer.cc31 if (ScrollbarLayerImplBase* scrollbar_layer =
33 scrollbar_layer->ClearClipLayer();
34 scrollbar_layer->ClearScrollLayer();
157 ScrollbarLayerType* scrollbar_layer = layer->ToScrollbarLayer(); local
158 if (!scrollbar_layer)
169 scrollbar_layer->PushScrollClipPropertiesTo(scrollbar_layer_impl);

Completed in 392 milliseconds