Searched refs:ScrollDelta (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/cc/trees/
H A Dlayer_tree_host_unittest_scroll.cc55 EXPECT_VECTOR_EQ(gfx::Vector2d(), root->ScrollDelta());
64 EXPECT_VECTOR_EQ(scroll_amount_, root->ScrollDelta());
69 EXPECT_VECTOR_EQ(root->ScrollDelta(), scroll_amount_);
127 EXPECT_VECTOR_EQ(root->ScrollDelta(), gfx::Vector2d());
129 EXPECT_VECTOR_EQ(root->ScrollDelta(), scroll_amount_);
136 EXPECT_EQ(root->ScrollDelta(), scroll_amount_);
138 EXPECT_VECTOR_EQ(root->ScrollDelta(), scroll_amount_ + scroll_amount_);
145 EXPECT_VECTOR_EQ(root->ScrollDelta(), gfx::Vector2d());
259 EXPECT_VECTOR_EQ(root_scroll_layer->ScrollDelta(), gfx::Vector2d());
261 EXPECT_VECTOR_EQ(root_scroll_layer->ScrollDelta(), impl_scroll
[all...]
H A Dlayer_tree_host_common.cc552 scrolling_layer->ScrollDelta().x(),
553 scrolling_layer->ScrollDelta().y()); // Step 2
603 layer->ScrollDelta().IsZero() && !layer->render_surface())
617 if (!layer->ScrollDelta().IsZero()) {
H A Dlayer_tree_host_impl.cc349 RootScrollLayer()->scroll_offset() + RootScrollLayer()->ScrollDelta();
1960 gfx::Vector2dF previous_delta = layer_impl->ScrollDelta();
1966 layer_impl->ScrollDelta() -
1989 gfx::Vector2dF previous_delta(layer_impl->ScrollDelta());
1991 return layer_impl->ScrollDelta() - previous_delta;
2238 gfx::ToFlooredVector2d(layer_impl->ScrollDelta());
2271 RootScrollLayer()->ScrollDelta();
H A Dlayer_tree_host_impl_unittest.cc170 ASSERT_EQ(layer->ScrollDelta(), gfx::Vector2d());
743 EXPECT_FLOAT_EQ(875.f, host_impl_->RootScrollLayer()->ScrollDelta().y());
/external/chromium_org/ui/base/gestures/
H A Dgesture_point.h75 gfx::Vector2d ScrollDelta();
H A Dgesture_point.cc44 gfx::Vector2d GesturePoint::ScrollDelta() { function in class:ui::GesturePoint
H A Dgesture_sequence.cc773 d = point.ScrollDelta();
/external/chromium_org/cc/layers/
H A Dlayer_impl_unittest.cc345 // Test that LayerImpl::ScrollBy only affects ScrollDelta and total scroll
352 EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta());
357 EXPECT_VECTOR_EQ(layer()->ScrollDelta(), layer()->TotalScrollOffset());
363 EXPECT_VECTOR_EQ(layer()->ScrollDelta(), layer()->TotalScrollOffset());
375 EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta());
380 EXPECT_VECTOR_EQ(layer()->ScrollDelta() + scroll_offset,
387 EXPECT_VECTOR_EQ(layer()->ScrollDelta() + scroll_offset,
420 EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta());
472 EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta());
479 EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta());
[all...]
H A Dlayer_impl.cc267 gfx::Vector2dF new_delta = (ScrollDelta() + scroll);
270 gfx::Vector2dF unscrolled = ScrollDelta() + scroll - new_delta;
434 layer->SetScrollDelta(layer->ScrollDelta() - layer->sent_scroll_delta());
828 gfx::Vector2dF current_offset = scroll_offset_ + ScrollDelta();
896 gfx::Vector2dF LayerImpl::ScrollDelta() const { function in class:cc::LayerImpl
903 if (ScrollDelta() == scroll_delta)
931 return scroll_offset_ + ScrollDelta();
H A Dlayer.h245 gfx::Vector2d ScrollDelta() const { return gfx::Vector2d(); } function in class:cc::Layer
248 return scroll_offset() + ScrollDelta();
H A Dlayer_impl.h321 gfx::Vector2dF ScrollDelta() const;
H A Dlayer.cc818 layer->SetScrollDelta(active_twin->ScrollDelta() -
822 layer->SetScrollDelta(layer->ScrollDelta() - layer->sent_scroll_delta());

Completed in 127 milliseconds