Searched defs:scroll_offset (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/ppapi/shared_impl/
H A Dppb_view_shared.h30 PP_Point scroll_offset; member in struct:ppapi::ViewData
53 virtual PP_Bool GetScrollOffset(PP_Point* scroll_offset) const OVERRIDE;
/external/chromium_org/chrome/browser/renderer_host/
H A Dchrome_render_widget_host_view_mac_delegate_browsertest.cc92 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/test/
H A Danimation_test_common.h83 const gfx::Vector2dF& scroll_offset) OVERRIDE;
90 gfx::Vector2dF scroll_offset() { return scroll_offset_; } function in class:cc::FakeLayerAnimationValueObserver
114 void set_scroll_offset(const gfx::Vector2dF& scroll_offset) { argument
115 scroll_offset_ = scroll_offset;
H A Danimation_test_common.cc224 const gfx::Vector2dF& scroll_offset) {
225 scroll_offset_ = scroll_offset;
223 OnScrollOffsetAnimated( const gfx::Vector2dF& scroll_offset) argument
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_root_view.cc133 int scroll_offset = abs(event.y_offset()) > abs(event.x_offset()) ? local
138 if (scroll_offset < 0 && model->active_index() + 1 < model->count()) {
145 if (scroll_offset > 0 && model->active_index() > 0) {
/external/chromium_org/content/common/
H A Dpage_state_serialization.h52 gfx::Point scroll_offset; member in struct:content::ExplodedFrameState
/external/chromium_org/android_webview/browser/
H A Dshared_renderer_state.cc145 void SharedRendererState::SetScrollOffset(gfx::Vector2d scroll_offset) { argument
147 scroll_offset_ = scroll_offset;
H A Dbrowser_view_renderer.cc566 void BrowserViewRenderer::ScrollTo(gfx::Vector2d scroll_offset) { argument
574 scroll_offset_dip.set_x((scroll_offset.x() * max_scroll_offset_dip_.x()) /
578 scroll_offset_dip.set_y((scroll_offset.y() * max_scroll_offset_dip_.y()) /
623 gfx::Vector2d scroll_offset; local
627 scroll_offset.set_x((scroll_offset_dip.x() * max_offset.x()) /
632 scroll_offset.set_y((scroll_offset_dip.y() * max_offset.y()) /
636 DCHECK_LE(0, scroll_offset.x());
637 DCHECK_LE(0, scroll_offset.y());
638 DCHECK_LE(scroll_offset.x(), max_offset.x());
639 DCHECK_LE(scroll_offset
[all...]
/external/chromium_org/content/renderer/accessibility/
H A Dblink_ax_tree_source.cc469 const gfx::Size& scroll_offset = document.scrollOffset(); local
470 dst->AddIntAttribute(ui::AX_ATTR_SCROLL_X, scroll_offset.width());
471 dst->AddIntAttribute(ui::AX_ATTR_SCROLL_Y, scroll_offset.height());
/external/chromium_org/cc/animation/
H A Dlayer_animation_controller.cc907 const gfx::Vector2dF scroll_offset = local
910 scroll_offset,
995 const gfx::Vector2dF& scroll_offset,
1006 obs->OnScrollOffsetAnimated(scroll_offset);
994 NotifyObserversScrollOffsetAnimated( const gfx::Vector2dF& scroll_offset, bool notify_active_observers, bool notify_pending_observers) argument
/external/chromium_org/cc/layers/
H A Dlayer.h264 void SetScrollOffset(gfx::Vector2d scroll_offset);
265 gfx::Vector2d scroll_offset() const { return scroll_offset_; } function in class:cc::Layer
266 void SetScrollOffsetFromImplSide(const gfx::Vector2d& scroll_offset);
315 return scroll_offset() + ScrollDelta();
562 const gfx::Vector2dF& scroll_offset) OVERRIDE;
H A Dlayer.cc657 void Layer::SetScrollOffset(gfx::Vector2d scroll_offset) { argument
660 if (scroll_offset_ == scroll_offset)
662 scroll_offset_ = scroll_offset;
666 void Layer::SetScrollOffsetFromImplSide(const gfx::Vector2d& scroll_offset) { argument
671 if (scroll_offset_ == scroll_offset)
673 scroll_offset_ = scroll_offset;
1119 void Layer::OnScrollOffsetAnimated(const gfx::Vector2dF& scroll_offset) { argument
H A Dlayer_impl.cc760 void LayerImpl::OnScrollOffsetAnimated(const gfx::Vector2dF& scroll_offset) { argument
767 SetScrollDelta(scroll_offset - scroll_offset_);
1086 void LayerImpl::SetScrollOffset(const gfx::Vector2d& scroll_offset) { argument
1087 SetScrollOffsetAndDelta(scroll_offset, ScrollDelta());
1090 void LayerImpl::SetScrollOffsetAndDelta(const gfx::Vector2d& scroll_offset, argument
1094 last_scroll_offset_ = scroll_offset;
1096 if (scroll_offset_ != scroll_offset) {
1098 scroll_offset_ = scroll_offset;
1269 current_layer->scroll_offset() + current_layer->ScrollDelta();
1441 state->BeginArray("scroll_offset");
[all...]
H A Dlayer_impl.h107 const gfx::Vector2dF& scroll_offset) OVERRIDE;
380 void SetScrollOffset(const gfx::Vector2d& scroll_offset);
381 void SetScrollOffsetAndDelta(const gfx::Vector2d& scroll_offset,
383 gfx::Vector2d scroll_offset() const { return scroll_offset_; } function in class:cc::LayerImpl
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_common.cc1650 gfx::Vector2dF scroll_offset = GetEffectiveTotalScrollOffset(layer); local
1651 gfx::PointF position = layer->position() - scroll_offset;
/external/chromium_org/content/browser/android/
H A Dcontent_view_core_impl.cc366 const gfx::Vector2dF& scroll_offset,
383 scroll_offset.x(),
384 scroll_offset.y(),
365 UpdateFrameInfo( const gfx::Vector2dF& scroll_offset, float page_scale_factor, const gfx::Vector2dF& page_scale_factor_limits, const gfx::SizeF& content_size, const gfx::SizeF& viewport_size, const gfx::Vector2dF& controls_offset, const gfx::Vector2dF& content_offset) argument
/external/chromium_org/pdf/
H A Dout_of_process_instance.cc359 pp::Point scroll_offset(dict.Get(pp::Var(kJSXOffset)).AsInt(),
365 scroll_offset = BoundScrollOffsetToDocument(scroll_offset);
366 engine_->ScrolledToXPosition(scroll_offset.x() * device_scale_);
367 engine_->ScrolledToYPosition(scroll_offset.y() * device_scale_);
539 pp::Point scroll_offset(
541 engine_->ScrolledToXPosition(scroll_offset.x() * device_scale_);
542 engine_->ScrolledToYPosition(scroll_offset.y() * device_scale_);
1367 const pp::Point& scroll_offset) {
1369 int x = std::max(std::min(scroll_offset
1366 BoundScrollOffsetToDocument( const pp::Point& scroll_offset) argument
[all...]
/external/chromium_org/content/renderer/pepper/
H A Dpepper_plugin_instance_impl.cc1279 gfx::Size scroll_offset = local
1281 view_data_.scroll_offset = PP_MakePoint(scroll_offset.width(),
1282 scroll_offset.height());
/external/chromium_org/content/renderer/
H A Drender_view_impl.cc3376 WebSize scroll_offset = main_frame->scrollOffset(); local
3377 return gfx::Vector2d(scroll_offset.width, scroll_offset.height);

Completed in 352 milliseconds