/external/chromium_org/cc/input/ |
D | page_scale_animation.cc | 20 const gfx::SizeF& viewport_size) { in NormalizeFromViewport() argument 22 1.f / viewport_size.width(), in NormalizeFromViewport() 23 1.f / viewport_size.height()); in NormalizeFromViewport() 27 const gfx::SizeF& viewport_size) { in DenormalizeToViewport() argument 29 viewport_size.width(), in DenormalizeToViewport() 30 viewport_size.height()); in DenormalizeToViewport() 49 const gfx::SizeF& viewport_size, in Create() argument 54 viewport_size, in Create() 62 const gfx::SizeF& viewport_size, in PageScaleAnimation() argument 70 viewport_size_(viewport_size), in PageScaleAnimation()
|
D | page_scale_animation.h | 33 const gfx::SizeF& viewport_size, 77 const gfx::SizeF& viewport_size,
|
/external/chromium_org/cc/layers/ |
D | video_layer_impl_unittest.cc | 22 gfx::Size viewport_size(1000, 1000); in TEST() local 42 impl.CalcDrawProps(viewport_size); in TEST() 96 gfx::Size viewport_size(1000, 500); in TEST() local 116 impl.CalcDrawProps(viewport_size); in TEST() 132 gfx::Size viewport_size(1000, 500); in TEST() local 152 impl.CalcDrawProps(viewport_size); in TEST() 168 gfx::Size viewport_size(1000, 500); in TEST() local 188 impl.CalcDrawProps(viewport_size); in TEST() 204 gfx::Size viewport_size(1000, 500); in TEST() local 224 impl.CalcDrawProps(viewport_size); in TEST()
|
D | surface_layer_impl_unittest.cc | 15 gfx::Size viewport_size(1000, 1000); in TEST() local 27 impl.CalcDrawProps(viewport_size); in TEST()
|
D | io_surface_layer_impl_unittest.cc | 15 gfx::Size viewport_size(1000, 1000); in TEST() local 25 impl.CalcDrawProps(viewport_size); in TEST()
|
D | render_surface_impl_unittest.cc | 15 gfx::Size viewport_size(1000, 1000); in TEST() local 25 impl.CalcDrawProps(viewport_size); in TEST()
|
D | texture_layer_impl_unittest.cc | 22 gfx::Size viewport_size(1000, 1000); in TEST() local 40 impl.CalcDrawProps(viewport_size); in TEST()
|
D | picture_layer_impl_perftest.cc | 74 const gfx::Size& viewport_size) { in RunRasterIteratorConstructAndIterateTest() argument 75 host_impl_.SetViewportSize(viewport_size); in RunRasterIteratorConstructAndIterateTest() 121 const gfx::Size& viewport_size) { in RunEvictionIteratorConstructAndIterateTest() argument 122 host_impl_.SetViewportSize(viewport_size); in RunEvictionIteratorConstructAndIterateTest()
|
D | solid_color_scrollbar_layer_impl_unittest.cc | 15 gfx::Size viewport_size(1000, 1000); in TEST() local 41 impl.CalcDrawProps(viewport_size); in TEST()
|
D | painted_scrollbar_layer_impl_unittest.cc | 15 gfx::Size viewport_size(1000, 1000); in TEST() local 49 impl.CalcDrawProps(viewport_size); in TEST()
|
/external/chromium_org/ui/views/controls/scrollbar/ |
D | native_scroll_bar.cc | 91 void NativeScrollBar::Update(int viewport_size, in Update() argument 94 ScrollBar::Update(viewport_size, content_size, current_pos); in Update() 97 native_wrapper_->Update(viewport_size, content_size, current_pos); in Update()
|
D | scroll_bar.cc | 22 void ScrollBar::Update(int viewport_size, int content_size, int current_pos) { in Update() argument 23 max_pos_ = std::max(0, content_size - viewport_size); in Update()
|
D | base_scroll_bar.cc | 394 void BaseScrollBar::Update(int viewport_size, in Update() argument 397 ScrollBar::Update(viewport_size, content_size, contents_scroll_offset); in Update() 403 viewport_size_ = std::max(1, viewport_size); in Update() 416 double ratio = static_cast<double>(viewport_size) / contents_size_; in Update()
|
D | native_scroll_bar_wrapper.h | 27 virtual void Update(int viewport_size, int content_size, int current_pos) = 0;
|
/external/chromium_org/ui/ozone/platform/dri/ |
D | dri_surface.cc | 50 void DriSurface::ResizeCanvas(const gfx::Size& viewport_size) { in ResizeCanvas() argument 52 viewport_size.width(), viewport_size.height(), kOpaque_SkAlphaType); in ResizeCanvas()
|
D | gbm_surface.cc | 125 bool GbmSurface::ResizeNativeWindow(const gfx::Size& viewport_size) { in ResizeNativeWindow() argument 126 if (size_ == viewport_size) in ResizeNativeWindow()
|
D | gbm_surfaceless.cc | 25 bool GbmSurfaceless::ResizeNativeWindow(const gfx::Size& viewport_size) { in ResizeNativeWindow() argument
|
/external/chromium_org/ui/ozone/platform/test/ |
D | test_window_manager.cc | 38 virtual void ResizeCanvas(const gfx::Size& viewport_size) OVERRIDE { in ResizeCanvas() argument 40 viewport_size.width(), viewport_size.height()))); in ResizeCanvas()
|
/external/chromium_org/ui/compositor/ |
D | layer_unittest.cc | 862 gfx::Size viewport_size = GetCompositor()->size(); in TEST_F() local 866 EXPECT_GE(viewport_size.width(), 200); in TEST_F() 867 EXPECT_GE(viewport_size.height(), 200); in TEST_F() 872 CreateColorLayer(SK_ColorRED, gfx::Rect(viewport_size))); in TEST_F() 875 gfx::Rect(0, 0, viewport_size.width(), blue_height))); in TEST_F() 882 ReadPixels(&bitmap, gfx::Rect(viewport_size)); in TEST_F() 886 for (int x = 0; x < viewport_size.width(); x++) { in TEST_F() 887 for (int y = 0; y < viewport_size.height(); y++) { in TEST_F() 898 gfx::Size viewport_size = GetCompositor()->size(); in TEST_F() local 901 EXPECT_GE(viewport_size.width(), test_size); in TEST_F() [all …]
|
/external/chromium_org/mojo/examples/compositor_app/ |
D | compositor_host.cc | 37 void CompositorHost::SetSize(const gfx::Size& viewport_size) { in SetSize() argument 38 tree_->SetViewportSize(viewport_size); in SetSize()
|
/external/chromium_org/content/renderer/ |
D | disambiguation_popup_helper.cc | 65 const gfx::Size& viewport_size, in CropZoomArea() argument 68 gfx::Size max_size = viewport_size; in CropZoomArea()
|
/external/chromium_org/ui/ozone/platform/caca/ |
D | caca_window_manager.cc | 30 virtual void ResizeCanvas(const gfx::Size& viewport_size) OVERRIDE; 59 void CacaSurface::ResizeCanvas(const gfx::Size& viewport_size) { in ResizeCanvas() argument
|
/external/chromium_org/ui/views/controls/ |
D | scroll_view.cc | 56 int CheckScrollBounds(int viewport_size, int content_size, int current_pos) { in CheckScrollBounds() argument 57 int max = std::max(content_size - viewport_size, 0); in CheckScrollBounds() 82 int viewport_size) { in AdjustPosition() argument 87 const int max_position = std::max(0, content_size - viewport_size); in AdjustPosition() 262 gfx::Size viewport_size = viewport_bounds.size(); in Layout() local 281 ComputeScrollBarsVisibility(viewport_size, in Layout()
|
/external/chromium_org/ui/ozone/public/ |
D | surface_ozone_egl.h | 35 virtual bool ResizeNativeWindow(const gfx::Size& viewport_size) = 0;
|
D | surface_ozone_canvas.h | 36 virtual void ResizeCanvas(const gfx::Size& viewport_size) = 0;
|