/external/chromium_org/pdf/ |
D | paint_aggregator.cc | 41 DCHECK(!(scroll_delta.x() && scroll_delta.y())); in GetScrollDamage() 47 if (scroll_delta.x()) { in GetScrollDamage() 48 int32_t dx = scroll_delta.x(); in GetScrollDamage() 59 int32_t dy = scroll_delta.y(); in GetScrollDamage() 90 ret.scroll_delta = update_.scroll_delta; in GetPendingUpdate() 92 ret.has_scroll = ret.scroll_delta.x() != 0 || ret.scroll_delta.y() != 0; in GetPendingUpdate() 142 if ((amount.x() && update_.scroll_delta.y()) || in ScrollRect() 143 (amount.y() && update_.scroll_delta.x())) { in ScrollRect() 151 update_.scroll_delta += amount; in ScrollRect() 154 if (update_.scroll_delta == pp::Point()) { in ScrollRect() [all …]
|
D | paint_aggregator.h | 46 pp::Point scroll_delta; member 104 pp::Point scroll_delta; variable
|
/external/chromium_org/ppapi/utility/graphics/ |
D | paint_aggregator.cc | 38 PP_DCHECK(!(scroll_delta.x() && scroll_delta.y())); in GetScrollDamage() 44 if (scroll_delta.x()) { in GetScrollDamage() 45 int32_t dx = scroll_delta.x(); in GetScrollDamage() 56 int32_t dy = scroll_delta.y(); in GetScrollDamage() 96 ret.scroll_delta = update_.scroll_delta; in GetPendingUpdate() 98 ret.has_scroll = ret.scroll_delta.x() != 0 || ret.scroll_delta.y() != 0; in GetPendingUpdate() 167 if ((amount.x() && update_.scroll_delta.y()) || in ScrollRect() 168 (amount.y() && update_.scroll_delta.x())) { in ScrollRect() 176 update_.scroll_delta += amount; in ScrollRect() 179 if (update_.scroll_delta == Point()) { in ScrollRect() [all …]
|
D | paint_aggregator.h | 47 Point scroll_delta; member 143 Point scroll_delta; variable
|
D | paint_manager.cc | 151 graphics_.Scroll(update.scroll_rect, update.scroll_delta); in DoPaint()
|
/external/chromium_org/athena/wm/ |
D | bezel_controller.cc | 82 float scroll_delta) { in SetState() argument 95 left_right_delegate_->BezelScrollBegin(scroll_bezel_, scroll_delta); in SetState() 134 float scroll_delta = kScrollDeltaNone; in OnGestureEvent() local 137 scroll_delta = GetDistance(event_location, target_window, scroll_bezel_); in OnGestureEvent() 191 SetState(BEZEL_SCROLLING_ONE_FINGER, scroll_delta); in OnGestureEvent() 196 SetState(BEZEL_SCROLLING_TWO_FINGERS, scroll_delta); in OnGestureEvent() 203 left_right_delegate_->BezelScrollUpdate(scroll_delta); in OnGestureEvent()
|
D | bezel_controller.h | 76 void SetState(State state, float scroll_delta);
|
/external/chromium_org/cc/layers/ |
D | layer_impl_unittest.cc | 537 gfx::Vector2dF scroll_delta(1, 1); in TEST_F() local 538 layer()->ScrollBy(scroll_delta); in TEST_F() 540 EXPECT_VECTOR_EQ(fixed_offset + scroll_delta, layer()->TotalScrollOffset()); in TEST_F() 583 gfx::Vector2dF scroll_delta(1, 1); in TEST_F() local 584 layer()->ScrollBy(scroll_delta); in TEST_F() 592 gfx::Vector2dF scroll_delta(20.5f, 8.5f); in TEST_F() local 596 layer()->ScrollBy(scroll_delta); in TEST_F() 599 EXPECT_VECTOR_EQ(scroll_offset + scroll_delta, layer()->TotalScrollOffset()); in TEST_F() 600 EXPECT_VECTOR_EQ(scroll_delta, layer()->ScrollDelta()); in TEST_F() 606 EXPECT_VECTOR_EQ(scroll_offset + scroll_delta, layer()->TotalScrollOffset()); in TEST_F() [all …]
|
D | layer_impl.cc | 1091 const gfx::Vector2dF& scroll_delta) { in SetScrollOffsetAndDelta() argument 1104 if (ScrollDelta() != scroll_delta) { in SetScrollOffsetAndDelta() 1116 pending_twin->SetScrollDelta(scroll_delta - sent_scroll_delta()); in SetScrollOffsetAndDelta() 1122 scroll_delta); in SetScrollOffsetAndDelta() 1124 scroll_delta_ = scroll_delta; in SetScrollOffsetAndDelta() 1140 void LayerImpl::SetScrollDelta(const gfx::Vector2dF& scroll_delta) { in SetScrollDelta() argument 1141 SetScrollOffsetAndDelta(scroll_offset_, scroll_delta); in SetScrollDelta()
|
/external/chromium_org/cc/trees/ |
D | layer_tree_host_impl_unittest.cc | 202 const gfx::Vector2d& scroll_delta) { in ExpectContains() argument 208 EXPECT_VECTOR_EQ(scroll_delta, scroll_info.scrolls[i].scroll_delta); in ExpectContains() 465 gfx::Vector2d scroll_delta(11, -15); in TEST_F() local 477 root_layer->ScrollBy(scroll_delta); in TEST_F() 486 EXPECT_VECTOR_EQ(root->sent_scroll_delta(), scroll_delta); in TEST_F() 487 ExpectContains(*scroll_info, root->id(), scroll_delta); in TEST_F() 493 EXPECT_VECTOR_EQ(root->sent_scroll_delta(), scroll_delta + scroll_delta2); in TEST_F() 494 ExpectContains(*scroll_info, root->id(), scroll_delta + scroll_delta2); in TEST_F() 498 EXPECT_EQ(root->sent_scroll_delta(), scroll_delta + scroll_delta2); in TEST_F() 574 gfx::Vector2d scroll_delta(0, 10); in TEST_F() local [all …]
|
D | layer_tree_host_client.h | 30 virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta,
|
D | layer_tree_host_common.cc | 46 gfx::Vector2dF scroll_delta = layer->ScrollDelta(); in GetEffectiveScrollDelta() local 52 scroll_delta += layer->scroll_parent()->ScrollDelta(); in GetEffectiveScrollDelta() 53 return scroll_delta; in GetEffectiveScrollDelta() 791 const gfx::Vector2dF& scroll_delta) { in ComputeScrollCompensationForThisLayer() argument 814 scroll_delta.x(), in ComputeScrollCompensationForThisLayer() 815 scroll_delta.y()); // Step 2 in ComputeScrollCompensationForThisLayer() 831 const gfx::Vector2dF& scroll_delta) { in ComputeScrollCompensationMatrixForChildren() argument 841 const gfx::Vector2dF& scroll_delta) { in ComputeScrollCompensationMatrixForChildren() argument 877 scroll_delta.IsZero() && !layer->render_surface()) in ComputeScrollCompensationMatrixForChildren() 891 if (!scroll_delta.IsZero()) { in ComputeScrollCompensationMatrixForChildren() [all …]
|
D | layer_tree_host_impl.cc | 2343 const gfx::Vector2dF& scroll_delta) { in ScrollAnimated() argument 2354 gfx::Vector2dF new_target = curve->target_value() + scroll_delta; in ScrollAnimated() 2369 gfx::Vector2dF pending_delta = scroll_delta; in ScrollAnimated() 2499 const gfx::Vector2dF& scroll_delta) { in ScrollBy() argument 2504 gfx::Vector2dF pending_delta = scroll_delta; in ScrollBy() 2516 scroll_delta.y() < 0); in ScrollBy() 2909 gfx::Vector2d scroll_delta = in CollectScrollDeltas() local 2911 if (!scroll_delta.IsZero()) { in CollectScrollDeltas() 2914 scroll.scroll_delta = scroll_delta; in CollectScrollDeltas() 2916 layer_impl->SetSentScrollDelta(scroll_delta); in CollectScrollDeltas() [all …]
|
D | layer_tree_host_impl.h | 133 const gfx::Vector2dF& scroll_delta) OVERRIDE; 135 const gfx::Vector2dF& scroll_delta) OVERRIDE; 521 void ScrollViewportBy(gfx::Vector2dF scroll_delta);
|
/external/chromium_org/cc/input/ |
D | input_handler.h | 81 const gfx::Vector2dF& scroll_delta) = 0; 96 const gfx::Vector2dF& scroll_delta) = 0;
|
D | top_controls_manager.cc | 178 gfx::Vector2dF scroll_delta(0.f, client_->ControlsTopOffset() - old_offset); in Animate() local 179 return scroll_delta; in Animate()
|
/external/chromium_org/content/browser/renderer_host/input/ |
D | web_input_event_builders_win.cc | 432 float scroll_delta = wheel_delta; in Build() local 438 scroll_delta *= static_cast<float>(scroll_chars) * kScrollbarPixelsPerLine; in Build() 445 scroll_delta *= in Build() 453 result.deltaX = scroll_delta; in Build() 456 result.deltaY = scroll_delta; in Build()
|
/external/chromium_org/mojo/services/html_viewer/ |
D | weblayertreeview_impl.cc | 76 const gfx::Vector2d& scroll_delta, in ApplyViewportDeltas() argument 79 widget_->applyViewportDeltas(scroll_delta, page_scale, top_controls_delta); in ApplyViewportDeltas()
|
/external/chromium_org/cc/test/ |
D | fake_layer_tree_host_client.h | 37 virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, in ApplyViewportDeltas() argument
|
/external/chromium_org/mojo/examples/compositor_app/ |
D | compositor_host.h | 36 virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta,
|
D | compositor_host.cc | 75 void CompositorHost::ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, in ApplyViewportDeltas() argument
|
/external/chromium_org/android_webview/browser/ |
D | hardware_renderer.h | 46 virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, in ApplyViewportDeltas() argument
|
/external/chromium_org/content/test/ |
D | web_layer_tree_view_impl_for_testing.h | 72 virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta,
|
D | web_layer_tree_view_impl_for_testing.cc | 141 const gfx::Vector2d& scroll_delta, in ApplyViewportDeltas() argument
|
/external/chromium_org/content/renderer/pepper/ |
D | pepper_graphics_2d_host.cc | 648 gfx::Point scroll_delta(operation.scroll_dx, operation.scroll_dy); in Flush() local 652 ? &scroll_delta in Flush() 671 scroll_delta.x(), scroll_delta.y(), op_rect); in Flush()
|