Searched defs:scroll_delta (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/content/renderer/
H A Dpaint_aggregator.h23 // by the amount specified by |scroll_delta|. If |paint_rects| is non-empty,
26 // |scroll_delta| can only specify scrolling in one direction (i.e., the x
33 // |scroll_delta|. This rect must be repainted.
39 gfx::Vector2d scroll_delta; member in struct:content::PaintAggregator::PendingUpdate
/external/chromium_org/ppapi/utility/graphics/
H A Dpaint_aggregator.h47 Point scroll_delta; member in struct:pp::PaintAggregator::PaintUpdate
49 /// The rectangle that should be scrolled by the scroll_delta. If there is
135 // |scroll_delta|. This rect must be repainted. It is not included in
143 Point scroll_delta; member in class:pp::PaintAggregator::InternalPaintUpdate
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_common.h138 gfx::Vector2d scroll_delta; member in struct:cc::LayerTreeHostCommon::ScrollUpdateInfo
H A Dlayer_tree_host_common.cc45 gfx::Vector2dF scroll_delta = layer->ScrollDelta(); local
51 scroll_delta += layer->scroll_parent()->ScrollDelta();
52 return scroll_delta;
778 gfx::Vector2dF scroll_delta) {
779 // For every layer that has non-zero scroll_delta, we have to compute a
780 // transform that can undo the scroll_delta translation. In particular, we
786 // scroll_delta is actually applied.
788 // Step 2. undo the scroll_delta
789 // -- this is just a translation by scroll_delta.
801 scroll_delta
775 ComputeScrollCompensationForThisLayer( LayerImpl* scrolling_layer, const gfx::Transform& parent_matrix, gfx::Vector2dF scroll_delta) argument
814 ComputeScrollCompensationMatrixForChildren( Layer* current_layer, const gfx::Transform& current_parent_matrix, const gfx::Transform& current_scroll_compensation, gfx::Vector2dF scroll_delta) argument
824 ComputeScrollCompensationMatrixForChildren( LayerImpl* layer, const gfx::Transform& parent_matrix, const gfx::Transform& current_scroll_compensation_matrix, gfx::Vector2dF scroll_delta) argument
[all...]
H A Dlayer_tree_host_impl_unittest.cc181 gfx::Vector2d scroll_delta) {
187 EXPECT_VECTOR_EQ(scroll_delta, scroll_info.scrolls[i].scroll_delta);
423 gfx::Vector2d scroll_delta(11, -15);
430 root->ScrollBy(scroll_delta);
439 EXPECT_VECTOR_EQ(root->sent_scroll_delta(), scroll_delta);
440 ExpectContains(*scroll_info, root->id(), scroll_delta);
446 EXPECT_VECTOR_EQ(root->sent_scroll_delta(), scroll_delta + scroll_delta2);
447 ExpectContains(*scroll_info, root->id(), scroll_delta + scroll_delta2);
451 EXPECT_EQ(root->sent_scroll_delta(), scroll_delta
179 ExpectContains(const ScrollAndScaleSet& scroll_info, int id, gfx::Vector2d scroll_delta) argument
508 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
859 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
1935 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
1974 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2077 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2123 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2164 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2185 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2204 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2226 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2256 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2429 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2546 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2552 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2656 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2671 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2685 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2714 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2716 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
2718 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
5226 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
5227 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
5311 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
5312 host_impl_->ScrollBy(gfx::Point(), scroll_delta); local
[all...]
H A Dlayer_tree_host_impl.cc2154 gfx::Vector2dF scroll_delta) {
2159 gfx::Vector2dF pending_delta = scroll_delta;
2164 (CurrentlyScrollingLayer() == RootScrollLayer() || scroll_delta.y() < 0);
2504 gfx::Vector2d scroll_delta =
2506 if (!scroll_delta.IsZero()) {
2509 scroll.scroll_delta = scroll_delta;
2511 layer_impl->SetSentScrollDelta(scroll_delta);
2153 ScrollBy(gfx::Point viewport_point, gfx::Vector2dF scroll_delta) argument
/external/chromium_org/content/browser/renderer_host/input/
H A Dweb_input_event_builders_win.cc431 float scroll_delta = wheel_delta; local
437 scroll_delta *= static_cast<float>(scroll_chars) * kScrollbarPixelsPerLine;
444 scroll_delta *=
452 result.deltaX = scroll_delta;
455 result.deltaY = scroll_delta;
/external/chromium_org/ash/wm/
H A Dsticky_keys_unittest.cc193 ui::ScrollEvent* GenerateScrollEvent(int scroll_delta) { argument
196 scroll_delta, // y_offset
198 scroll_delta, // y_offset_ordinal
/external/chromium_org/content/test/
H A Dweb_layer_tree_view_impl_for_testing.cc153 gfx::Vector2d scroll_delta,
152 ApplyScrollAndScale( gfx::Vector2d scroll_delta, float page_scale) argument
/external/chromium_org/cc/test/
H A Dlayer_tree_test.h59 virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta, argument
/external/chromium_org/ash/shelf/
H A Dshelf_layout_manager_unittest.cc183 float scroll_delta = GetShelfLayoutManager()->PrimaryAxisValue( local
188 scroll_delta < 0,
189 scroll_delta > 0,
190 scroll_delta < 0,
191 scroll_delta > 0);
207 abs(scroll_delta));
212 EXPECT_EQ(shelf_size, visible_bounds_size - abs(scroll_delta));
216 if (fabs(scroll_delta) <
220 EXPECT_EQ(shelf_size, not_visible_bounds_size + abs(scroll_delta));
224 EXPECT_LT(shelf_size, not_visible_bounds_size + abs(scroll_delta));
[all...]
/external/chromium_org/content/renderer/gpu/
H A Drender_widget_compositor.cc587 void RenderWidgetCompositor::ApplyScrollAndScale(gfx::Vector2d scroll_delta, argument
589 widget_->webwidget()->applyScrollAndScale(scroll_delta, page_scale);
/external/chromium_org/cc/layers/
H A Dlayer_impl.cc1057 gfx::Vector2dF scroll_delta) {
1068 if (ScrollDelta() != scroll_delta) {
1080 pending_twin->SetScrollDelta(scroll_delta - sent_scroll_delta());
1086 scroll_delta);
1088 scroll_delta_ = scroll_delta;
1104 void LayerImpl::SetScrollDelta(gfx::Vector2dF scroll_delta) { argument
1105 SetScrollOffsetAndDelta(scroll_offset_, scroll_delta);
1056 SetScrollOffsetAndDelta(gfx::Vector2d scroll_offset, gfx::Vector2dF scroll_delta) argument
/external/chromium_org/content/browser/renderer_host/
H A Drender_widget_host_view_android.cc514 const gfx::Vector2d& scroll_delta,
512 DidUpdateBackingStore( const gfx::Rect& scroll_rect, const gfx::Vector2d& scroll_delta, const std::vector<gfx::Rect>& copy_rects, const ui::LatencyInfo& latency_info) argument
H A Drender_widget_host_view_gtk.cc852 const gfx::Vector2d& scroll_delta,
850 DidUpdateBackingStore( const gfx::Rect& scroll_rect, const gfx::Vector2d& scroll_delta, const std::vector<gfx::Rect>& copy_rects, const ui::LatencyInfo& latency_info) argument
H A Drender_widget_host_view_guest.cc341 const gfx::Vector2d& scroll_delta,
339 DidUpdateBackingStore( const gfx::Rect& scroll_rect, const gfx::Vector2d& scroll_delta, const std::vector<gfx::Rect>& copy_rects, const ui::LatencyInfo& latency_info) argument
H A Drender_widget_host_view_aura.cc949 const gfx::Vector2d& scroll_delta,
947 DidUpdateBackingStore( const gfx::Rect& scroll_rect, const gfx::Vector2d& scroll_delta, const std::vector<gfx::Rect>& copy_rects, const ui::LatencyInfo& latency_info) argument
H A Drender_widget_host_view_win.cc761 const gfx::Vector2d& scroll_delta,
789 int dx = static_cast<int>(scale * scroll_delta.x());
790 int dy = static_cast<int>(scale * scroll_delta.y());
759 DidUpdateBackingStore( const gfx::Rect& scroll_rect, const gfx::Vector2d& scroll_delta, const std::vector<gfx::Rect>& copy_rects, const ui::LatencyInfo& latency_info) argument

Completed in 1277 milliseconds