Home
last modified time | relevance | path

Searched refs:sent_scroll_delta (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/cc/layers/
Dlayer_impl_unittest.cc593 gfx::Vector2d sent_scroll_delta(12, -3); in TEST_F() local
597 layer()->SetSentScrollDelta(sent_scroll_delta); in TEST_F()
602 EXPECT_VECTOR_EQ(sent_scroll_delta, layer()->sent_scroll_delta()); in TEST_F()
607 EXPECT_VECTOR_EQ(scroll_delta - sent_scroll_delta, layer()->ScrollDelta()); in TEST_F()
608 EXPECT_VECTOR_EQ(scroll_offset + sent_scroll_delta, layer()->scroll_offset()); in TEST_F()
609 EXPECT_VECTOR_EQ(gfx::Vector2d(), layer()->sent_scroll_delta()); in TEST_F()
614 gfx::Vector2d sent_scroll_delta(12, -3); in TEST_F() local
621 layer()->SetSentScrollDelta(sent_scroll_delta); in TEST_F()
625 EXPECT_VECTOR_EQ(sent_scroll_delta, layer()->sent_scroll_delta()); in TEST_F()
630 EXPECT_VECTOR_EQ(scroll_offset + sent_scroll_delta, layer()->scroll_offset()); in TEST_F()
[all …]
Dlayer_impl.cc357 void LayerImpl::SetSentScrollDelta(const gfx::Vector2d& sent_scroll_delta) { in SetSentScrollDelta() argument
361 if (sent_scroll_delta_ == sent_scroll_delta) in SetSentScrollDelta()
364 sent_scroll_delta_ = sent_scroll_delta; in SetSentScrollDelta()
413 DCHECK(sent_scroll_delta().IsZero()); in ApplyScrollDeltasSinceBeginMainFrame()
421 active_twin->sent_scroll_delta()); in ApplyScrollDeltasSinceBeginMainFrame()
544 layer->ScrollDelta() - layer->sent_scroll_delta(); in PushPropertiesTo()
1115 DCHECK(pending_twin->sent_scroll_delta().IsZero()); in SetScrollOffsetAndDelta()
1116 pending_twin->SetScrollDelta(scroll_delta - sent_scroll_delta()); in SetScrollOffsetAndDelta()
Dlayer_impl.h394 void SetSentScrollDelta(const gfx::Vector2d& sent_scroll_delta);
395 gfx::Vector2d sent_scroll_delta() const { return sent_scroll_delta_; } in sent_scroll_delta() function
Dlayer.cc966 scroll_offset_, layer->ScrollDelta() - layer->sent_scroll_delta()); in PushPropertiesTo()
/external/chromium_org/cc/trees/
Dlayer_tree_host_unittest_scroll.cc814 EXPECT_VECTOR_EQ(scroll_layer->sent_scroll_delta(), gfx::Vector2d()); in DrawLayersOnThread()
828 EXPECT_VECTOR_EQ(scroll_layer->sent_scroll_delta(), in DrawLayersOnThread()
837 EXPECT_VECTOR_EQ(pending_scroll_layer->sent_scroll_delta(), in DrawLayersOnThread()
847 EXPECT_VECTOR_EQ(scroll_layer->sent_scroll_delta(), gfx::Vector2d()); in DrawLayersOnThread()
946 EXPECT_VECTOR_EQ(pending_scroll_layer->sent_scroll_delta(), in CommitCompleteOnThread()
957 EXPECT_VECTOR_EQ(pending_scroll_layer->sent_scroll_delta(), in CommitCompleteOnThread()
963 EXPECT_VECTOR_EQ(active_scroll_layer->sent_scroll_delta(), in CommitCompleteOnThread()
971 EXPECT_VECTOR_EQ(pending_scroll_layer->sent_scroll_delta(), in CommitCompleteOnThread()
988 EXPECT_VECTOR_EQ(scroll_layer->sent_scroll_delta(), gfx::Vector2d()); in DrawLayersOnThread()
994 EXPECT_VECTOR_EQ(scroll_layer->sent_scroll_delta(), gfx::Vector2d()); in DrawLayersOnThread()
Dlayer_tree_host_impl_unittest.cc486 EXPECT_VECTOR_EQ(root->sent_scroll_delta(), scroll_delta); in TEST_F()
493 EXPECT_VECTOR_EQ(root->sent_scroll_delta(), scroll_delta + scroll_delta2); in TEST_F()
498 EXPECT_EQ(root->sent_scroll_delta(), scroll_delta + scroll_delta2); in TEST_F()