Searched refs:ScrollDelta (Results 1 – 12 of 12) sorted by relevance
/external/chromium_org/cc/trees/ |
D | layer_tree_host_unittest_scroll.cc | 55 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 …]
|
D | layer_tree_host_impl.cc | 436 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()
|
D | layer_tree_host_common.cc | 45 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()
|
D | layer_tree_host_impl_unittest.cc | 174 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/ |
D | layer_impl_unittest.cc | 351 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 …]
|
D | layer_impl.cc | 365 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()
|
D | layer.h | 315 gfx::Vector2d ScrollDelta() const { return gfx::Vector2d(); } in ScrollDelta() function 318 return scroll_offset() + ScrollDelta(); in TotalScrollOffset()
|
D | layer_impl.h | 391 gfx::Vector2dF ScrollDelta() const;
|
D | layer.cc | 963 scroll_offset_, layer->ScrollDelta() - layer->sent_scroll_delta()); in PushPropertiesTo()
|
/external/chromium_org/ui/events/gestures/ |
D | gesture_point.h | 75 gfx::Vector2d ScrollDelta();
|
D | gesture_point.cc | 44 gfx::Vector2d GesturePoint::ScrollDelta() { in ScrollDelta() function in ui::GesturePoint
|
D | gesture_sequence.cc | 992 d = point.ScrollDelta(); in AppendScrollGestureUpdate()
|