/external/chromium_org/cc/layers/ |
layer_impl_unittest.cc | 501 gfx::Vector2d sent_scroll_delta(12, -3); 506 layer()->SetSentScrollDelta(sent_scroll_delta); 511 EXPECT_VECTOR_EQ(sent_scroll_delta, layer()->sent_scroll_delta()); 516 EXPECT_VECTOR_EQ(scroll_delta - sent_scroll_delta, layer()->ScrollDelta()); 517 EXPECT_VECTOR_EQ(scroll_offset + sent_scroll_delta, layer()->scroll_offset()); 518 EXPECT_VECTOR_EQ(gfx::Vector2d(), layer()->sent_scroll_delta()); 524 gfx::Vector2d sent_scroll_delta(12, -3); 532 layer()->SetSentScrollDelta(sent_scroll_delta); 536 EXPECT_VECTOR_EQ(sent_scroll_delta, layer()->sent_scroll_delta()) [all...] |
layer_impl.cc | 350 void LayerImpl::SetSentScrollDelta(gfx::Vector2d sent_scroll_delta) { 354 if (sent_scroll_delta_ == sent_scroll_delta) 357 sent_scroll_delta_ = sent_scroll_delta; 401 DCHECK(sent_scroll_delta().IsZero()); 409 active_twin->sent_scroll_delta()); 540 scroll_offset_, layer->ScrollDelta() - layer->sent_scroll_delta()); [all...] |
layer_impl.h | 395 void SetSentScrollDelta(gfx::Vector2d sent_scroll_delta); 396 gfx::Vector2d sent_scroll_delta() const { return sent_scroll_delta_; } function in class:cc::LayerImpl
|
layer.cc | 963 scroll_offset_, layer->ScrollDelta() - layer->sent_scroll_delta()); [all...] |
/external/chromium_org/cc/trees/ |
layer_tree_host_unittest_scroll.cc | 773 EXPECT_VECTOR_EQ(root->sent_scroll_delta(), gfx::Vector2d()); 787 EXPECT_VECTOR_EQ(root->sent_scroll_delta(), impl_thread_scroll1_); 793 EXPECT_VECTOR_EQ(pending_root->sent_scroll_delta(), gfx::Vector2d()); 802 EXPECT_VECTOR_EQ(root->sent_scroll_delta(), gfx::Vector2d()); 878 EXPECT_VECTOR_EQ(pending_root->sent_scroll_delta(), gfx::Vector2d()); 886 EXPECT_VECTOR_EQ(pending_root->sent_scroll_delta(), gfx::Vector2d()) [all...] |
layer_tree_host_impl_unittest.cc | 439 EXPECT_VECTOR_EQ(root->sent_scroll_delta(), scroll_delta); 446 EXPECT_VECTOR_EQ(root->sent_scroll_delta(), scroll_delta + scroll_delta2); 451 EXPECT_EQ(root->sent_scroll_delta(), scroll_delta + scroll_delta2); [all...] |