/external/chromium_org/cc/layers/ |
layer_impl_unittest.cc | 350 EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->scroll_offset()); 357 EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->scroll_offset()); 363 EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->scroll_offset()); 368 gfx::Vector2d scroll_offset(10, 5); 370 layer()->SetScrollOffset(scroll_offset); 372 EXPECT_VECTOR_EQ(scroll_offset, layer()->TotalScrollOffset()); 373 EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()); 379 EXPECT_VECTOR_EQ(layer()->ScrollDelta() + scroll_offset, 381 EXPECT_VECTOR_EQ(scroll_offset, layer()->scroll_offset()) [all...] |
layer.h | 269 void SetScrollOffset(gfx::Vector2d scroll_offset); 270 gfx::Vector2d scroll_offset() const { return scroll_offset_; } function in class:cc::Layer 271 void SetScrollOffsetFromImplSide(gfx::Vector2d scroll_offset); 318 return scroll_offset() + ScrollDelta(); 557 virtual void OnScrollOffsetAnimated(gfx::Vector2dF scroll_offset) OVERRIDE;
|
layer.cc | 681 void Layer::SetScrollOffset(gfx::Vector2d scroll_offset) { 683 if (scroll_offset_ == scroll_offset) 685 scroll_offset_ = scroll_offset; 689 void Layer::SetScrollOffsetFromImplSide(gfx::Vector2d scroll_offset) { 694 if (scroll_offset_ == scroll_offset) 696 scroll_offset_ = scroll_offset; 1084 void Layer::OnScrollOffsetAnimated(gfx::Vector2dF scroll_offset) { [all...] |
layer_impl.h | 87 virtual void OnScrollOffsetAnimated(gfx::Vector2dF scroll_offset) OVERRIDE; 382 void SetScrollOffset(gfx::Vector2d scroll_offset); 383 void SetScrollOffsetAndDelta(gfx::Vector2d scroll_offset, 385 gfx::Vector2d scroll_offset() const { return scroll_offset_; } function in class:cc::LayerImpl
|
layer_impl.cc | 702 void LayerImpl::OnScrollOffsetAnimated(gfx::Vector2dF scroll_offset) { 709 SetScrollDelta(scroll_offset - scroll_offset_); [all...] |
/external/chromium_org/cc/trees/ |
layer_tree_host_unittest_scroll.cc | 44 EXPECT_VECTOR_EQ(initial_scroll_, root->scroll_offset()); 46 EXPECT_VECTOR_EQ(initial_scroll_ + scroll_amount_, root->scroll_offset()); 63 EXPECT_VECTOR_EQ(initial_scroll_, root->scroll_offset()); 68 EXPECT_VECTOR_EQ(root->scroll_offset(), second_scroll_); 110 EXPECT_VECTOR_EQ(root->scroll_offset(), initial_scroll_); 113 EXPECT_VECTOR_EQ(root->scroll_offset(), 116 EXPECT_VECTOR_EQ(root->scroll_offset(), 131 EXPECT_VECTOR_EQ(root->scroll_offset(), initial_scroll_); 140 EXPECT_VECTOR_EQ(root->scroll_offset(), initial_scroll_); 146 EXPECT_VECTOR_EQ(root->scroll_offset(), [all...] |
/external/chromium_org/chrome/browser/renderer_host/ |
chrome_render_widget_host_view_mac_delegate_browsertest.cc | 92 const int scroll_offset = GetScrollTop(); local 93 ASSERT_NE(0, scroll_offset); 101 ASSERT_EQ(scroll_offset, GetScrollTop()); 110 const int scroll_offset = GetScrollTop(); local 111 ASSERT_NE(0, scroll_offset); 128 ASSERT_EQ(scroll_offset, GetScrollTop());
|
/external/chromium_org/cc/animation/ |
layer_animation_value_observer.h | 19 virtual void OnScrollOffsetAnimated(gfx::Vector2dF scroll_offset) = 0;
|
layer_animation_controller.h | 149 void NotifyObserversScrollOffsetAnimated(gfx::Vector2dF scroll_offset);
|
layer_animation_controller_unittest.cc | 604 EXPECT_EQ(initial_value, dummy.scroll_offset()); 609 EXPECT_EQ(initial_value, dummy_impl.scroll_offset()); 618 EXPECT_VECTOR2DF_EQ(gfx::Vector2dF(200.f, 250.f), dummy.scroll_offset()); 623 dummy_impl.scroll_offset()); 629 EXPECT_VECTOR2DF_EQ(target_value, dummy_impl.scroll_offset()); 636 EXPECT_VECTOR2DF_EQ(target_value, dummy.scroll_offset()); 682 EXPECT_EQ(initial_value, dummy.scroll_offset()); 687 EXPECT_EQ(initial_value, dummy_impl.scroll_offset()); 696 EXPECT_VECTOR2DF_EQ(gfx::Vector2dF(400.f, 150.f), dummy.scroll_offset()); 701 dummy_impl.scroll_offset()); [all...] |
layer_animation_controller.cc | 717 const gfx::Vector2dF scroll_offset = local 719 NotifyObserversScrollOffsetAnimated(scroll_offset); 771 gfx::Vector2dF scroll_offset) { 774 OnScrollOffsetAnimated(scroll_offset));
|
/external/chromium_org/cc/test/ |
animation_test_common.h | 78 virtual void OnScrollOffsetAnimated(gfx::Vector2dF scroll_offset) OVERRIDE; 85 gfx::Vector2dF scroll_offset() { return scroll_offset_; } function in class:cc::FakeLayerAnimationValueObserver 109 void set_scroll_offset(gfx::Vector2dF scroll_offset) { 110 scroll_offset_ = scroll_offset;
|
animation_test_common.cc | 203 gfx::Vector2dF scroll_offset) { 204 scroll_offset_ = scroll_offset;
|
/external/chromium_org/content/common/ |
page_state_serialization.h | 50 gfx::Point scroll_offset; member in struct:content::ExplodedFrameState
|
page_state_serialization_unittest.cc | 75 EXPECT_EQ(a.scroll_offset, b.scroll_offset); 104 frame_state->scroll_offset = gfx::Point(0, 100); 142 frame_state->scroll_offset = gfx::Point(42, -42);
|
page_state_serialization.cc | 497 WriteInteger(state.scroll_offset.x(), obj); 498 WriteInteger(state.scroll_offset.y(), obj); 544 state->scroll_offset = gfx::Point(x, y); 590 state->scroll_offset = 591 gfx::Point(state->scroll_offset.x() / state->page_scale_factor, 592 state->scroll_offset.y() / state->page_scale_factor);
|
/external/chromium_org/content/public/browser/android/ |
content_view_core.h | 63 const gfx::Vector2dF& scroll_offset,
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
browser_root_view.cc | 129 int scroll_offset = abs(event.y_offset()) > abs(event.x_offset()) ? local 134 if (scroll_offset < 0 && model->active_index() + 1 < model->count()) { 141 if (scroll_offset > 0 && model->active_index() > 0) {
|
/external/chromium_org/android_webview/browser/ |
in_process_view_renderer.cc | 841 void InProcessViewRenderer::ScrollTo(gfx::Vector2d scroll_offset) { 849 scroll_offset_dip.set_x((scroll_offset.x() * max_scroll_offset_dip_.x()) / 853 scroll_offset_dip.set_y((scroll_offset.y() * max_scroll_offset_dip_.y()) / 897 gfx::Vector2d scroll_offset; local 901 scroll_offset.set_x((scroll_offset_dip.x() * max_offset.x()) / 906 scroll_offset.set_y((scroll_offset_dip.y() * max_offset.y()) / 910 DCHECK(0 <= scroll_offset.x()); 911 DCHECK(0 <= scroll_offset.y()); 912 DCHECK(scroll_offset.x() <= max_offset.x()); 913 DCHECK(scroll_offset.y() <= max_offset.y()) [all...] |
/external/chromium_org/content/public/renderer/ |
history_item_serialization.cc | 90 state->scroll_offset = item.scrollOffset(); 132 item->setScrollOffset(state.scroll_offset);
|
/external/chromium_org/content/public/common/ |
page_state.cc | 44 state->scroll_offset = gfx::Point();
|
/external/chromium/webkit/glue/ |
webaccessibility.cc | 381 const gfx::Size& scroll_offset = document.frame()->scrollOffset(); local 382 attributes[ATTR_DOC_SCROLLX] = base::IntToString16(scroll_offset.width()); 383 attributes[ATTR_DOC_SCROLLY] = base::IntToString16(scroll_offset.height());
|
/external/chromium_org/content/renderer/accessibility/ |
accessibility_node_serializer.cc | 377 const gfx::Size& scroll_offset = document.frame()->scrollOffset(); local 378 dst->AddIntAttribute(dst->ATTR_SCROLL_X, scroll_offset.width()); 379 dst->AddIntAttribute(dst->ATTR_SCROLL_Y, scroll_offset.height());
|
/external/chromium_org/content/browser/renderer_host/ |
render_widget_host_view_guest.cc | 272 const gfx::Vector2d& scroll_offset, 274 platform_view_->MovePluginWindows(scroll_offset, moves);
|
/external/chromium_org/content/port/browser/ |
render_widget_host_view_port.h | 87 // |scroll_offset| is the scroll offset of the render view. 89 const gfx::Vector2d& scroll_offset,
|