Home
last modified time | relevance | path

Searched refs:scroll_delta (Results 1 – 25 of 46) sorted by relevance

12

/external/chromium_org/pdf/
Dpaint_aggregator.cc41 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 …]
Dpaint_aggregator.h46 pp::Point scroll_delta; member
104 pp::Point scroll_delta; variable
/external/chromium_org/ppapi/utility/graphics/
Dpaint_aggregator.cc38 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 …]
Dpaint_aggregator.h47 Point scroll_delta; member
143 Point scroll_delta; variable
Dpaint_manager.cc151 graphics_.Scroll(update.scroll_rect, update.scroll_delta); in DoPaint()
/external/chromium_org/athena/wm/
Dbezel_controller.cc82 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()
Dbezel_controller.h76 void SetState(State state, float scroll_delta);
/external/chromium_org/cc/layers/
Dlayer_impl_unittest.cc537 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 …]
Dlayer_impl.cc1091 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/
Dlayer_tree_host_impl_unittest.cc202 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 …]
Dlayer_tree_host_client.h30 virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta,
Dlayer_tree_host_common.cc46 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 …]
Dlayer_tree_host_impl.cc2343 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 …]
Dlayer_tree_host_impl.h133 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/
Dinput_handler.h81 const gfx::Vector2dF& scroll_delta) = 0;
96 const gfx::Vector2dF& scroll_delta) = 0;
Dtop_controls_manager.cc178 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/
Dweb_input_event_builders_win.cc432 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/
Dweblayertreeview_impl.cc76 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/
Dfake_layer_tree_host_client.h37 virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, in ApplyViewportDeltas() argument
/external/chromium_org/mojo/examples/compositor_app/
Dcompositor_host.h36 virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta,
Dcompositor_host.cc75 void CompositorHost::ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, in ApplyViewportDeltas() argument
/external/chromium_org/android_webview/browser/
Dhardware_renderer.h46 virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, in ApplyViewportDeltas() argument
/external/chromium_org/content/test/
Dweb_layer_tree_view_impl_for_testing.h72 virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta,
Dweb_layer_tree_view_impl_for_testing.cc141 const gfx::Vector2d& scroll_delta, in ApplyViewportDeltas() argument
/external/chromium_org/content/renderer/pepper/
Dpepper_graphics_2d_host.cc648 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()

12