Home
last modified time | relevance | path

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

/external/chromium_org/cc/trees/
Dlayer_tree_host_unittest_scroll.cc55 EXPECT_VECTOR_EQ(gfx::Vector2d(), root->ScrollDelta()); in DrawLayersOnThread()
64 EXPECT_VECTOR_EQ(scroll_amount_, root->ScrollDelta()); in DrawLayersOnThread()
69 EXPECT_VECTOR_EQ(root->ScrollDelta(), scroll_amount_); in DrawLayersOnThread()
127 EXPECT_VECTOR_EQ(root->ScrollDelta(), gfx::Vector2d()); in DrawLayersOnThread()
129 EXPECT_VECTOR_EQ(root->ScrollDelta(), scroll_amount_); in DrawLayersOnThread()
136 EXPECT_EQ(root->ScrollDelta(), scroll_amount_); in DrawLayersOnThread()
138 EXPECT_VECTOR_EQ(root->ScrollDelta(), scroll_amount_ + scroll_amount_); in DrawLayersOnThread()
145 EXPECT_VECTOR_EQ(root->ScrollDelta(), gfx::Vector2d()); in DrawLayersOnThread()
259 EXPECT_VECTOR_EQ(root_scroll_layer->ScrollDelta(), gfx::Vector2d()); in DrawLayersOnThread()
261 EXPECT_VECTOR_EQ(root_scroll_layer->ScrollDelta(), impl_scroll_); in DrawLayersOnThread()
[all …]
Dlayer_tree_host_impl.cc436 RootScrollLayer()->scroll_offset() + RootScrollLayer()->ScrollDelta(); in StartPageScaleAnimation()
2119 gfx::Vector2dF previous_delta = layer_impl->ScrollDelta(); in ScrollLayerWithViewportSpaceDelta()
2125 layer_impl->ScrollDelta() - in ScrollLayerWithViewportSpaceDelta()
2148 gfx::Vector2dF previous_delta(layer_impl->ScrollDelta()); in ScrollLayerWithLocalDelta()
2150 return layer_impl->ScrollDelta() - previous_delta; in ScrollLayerWithLocalDelta()
2505 gfx::ToFlooredVector2d(layer_impl->ScrollDelta()); in CollectScrollDeltas()
2538 RootScrollLayer()->ScrollDelta(); in AnimatePageScale()
Dlayer_tree_host_common.cc45 gfx::Vector2dF scroll_delta = layer->ScrollDelta(); in GetEffectiveScrollDelta()
51 scroll_delta += layer->scroll_parent()->ScrollDelta(); in GetEffectiveScrollDelta()
62 offset += layer->scroll_parent()->ScrollDelta(); in GetEffectiveTotalScrollOffset()
Dlayer_tree_host_impl_unittest.cc174 ASSERT_EQ(layer->ScrollDelta(), gfx::Vector2d()); in ExpectClearedScrollDeltasRecursive()
730 EXPECT_FLOAT_EQ(875.f, host_impl_->RootScrollLayer()->ScrollDelta().y()); in TEST_F()
/external/chromium_org/cc/layers/
Dlayer_impl_unittest.cc351 EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); in TEST_F()
356 EXPECT_VECTOR_EQ(layer()->ScrollDelta(), layer()->TotalScrollOffset()); in TEST_F()
362 EXPECT_VECTOR_EQ(layer()->ScrollDelta(), layer()->TotalScrollOffset()); in TEST_F()
374 EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); in TEST_F()
379 EXPECT_VECTOR_EQ(layer()->ScrollDelta() + scroll_offset, in TEST_F()
386 EXPECT_VECTOR_EQ(layer()->ScrollDelta() + scroll_offset, in TEST_F()
419 EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); in TEST_F()
471 EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); in TEST_F()
478 EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); in TEST_F()
509 EXPECT_VECTOR_EQ(scroll_delta, layer()->ScrollDelta()); in TEST_F()
[all …]
Dlayer_impl.cc365 gfx::Vector2dF new_delta = (ScrollDelta() + scroll); in ScrollBy()
369 ScrollDelta() + scroll - new_delta; in ScrollBy()
408 SetScrollDelta(active_twin->ScrollDelta() - in ApplyScrollDeltasSinceBeginMainFrame()
540 scroll_offset_, layer->ScrollDelta() - layer->sent_scroll_delta()); in PushPropertiesTo()
994 gfx::Vector2dF current_offset = scroll_offset_ + ScrollDelta(); in UpdateScrollbarPositions()
1053 SetScrollOffsetAndDelta(scroll_offset, ScrollDelta()); in SetScrollOffset()
1068 if (ScrollDelta() != scroll_delta) { in SetScrollOffsetAndDelta()
1098 gfx::Vector2dF LayerImpl::ScrollDelta() const { in ScrollDelta() function in cc::LayerImpl
1109 return scroll_offset_ + ScrollDelta(); in TotalScrollOffset()
Dlayer.h315 gfx::Vector2d ScrollDelta() const { return gfx::Vector2d(); } in ScrollDelta() function
318 return scroll_offset() + ScrollDelta(); in TotalScrollOffset()
Dlayer_impl.h391 gfx::Vector2dF ScrollDelta() const;
Dlayer.cc963 scroll_offset_, layer->ScrollDelta() - layer->sent_scroll_delta()); in PushPropertiesTo()
/external/chromium_org/ui/events/gestures/
Dgesture_point.h75 gfx::Vector2d ScrollDelta();
Dgesture_point.cc44 gfx::Vector2d GesturePoint::ScrollDelta() { in ScrollDelta() function in ui::GesturePoint
Dgesture_sequence.cc992 d = point.ScrollDelta(); in AppendScrollGestureUpdate()