viewport 41 ash/wm/workspace_controller.cc WorkspaceController::WorkspaceController(aura::Window* viewport) viewport 42 ash/wm/workspace_controller.cc : viewport_(viewport), viewport 45 ash/wm/workspace_controller.cc layout_manager_(new WorkspaceLayoutManager(viewport)) { viewport 28 ash/wm/workspace_controller.h explicit WorkspaceController(aura::Window* viewport); viewport 1188 cc/output/gl_renderer.cc float viewport[4] = {static_cast<float>(viewport_.x()), viewport 1192 cc/output/gl_renderer.cc GLC(gl_, gl_->Uniform4fv(shader_viewport_location, 1, viewport)); viewport 1374 cc/output/gl_renderer.cc float viewport[4] = {static_cast<float>(viewport_.x()), viewport 1378 cc/output/gl_renderer.cc GLC(gl_, gl_->Uniform4fv(uniforms.viewport_location, 1, viewport)); viewport 1548 cc/output/gl_renderer.cc float viewport[4] = {static_cast<float>(viewport_.x()), viewport 1552 cc/output/gl_renderer.cc GLC(gl_, gl_->Uniform4fv(uniforms.viewport_location, 1, viewport)); viewport 248 cc/output/output_surface.cc const gfx::Rect& viewport, viewport 252 cc/output/output_surface.cc transform, viewport, clip, valid_for_tile_management); viewport 193 cc/output/output_surface.h const gfx::Rect& viewport, viewport 40 cc/output/output_surface_client.h const gfx::Rect& viewport, viewport 1684 cc/output/renderer_pixeltest.cc gfx::Rect viewport(this->device_viewport_size_); viewport 1691 cc/output/renderer_pixeltest.cc CreateTestRenderPass(id, viewport, transform_to_root); viewport 1708 cc/output/renderer_pixeltest.cc gfx::Vector2d offset(viewport.bottom_right() - blue_rect.bottom_right()); viewport 1720 cc/output/renderer_pixeltest.cc viewport, // Intentionally bigger than clip. viewport 1722 cc/output/renderer_pixeltest.cc viewport, viewport 1723 cc/output/renderer_pixeltest.cc gfx::RectF(viewport), viewport 1724 cc/output/renderer_pixeltest.cc viewport.size(), viewport 1726 cc/output/renderer_pixeltest.cc viewport, viewport 1733 cc/output/renderer_pixeltest.cc FakePicturePileImpl::CreateFilledPile(pile_tile_size, viewport.size()); viewport 1736 cc/output/renderer_pixeltest.cc green_pile->add_draw_rect_with_paint(viewport, green_paint); viewport 1741 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(green_content_to_target_transform, viewport); viewport 1745 cc/output/renderer_pixeltest.cc viewport, viewport 1747 cc/output/renderer_pixeltest.cc viewport, viewport 1749 cc/output/renderer_pixeltest.cc viewport.size(), viewport 1751 cc/output/renderer_pixeltest.cc viewport, viewport 1769 cc/output/renderer_pixeltest.cc gfx::Rect viewport(this->device_viewport_size_); viewport 1775 cc/output/renderer_pixeltest.cc CreateTestRenderPass(id, viewport, transform_to_root); viewport 1779 cc/output/renderer_pixeltest.cc FakePicturePileImpl::CreateFilledPile(pile_tile_size, viewport.size()); viewport 1782 cc/output/renderer_pixeltest.cc green_pile->add_draw_rect_with_paint(viewport, green_paint); viewport 1787 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(green_content_to_target_transform, viewport); viewport 1792 cc/output/renderer_pixeltest.cc viewport, viewport 1794 cc/output/renderer_pixeltest.cc viewport, viewport 1796 cc/output/renderer_pixeltest.cc viewport.size(), viewport 1798 cc/output/renderer_pixeltest.cc viewport, viewport 1805 cc/output/renderer_pixeltest.cc FakePicturePileImpl::CreateFilledPile(pile_tile_size, viewport.size()); viewport 1808 cc/output/renderer_pixeltest.cc white_pile->add_draw_rect_with_paint(viewport, white_paint); viewport 1813 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(white_content_to_target_transform, viewport); viewport 1817 cc/output/renderer_pixeltest.cc viewport, viewport 1819 cc/output/renderer_pixeltest.cc viewport, viewport 1821 cc/output/renderer_pixeltest.cc viewport.size(), viewport 1823 cc/output/renderer_pixeltest.cc viewport, viewport 1861 cc/output/renderer_pixeltest.cc gfx::Rect viewport(this->device_viewport_size_); viewport 1867 cc/output/renderer_pixeltest.cc CreateTestRenderPass(id, viewport, transform_to_root); viewport 1881 cc/output/renderer_pixeltest.cc FakePicturePileImpl::CreateFilledPile(pile_tile_size, viewport.size()); viewport 1889 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(content_to_target_transform, viewport); viewport 1893 cc/output/renderer_pixeltest.cc viewport, viewport 1895 cc/output/renderer_pixeltest.cc viewport, viewport 1897 cc/output/renderer_pixeltest.cc viewport.size(), viewport 1899 cc/output/renderer_pixeltest.cc viewport, viewport 1918 cc/output/renderer_pixeltest.cc gfx::Rect viewport(this->device_viewport_size_); viewport 1925 cc/output/renderer_pixeltest.cc CreateTestRenderPass(id, viewport, transform_to_root); viewport 1935 cc/output/renderer_pixeltest.cc FakePicturePileImpl::CreateFilledPile(pile_tile_size, viewport.size()); viewport 1938 cc/output/renderer_pixeltest.cc green_pile->add_draw_rect_with_paint(viewport, red_paint); viewport 1946 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(green_content_to_target_transform, viewport); viewport 1977 cc/output/renderer_pixeltest.cc gfx::Point(viewport.width() / 2, viewport.height() / 2), viewport 1978 cc/output/renderer_pixeltest.cc gfx::Size(viewport.width() / 2, viewport.height() / 2)); viewport 1981 cc/output/renderer_pixeltest.cc green_content_to_target_transform, viewport, bottom_right_rect); viewport 1985 cc/output/renderer_pixeltest.cc viewport, viewport 1986 cc/output/renderer_pixeltest.cc viewport, viewport 2051 cc/output/renderer_pixeltest.cc gfx::Rect half_green_rect(gfx::Size(viewport.width() / 2, viewport.height())); viewport 404 cc/output/shader.cc uniform vec4 viewport; viewport 413 cc/output/shader.cc vec3 screen_pos = vec3(viewport.xy + viewport.zw * ndc_pos, 1.0); viewport 463 cc/output/shader.cc uniform vec4 viewport; viewport 474 cc/output/shader.cc vec3 screen_pos = vec3(viewport.xy + viewport.zw * ndc_pos, 1.0); viewport 567 cc/output/shader.cc uniform vec4 viewport; viewport 578 cc/output/shader.cc vec3 screen_pos = vec3(viewport.xy + viewport.zw * ndc_pos, 1.0); viewport 121 cc/resources/picture_layer_tiling_perftest.cc const gfx::Rect& viewport) { viewport 129 cc/resources/picture_layer_tiling_perftest.cc ACTIVE_TREE, viewport, 1.0f, 1.0); viewport 282 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport(0, 0, 100, 100); viewport 288 cc/resources/picture_layer_tiling_unittest.cc tiling->UpdateTilePriorities(ACTIVE_TREE, viewport, 1.f, 1.0); viewport 347 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport(0, 0, 100, 100); viewport 353 cc/resources/picture_layer_tiling_unittest.cc tiling->UpdateTilePriorities(ACTIVE_TREE, viewport, 1.f, 1.0); viewport 405 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport(0, 0, 100, 100); viewport 417 cc/resources/picture_layer_tiling_unittest.cc gfx::ToEnclosedRect(gfx::ScaleRect(viewport, 0.25f)); viewport 419 cc/resources/picture_layer_tiling_unittest.cc tiling->UpdateTilePriorities(ACTIVE_TREE, viewport, 1.f, 1.0); viewport 476 cc/resources/picture_layer_tiling_unittest.cc viewport = gfx::Rect(0, 40, 100, 100); viewport 478 cc/resources/picture_layer_tiling_unittest.cc gfx::ToEnclosedRect(gfx::ScaleRect(viewport, 0.25f)); viewport 486 cc/resources/picture_layer_tiling_unittest.cc tiling->UpdateTilePriorities(ACTIVE_TREE, viewport, 1.f, 2.0); viewport 535 cc/resources/picture_layer_tiling_unittest.cc tiling->UpdateTilePriorities(ACTIVE_TREE, viewport, 2.0f, 3.0); viewport 769 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport(50, 50, 100, 100); viewport 775 cc/resources/picture_layer_tiling_unittest.cc tiling->UpdateTilePriorities(ACTIVE_TREE, viewport, 1.0f, 1.0); viewport 871 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport(50, 0, 100, 100); viewport 878 cc/resources/picture_layer_tiling_unittest.cc tiling->UpdateTilePriorities(ACTIVE_TREE, viewport, 1.0f, 1.0); viewport 939 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport(50, 50, 100, 100); viewport 945 cc/resources/picture_layer_tiling_unittest.cc tiling->UpdateTilePriorities(ACTIVE_TREE, viewport, 1.0f, 1.0); viewport 177 cc/resources/picture_pile_unittest.cc gfx::Rect viewport(0, 0, layer_size.width(), 1); viewport 197 cc/resources/picture_pile_unittest.cc Update(layer_rect(), viewport); viewport 287 cc/resources/picture_pile_unittest.cc gfx::Rect viewport(0, 0, layer_size.width(), 1); viewport 288 cc/resources/picture_pile_unittest.cc Update(layer_rect(), viewport); viewport 859 cc/resources/tile_manager_unittest.cc gfx::Rect viewport(50, 50, 100, 100); viewport 861 cc/resources/tile_manager_unittest.cc PENDING_TREE, viewport, 1.0f, 1.0); viewport 863 cc/resources/tile_manager_unittest.cc PENDING_TREE, viewport, 1.0f, 1.0); viewport 865 cc/resources/tile_manager_unittest.cc ACTIVE_TREE, viewport, 1.0f, 1.0); viewport 867 cc/resources/tile_manager_unittest.cc ACTIVE_TREE, viewport, 1.0f, 1.0); viewport 33 cc/test/fake_output_surface_client.h const gfx::Rect& viewport, viewport 77 cc/test/layer_tree_pixel_test.cc gfx::Rect viewport = impl->DeviceViewport(); viewport 79 cc/test/layer_tree_pixel_test.cc EXPECT_EQ(gfx::Point().ToString(), viewport.origin().ToString()); viewport 81 cc/test/layer_tree_pixel_test.cc viewport += gfx::Vector2d(20, 10); viewport 82 cc/test/layer_tree_pixel_test.cc impl->SetExternalDrawConstraints(gfx::Transform(), viewport, viewport, true); viewport 83 cc/test/layer_tree_pixel_test.cc EXPECT_EQ(viewport.ToString(), impl->DeviceViewport().ToString()); viewport 108 cc/test/test_gles2_interface.cc test_context_->viewport(x, y, width, height); viewport 106 cc/test/test_web_graphics_context_3d.h virtual void viewport(GLint x, GLint y, GLsizei width, GLsizei height) {} viewport 47 cc/trees/layer_tree_host_common_perftest.cc gfx::Size viewport = gfx::Size(720, 1038); viewport 48 cc/trees/layer_tree_host_common_perftest.cc layer_tree_host()->SetViewportSize(viewport); viewport 1262 cc/trees/layer_tree_host_impl.cc const gfx::Rect& viewport, viewport 1266 cc/trees/layer_tree_host_impl.cc external_viewport_ = viewport; viewport 229 cc/trees/layer_tree_host_impl.h const gfx::Rect& viewport, viewport 135 cc/trees/layer_tree_host_perftest.cc gfx::Size viewport = gfx::Size(720, 1038); viewport 136 cc/trees/layer_tree_host_perftest.cc layer_tree_host()->SetViewportSize(viewport); viewport 165 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc GtkWidget* viewport = gtk_bin_get_child(GTK_BIN(scrolled_window)); viewport 166 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_viewport_set_shadow_type(GTK_VIEWPORT(viewport), GTK_SHADOW_NONE); viewport 121 content/browser/android/in_process/synchronous_compositor_impl.cc gfx::Rect viewport, viewport 128 content/browser/android/in_process/synchronous_compositor_impl.cc surface_size, transform, viewport, clip, stencil_enabled); viewport 57 content/browser/android/in_process/synchronous_compositor_impl.h gfx::Rect viewport, viewport 167 content/browser/android/in_process/synchronous_compositor_output_surface.cc void AdjustTransform(gfx::Transform* transform, gfx::Rect viewport) { viewport 169 content/browser/android/in_process/synchronous_compositor_output_surface.cc transform->matrix().postTranslate(-viewport.x(), -viewport.y(), 0); viewport 192 content/browser/android/in_process/synchronous_compositor_output_surface.cc gfx::Rect viewport, viewport 201 content/browser/android/in_process/synchronous_compositor_output_surface.cc InvokeComposite(transform, viewport, clip, true); viewport 230 content/browser/android/in_process/synchronous_compositor_output_surface.cc gfx::Rect viewport, viewport 238 content/browser/android/in_process/synchronous_compositor_output_surface.cc AdjustTransform(&adjusted_transform, viewport); viewport 240 content/browser/android/in_process/synchronous_compositor_output_surface.cc adjusted_transform, viewport, clip, valid_for_tile_management); viewport 241 content/browser/android/in_process/synchronous_compositor_output_surface.cc SetNeedsRedrawRect(gfx::Rect(viewport.size())); viewport 249 content/browser/android/in_process/synchronous_compositor_output_surface.cc cached_hw_viewport_ = viewport; viewport 72 content/browser/android/in_process/synchronous_compositor_output_surface.h gfx::Rect viewport, viewport 86 content/browser/android/in_process/synchronous_compositor_output_surface.h gfx::Rect viewport, viewport 587 content/browser/devtools/renderer_overrides_handler.cc base::DictionaryValue* viewport = new base::DictionaryValue(); viewport 588 content/browser/devtools/renderer_overrides_handler.cc viewport->SetDouble(devtools::DOM::Rect::kParamX, viewport 590 content/browser/devtools/renderer_overrides_handler.cc viewport->SetDouble(devtools::DOM::Rect::kParamY, viewport 592 content/browser/devtools/renderer_overrides_handler.cc viewport->SetDouble(devtools::DOM::Rect::kParamWidth, viewport 594 content/browser/devtools/renderer_overrides_handler.cc viewport->SetDouble(devtools::DOM::Rect::kParamHeight, viewport 597 content/browser/devtools/renderer_overrides_handler.cc devtools::Page::ScreencastFrameMetadata::kParamViewport, viewport); viewport 1097 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc DELEGATE_TO_GL_4(viewport, Viewport, viewport 491 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h virtual void viewport(WGC3Dint x, WGC3Dint y, viewport 77 content/public/browser/android/synchronous_compositor.h gfx::Rect viewport, viewport 261 content/shell/renderer/test_runner/TestPlugin.cpp m_context->viewport(0, 0, m_rect.width, m_rect.height); viewport 408 content/shell/renderer/test_runner/TestPlugin.cpp m_context->viewport(0, 0, m_rect.width, m_rect.height); viewport 421 content/shell/renderer/test_runner/TestPlugin.cpp m_context->viewport(0, 0, m_rect.width, m_rect.height); viewport 52 ppapi/shared_impl/ppb_view_shared.cc PP_Bool PPB_View_Shared::GetRect(PP_Rect* viewport) const { viewport 53 ppapi/shared_impl/ppb_view_shared.cc if (!viewport) viewport 55 ppapi/shared_impl/ppb_view_shared.cc *viewport = data_.rect; viewport 45 ppapi/shared_impl/ppb_view_shared.h virtual PP_Bool GetRect(PP_Rect* viewport) const OVERRIDE; viewport 23 ppapi/thunk/ppb_view_api.h virtual PP_Bool GetRect(PP_Rect* viewport) const = 0; viewport 1076 ui/aura/window_unittest.cc scoped_ptr<Window> viewport(CreateTestWindowWithBounds( viewport 1079 ui/aura/window_unittest.cc gfx::Rect(0, 0, 100, 100), viewport.get())); viewport 1084 ui/aura/window_unittest.cc viewport->SetBounds(gfx::Rect(-100, -100, 300, 300)); viewport 256 ui/gfx/transform_util.cc bool CheckTransformsMapsIntViewportWithinOnePixel(const Rect& viewport, viewport 267 ui/gfx/transform_util.cc return CheckViewportPointMapsWithinOnePixel(viewport.origin(), combined) && viewport 268 ui/gfx/transform_util.cc CheckViewportPointMapsWithinOnePixel(viewport.top_right(), combined) && viewport 269 ui/gfx/transform_util.cc CheckViewportPointMapsWithinOnePixel(viewport.bottom_left(), viewport 271 ui/gfx/transform_util.cc CheckViewportPointMapsWithinOnePixel(viewport.bottom_right(), viewport 448 ui/gfx/transform_util.cc const Rect& viewport) { viewport 468 ui/gfx/transform_util.cc CheckTransformsMapsIntViewportWithinOnePixel(viewport, transform, snapped); viewport 59 ui/gfx/transform_util.h const Rect& viewport); viewport 40 ui/gfx/transform_util_unittest.cc Rect viewport(1920, 1200); viewport 41 ui/gfx/transform_util_unittest.cc bool snapped = SnapTransform(&result, transform, viewport); viewport 53 ui/gfx/transform_util_unittest.cc Rect viewport(kOffset, kOffset, 1920, 1200); viewport 54 ui/gfx/transform_util_unittest.cc bool snapped = SnapTransform(&result, transform, viewport); viewport 66 ui/gfx/transform_util_unittest.cc Rect viewport(kOffset, kOffset, 1920, 1200); viewport 67 ui/gfx/transform_util_unittest.cc bool snapped = SnapTransform(&result, transform, viewport); viewport 81 ui/gfx/transform_util_unittest.cc Rect viewport(1920, 1200); viewport 82 ui/gfx/transform_util_unittest.cc bool snapped = SnapTransform(&result, transform, viewport); viewport 95 ui/gfx/transform_util_unittest.cc Rect viewport(kOffset, kOffset, 1920, 1200); viewport 96 ui/gfx/transform_util_unittest.cc bool snapped = SnapTransform(&result, transform, viewport); viewport 109 ui/gfx/transform_util_unittest.cc Rect viewport(1920, 1200); viewport 110 ui/gfx/transform_util_unittest.cc bool snapped = SnapTransform(&result, transform, viewport); viewport 121 ui/gfx/transform_util_unittest.cc Rect viewport(1920, 1200); viewport 122 ui/gfx/transform_util_unittest.cc bool snapped = SnapTransform(&result, transform, viewport); viewport 138 ui/gfx/transform_util_unittest.cc Rect viewport(1920, 1200); viewport 139 ui/gfx/transform_util_unittest.cc bool snapped = SnapTransform(&result, transform, viewport); viewport 144 ui/gfx/transform_util_unittest.cc point = Point3F(viewport.origin()); viewport 148 ui/gfx/transform_util_unittest.cc point = Point3F(viewport.top_right()); viewport 152 ui/gfx/transform_util_unittest.cc point = Point3F(viewport.bottom_left()); viewport 156 ui/gfx/transform_util_unittest.cc point = Point3F(viewport.bottom_right()); viewport 174 ui/gfx/transform_util_unittest.cc Rect viewport(1920, 1200); viewport 175 ui/gfx/transform_util_unittest.cc bool snapped = SnapTransform(&result, transform, viewport); viewport 55 ui/views/controls/scroll_view.cc void CheckScrollBounds(View* viewport, View* view) { viewport 59 ui/views/controls/scroll_view.cc int x = CheckScrollBounds(viewport->width(), view->width(), -view->x()); viewport 60 ui/views/controls/scroll_view.cc int y = CheckScrollBounds(viewport->height(), view->height(), -view->y()); viewport 1979 ui/views/view_unittest.cc View* viewport = new View; viewport 1980 ui/views/view_unittest.cc widget->SetContentsView(viewport); viewport 1982 ui/views/view_unittest.cc viewport->AddChildView(contents); viewport 1983 ui/views/view_unittest.cc viewport->SetBoundsRect(viewport_bounds); viewport 2038 ui/views/view_unittest.cc View* viewport = new View; viewport 2039 ui/views/view_unittest.cc widget->SetContentsView(viewport); viewport 2041 ui/views/view_unittest.cc viewport->AddChildView(contents); viewport 2042 ui/views/view_unittest.cc viewport->SetBoundsRect(viewport_bounds); viewport 971 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc DELEGATE_TO_GL_4(viewport, Viewport, viewport 396 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h virtual void viewport(WGC3Dint x, WGC3Dint y,