Home
last modified time | relevance | path

Searched refs:scrollbar_layer_impl (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/cc/layers/
Dpainted_scrollbar_layer_impl_unittest.cc35 PaintedScrollbarLayerImpl* scrollbar_layer_impl = in TEST() local
37 scrollbar_layer_impl->SetBounds(layer_size); in TEST()
38 scrollbar_layer_impl->SetContentBounds(layer_size); in TEST()
39 scrollbar_layer_impl->SetDrawsContent(true); in TEST()
40 scrollbar_layer_impl->SetThumbThickness(layer_size.width()); in TEST()
41 scrollbar_layer_impl->SetThumbLength(500); in TEST()
42 scrollbar_layer_impl->SetTrackLength(layer_size.height()); in TEST()
43 scrollbar_layer_impl->SetCurrentPos(100.f / 4); in TEST()
44 scrollbar_layer_impl->SetMaximum(100); in TEST()
45 scrollbar_layer_impl->SetVisibleToTotalLengthRatio(1.f / 2); in TEST()
[all …]
Dsolid_color_scrollbar_layer_impl_unittest.cc25 SolidColorScrollbarLayerImpl* scrollbar_layer_impl = in TEST() local
32 scrollbar_layer_impl->SetBounds(layer_size); in TEST()
33 scrollbar_layer_impl->SetContentBounds(layer_size); in TEST()
34 scrollbar_layer_impl->SetDrawsContent(true); in TEST()
35 scrollbar_layer_impl->SetCurrentPos(100.f / 4); in TEST()
36 scrollbar_layer_impl->SetMaximum(100); in TEST()
37 scrollbar_layer_impl->SetVisibleToTotalLengthRatio(1.f / 2); in TEST()
39 scrollbar_layer_impl->SetOpacity(1.f); in TEST()
43 gfx::Rect thumb_rect = scrollbar_layer_impl->ComputeThumbQuadRect(); in TEST()
50 impl.AppendQuadsWithOcclusion(scrollbar_layer_impl, occluded); in TEST()
[all …]
Dscrollbar_layer_unittest.cc102 PaintedScrollbarLayerImpl* scrollbar_layer_impl = in TEST() local
110 scrollbar_layer_impl->TryScroll(gfx::Point(0, 0), in TEST()
118 scrollbar_layer_impl = static_cast<PaintedScrollbarLayerImpl*>( in TEST()
124 scrollbar_layer_impl->TryScroll(gfx::Point(0, 0), in TEST()
194 scrollbar_layer_impl = static_cast<PaintedScrollbarLayerImpl*>( \
196 scrollbar_layer_impl->ScrollbarParametersDidChange(); \
231 PaintedScrollbarLayerImpl* scrollbar_layer_impl = NULL; in TEST() local
235 scrollbar_layer_impl->ComputeThumbQuadRect().ToString()); in TEST()
241 scrollbar_layer_impl->ComputeThumbQuadRect().ToString()); in TEST()
275 PaintedScrollbarLayerImpl* scrollbar_layer_impl = NULL; in TEST() local
[all …]
/external/chromium_org/cc/trees/
Dtree_synchronizer.cc163 ScrollbarLayerImplBase* scrollbar_layer_impl = in UpdateScrollbarLayerPointersRecursiveInternal() local
167 DCHECK(scrollbar_layer_impl); in UpdateScrollbarLayerPointersRecursiveInternal()
169 scrollbar_layer->PushScrollClipPropertiesTo(scrollbar_layer_impl); in UpdateScrollbarLayerPointersRecursiveInternal()