width 142 android_webview/browser/browser_view_renderer.cc skia::RefPtr<SkPicture> BrowserViewRenderer::CapturePicture(int width, width 148 android_webview/browser/browser_view_renderer.cc if (width <= 0 || height <= 0) { width 157 android_webview/browser/browser_view_renderer.cc SkCanvas* rec_canvas = picture->beginRecording(width, height, 0); width 209 android_webview/browser/browser_view_renderer.cc void BrowserViewRenderer::OnSizeChanged(int width, int height) { width 214 android_webview/browser/browser_view_renderer.cc width, width 217 android_webview/browser/browser_view_renderer.cc width_ = width; width 221 android_webview/browser/browser_view_renderer.cc void BrowserViewRenderer::OnAttachedToWindow(int width, int height) { width 225 android_webview/browser/browser_view_renderer.cc width, width 229 android_webview/browser/browser_view_renderer.cc width_ = width; width 598 android_webview/browser/browser_view_renderer.cc draw_info->width, width 80 android_webview/browser/browser_view_renderer.h skia::RefPtr<SkPicture> CapturePicture(int width, int height); width 89 android_webview/browser/browser_view_renderer.h void OnSizeChanged(int width, int height); width 90 android_webview/browser/browser_view_renderer.h void OnAttachedToWindow(int width, int height); width 88 android_webview/browser/gpu_memory_buffer_factory_impl.cc size_t width, width 95 android_webview/browser/gpu_memory_buffer_factory_impl.cc long buffer_id = g_gl_draw_functions->create_graphic_buffer(width, height); width 99 android_webview/browser/gpu_memory_buffer_factory_impl.cc return new GpuMemoryBufferImpl(buffer_id, gfx::Size(width, height)); width 25 android_webview/browser/gpu_memory_buffer_factory_impl.h size_t width, width 98 android_webview/browser/hardware_renderer.cc input.global_visible_rect.width() * width 119 android_webview/browser/hardware_renderer.cc gfx::Size(draw_info->width, draw_info->height), width 92 android_webview/browser/renderer_host/print_manager.cc settings.page_setup_device_units().content_area().width(), width 97 android_webview/browser/renderer_host/print_manager.cc settings.page_setup_device_units().printable_area().width(), width 42 android_webview/java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java private void showAutofillPopup(float x, float y, float width, float height, width 60 android_webview/java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java mAutofillPopup.setAnchorRect(x, y, width, height); width 2059 android_webview/java/src/org/chromium/android_webview/AwContents.java public void extractSmartClipData(int x, int y, int width, int height) { width 2060 android_webview/java/src/org/chromium/android_webview/AwContents.java mContentViewCore.extractSmartClipData(x, y, width, height); width 2127 android_webview/java/src/org/chromium/android_webview/AwContents.java private native long nativeCapturePicture(long nativeAwContents, int width, int height); width 48 android_webview/java/src/org/chromium/android_webview/AwPicture.java public Canvas beginRecording(int width, int height) { width 118 android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java public void setMaxScrollOffset(int width, int height) { width 119 android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java mMaxHorizontalScrollOffset = width; width 126 android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java public void setContainerViewSize(int width, int height) { width 127 android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java mContainerViewWidth = width; width 396 android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java if (rect.width() > 2 * oneThirdOfScreenHeight) { width 414 android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java if (rect.width() > mContainerViewWidth) { width 214 android_webview/java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java int width = Math.round(right - left); width 216 android_webview/java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java if (mX == x && mY == y && mWidth == width && mHeight == height) return; width 219 android_webview/java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java mWidth = width; width 225 android_webview/java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java layoutParams.width = width; width 232 android_webview/java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {} width 26 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java private static Bitmap createBitmap(int width, int height, Canvas canvas) { width 30 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java width = Math.min(width, canvas.getMaximumBitmapWidth()); width 35 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); width 149 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java final int width = mHostView.getWidth(); width 157 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java mEdgeGlowTop.setSize(width, height); width 164 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.translate(-width + scrollX, Math.max(maxScrollY, scrollY) + height); width 165 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.rotate(180, width, 0); width 166 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java mEdgeGlowBottom.setSize(width, height); width 175 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java mEdgeGlowLeft.setSize(height, width); width 183 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.translate(scrollY, -(Math.max(scrollX, maxScrollX) + width)); width 184 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java mEdgeGlowRight.setSize(height, width); width 121 android_webview/javatests/src/org/chromium/android_webview/test/AndroidViewIntegrationTest.java final AtomicReference<Integer> width = new AtomicReference<Integer>(); width 125 android_webview/javatests/src/org/chromium/android_webview/test/AndroidViewIntegrationTest.java width.set(Integer.valueOf(getActivity().getRootLayoutWidth())); width 128 android_webview/javatests/src/org/chromium/android_webview/test/AndroidViewIntegrationTest.java return width.get(); width 199 android_webview/javatests/src/org/chromium/android_webview/test/AwLegacyQuirksTest.java int width = Integer.parseInt(getTitleOnUiThread(awContents)); width 200 android_webview/javatests/src/org/chromium/android_webview/test/AwLegacyQuirksTest.java assertEquals(pageWidth, width); width 227 android_webview/javatests/src/org/chromium/android_webview/test/AwLegacyQuirksTest.java int width = Integer.parseInt(getTitleOnUiThread(awContents)); width 228 android_webview/javatests/src/org/chromium/android_webview/test/AwLegacyQuirksTest.java assertEquals(pageWidth, width); width 123 android_webview/javatests/src/org/chromium/android_webview/test/AwScrollOffsetManagerTest.java final int width = 132; width 129 android_webview/javatests/src/org/chromium/android_webview/test/AwScrollOffsetManagerTest.java offsetManager.setContainerViewSize(width, height); width 131 android_webview/javatests/src/org/chromium/android_webview/test/AwScrollOffsetManagerTest.java assertEquals(width, offsetManager.computeHorizontalScrollRange()); width 2508 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java int width = screenSize.x * 2 + 1; width 2510 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java "<p style='height:" + height + "px;width:" + width + "px'>" + width 142 android_webview/native/aw_autofill_manager_delegate.cc element_bounds.y(), element_bounds.width(), width 952 android_webview/native/aw_contents.cc env, obj.obj(), contents_size_dip.width(), contents_size_dip.height()); width 1005 android_webview/native/aw_contents.cc env, obj.obj(), contents_size.width(), contents_size.height()); width 1010 android_webview/native/aw_contents.cc int width, width 1014 android_webview/native/aw_contents.cc new AwPicture(browser_view_renderer_.CapturePicture(width, height))); width 124 android_webview/native/aw_contents.h jlong CapturePicture(JNIEnv* env, jobject obj, int width, int height); width 152 android_webview/native/aw_dev_tools_server.cc description.SetInteger("width", screen_rect.width()); width 68 android_webview/native/aw_pdf_exporter.cc int width = Java_AwPdfExporter_getPageWidth(env, obj); width 71 android_webview/native/aw_pdf_exporter.cc int width_in_dots = MilsToDots(width, dpi); width 26 android_webview/native/aw_picture.cc return picture_->width(); width 91 android_webview/native/external_video_surface_container_impl.cc static_cast<jfloat>(rect.x() + rect.width()), width 110 android_webview/native/java_browser_view_renderer_helper.cc if (clip.width() <= 0 || clip.height() <= 0) width 115 android_webview/native/java_browser_view_renderer_helper.cc env, clip.width(), clip.height(), jcanvas.obj())); width 159 android_webview/native/java_browser_view_renderer_helper.cc SkImageInfo::MakeN32Premul(bitmap_info.width, bitmap_info.height); width 29 android_webview/public/browser/draw_gl.h int width; width 110 android_webview/renderer/print_web_view_helper.cc ConvertUnit(page_params.page_size.width(), dpi, kPixelsPerInch), width 115 android_webview/renderer/print_web_view_helper.cc page_params.page_size.width() - width 116 android_webview/renderer/print_web_view_helper.cc page_params.content_size.width() - page_params.margin_left, width 137 android_webview/renderer/print_web_view_helper.cc int new_content_width = page_size_in_pixels.width - width 155 android_webview/renderer/print_web_view_helper.cc ConvertUnit(page_size_in_pixels.width, kPixelsPerInch, dpi), width 174 android_webview/renderer/print_web_view_helper.cc static_cast<double>(params_to_fit->content_size.width()); width 178 android_webview/renderer/print_web_view_helper.cc int default_page_size_width = page_params.page_size.width(); width 180 android_webview/renderer/print_web_view_helper.cc int css_page_size_width = params_to_fit->page_size.width(); width 212 android_webview/renderer/print_web_view_helper.cc int content_width = params.content_size.width(); width 217 android_webview/renderer/print_web_view_helper.cc int margin_right = params.page_size.width() - width 236 android_webview/renderer/print_web_view_helper.cc if ((page_params->page_size.width() > page_params->page_size.height()) == width 237 android_webview/renderer/print_web_view_helper.cc (css_params.page_size.width() > css_params.page_size.height())) { width 243 android_webview/renderer/print_web_view_helper.cc page_params->page_size.width()); width 245 android_webview/renderer/print_web_view_helper.cc page_params->content_size.width()); width 248 android_webview/renderer/print_web_view_helper.cc page_params->printable_area.width())); width 258 android_webview/renderer/print_web_view_helper.cc webkit_print_params->printContentArea.width = width 259 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.content_size.width(), dpi, width 271 android_webview/renderer/print_web_view_helper.cc webkit_print_params->printableArea.width = width 272 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.printable_area.width(), dpi, width 278 android_webview/renderer/print_web_view_helper.cc webkit_print_params->paperSize.width = width 279 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.page_size.width(), dpi, width 353 android_webview/renderer/print_web_view_helper.cc int default_margin_right = params.page_size.width() - width 354 android_webview/renderer/print_web_view_helper.cc params.content_size.width() - params.margin_left; width 358 android_webview/renderer/print_web_view_helper.cc result_params.page_size.width() - result_params.margin_left - width 453 android_webview/renderer/print_web_view_helper.cc options->SetDouble("width", page_size.width); width 490 android_webview/renderer/print_web_view_helper.cc content_area.size().width() / scale_factor, width 611 android_webview/renderer/print_web_view_helper.cc gfx::Size print_layout_size(web_print_params_.printContentArea.width, width 704 android_webview/renderer/print_web_view_helper.cc return gfx::Size(web_print_params_.printContentArea.width, width 1074 android_webview/renderer/print_web_view_helper.cc ConvertUnit(print_params.printable_area.width(), dpi, kPointsPerInch), width 87 apps/app_window.cc bounds_properties->SetInteger("width", bounds.width()); width 90 apps/app_window.cc SetConstraintProperty("minWidth", min_size.width(), bounds_properties.get()); width 93 apps/app_window.cc SetConstraintProperty("maxWidth", max_size.width(), bounds_properties.get()); width 106 apps/app_window.cc if (content_constraints.width() > 0) { width 108 apps/app_window.cc content_constraints.width() + frame_insets.width()); width 123 apps/app_window.cc if (window_constraints.width() > 0) { width 125 apps/app_window.cc std::max(0, window_constraints.width() - frame_insets.width())); width 173 apps/app_window.cc if (content_spec.bounds.width() > 0) { width 175 apps/app_window.cc content_spec.bounds.width() + frame_insets.width()); width 991 apps/app_window.cc std::max(minimum_size.width(), width 992 apps/app_window.cc std::min(bounds->width(), current_screen_bounds.width()))); width 999 apps/app_window.cc current_screen_bounds.right() - bounds->width()))); width 1010 apps/app_window.cc if (params.content_spec.bounds.width() == 0 && width 1011 apps/app_window.cc params.window_spec.bounds.width() == 0) { width 127 apps/app_window_geometry_cache.cc value->SetInteger("w", bounds.width()); width 131 apps/app_window_geometry_cache.cc value->SetInteger("screen_bounds_w", screen_bounds.width()); width 65 apps/app_window_geometry_cache_unittest.cc value->SetInteger("w", bounds.width()); width 69 apps/app_window_geometry_cache_unittest.cc value->SetInteger("screen_bounds_w", screen_bounds.width()); width 235 apps/app_window_geometry_cache_unittest.cc ASSERT_EQ(bounds.width(), v); width 243 apps/app_window_geometry_cache_unittest.cc ASSERT_EQ(screen_bounds.width(), v); width 27 apps/size_constraints.cc size_constraints.width() == kUnboundedSize width 29 apps/size_constraints.cc : size_constraints.width() + frame_insets.width(), width 37 apps/size_constraints.cc if (max_size.width() != kUnboundedSize) width 38 apps/size_constraints.cc size.set_width(std::min(size.width(), max_size.width())); width 47 apps/size_constraints.cc return min_size.width() != kUnboundedSize || width 53 apps/size_constraints.cc return max_size.width() != kUnboundedSize || width 67 apps/size_constraints.cc maximum_size_.width() == kUnboundedSize width 69 apps/size_constraints.cc : std::max(maximum_size_.width(), minimum_size_.width()), width 136 apps/ui/views/app_window_frame_view.cc 0, kCaptionHeight, width(), std::max(0, height() - kCaptionHeight)); width 162 apps/ui/views/app_window_frame_view.cc int header_width = close_button_->width() + closeButtonOffsetX * 2; width 165 apps/ui/views/app_window_frame_view.cc std::max(header_width, window_bounds.width()), width 242 apps/ui/views/app_window_frame_view.cc gfx::Rect bounds(0, 0, pref.width(), pref.height()); width 256 apps/ui/views/app_window_frame_view.cc close_button_->SetBounds(width() - kRightMargin - close_size.width(), width 258 apps/ui/views/app_window_frame_view.cc close_size.width(), width 267 apps/ui/views/app_window_frame_view.cc close_button_->x() - kButtonSpacing - maximize_size.width(), width 269 apps/ui/views/app_window_frame_view.cc maximize_size.width(), width 273 apps/ui/views/app_window_frame_view.cc close_button_->x() - kButtonSpacing - restore_size.width(), width 275 apps/ui/views/app_window_frame_view.cc restore_size.width(), width 289 apps/ui/views/app_window_frame_view.cc maximize_button_->x() - kButtonSpacing - minimize_size.width(), width 291 apps/ui/views/app_window_frame_view.cc minimize_size.width(), width 317 apps/ui/views/app_window_frame_view.cc path.lineTo(width(), 0); width 318 apps/ui/views/app_window_frame_view.cc path.lineTo(width(), kCaptionHeight); width 337 apps/ui/views/app_window_frame_view.cc int header_width = close_button_->width() + closeButtonOffsetX * 2; width 338 apps/ui/views/app_window_frame_view.cc if (header_width > min_size.width()) width 348 apps/ui/views/app_window_frame_view.cc if (max_size.width()) width 349 apps/ui/views/app_window_frame_view.cc max_size.Enlarge(width() - client_size.width(), 0); width 159 apps/ui/views/native_app_window_views.cc return gfx::Point(app_window_size.width() / 2 - size.width() / 2, width 288 apps/ui/views/native_app_window_views.cc web_view_->SetBounds(0, 0, width(), height()); width 176 ash/accelerators/exit_warning_handler.cc gfx::Rect bounds((rs.width() - ps.width()) / 2, width 178 ash/accelerators/exit_warning_handler.cc ps.width(), ps.height()); width 294 ash/desktop_background/desktop_background_controller.cc return (size.width() > kSmallWallpaperMaxWidth || width 454 ash/desktop_background/desktop_background_controller.cc int width = 0; width 466 ash/desktop_background/desktop_background_controller.cc size_in_pixel = gfx::Size(size_in_pixel.height(), size_in_pixel.width()); width 468 ash/desktop_background/desktop_background_controller.cc width = std::max(size_in_pixel.width(), width); width 471 ash/desktop_background/desktop_background_controller.cc return gfx::Size(width, height); width 141 ash/desktop_background/desktop_background_controller_unittest.cc gfx::ImageSkia CreateImage(int width, int height, SkColor color) { width 143 ash/desktop_background/desktop_background_controller_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); width 200 ash/desktop_background/desktop_background_controller_unittest.cc int width, width 204 ash/desktop_background/desktop_background_controller_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0); width 212 ash/desktop_background/desktop_background_controller_unittest.cc gfx::JPEGCodec::FORMAT_SkBitmap, width, height, bitmap.rowBytes(), width 214 ash/desktop_background/desktop_background_controller_unittest.cc LOG(ERROR) << "Unable to encode " << width << "x" << height << " bitmap"; width 63 ash/desktop_background/desktop_background_view.cc child->SetBounds(0, 0, rounded_size.width(), rounded_size.height()); width 116 ash/desktop_background/desktop_background_view.cc 0, 0, wallpaper.width() * scaling, wallpaper.height() * scaling); width 121 ash/desktop_background/desktop_background_view.cc double horizontal_ratio = static_cast<double>(width()) / width 122 ash/desktop_background/desktop_background_view.cc static_cast<double>(wallpaper.width()); width 129 ash/desktop_background/desktop_background_view.cc RoundPositive(static_cast<double>(width()) / vertical_ratio), width 132 ash/desktop_background/desktop_background_view.cc cropped_size = gfx::Size(wallpaper.width(), width 137 ash/desktop_background/desktop_background_view.cc 0, 0, wallpaper.width(), wallpaper.height()); width 141 ash/desktop_background/desktop_background_view.cc wallpaper_cropped_rect.width(), wallpaper_cropped_rect.height(), width 142 ash/desktop_background/desktop_background_view.cc 0, 0, width(), height(), width 145 ash/desktop_background/desktop_background_view.cc canvas->TileImageInt(wallpaper, 0, 0, width(), height()); width 148 ash/desktop_background/desktop_background_view.cc canvas->DrawImageInt(wallpaper, 0, 0, wallpaper.width(), width 149 ash/desktop_background/desktop_background_view.cc wallpaper.height(), 0, 0, width(), height(), true); width 156 ash/desktop_background/desktop_background_view.cc 0, 0, wallpaper.width(), wallpaper.height(), width 157 ash/desktop_background/desktop_background_view.cc (width() - wallpaper_rect.width()) / 2, width 159 ash/desktop_background/desktop_background_view.cc wallpaper_rect.width(), width 37 ash/desktop_background/wallpaper_resizer.cc const int orig_width = orig_bitmap.width(); width 39 ash/desktop_background/wallpaper_resizer.cc const int new_width = target_size.width(); width 28 ash/desktop_background/wallpaper_resizer_unittest.cc int w = size.width(); width 48 ash/desktop_background/wallpaper_resizer_unittest.cc EXPECT_EQ(image.width(), kTargetWidth); width 110 ash/desktop_background/wallpaper_resizer_unittest.cc EXPECT_EQ(10, resized_small.width()); width 116 ash/desktop_background/wallpaper_resizer_unittest.cc EXPECT_EQ(800, resized_large.width()); width 229 ash/display/cursor_window_controller.cc rotated.width() - hot_point_.y(), width 237 ash/display/cursor_window_controller.cc rotated.width() - hot_point_.y()); width 64 ash/display/display_change_observer_chromeos.cc const std::pair<int, int> size(mode_info.size().width(), width 138 ash/display/display_change_observer_chromeos.cc (kInchInMm * mode_info->size().width() / width 139 ash/display/display_change_observer_chromeos.cc output.display->physical_size().width()) > kHighDensityDPIThreshold) { width 98 ash/display/display_info.cc int x = 0, y = 0, width, height; width 101 ash/display/display_info.cc &width, &height, &device_scale_factor) >= 2 || width 102 ash/display/display_info.cc sscanf(main_spec.c_str(), "%d+%d-%dx%d*%f", &x, &y, &width, &height, width 104 ash/display/display_info.cc bounds_in_native.SetRect(x, y, width, height); width 123 ash/display/display_info.cc int width, height; width 127 ash/display/display_info.cc &width, width 130 ash/display/display_info.cc if (width * height >= largest_area && width 133 ash/display/display_info.cc largest_area = width * height; width 138 ash/display/display_info.cc DisplayMode(gfx::Size(width, height), refresh_rate, false, false)); width 156 ash/display/display_info.cc int width = bounds_in_native.width() / device_scale_factor / 40; width 158 ash/display/display_info.cc display_info.SetOverscanInsets(gfx::Insets(height, width, height, width)); width 249 ash/display/display_info.cc size_in_pixel_.Enlarge(-insets_in_pixel.width(), -insets_in_pixel.height()); width 256 ash/display/display_info.cc size_in_pixel_.SetSize(size_in_pixel_.height(), size_in_pixel_.width()); width 297 ash/display/display_info.cc iter->size.width(), width 184 ash/display/display_manager.cc switch (info.bounds_in_native().width()) { width 1090 ash/display/display_manager.cc offset, primary_bounds.width() - kMinimumOverlapForInvalidOffset); width 1092 ash/display/display_manager.cc offset, -secondary_bounds.width() + kMinimumOverlapForInvalidOffset); width 1104 ash/display/display_manager.cc new_secondary_origin.Offset(primary_bounds.width(), offset); width 1110 ash/display/display_manager.cc new_secondary_origin.Offset(-secondary_bounds.width(), offset); width 80 ash/display/root_window_transformers.cc rotate.Translate(0, display.bounds().width() - one_pixel); width 84 ash/display/root_window_transformers.cc rotate.Translate(display.bounds().width() - one_pixel, width 212 ash/display/root_window_transformers.cc bool letterbox = root_bounds_.width() * mirror_display_rect.height() > width 213 ash/display/root_window_transformers.cc root_bounds_.height() * mirror_display_rect.width(); width 216 ash/display/root_window_transformers.cc (static_cast<float>(root_bounds_.width()) / width 217 ash/display/root_window_transformers.cc static_cast<float>(mirror_display_rect.width())); width 232 ash/display/root_window_transformers.cc (mirror_display_rect.width() - width 233 ash/display/root_window_transformers.cc root_bounds_.width() * inverted_scale) / 2); width 57 ash/display/screen_ash.cc int area = intersect.width() * intersect.height(); width 269 ash/drag_drop/drag_drop_controller_unittest.cc view->SetBounds(contents_view->width(), 0, 100, 100); width 464 ash/drag_drop/drag_drop_controller_unittest.cc int num_drags = drag_view1->width(); width 488 ash/drag_drop/drag_drop_controller_unittest.cc int num_expected_updates = drag_view1->bounds().width() - width 519 ash/drag_drop/drag_drop_controller_unittest.cc widget2->SetBounds(gfx::Rect(widget1_bounds.width(), 0, width 520 ash/drag_drop/drag_drop_controller_unittest.cc widget2_bounds.width(), widget2_bounds.height())); width 529 ash/drag_drop/drag_drop_controller_unittest.cc int num_drags = drag_view1->width(); width 553 ash/drag_drop/drag_drop_controller_unittest.cc int num_expected_updates = drag_view1->bounds().width() - width 873 ash/drag_drop/drag_drop_controller_unittest.cc widget2->SetBounds(gfx::Rect(widget1_bounds.width(), 0, width 874 ash/drag_drop/drag_drop_controller_unittest.cc widget2_bounds.width(), widget2_bounds.height())); width 890 ash/drag_drop/drag_drop_controller_unittest.cc int num_drags = drag_view1->width(); width 908 ash/drag_drop/drag_drop_controller_unittest.cc int num_expected_updates = drag_view1->bounds().width() - width 127 ash/drag_drop/drag_image_view.cc scaled_widget_size.width(), scaled_widget_size.height()); width 153 ash/drag_drop/drag_image_view.cc if (drag_hint_size.width() > widget_size_.width() || width 162 ash/drag_drop/drag_image_view.cc drag_hint_position.Offset(-drag_hint_size.width() / 2, 0); width 57 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc caption_button_container_->SetBounds(width() - preferred_size.width(), 0, width 58 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc preferred_size.width(), preferred_size.height()); width 280 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc generator.MoveMouseBy(-minimize_button()->width(), 0); width 172 ash/frame/caption_buttons/frame_caption_button.cc (width() - to_center.width()) / 2, width 151 ash/frame/caption_buttons/frame_caption_button_container_view.cc int width = 0; width 155 ash/frame/caption_buttons/frame_caption_button_container_view.cc width += child_at(i)->GetPreferredSize().width(); width 157 ash/frame/caption_buttons/frame_caption_button_container_view.cc return gfx::Size(width, close_button_->GetPreferredSize().height()); width 168 ash/frame/caption_buttons/frame_caption_button_container_view.cc child->SetBounds(x, 0, size.width(), size.height()); width 169 ash/frame/caption_buttons/frame_caption_button_container_view.cc x += size.width(); width 115 ash/frame/caption_buttons/frame_maximize_button.cc press_location_ = gfx::Point(width() / 2, height() / 2); width 120 ash/frame/caption_buttons/frame_maximize_button.cc location.set_x(location.x() - width()); width 123 ash/frame/caption_buttons/frame_maximize_button.cc location.set_x(location.x() + width()); width 131 ash/frame/caption_buttons/frame_maximize_button.cc location.set_x(location.x() - width()); width 133 ash/frame/caption_buttons/frame_maximize_button.cc location.set_x(location.x() + width()); width 529 ash/frame/caption_buttons/frame_maximize_button.cc if (bounds.width() < (screen.width() * kMinSnapSizePercent) / 100) width 88 ash/frame/caption_buttons/frame_maximize_button_unittest.cc caption_button_container_->SetBounds(width() - preferred_size.width(), 0, width 89 ash/frame/caption_buttons/frame_maximize_button_unittest.cc preferred_size.width(), preferred_size.height()); width 622 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_EQ(new_bounds.width(), initial_bounds.width()); width 654 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_EQ(new_bounds.width(), initial_bounds.width()); width 681 ash/frame/caption_buttons/frame_maximize_button_unittest.cc EXPECT_EQ(new_bounds.width(), initial_bounds.width()); width 181 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc int right = inset.left() + content_view_->width() + kLineWidth; width 197 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc border_size.Enlarge(insets.width(), insets.height()); width 200 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc int x = (anchor_size_.width() - border_size.width()) / 2; width 218 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc content_view_->width(), width 224 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc content_view_->width(), width 234 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc canvas->FillRect(gfx::Rect(inset.left() + content_view_->width(), width 244 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc int tip_x = inset.left() + content_view_->width() / 2; width 286 ash/frame/custom_frame_view_ash.cc DCHECK_EQ(image.width(), image.height()); width 292 ash/frame/custom_frame_view_ash.cc icon_size = image.width(); width 427 ash/frame/custom_frame_view_ash.cc header_view_->SetBounds(0, onscreen_height - height, width(), height); width 513 ash/frame/custom_frame_view_ash.cc gfx::Rect bounds(0, 0, pref.width(), pref.height()); width 525 ash/frame/custom_frame_view_ash.cc std::max(header_view_->GetMinimumWidth(), min_client_view_size.width()), width 531 ash/frame/custom_frame_view_ash.cc int width = 0; width 534 ash/frame/custom_frame_view_ash.cc if (max_client_size.width() > 0) width 535 ash/frame/custom_frame_view_ash.cc width = std::max(header_view_->GetMinimumWidth(), max_client_size.width()); width 539 ash/frame/custom_frame_view_ash.cc return gfx::Size(width, height); width 151 ash/frame/custom_frame_view_ash_unittest.cc EXPECT_EQ(0, max_frame_size.width()); width 169 ash/frame/custom_frame_view_ash_unittest.cc EXPECT_EQ(min_client_size.width(), min_frame_size.width()); width 170 ash/frame/custom_frame_view_ash_unittest.cc EXPECT_EQ(max_client_size.width(), max_frame_size.width()); width 215 ash/frame/custom_frame_view_ash_unittest.cc EXPECT_GT(initial.width(), maximize_mode_bounds.width()); width 143 ash/frame/default_header_painter.cc caption_button_container_->GetMinimumSize().width(); width 208 ash/frame/default_header_painter.cc view_->width() - caption_button_container_size.width(), width 210 ash/frame/default_header_painter.cc caption_button_container_size.width(), width 268 ash/frame/default_header_painter.cc int left_edge_width = left_edge.width(); width 269 ash/frame/default_header_painter.cc int right_edge_width = right_edge.width(); width 271 ash/frame/default_header_painter.cc canvas->DrawImageInt(right_edge, view_->width() - right_edge_width, 0); width 276 ash/frame/default_header_painter.cc view_->width() - left_edge_width - right_edge_width, width 286 ash/frame/default_header_painter.cc view_->width() - left_edge_width - right_edge_width, width 313 ash/frame/default_header_painter.cc canvas->sk_canvas()->drawLine(0, y, SkIntToScalar(view_->width()), y, paint); width 317 ash/frame/default_header_painter.cc return gfx::Rect(view_->width(), height_); width 80 ash/frame/header_painter_util.cc int width = std::max( width 82 ash/frame/header_painter_util.cc return gfx::Rect(x, y, width, height); width 166 ash/ime/candidate_view.cc *shortcut_width = shortcut_label_->GetPreferredSize().width(); width 167 ash/ime/candidate_view.cc *candidate_width = candidate_label_->GetPreferredSize().width(); width 271 ash/ime/candidate_view.cc size.Enlarge(candidate_size.width() + padding_width, 0); width 275 ash/ime/candidate_view.cc size.Enlarge(annotation_size.width() + padding_width, 0); width 58 ash/ime/candidate_window_view.cc bounds.set_x(work_area.right() - bounds.width()); width 67 ash/ime/infolist_window.cc anchor_rect.right() : anchor_rect.x() - contents_size.width()); width 88 ash/keyboard_overlay/keyboard_overlay_delegate.cc gfx::Rect bounds(rect.x() + (rect.width() - size.width()) / 2, width 90 ash/keyboard_overlay/keyboard_overlay_delegate.cc size.width(), width 121 ash/keyboard_overlay/keyboard_overlay_delegate.cc const int width = min(kBaseWidth, rect.width() - kHorizontalMargin); width 122 ash/keyboard_overlay/keyboard_overlay_delegate.cc const int height = width * kBaseHeight / kBaseWidth; width 123 ash/keyboard_overlay/keyboard_overlay_delegate.cc size->SetSize(width, height); width 237 ash/magnifier/magnification_controller.cc float max_x = host_size_in_dip.width() - window_size_in_dip.width(); width 391 ash/magnifier/magnification_controller.cc const float width = size_in_dip.width() / scale; width 394 ash/magnifier/magnification_controller.cc return gfx::RectF(origin_.x(), origin_.y(), width, height); width 42 ash/magnifier/magnification_controller_unittest.cc EXPECT_EQ(kRootWidth, root_bounds.width()); width 175 ash/popup_message.cc if (size_override_.width()) width 176 ash/popup_message.cc pref_size.set_width(size_override_.width()); width 177 ash/popup_message.cc else if (pref_size.width() > kMessageMaxWidth) width 112 ash/root_window_controller.cc ToRelativeValue(origin.x(), src_size.width(), dst_size.width()), width 606 ash/root_window_controller_unittest.cc root->GetEventHandlerForPoint(gfx::Point(size.width() - 1, 0))); width 611 ash/root_window_controller_unittest.cc gfx::Point(size.width() - 1, size.height() - 1))); width 58 ash/rotator/screen_rotation.cc int width = bounds.width(); width 63 ash/rotator/screen_rotation.cc new_origin_ = new_pivot = gfx::Point(width, 0); width 70 ash/rotator/screen_rotation.cc new_pivot = old_pivot = gfx::Point(width / 2, height / 2); width 71 ash/rotator/screen_rotation.cc new_origin_.SetPoint(width, height); width 133 ash/shelf/alternate_app_list_button.cc background_bounds.set_x(contents_bounds.width() - width 134 ash/shelf/alternate_app_list_button.cc ShelfLayoutManager::kShelfItemInset - background_image->width()); width 144 ash/shelf/alternate_app_list_button.cc (contents_bounds.width() - background_image->width()) / 2); width 150 ash/shelf/alternate_app_list_button.cc (background_bounds.width() - forground_bounds.width()) / 2)); width 96 ash/shelf/overflow_bubble_view.cc DCHECK_GE(contents_size.width(), visible_bounds.width()); width 97 ash/shelf/overflow_bubble_view.cc int x = std::min(contents_size.width() - visible_bounds.width(), width 106 ash/shelf/overflow_bubble_view.cc DCHECK_GE(contents_size.width(), visible_bounds.width()); width 120 ash/shelf/overflow_bubble_view.cc preferred_size.width(), width 121 ash/shelf/overflow_bubble_view.cc static_cast<int>(monitor_rect.width() * width 63 ash/shelf/overflow_button.cc bounds.x() + ((bounds.width() - kButtonHoverSize) / 2) - 1, width 105 ash/shelf/overflow_button.cc bounds.right() - background->width() - width 108 ash/shelf/overflow_button.cc background->width(), background->height()); width 113 ash/shelf/overflow_button.cc background->width(), background->height()); width 116 ash/shelf/overflow_button.cc bounds.x() + (bounds.width() - background->width()) / 2, width 118 ash/shelf/overflow_button.cc background->width(), background->height()); width 124 ash/shelf/overflow_button.cc bounds.x() + ((bounds.width() - kButtonHoverSize) / 2) - 1, width 168 ash/shelf/overflow_button.cc bounds.x() + ((bounds.width() - image->width()) / 2), width 90 ash/shelf/shelf.cc bounds.width(), width 186 ash/shelf/shelf_button.cc bounds.set_width(base_bounds_.width() * scale); width 187 ash/shelf/shelf_button.cc int x_offset = (base_bounds_.width() - bounds.width()) / 2; width 277 ash/shelf/shelf_button.cc static_cast<float>(image.width()) / static_cast<float>(image.height()); width 279 ash/shelf/shelf_button.cc int width = static_cast<int>(aspect_ratio * height); width 280 ash/shelf/shelf_button.cc if (width > pref) { width 281 ash/shelf/shelf_button.cc width = pref; width 282 ash/shelf/shelf_button.cc height = static_cast<int>(width / aspect_ratio); width 285 ash/shelf/shelf_button.cc if (width == image.width() && height == image.height()) { width 291 ash/shelf/shelf_button.cc skia::ImageOperations::RESIZE_BEST, gfx::Size(width, height))); width 411 ash/shelf/shelf_button.cc button_bounds.width() - x_offset); width 418 ash/shelf/shelf_button.cc x_offset = button_bounds.width() - (kIconSize + icon_pad); width 433 ash/shelf/shelf_button.cc x_offset = std::max(0, button_bounds.width() - icon_width) / 2; width 438 ash/shelf/shelf_button.cc if (x_offset + icon_width + kBarSize > button_bounds.width()) width 439 ash/shelf/shelf_button.cc icon_width = button_bounds.width() - (x_offset + kBarSize); width 277 ash/shelf/shelf_layout_manager.cc int width = 0, height = 0; width 278 ash/shelf/shelf_layout_manager.cc GetShelfSize(&width, &height); width 280 ash/shelf/shelf_layout_manager.cc gfx::Rect(bounds.x(), bounds.bottom() - height, bounds.width(), height), width 281 ash/shelf/shelf_layout_manager.cc gfx::Rect(bounds.x(), bounds.y(), width, bounds.height()), width 282 ash/shelf/shelf_layout_manager.cc gfx::Rect(bounds.right() - width, bounds.y(), width, bounds.height()), width 283 ash/shelf/shelf_layout_manager.cc gfx::Rect(bounds.x(), bounds.y(), bounds.width(), height)); width 457 ash/shelf/shelf_layout_manager.cc (horizontal ? bounds.height() : bounds.width()); width 756 ash/shelf/shelf_layout_manager.cc void ShelfLayoutManager::GetShelfSize(int* width, int* height) { width 757 ash/shelf/shelf_layout_manager.cc *width = *height = 0; width 763 ash/shelf/shelf_layout_manager.cc *width = GetPreferredShelfSize(); width 784 ash/shelf/shelf_layout_manager.cc shelf_width = available_bounds.width(); width 807 ash/shelf/shelf_layout_manager.cc available_bounds.width(), shelf_height), width 813 ash/shelf/shelf_layout_manager.cc available_bounds.width(), shelf_height)); width 816 ash/shelf/shelf_layout_manager.cc PrimaryAxisValue(status_size.height(), status_size.width())); width 827 ash/shelf/shelf_layout_manager.cc gfx::Rect(base::i18n::IsRTL() ? 0 : shelf_width - status_size.width(), width 828 ash/shelf/shelf_layout_manager.cc status_inset, status_size.width(), status_size.height()), width 829 ash/shelf/shelf_layout_manager.cc gfx::Rect(shelf_width - (status_size.width() + status_inset), width 830 ash/shelf/shelf_layout_manager.cc shelf_height - status_size.height(), status_size.width(), width 833 ash/shelf/shelf_layout_manager.cc status_size.width(), status_size.height()), width 834 ash/shelf/shelf_layout_manager.cc gfx::Rect(base::i18n::IsRTL() ? 0 : shelf_width - status_size.width(), width 836 ash/shelf/shelf_layout_manager.cc status_size.width(), status_size.height())); width 857 ash/shelf/shelf_layout_manager.cc 0, (dock_bounds_.x() > 0 ? 0 : dock_bounds_.width()), width 858 ash/shelf/shelf_layout_manager.cc 0, (dock_bounds_.x() > 0 ? dock_bounds_.width() : 0)); width 879 ash/shelf/shelf_layout_manager.cc shelf_width - status_size.width(), width 881 ash/shelf/shelf_layout_manager.cc gfx::Rect(0, 0, target_bounds->shelf_bounds_in_root.width(), width 883 ash/shelf/shelf_layout_manager.cc gfx::Rect(0, 0, target_bounds->shelf_bounds_in_root.width(), width 886 ash/shelf/shelf_layout_manager.cc shelf_width - status_size.width(), width 947 ash/shelf/shelf_layout_manager.cc int shelf_width = target_bounds->shelf_bounds_in_root.width(); width 965 ash/shelf/shelf_layout_manager.cc target_bounds->shelf_bounds_in_root.width() - width 1018 ash/shelf/shelf_layout_manager.cc gfx::Vector2d(shelf_bounds_in_screen.width(), 0), width 285 ash/shelf/shelf_layout_manager.h void GetShelfSize(int* width, int* height); width 105 ash/shelf/shelf_layout_manager_unittest.cc current_bounds.width()); width 107 ash/shelf/shelf_layout_manager_unittest.cc target_bounds_.width()); width 192 ash/shelf/shelf_layout_manager_unittest.cc shelf_bounds.width()); width 195 ash/shelf/shelf_layout_manager_unittest.cc visible_bounds_.width()); width 198 ash/shelf/shelf_layout_manager_unittest.cc not_visible_bounds_.width()); width 467 ash/shelf/shelf_layout_manager_unittest.cc end.set_x(start.x() - shelf_shown.width() * 3 / 10); width 469 ash/shelf/shelf_layout_manager_unittest.cc end.set_x(start.x() + shelf_shown.width() * 3 / 10); width 785 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(200, shelf_widget->GetContentsView()->width() - width 786 ash/shelf/shelf_layout_manager_unittest.cc test::ShelfTestAPI(shelf).shelf_view()->width()); width 1442 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(shelf->GetIdealBounds().width(), width 1445 ash/shelf/shelf_layout_manager_unittest.cc shelf_bounds.width(), width 1446 ash/shelf/shelf_layout_manager_unittest.cc GetShelfWidget()->GetContentsView()->GetPreferredSize().width()); width 1450 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_GE(status_bounds.width(), width 1451 ash/shelf/shelf_layout_manager_unittest.cc status_area_widget->GetContentsView()->GetPreferredSize().width()); width 1452 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(shelf->GetIdealBounds().width(), width 1472 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(shelf->GetIdealBounds().width(), width 1474 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_GE(shelf_bounds.width(), width 1475 ash/shelf/shelf_layout_manager_unittest.cc GetShelfWidget()->GetContentsView()->GetPreferredSize().width()); width 1478 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_GE(status_bounds.width(), width 1479 ash/shelf/shelf_layout_manager_unittest.cc status_area_widget->GetContentsView()->GetPreferredSize().width()); width 1480 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(shelf->GetIdealBounds().width(), width 1516 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(display.bounds().width(), shelf_bounds.width()); width 133 ash/shelf/shelf_tooltip_manager.cc if (pref_size.width() > kTooltipMaxWidth) width 491 ash/shelf/shelf_view.cc ideal_bounds.x() + icon_bounds.x(), icon_bounds.width()), width 493 ash/shelf/shelf_view.cc icon_bounds.width(), width 573 ash/shelf/shelf_view.cc size.set_width(size.width() * scale_factor); width 575 ash/shelf/shelf_view.cc drag_image_offset_ = gfx::Vector2d(size.width() / 2, size.height() / 2) + width 736 ash/shelf/shelf_view.cc int available_size = layout_manager_->PrimaryAxisValue(width(), height()); width 754 ash/shelf/shelf_view.cc int w = layout_manager_->PrimaryAxisValue(button_size, width()); width 811 ash/shelf/shelf_view.cc gfx::Size(layout_manager_->PrimaryAxisValue(w, width()), width 1063 ash/shelf/shelf_view.cc view_model_->ideal_bounds(current_index).width(), width 1406 ash/shelf/shelf_view.cc gfx::Point origin(GetMirroredXWithWidthInView(0, preferred_size.width()), 0); width 1439 ash/shelf/shelf_view.cc gfx::Point origin(GetMirroredXWithWidthInView(0, preferred_size.width()), 0); width 190 ash/shelf/shelf_view_unittest.cc shelf_size.set_width(shelf_size.width() / 2); width 191 ash/shelf/shelf_view_unittest.cc ASSERT_GT(shelf_size.width(), 0); width 391 ash/shelf/shelf_view_unittest.cc EXPECT_LE(item_bounds.right(), shelf_view_bounds.width()); width 1409 ash/shelf/shelf_view_unittest.cc generator.MoveMouseBy(bounds.width() / 2 + 5, 0); width 1415 ash/shelf/shelf_view_unittest.cc generator.MoveMouseBy(-(bounds.width() / 2 + 5), 0); width 1449 ash/shelf/shelf_view_unittest.cc bounds.set_width(bounds.width() - kShelfPreferredSize); width 1500 ash/shelf/shelf_view_unittest.cc EXPECT_EQ(bubble_size.width() - item_width, width 1501 ash/shelf/shelf_view_unittest.cc test_for_overflow_view.GetPreferredSize().width()); width 1512 ash/shelf/shelf_view_unittest.cc EXPECT_EQ(bubble_size.width(), width 1513 ash/shelf/shelf_view_unittest.cc test_for_overflow_view.GetPreferredSize().width()); width 1517 ash/shelf/shelf_view_unittest.cc EXPECT_EQ(bubble_size.width(), width 1518 ash/shelf/shelf_view_unittest.cc test_for_overflow_view.GetPreferredSize().width()); width 1529 ash/shelf/shelf_view_unittest.cc EXPECT_GT(ideal_bounds_0.width(), ideal_bounds_1.width()); width 1552 ash/shelf/shelf_view_unittest.cc while (bubble_view_api.GetContentsSize().width() < width 1553 ash/shelf/shelf_view_unittest.cc (bubble_view->GetContentsBounds().width() + 3 * item_width)) width 195 ash/shelf/shelf_widget.cc shelf_background.width(), width 199 ash/shelf/shelf_widget.cc width(), width 474 ash/shelf/shelf_widget.cc shelf_background.width(), width 477 ash/shelf/shelf_widget.cc dock_bounds.x() == 0 && dock_bounds.width() > 0) width 478 ash/shelf/shelf_widget.cc ? dock_bounds.width() width 482 ash/shelf/shelf_widget.cc ? width() - dock_bounds.width() width 483 ash/shelf/shelf_widget.cc : width(), width 488 ash/shelf/shelf_widget.cc dock_bounds.width() > 0) { width 502 ash/shelf/shelf_widget.cc shelf_corner.width(), width 504 ash/shelf/shelf_widget.cc dock_bounds.x() > 0 ? dock_bounds.x() : dock_bounds.width() - height(), width 516 ash/shelf/shelf_widget.cc shelf_background.width(), width 520 ash/shelf/shelf_widget.cc dock_bounds.width() - height(), width 527 ash/shelf/shelf_widget.cc gfx::Rect(0, height() - kNumBlackPixels, width(), kNumBlackPixels), width 529 ash/shelf/shelf_widget.cc gfx::Rect(width() - kNumBlackPixels, 0, kNumBlackPixels, height()), width 530 ash/shelf/shelf_widget.cc gfx::Rect(0, 0, width(), kNumBlackPixels)); width 549 ash/shelf/shelf_widget.cc child_at(i)->width(), height()); width 552 ash/shelf/shelf_widget.cc width(), child_at(i)->height()); width 124 ash/shelf/shelf_widget_unittest.cc GetWindowBoundsInScreen().width(); width 127 ash/shelf/shelf_widget_unittest.cc EXPECT_EQ(status_width, shelf_widget->GetContentsView()->width() - width 128 ash/shelf/shelf_widget_unittest.cc test::ShelfTestAPI(shelf).shelf_view()->width()); width 170 ash/shelf/shelf_widget_unittest.cc shelf_widget->status_area_widget()->GetWindowBoundsInScreen().width(); width 173 ash/shelf/shelf_widget_unittest.cc shelf_widget->GetContentsView()->width() - width 174 ash/shelf/shelf_widget_unittest.cc test::ShelfTestAPI(shelf).shelf_view()->width()); width 49 ash/shell/lock_view.cc gfx::Rect((width() - string_width)/ 2, width 57 ash/shell/lock_view.cc bounds.set_x((bounds.width() - ps.width()) / 2); width 93 ash/shell/lock_view.cc params.bounds = gfx::Rect((root_window_size.width() - ps.width()) / 2, width 95 ash/shell/lock_view.cc ps.width(), ps.height()); width 45 ash/shell/panel_window.cc if (params().bounds.width() == 0) width 111 ash/shell/widgets.cc view->SetBounds(left, top, preferred.width(), preferred.height()); width 87 ash/shell/window_type_launcher.cc open_ps.width(), open_ps.height()); width 254 ash/sticky_keys/sticky_keys_overlay.cc sign * (widget_size_.width() + kHorizontalOverlayOffset), 0); width 285 ash/sticky_keys/sticky_keys_overlay.cc int x = is_visible_ ? kHorizontalOverlayOffset : -widget_size_.width(); width 128 ash/system/audio/volume_view.cc canvas->FillRect(gfx::Rect(width() / 2, 0, 1, height()), width 246 ash/system/audio/volume_view.cc int w = width() - slider_->bounds().x() - width 255 ash/system/audio/volume_view.cc bounds.set_x(width() - size.width() - kTrayPopupPaddingBetweenItems); width 267 ash/system/audio/volume_view.cc view_bounds.set_x(more_->bounds().x() - view_size.width() - width 276 ash/system/audio/volume_view.cc bar_bounds.set_x(view_left_to_more->bounds().x() - bar_size.width()); width 140 ash/system/chromeos/brightness/tray_brightness.cc int w = width() - slider_->x(); width 186 ash/system/chromeos/network/network_icon.cc SizeKey key(pixel_size.width(), pixel_size.height()); width 238 ash/system/chromeos/network/network_icon.cc icon_.width() - badges_.top_right->width(), 0); width 245 ash/system/chromeos/network/network_icon.cc icon_.width() - badges_.bottom_right->width(), width 304 ash/system/chromeos/network/network_icon.cc int width = images->width(); width 307 ash/system/chromeos/network/network_icon.cc gfx::Rect(0, index * height, width, height)); width 131 ash/system/chromeos/network/tray_sms.cc bubble_view()->GetPreferredSize().width() - width 202 ash/system/chromeos/power/power_status_view.cc return gfx::Size(size.width(), kTrayPopupItemHeight); width 205 ash/system/chromeos/power/power_status_view.cc int PowerStatusView::GetHeightForWidth(int width) { width 32 ash/system/chromeos/power/power_status_view.h virtual int GetHeightForWidth(int width) OVERRIDE; width 65 ash/system/chromeos/screen_security/screen_tray_item.cc stop_bounds.set_x(width() - stop_size.width() - kStopButtonRightPadding); width 37 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc gfx::Point(view->width() / 2, view->height() / 2); width 91 ash/system/chromeos/settings/tray_settings.cc bounds.set_x(width() - size.width() - ash::kTrayPopupPaddingBetweenItems); width 96 ash/system/chromeos/tray_caps_lock.cc width() - shortcut_label_->width() - kTrayPopupPaddingHorizontal; width 99 ash/system/chromeos/tray_caps_lock.cc text_label_->SetSize(gfx::Size(text_size.width() + new_x - old_x, width 274 ash/system/chromeos/tray_display.cc int label_max_width = bounds().width() - kTrayPopupPaddingHorizontal * 2 - width 275 ash/system/chromeos/tray_display.cc kTrayPopupPaddingBetweenItems - image_->GetPreferredSize().width(); width 48 ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc size.set_width(size.width() + padding); width 203 ash/system/drive/tray_drive.cc status_img_->GetPreferredSize().width() + width 204 ash/system/drive/tray_drive.cc label_container_->GetPreferredSize().width() + width 205 ash/system/drive/tray_drive.cc cancel_button_->GetPreferredSize().width() + width 229 ash/system/drive/tray_drive.cc pos_x += status_img_->bounds().width() + kHorizontalPadding; width 233 ash/system/drive/tray_drive.cc child_area.width() - 2 * kSidePadding - width 235 ash/system/drive/tray_drive.cc status_img_->GetPreferredSize().width() - width 236 ash/system/drive/tray_drive.cc cancel_button_->GetPreferredSize().width(), width 240 ash/system/drive/tray_drive.cc pos_x += label_container_->bounds().width() + kHorizontalPadding; width 9 ash/system/tray/fixed_sized_image_view.cc FixedSizedImageView::FixedSizedImageView(int width, int height) width 10 ash/system/tray/fixed_sized_image_view.cc : width_(width), width 21 ash/system/tray/fixed_sized_image_view.cc return gfx::Size(width_ ? width_ : size.width(), width 19 ash/system/tray/fixed_sized_image_view.h FixedSizedImageView(int width, int height); width 32 ash/system/tray/fixed_sized_scroll_view.cc size.Enlarge(insets.width(), insets.height()); width 38 ash/system/tray/fixed_sized_scroll_view.cc bounds.set_width(std::max(0, width() - GetScrollBarWidth())); width 44 ash/system/tray/fixed_sized_scroll_view.cc bounds.set_width(bounds.width() + GetScrollBarWidth()); width 51 ash/system/tray/fixed_sized_scroll_view.cc bounds.set_width(std::max(0, width() - GetScrollBarWidth())); width 156 ash/system/tray/hover_highlight_view.cc int HoverHighlightView::GetHeightForWidth(int width) { width 67 ash/system/tray/hover_highlight_view.h virtual int GetHeightForWidth(int width) OVERRIDE; width 105 ash/system/tray/special_popup_row.cc int SpecialPopupRow::GetHeightForWidth(int width) { width 123 ash/system/tray/special_popup_row.cc container_bounds.set_x(content_bounds.width() - container_bounds.width()); width 39 ash/system/tray/special_popup_row.h virtual int GetHeightForWidth(int width) OVERRIDE; width 418 ash/system/tray/system_tray.cc gfx::Point point(item_view->width() / 2, 0); width 174 ash/system/tray/system_tray_bubble.cc transform.Translate(layer->bounds().width(), 0.0); width 235 ash/system/tray/system_tray_bubble.cc transform.Translate(bounds.width(), 0.0); width 66 ash/system/tray/throbber_view.cc child->SetBounds((width() - ps.width()) / 2, width 68 ash/system/tray/throbber_view.cc ps.width(), ps.height()); width 181 ash/system/tray/tray_background_view.cc trailing_location = gfx::Point(bounds.width() - trailing->width(), 0); width 183 ash/system/tray/tray_background_view.cc leading->width(), width 185 ash/system/tray/tray_background_view.cc bounds.width() - (leading->width() + trailing->width()), width 193 ash/system/tray/tray_background_view.cc bounds.width(), width 208 ash/system/tray/tray_background_view.cc middle_bounds.width(), width 578 ash/system/tray/tray_background_view.cc rect.width() - kPaddingFromRightEdgeOfScreenBottomAlignment, width 63 ash/system/tray/tray_bar_button_with_title.cc int width) width 67 ash/system/tray/tray_bar_button_with_title.cc width_(width) { width 96 ash/system/tray/tray_bar_button_with_title.cc rect.width(), width 105 ash/system/tray/tray_bar_button_with_title.cc rect.width(), width 25 ash/system/tray/tray_bar_button_with_title.h int width); width 28 ash/system/tray/tray_details_view.cc canvas->FillRect(gfx::Rect(0, height() / 2, width(), 1), kBorderLightColor); width 49 ash/system/tray/tray_details_view.cc canvas->FillRect(gfx::Rect(0, view.height() - 1, view.width(), 1), width 141 ash/system/tray/tray_details_view.cc width() + scroller_->GetScrollBarWidth(), width 88 ash/system/tray/tray_item_more.cc bounds.set_x(width() - size.width() - kTrayPopupPaddingBetweenItems); width 98 ash/system/tray/tray_item_view.cc static_cast<int>(size.width() * animation_->GetCurrentValue()))); width 106 ash/system/tray/tray_item_view.cc int TrayItemView::GetHeightForWidth(int width) { width 122 ash/system/tray/tray_item_view.cc static_cast<double>(width() / 2), 0.), 0); width 46 ash/system/tray/tray_item_view.h virtual int GetHeightForWidth(int width) OVERRIDE; width 90 ash/system/tray/tray_popup_label_button_border.cc canvas->Translate(gfx::Vector2d(view.width(), 0)); width 59 ash/system/tray/tray_utils.cc (tray_view->GetPreferredSize().width() - width 60 ash/system/tray/tray_utils.cc tray_view->label()->GetPreferredSize().width()) / 2); width 275 ash/system/user/tray_user.cc virtual int GetHeightForWidth(int width) OVERRIDE; width 344 ash/system/user/tray_user.cc virtual int GetHeightForWidth(int width) OVERRIDE; width 398 ash/system/user/tray_user.cc return gfx::Size(image_size_.width() + GetInsets().width(), width 473 ash/system/user/tray_user.cc gfx::ElideRectangleText(text_, font_list, contents_area.width(), width 484 ash/system/user/tray_user.cc const gfx::Size size(contents_area.width(), line->GetStringSize().height()); width 517 ash/system/user/tray_user.cc if (contents_area.width() - last_line_size.width() >= width 518 ash/system/user/tray_user.cc space_width + link_size.width()) { width 519 ash/system/user/tray_user.cc position.set_x(position.x() + last_line_size.width() + space_width); width 560 ash/system/user/tray_user.cc link_size.width(), width 561 ash/system/user/tray_user.cc bubble_view->GetPreferredSize().width() - (used_width + insets.width())); width 563 ash/system/user/tray_user.cc gfx::GetStringWidth(text_, font_list) + space_width + link_size.width(), width 564 ash/system/user/tray_user.cc bubble_view->GetMaximumSize().width() - (used_width + insets.width())); width 573 ash/system/user/tray_user.cc const int width = (min_width + max_width) / 2; width 575 ash/system/user/tray_user.cc gfx::ElideRectangleText(text_, font_list, width, INT_MAX, width 579 ash/system/user/tray_user.cc width - gfx::GetStringWidth(lines.back(), font_list) <= width 580 ash/system/user/tray_user.cc space_width + link_size.width()) width 583 ash/system/user/tray_user.cc min_width = width + 1; width 585 ash/system/user/tray_user.cc max_width = width; width 594 ash/system/user/tray_user.cc space_width + link_size.width()) { width 601 ash/system/user/tray_user.cc min_width + insets.width(), width 604 ash/system/user/tray_user.cc bubble_view->SetWidth(preferred_size_.width() + used_width); width 643 ash/system/user/tray_user.cc int width = button_hovered_ || show_border_ ? 1 : 0; width 645 ash/system/user/tray_user.cc width, width, width, 1, kBorderColor)); width 712 ash/system/user/tray_user.cc int UserView::GetHeightForWidth(int width) { width 722 ash/system/user/tray_user.cc logout_area.set_x(contents_area.right() - logout_area.width()); width 726 ash/system/user/tray_user.cc int remaining_width = contents_area.width() - logout_area.width(); width 744 ash/system/user/tray_user.cc logout_area.set_width(logout_area.width() + width 945 ash/system/user/tray_user.cc owner, GetPreferredSize().width() + kTrayPopupPaddingBetweenItems)); width 997 ash/system/user/tray_user.cc gfx::Size(parent()->bounds().width() - kPopupMessageOffset, 0), width 1035 ash/system/user/tray_user.cc int AddUserView::GetHeightForWidth(int width) { width 171 ash/system/web_notification/web_notification_tray.cc int width = 0; width 176 ash/system/web_notification/web_notification_tray.cc width = ShelfLayoutManager::GetPreferredShelfSize() - width 180 ash/system/web_notification/web_notification_tray.cc gfx::Insets(0, 0, width, 0), width 181 ash/system/web_notification/web_notification_tray.cc gfx::Insets(0, width, 0, 0), width 182 ash/system/web_notification/web_notification_tray.cc gfx::Insets(0, 0, 0, width), width 183 ash/system/web_notification/web_notification_tray.cc gfx::Insets(width, 0, 0, 0))); width 216 ash/system/web_notification/web_notification_tray.cc gfx::Point bounds(anchor->width() / 2, 0); width 279 ash/system/web_notification/web_notification_tray.cc virtual int GetHeightForWidth(int width) OVERRIDE { width 43 ash/test/test_metro_viewer_process_host.cc void TestMetroViewerProcessHost::OnWindowSizeChanged(uint32 width, width 30 ash/test/test_metro_viewer_process_host.h virtual void OnWindowSizeChanged(uint32 width, uint32 height) OVERRIDE; width 61 ash/tooltips/tooltip_controller_unittest.cc view->SetBounds(contents_view->width(), 0, 100, 100); width 246 ash/touch/touch_uma.cc bounds.width() / kBucketCountForLocation); width 275 ash/touch/touch_uma.cc position.set_x(std::min(bounds.width() - 1, std::max(0, position.x()))); width 97 ash/wm/app_list_controller.cc int screen_width = widget->GetWorkAreaBoundsInScreen().width(); width 220 ash/wm/default_state.cc window->bounds().width(), width 229 ash/wm/default_state.cc if (window->delegate()->GetMaximumSize().width() != 0) width 237 ash/wm/default_state.cc (window->bounds().width() == work_area.width() && width 243 ash/wm/default_state.cc work_area.width(), width 328 ash/wm/default_state.cc int min_width = bounds.width() * kMinimumPercentOnScreenArea; width 106 ash/wm/dock/docked_window_layout_manager.cc shelf_background.width(), width 109 ash/wm/dock/docked_window_layout_manager.cc ? rect.width() - shelf_background.width() width 112 ash/wm/dock/docked_window_layout_manager.cc shelf_background.width(), width 118 ash/wm/dock/docked_window_layout_manager.cc alignment_ == DOCKED_ALIGNMENT_LEFT ? 0 : shelf_background.width() - 1, width 122 ash/wm/dock/docked_window_layout_manager.cc alignment_ == DOCKED_ALIGNMENT_LEFT ? 0 : shelf_background.width(), width 124 ash/wm/dock/docked_window_layout_manager.cc rect.width() - shelf_background.width(), width 249 ash/wm/dock/docked_window_layout_manager.cc DCHECK_LE(window->bounds().width(), width 251 ash/wm/dock/docked_window_layout_manager.cc return window->bounds().width(); width 253 ash/wm/dock/docked_window_layout_manager.cc int width = std::max(DockedWindowLayoutManager::kMinDockWidth, width 257 ash/wm/dock/docked_window_layout_manager.cc if (window->delegate()->GetMinimumSize().width() != 0) width 258 ash/wm/dock/docked_window_layout_manager.cc width = std::max(width, window->delegate()->GetMinimumSize().width()); width 259 ash/wm/dock/docked_window_layout_manager.cc if (window->delegate()->GetMaximumSize().width() != 0) width 260 ash/wm/dock/docked_window_layout_manager.cc width = std::min(width, window->delegate()->GetMaximumSize().width()); width 262 ash/wm/dock/docked_window_layout_manager.cc DCHECK_LE(width, DockedWindowLayoutManager::kMaxDockWidth); width 263 ash/wm/dock/docked_window_layout_manager.cc return width; width 484 ash/wm/dock/docked_window_layout_manager.cc if (dragged_window_->bounds().width() == docked_width_ && width 493 ash/wm/dock/docked_window_layout_manager.cc window1->bounds().width() == docked_width_) { width 610 ash/wm/dock/docked_window_layout_manager.cc if (window->bounds().width() > kMaxDockWidth && width 613 ash/wm/dock/docked_window_layout_manager.cc window->delegate()->GetMinimumSize().width() != 0 && width 614 ash/wm/dock/docked_window_layout_manager.cc window->delegate()->GetMinimumSize().width() > kMaxDockWidth))) { width 982 ash/wm/dock/docked_window_layout_manager.cc if (restore_bounds.width() > kMaxDockWidth) width 992 ash/wm/dock/docked_window_layout_manager.cc void DockedWindowLayoutManager::UpdateDockedWidth(int width) { width 993 ash/wm/dock/docked_window_layout_manager.cc if (docked_width_ == width) width 995 ash/wm/dock/docked_window_layout_manager.cc docked_width_ = width; width 1118 ash/wm/dock/docked_window_layout_manager.cc int min_window_width = window->bounds().width(); width 1175 ash/wm/dock/docked_window_layout_manager.cc bounds.width() : ideal_docked_width)); width 1176 ash/wm/dock/docked_window_layout_manager.cc DCHECK_LE(bounds.width(), ideal_docked_width); width 1194 ash/wm/dock/docked_window_layout_manager.cc (ideal_docked_width - bounds.width()) / 2); width 1198 ash/wm/dock/docked_window_layout_manager.cc (ideal_docked_width + bounds.width()) / 2); width 199 ash/wm/dock/docked_window_layout_manager.h void UpdateDockedWidth(int width); width 235 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(ideal_width(), window->bounds().width()); width 267 ash/wm/dock/docked_window_layout_manager_unittest.cc (desktop_area.width() - docked_width(manager) - width 268 ash/wm/dock/docked_window_layout_manager_unittest.cc min_dock_gap() - window1->bounds().width()) / 2) + width 285 ash/wm/dock/docked_window_layout_manager_unittest.cc desktop_area.width() - window2->bounds().width()) + width 317 ash/wm/dock/docked_window_layout_manager_unittest.cc (desktop_area.width() - docked_width(manager) - width 318 ash/wm/dock/docked_window_layout_manager_unittest.cc min_dock_gap() - window1->bounds().width()) / 2) + width 333 ash/wm/dock/docked_window_layout_manager_unittest.cc desktop_area.width() - window2->bounds().width() - width 372 ash/wm/dock/docked_window_layout_manager_unittest.cc 600 + (desktop_area.width() - docked_width(manager) - width 373 ash/wm/dock/docked_window_layout_manager_unittest.cc min_dock_gap() - window1->bounds().width()) / 2) + width 389 ash/wm/dock/docked_window_layout_manager_unittest.cc 600 + desktop_area.width() - window2->bounds().width() - width 597 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(ideal_width(), w1->bounds().width()); width 601 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(ideal_width(), w2->bounds().width()); width 614 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(201, w1->bounds().width()); width 618 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(w1->bounds().width(), w2->bounds().width()); width 631 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(ideal_width(), w1->bounds().width()); width 635 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(280, w2->bounds().width()); width 638 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(w1->bounds().width(), w2->bounds().width()); width 656 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(240, w1->bounds().width()); width 660 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(260, w2->bounds().width()); width 827 ash/wm/dock/docked_window_layout_manager_unittest.cc EXPECT_EQ(ideal_width(), window->bounds().width()); width 233 ash/wm/dock/docked_window_resizer.cc if (!bounds.IsEmpty() && bounds.width() != window->bounds().width()) { width 310 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().width() - kGrabOffsetX - kUndershootBy - 1, width 413 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ideal_width(), window->GetBoundsInScreen().width()); width 459 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ideal_width(), window->GetBoundsInScreen().width()); width 694 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().width()/2 + 10, width 707 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().width()/2 + 10, width 752 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().width()/2 + 10, width 754 ash/wm/dock/docked_window_resizer_unittest.cc DragMove(window->bounds().width()/2 - 5, 0); width 766 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().width()/2 + 10, width 789 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ScreenUtil::GetDisplayBoundsInParent(w2.get()).width(), width 790 ash/wm/dock/docked_window_resizer_unittest.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(w2.get()).width()); width 800 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 809 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(std::max(w1->bounds().width(), w2->bounds().width()), width 836 ash/wm/dock/docked_window_resizer_unittest.cc w2->bounds().width()/2 + 10, width 839 ash/wm/dock/docked_window_resizer_unittest.cc const int drag_x = -(w2->bounds().width()/2 + 20); width 850 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 861 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ScreenUtil::GetDisplayBoundsInParent(w2.get()).width(), width 862 ash/wm/dock/docked_window_resizer_unittest.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(w2.get()).width()); width 872 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 875 ash/wm/dock/docked_window_resizer_unittest.cc DragMove(w2->GetRootWindow()->bounds().width() width 876 ash/wm/dock/docked_window_resizer_unittest.cc -w2->bounds().width() width 877 ash/wm/dock/docked_window_resizer_unittest.cc -(w2->bounds().width()/2 + 20) width 888 ash/wm/dock/docked_window_resizer_unittest.cc (w2->bounds().width()/2 + 20), width 894 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 896 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ScreenUtil::GetDisplayBoundsInParent(w2.get()).width() - width 898 ash/wm/dock/docked_window_resizer_unittest.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(w2.get()).width()); width 904 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ScreenUtil::GetDisplayBoundsInParent(w2.get()).width() - width 906 ash/wm/dock/docked_window_resizer_unittest.cc w2->bounds().width()); width 923 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ScreenUtil::GetDisplayBoundsInParent(w2.get()).width(), width 924 ash/wm/dock/docked_window_resizer_unittest.cc w2->bounds().width()); width 938 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 942 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ScreenUtil::GetDisplayBoundsInParent(w2.get()).width() - width 944 ash/wm/dock/docked_window_resizer_unittest.cc w2->bounds().width()); width 960 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ScreenUtil::GetDisplayBoundsInParent(w2.get()).width(), width 961 ash/wm/dock/docked_window_resizer_unittest.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(w2.get()).width()); width 976 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 992 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1003 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1022 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1041 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(std::max(w1->bounds().width(), w2->bounds().width()), width 1044 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ScreenUtil::GetDisplayBoundsInParent(w2.get()).width() - width 1046 ash/wm/dock/docked_window_resizer_unittest.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(w2.get()).width()); width 1060 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ScreenUtil::GetDisplayBoundsInParent(w2.get()).width(), width 1061 ash/wm/dock/docked_window_resizer_unittest.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(w2.get()).width()); width 1071 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1080 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(std::max(w1->bounds().width(), w2->bounds().width()), width 1084 ash/wm/dock/docked_window_resizer_unittest.cc int previous_width = w1->bounds().width(); width 1099 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(previous_width + kResizeSpan1, w1->bounds().width()); width 1101 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), w2->bounds().width()); width 1102 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1104 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ScreenUtil::GetDisplayBoundsInParent(w2.get()).width() - width 1106 ash/wm/dock/docked_window_resizer_unittest.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(w2.get()).width()); width 1110 ash/wm/dock/docked_window_resizer_unittest.cc previous_width = w1->bounds().width(); width 1126 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(max_width(), w1->bounds().width()); width 1128 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), w2->bounds().width()); width 1129 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1131 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ScreenUtil::GetDisplayBoundsInParent(w2.get()).width() - width 1133 ash/wm/dock/docked_window_resizer_unittest.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(w2.get()).width()); width 1136 ash/wm/dock/docked_window_resizer_unittest.cc previous_width = w1->bounds().width(); width 1151 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(previous_width - kResizeSpan3, w1->bounds().width()); width 1153 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), w2->bounds().width()); width 1155 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1157 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ScreenUtil::GetDisplayBoundsInParent(w2.get()).width() - width 1159 ash/wm/dock/docked_window_resizer_unittest.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(w2.get()).width()); width 1162 ash/wm/dock/docked_window_resizer_unittest.cc previous_width = w1->bounds().width(); width 1168 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(previous_width + kResizeSpan3, w1->bounds().width()); width 1172 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1186 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w2->bounds().width(), docked_width(manager)); width 1190 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ScreenUtil::GetDisplayBoundsInParent(w1.get()).width() - width 1192 ash/wm/dock/docked_window_resizer_unittest.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(w1.get()).width()); width 1212 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1215 ash/wm/dock/docked_window_resizer_unittest.cc int previous_width = w1->bounds().width(); width 1230 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(previous_width + kResizeSpan1, w1->bounds().width()); width 1231 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1236 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(previous_width + kResizeSpan1, w1->bounds().width()); width 1243 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ideal_width(), w1->bounds().width()); width 1248 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(previous_width + kResizeSpan1, w1->bounds().width()); width 1270 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1273 ash/wm/dock/docked_window_resizer_unittest.cc int previous_width = w1->bounds().width(); width 1288 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(previous_width + kResizeSpan1, w1->bounds().width()); width 1289 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1293 ash/wm/dock/docked_window_resizer_unittest.cc previous_width = w1->bounds().width(); width 1296 ash/wm/dock/docked_window_resizer_unittest.cc w1.get(), w1->bounds().width(), 20, HTRIGHT)); width 1307 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(previous_width - kResizeSpan2, w1->bounds().width()); width 1308 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1333 ash/wm/dock/docked_window_resizer_unittest.cc int previous_width = w1->bounds().width(); width 1341 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(previous_width + kResizeSpan1, w1->bounds().width()); width 1343 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), w2->bounds().width()); width 1344 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1347 ash/wm/dock/docked_window_resizer_unittest.cc previous_width = w2->bounds().width(); width 1354 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(previous_width + kResizeSpan1, w2->bounds().width()); width 1356 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w2->bounds().width(), w1->bounds().width()); width 1357 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w2->bounds().width(), docked_width(manager)); width 1365 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), w2->bounds().width()); width 1366 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1376 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), w2->bounds().width()); width 1377 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1388 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(ScreenUtil::GetDisplayBoundsInParent(w1.get()).width(), width 1389 ash/wm/dock/docked_window_resizer_unittest.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(w1.get()).width()); width 1399 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1524 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1547 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(w1->bounds().width(), docked_width(manager)); width 1584 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(window->bounds().width(), docked_width(manager)); width 111 ash/wm/drag_window_resizer.cc if (bounds.width() > size.width()) { width 112 ash/wm/drag_window_resizer.cc int diff = bounds.width() - size.width(); width 114 ash/wm/drag_window_resizer.cc bounds.set_width(size.width()); width 128 ash/wm/drag_window_resizer.cc last_mouse_location_in_screen.x() - dst_bounds.width()); width 178 ash/wm/drag_window_resizer.cc (bounds_in_another_root.width() * bounds_in_another_root.height()) / width 179 ash/wm/drag_window_resizer.cc static_cast<float>(bounds.width() * bounds.height()); width 48 ash/wm/drag_window_resizer_unittest.cc EXPECT_EQ(800, root_bounds.width()); width 240 ash/wm/drag_window_resizer_unittest.cc EXPECT_LE(10, intersect.width()); width 266 ash/wm/drag_window_resizer_unittest.cc EXPECT_LE(10, intersect.width()); width 158 ash/wm/gestures/long_press_affordance_handler.cc GetPreferredSize().width(), width 196 ash/wm/gestures/long_press_affordance_handler.cc gfx::Point center(GetPreferredSize().width() / 2, width 160 ash/wm/immersive_fullscreen_controller_unittest.cc content_view_->SetBounds(0, 0, window_size.width(), window_size.height()); width 165 ash/wm/immersive_fullscreen_controller_unittest.cc 0, 0, window_size.width(), 100); width 69 ash/wm/maximize_mode/maximize_mode_window_state.cc int x = (work_area_in_parent.width() - bounds_in_parent.width()) / 2 + width 171 ash/wm/overview/scoped_transform_overview_window.cc std::min(static_cast<float>(bounds.width()) / rect.width(), width 173 ash/wm/overview/scoped_transform_overview_window.cc return gfx::Rect(bounds.x() + 0.5 * (bounds.width() - scale * rect.width()), width 175 ash/wm/overview/scoped_transform_overview_window.cc rect.width() * scale, width 187 ash/wm/overview/scoped_transform_overview_window.cc transform.Scale(static_cast<float>(dst_rect.width()) / src_rect.width(), width 203 ash/wm/overview/window_overview.cc change * ((*windows_)[selection_index_]->target_bounds().width() + width 400 ash/wm/overview/window_overview.cc total_bounds.width() > total_bounds.height() ? kMinCardsMajor : 1, width 401 ash/wm/overview/window_overview.cc static_cast<int>(ceil(sqrt(total_bounds.width() * windows.size() / width 405 ash/wm/overview/window_overview.cc static_cast<int>(total_bounds.width() / columns), width 407 ash/wm/overview/window_overview.cc window_size.set_height(window_size.width() / kCardAspectRatio); width 411 ash/wm/overview/window_overview.cc (columns - windows.size()) * window_size.width()) + width 412 ash/wm/overview/window_overview.cc (total_bounds.width() - columns * window_size.width())) / 2; width 419 ash/wm/overview/window_overview.cc gfx::Rect target_bounds(window_size.width() * column + x_offset, width 421 ash/wm/overview/window_overview.cc window_size.width(), width 405 ash/wm/overview/window_selector_unittest.cc EXPECT_EQ(overview_bounds.width(), new_overview_bounds.width()); width 978 ash/wm/overview/window_selector_unittest.cc EXPECT_EQ(overview_bounds.width(), new_overview_bounds.width()); width 138 ash/wm/overview/window_selector_window.cc close_button_rect.set_x(-close_button_rect.width() / 2); width 68 ash/wm/panels/panel_frame_view.cc min_client_view_size.width()), width 411 ash/wm/panels/panel_layout_manager.cc const int max_width = max_bounds.width() * kMaxWidthFactor; width 413 ash/wm/panels/panel_layout_manager.cc if (bounds.width() > max_width) width 428 ash/wm/panels/panel_layout_manager.cc if (bounds.x() + bounds.width()/2 <= requested_bounds.x()) break; width 587 ash/wm/panels/panel_layout_manager.cc panel_container_->bounds().width() - kPanelIdealSpacing : width 620 ash/wm/panels/panel_layout_manager.cc if (icon_bounds.width() == 0 && icon_bounds.height() == 0) width 634 ash/wm/panels/panel_layout_manager.cc int icon_end = icon_start + (horizontal ? icon_bounds.width() : width 637 ash/wm/panels/panel_layout_manager.cc panel->bounds().width() : panel->bounds().height(); width 683 ash/wm/panels/panel_layout_manager.cc bounds.set_x(shelf_bounds.x() - bounds.width()); width 755 ash/wm/panels/panel_layout_manager.cc bounds.x() + bounds.width() / 2 : width 812 ash/wm/panels/panel_layout_manager.cc icon_bounds.x() + (icon_bounds.width() - callout_bounds.width()) / 2); width 829 ash/wm/panels/panel_layout_manager.cc callout_bounds.set_x(bounds.x() - callout_bounds.width()); width 103 ash/wm/panels/panel_layout_manager_unittest.cc EXPECT_TRUE(screen_bottom_right.x() < display_bounds.width() && width 124 ash/wm/panels/panel_layout_manager_unittest.cc ASSERT_FALSE(icon_bounds.width() == 0 && icon_bounds.height() == 0); width 127 ash/wm/panels/panel_layout_manager_unittest.cc ASSERT_LT(icon_bounds.width(), window_bounds.width()); width 159 ash/wm/panels/panel_window_resizer.cc offset->set_x(launcher_bounds.x() - bounds.width() - bounds.x()); width 141 ash/wm/partial_screenshot_view.cc int width = ::abs(start_position_.x() - current_position_.x()); width 143 ash/wm/partial_screenshot_view.cc return gfx::Rect(left, top, width, height); width 36 ash/wm/root_window_layout_manager.cc gfx::Rect(owner_->bounds().width(), owner_->bounds().height()); width 36 ash/wm/session_state_animator.cc floor(0.5 * (1.0 - kSlowCloseSizeRatio) * root_size.width() + 0.5), width 47 ash/wm/session_state_animator.cc transform.Translate(floor(0.5 * root_size.width() + 0.5), width 519 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(bounds.x() + bounds.width() / 2, bounds.y() + 5), width 520 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(bounds.x() + bounds.width() / 2, bounds.y() + 5), width 547 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(bounds.x() + bounds.width() / 2, bounds.y() + 5), width 548 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(bounds.x() + bounds.width() / 2, bounds.y() + 5), width 363 ash/wm/system_modal_container_layout_manager_unittest.cc gfx::Point center(view->width() / 2, view->height() / 2); width 390 ash/wm/toplevel_window_event_handler_unittest.cc DragFromCenterBy(target.get(), work_area.width() * 2, 0); width 392 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(work_area.width(), target->bounds().width()); width 33 ash/wm/video_detector.cc if (region.width() < kMinUpdateWidth || region.height() < kMinUpdateHeight) width 219 ash/wm/video_detector_unittest.cc gfx::Point(Shell::GetPrimaryRootWindow()->bounds().width(), 0), width 75 ash/wm/window_animations.cc int old_area = old_bounds.width() * old_bounds.height(); width 76 ash/wm/window_animations.cc int new_area = new_bounds.width() * new_bounds.height(); width 106 ash/wm/window_animations.cc float scale_x = static_cast<float>(target_bounds.width()) / bounds.width(); width 331 ash/wm/window_animations.cc const bool old_on_top = (old_bounds.width() > new_bounds.width()); width 348 ash/wm/window_animations.cc float scale_x = static_cast<float>(new_bounds.width()) / width 349 ash/wm/window_animations.cc static_cast<float>(old_bounds.width()); width 368 ash/wm/window_animations.cc const float scale_x = static_cast<float>(old_bounds.width()) / width 369 ash/wm/window_animations.cc static_cast<float>(new_bounds.width()); width 447 ash/wm/window_animations.cc transform.Translate(-layer->bounds().width() * (scale - 1.0f) / 2, width 470 ash/wm/window_animations.cc if (item_rect.width() != 0 || item_rect.height() != 0) { width 605 ash/wm/window_manager_unittest.cc transform.Translate(size.width(), 0); width 253 ash/wm/window_modality_controller_unittest.cc gfx::Point center(view->width() / 2, view->height() / 2); width 278 ash/wm/window_modality_controller_unittest.cc gfx::Point modal_center(modal_view->width() / 2, modal_view->height() / 2); width 99 ash/wm/window_positioner.cc bounds->set_x(work_area.right() - bounds->width()); width 140 ash/wm/window_positioner.cc bounds.set_x(work_area.x() + (work_area.width() - bounds.width()) / 2); width 234 ash/wm/window_positioner.cc (work_area.width() <= GetForceMaximizedWidthLimit() && width 314 ash/wm/window_positioner.cc other_bounds.CenterPoint().x() > work_area.x() + work_area.width() / 2; width 364 ash/wm/window_positioner.cc int default_width = work_area.width() - 2 * kDesktopBorderSize; width 371 ash/wm/window_positioner.cc offset_x = (work_area.width() - kMaximumWindowWidth) / 2; width 400 ash/wm/window_positioner.cc if ((old_pos.width() + popup_position_offset_from_screen_corner_x >= width 401 ash/wm/window_positioner.cc work_area.width()) || width 419 ash/wm/window_positioner.cc int w = old_pos.width(); width 426 ash/wm/window_positioner.cc last_popup_position_x_ + w > work_area.width()) { width 434 ash/wm/window_positioner.cc if (last_popup_position_x_ + w > work_area.width()) { width 475 ash/wm/window_positioner.cc int w = old_pos.width(); width 477 ash/wm/window_positioner.cc int x_end = work_area.width() / 2; width 493 ash/wm/window_positioner.cc x = work_area.width() - w; width 526 ash/wm/window_positioner.cc int w = pos.width(); width 157 ash/wm/window_resizer.cc new_bounds.set_width(new_bounds.width() + delta); width 159 ash/wm/window_resizer.cc int width = new_bounds.right() - work_area.right() + width 162 ash/wm/window_resizer.cc new_bounds.set_width(width); width 198 ash/wm/window_resizer.cc details().restore_bounds.width()) width 199 ash/wm/window_resizer.cc new_bounds.set_x(location.x() - details().restore_bounds.width() / 2); width 228 ash/wm/window_resizer.cc std::max(screen_work_area.x() - new_bounds.width(), width 289 ash/wm/window_resizer.cc size.SetSize(GetWidthForDrag(min_size.width(), delta_x), width 298 ash/wm/window_resizer.cc int width = details().initial_bounds_in_parent.width(); width 302 ash/wm/window_resizer.cc width += x_multiplier * (*delta_x); width 306 ash/wm/window_resizer.cc if (width < min_width) { width 307 ash/wm/window_resizer.cc width = min_width; width 308 ash/wm/window_resizer.cc *delta_x = -x_multiplier * (details().initial_bounds_in_parent.width() - width 314 ash/wm/window_resizer.cc GetTarget()).bounds().width(); width 316 ash/wm/window_resizer.cc if (max_size.width() != 0) width 317 ash/wm/window_resizer.cc max_width = std::min(max_width, max_size.width()); width 318 ash/wm/window_resizer.cc if (width > max_width) { width 319 ash/wm/window_resizer.cc width = max_width; width 320 ash/wm/window_resizer.cc *delta_x = -x_multiplier * (details().initial_bounds_in_parent.width() - width 324 ash/wm/window_resizer.cc return width; width 327 ash/wm/window_state.cc bounds->set_x(maximized_bounds.right() - bounds->width()); width 403 ash/wm/window_state.cc bool old_on_top = (old_bounds.width() > new_bounds.width()); width 74 ash/wm/window_state_unittest.cc kPrimaryDisplayWorkAreaBounds.width() / 2, width 80 ash/wm/window_state_unittest.cc expected.set_x(kPrimaryDisplayWorkAreaBounds.right() - expected.width()); width 90 ash/wm/window_state_unittest.cc kSecondaryDisplayWorkAreaBounds.width() / 2, width 92 ash/wm/window_state_unittest.cc kSecondaryDisplayWorkAreaBounds.width() / 2, width 113 ash/wm/window_state_unittest.cc &delegate, -1, gfx::Rect(0, 100, kWorkAreaBounds.width() - 1, 100))); width 116 ash/wm/window_state_unittest.cc delegate.set_minimum_size(gfx::Size(kWorkAreaBounds.width() - 1, 0)); width 123 ash/wm/window_state_unittest.cc kWorkAreaBounds.width() - 1, width 129 ash/wm/window_state_unittest.cc delegate.set_maximum_size(gfx::Size(kWorkAreaBounds.width() - 1, INT_MAX)); width 150 ash/wm/window_state_unittest.cc kWorkAreaBounds.width() / 2, width 171 ash/wm/window_state_unittest.cc restore_bounds.set_width(restore_bounds.width() + 1); width 218 ash/wm/window_state_unittest.cc kWorkAreaBounds.x() + kWorkAreaBounds.width() / 2, width 220 ash/wm/window_state_unittest.cc kWorkAreaBounds.width() / 2, width 38 ash/wm/window_util.cc ScreenUtil::GetDisplayWorkAreaBoundsInParent(window).width(); width 40 ash/wm/window_util.cc window->delegate()->GetMinimumSize().width() : 0; width 95 ash/wm/window_util.cc int width = GetDefaultSnappedWindowWidth(window); width 96 ash/wm/window_util.cc return gfx::Rect(work_area_in_parent.right() - width, width 98 ash/wm/window_util.cc width, width 103 ash/wm/window_util.cc bounds->set_width(std::min(bounds->width(), max_size.width())); width 119 ash/wm/window_util.cc min_width = std::min(min_width, visible_area.width()); width 123 ash/wm/window_util.cc bounds->set_x(visible_area.x() + min_width - bounds->width()); width 75 ash/wm/workspace/multi_window_resize_controller.cc return gfx::Size(image_->width(), image_->height()); width 491 ash/wm/workspace/multi_window_resize_controller.cc x = windows_.window1->bounds().right() - pref.width() / 2; width 501 ash/wm/workspace/multi_window_resize_controller.cc x = location_in_parent.x() - kResizeWidgetPadding - pref.width(); width 505 ash/wm/workspace/multi_window_resize_controller.cc return gfx::Rect(x, y, pref.width(), pref.height()); width 53 ash/wm/workspace/phantom_window_controller.cc ceil((kAlternateStyleMinSizeWithShadow - bounds.width()) / 2.0f)), width 112 ash/wm/workspace/phantom_window_controller.cc int w = size.width() - kInsetSize * 2; width 118 ash/wm/workspace/phantom_window_controller.cc w = size.width(); width 170 ash/wm/workspace/phantom_window_controller.cc start_bounds_in_screen.width() * kAlternateStyleStartBoundsRatio)); width 176 ash/wm/workspace/phantom_window_controller.cc floor((start_bounds_in_screen.width() - start_width) / 2.0f), width 112 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restored_bounds.width(), bounds_in_screen.width()); width 135 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(work_area.width(), bounds_in_screen.width()); width 169 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restored_bounds.width(), bounds_in_screen.width()); width 185 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(work_area2.width(), bounds_in_screen.width()); width 209 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_GT(work_area_in_screen.width(), snapped_bounds_in_screen.width()); width 277 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(restored_bounds.width(), window->bounds().width()); width 341 ash/wm/workspace/workspace_event_handler_unittest.cc EXPECT_EQ(work_area_in_parent.width(), window->bounds().width()); width 311 ash/wm/workspace/workspace_layout_manager_unittest.cc window_bounds.width(), window_bounds.height())); width 392 ash/wm/workspace/workspace_layout_manager_unittest.cc window_bounds.Offset(root_window_bounds.width(), root_window_bounds.height()); width 401 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_GT(bounds.width(), out_window->bounds().width() * 0.29); width 410 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_GT(bounds.width(), out_window->bounds().width() * 0.29); width 421 ash/wm/workspace/workspace_layout_manager_unittest.cc ASSERT_LT(bounds.width(), out_window->bounds().width() * 0.26); width 430 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_GT(bounds.width(), out_window->bounds().width() * 0.29); width 438 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_GE(root_window_bounds.width(), width 439 ash/wm/workspace/workspace_layout_manager_unittest.cc window_bigger_than_display->bounds().width()); width 445 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_GT(bounds.width(), out_window->bounds().width() * 0.29); width 455 ash/wm/workspace/workspace_layout_manager_unittest.cc 100, 101, work_area.width() + 1, work_area.height() + 2); width 666 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_LE(window->bounds().width(), work_area.width()); width 673 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_LE(window->bounds().width(), work_area.width()); width 680 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_LE(window->bounds().width(), work_area.width()); width 686 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(old_bounds.width(), window->bounds().width()); width 154 ash/wm/workspace/workspace_window_resizer.cc x = attach_to.x() - src.width(); width 161 ash/wm/workspace/workspace_window_resizer.cc edge.secondary_edge, attach_to.x(), attach_to.right() - src.width(), width 182 ash/wm/workspace/workspace_window_resizer.cc int w = src.width(); width 579 ash/wm/workspace/workspace_window_resizer.cc bounds->set_width(bounds->width() + leftovers); width 813 ash/wm/workspace/workspace_window_resizer.cc bounds->set_width(std::min(bounds->width(), width 835 ash/wm/workspace/workspace_window_resizer.cc bounds->set_x(right_edge - bounds->width()); width 883 ash/wm/workspace/workspace_window_resizer.cc return PrimaryAxisCoordinate(size.width(), size.height()); width 940 ash/wm/workspace/workspace_window_resizer.cc GetTarget()->bounds().width() <= width 1039 ash/wm/workspace/workspace_window_resizer.cc snapped_bounds.set_x(snapped_bounds.right() - bounds_in_parent.width()); width 1040 ash/wm/workspace/workspace_window_resizer.cc snapped_bounds.set_width(bounds_in_parent.width()); width 90 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(800, root_bounds.width()); width 1090 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(work_area.right() - 100, window_->bounds().width()); width 1107 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(work_area.right() - 100, window_->bounds().width()); width 1123 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(120, window_->bounds().width()); width 1440 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(401, window_->bounds().width()); width 1452 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(401, window_->bounds().width()); width 36 ash/wm/workspace_controller.cc return shelf->dock_bounds().width() > 0; width 204 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(ScreenUtil::GetMaximizedWindowBoundsInParent(w1.get()).width(), width 205 ash/wm/workspace_controller_unittest.cc w1->bounds().width()); width 237 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(work_area.width(), w2->bounds().width()); width 242 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(50, w2->bounds().width()); width 255 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(200, w1->bounds().width()); width 281 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(GetFullscreenBounds(w1.get()).width(), w1->bounds().width()); width 290 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(250, w1->bounds().width()); width 296 ash/wm/workspace_controller_unittest.cc EXPECT_EQ(GetFullscreenBounds(w1.get()).width(), w1->bounds().width()); width 814 ash/wm/workspace_controller_unittest.cc desktop_area.width() - window3->bounds().width()) + width 821 ash/wm/workspace_controller_unittest.cc (desktop_area.width() - window1->bounds().width()) / 2) + width 836 ash/wm/workspace_controller_unittest.cc (desktop_area.width() - window1->bounds().width()) / 2) + width 849 ash/wm/workspace_controller_unittest.cc (desktop_area.width() - window1->bounds().width()) / 2) + width 886 ash/wm/workspace_controller_unittest.cc base::IntToString(desktop_area.width() - window2->bounds().width()) + width 973 ash/wm/workspace_controller_unittest.cc base::IntToString(desktop_area.width() - window2->bounds().width()) + width 1004 ash/wm/workspace_controller_unittest.cc (desktop_area.width() - window2->bounds().width()) / 2) + width 1010 ash/wm/workspace_controller_unittest.cc desktop_area.width() - window1->bounds().width()) + width 1034 ash/wm/workspace_controller_unittest.cc (desktop_area.width() - window2->bounds().width()) / 2) + width 1057 ash/wm/workspace_controller_unittest.cc desktop_area.width() - window1->bounds().width()) + width 1068 ash/wm/workspace_controller_unittest.cc (desktop_area.width() - window2->bounds().width()) / 2) + width 1090 ash/wm/workspace_controller_unittest.cc desktop_area.width() - window1->bounds().width()) + width 1099 ash/wm/workspace_controller_unittest.cc desktop_area.width() - window1->bounds().width()) + width 1136 ash/wm/workspace_controller_unittest.cc desktop_area.width() - window1->bounds().width()) + width 72 base/debug/gdi_debug_util_win.cc LONG width = header->biWidth; width 76 base/debug/gdi_debug_util_win.cc base::debug::Alias(&width); width 114 base/debug/gdi_debug_util_win.cc if (std::abs(heigth) * width > 100) { width 411 base/metrics/histogram.cc size_t width = GetAsciiBucketRange(i).size() + 1; width 412 base/metrics/histogram.cc if (width > print_width) width 413 base/metrics/histogram.cc print_width = width; width 547 base/strings/safe_sprintf.cc if (arg.width < sizeof(int64_t)) { width 548 base/strings/safe_sprintf.cc i &= (1LL << (8*arg.width)) - 1; width 557 base/strings/safe_sprintf.cc } else if (arg.type == Arg::INT && arg.width == sizeof(NULL) && width 591 base/strings/safe_sprintf.cc } else if (arg.type == Arg::INT && arg.width == sizeof(NULL) && width 142 base/strings/safe_sprintf.h Arg(signed char c) : i(c), width(sizeof(char)), type(INT) { } width 143 base/strings/safe_sprintf.h Arg(unsigned char c) : i(c), width(sizeof(char)), type(UINT) { } width 144 base/strings/safe_sprintf.h Arg(signed short j) : i(j), width(sizeof(short)), type(INT) { } width 145 base/strings/safe_sprintf.h Arg(unsigned short j) : i(j), width(sizeof(short)), type(UINT) { } width 146 base/strings/safe_sprintf.h Arg(signed int j) : i(j), width(sizeof(int)), type(INT) { } width 147 base/strings/safe_sprintf.h Arg(unsigned int j) : i(j), width(sizeof(int)), type(UINT) { } width 148 base/strings/safe_sprintf.h Arg(signed long j) : i(j), width(sizeof(long)), type(INT) { } width 149 base/strings/safe_sprintf.h Arg(unsigned long j) : i(j), width(sizeof(long)), type(UINT) { } width 150 base/strings/safe_sprintf.h Arg(signed long long j) : i(j), width(sizeof(long long)), type(INT) { } width 151 base/strings/safe_sprintf.h Arg(unsigned long long j) : i(j), width(sizeof(long long)), type(UINT) { } width 164 base/strings/safe_sprintf.h unsigned char width; width 420 cc/animation/transform_operation.cc corner += gfx::Vector3dF(i & 1 ? box.width() : 0.f, width 1002 cc/animation/transform_operations_unittest.cc EXPECT_NEAR(lhs.width(), rhs.width(), tolerance); width 1040 cc/animation/transform_operations_unittest.cc gfx::RectF(bounds.x(), bounds.y(), bounds.width(), bounds.height())); width 1044 cc/animation/transform_operations_unittest.cc unified_bounds.width(), width 474 cc/base/math_util.cc scale_outer_rect.width() / input_outer_rect.width(); width 533 cc/base/math_util.cc res->SetDouble("width", s.width()); width 540 cc/base/math_util.cc res->SetDouble("width", s.width()); width 549 cc/base/math_util.cc res->AppendInteger(r.width()); width 606 cc/base/math_util.cc res->AppendDouble(rect.width()); width 626 cc/base/math_util.cc res->AppendInteger(box.width()); width 117 cc/base/region.cc result->AppendInteger(rect.width()); width 75 cc/base/tiling_data.cc DCHECK_GT(max_texture_size_.width() - 2 * border_texels_, 0); width 77 cc/base/tiling_data.cc (max_texture_size_.width() - 2 * border_texels_); width 95 cc/base/tiling_data.cc DCHECK_GT(max_texture_size_.width() - 2 * border_texels_, 0); width 96 cc/base/tiling_data.cc int inner_tile_size = max_texture_size_.width() - 2 * border_texels_; width 115 cc/base/tiling_data.cc DCHECK_GT(max_texture_size_.width() - 2 * border_texels_, 0); width 116 cc/base/tiling_data.cc int inner_tile_size = max_texture_size_.width() - 2 * border_texels_; width 133 cc/base/tiling_data.cc int max_texture_size_x = max_texture_size_.width() - 2 * border_texels_; width 135 cc/base/tiling_data.cc int total_size_x = total_size_.width(); width 159 cc/base/tiling_data.cc int width = hi_x - lo_x; width 163 cc/base/tiling_data.cc DCHECK_GE(width, 0); width 165 cc/base/tiling_data.cc DCHECK_LE(x, total_size_.width()); width 167 cc/base/tiling_data.cc return gfx::Rect(x, y, width, height); width 172 cc/base/tiling_data.cc int max_texture_size_x = max_texture_size_.width() - 2 * border_texels_; width 174 cc/base/tiling_data.cc int total_size_x = total_size_.width(); width 188 cc/base/tiling_data.cc int width = hi_x - lo_x; width 192 cc/base/tiling_data.cc DCHECK_GE(width, 0); width 194 cc/base/tiling_data.cc DCHECK_LE(x, total_size_.width()); width 196 cc/base/tiling_data.cc return gfx::Rect(x, y, width, height); width 203 cc/base/tiling_data.cc int pos = (max_texture_size_.width() - 2 * border_texels_) * x_index; width 226 cc/base/tiling_data.cc return total_size_.width(); width 228 cc/base/tiling_data.cc return max_texture_size_.width() - border_texels_; width 230 cc/base/tiling_data.cc return max_texture_size_.width() - 2 * border_texels_; width 232 cc/base/tiling_data.cc return total_size_.width() - TilePositionX(x_index); width 264 cc/base/tiling_data.cc max_texture_size_.width(), total_size_.width(), border_texels_); width 496 cc/base/tiling_data.cc else if (center.x() > tiling_data->total_size().width()) width 515 cc/base/tiling_data.cc } else if (right_src_coord > tiling_data->total_size().width()) { width 706 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.total_size().width()); width 714 cc/base/tiling_data_unittest.cc EXPECT_EQ(6, data.total_size().width()); width 723 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, data.total_size().width()); width 793 cc/base/tiling_data_unittest.cc EXPECT_EQ(source.total_size().width(), dest.total_size().width()); width 803 cc/base/tiling_data_unittest.cc EXPECT_EQ(source.total_size().width(), dest.total_size().width()); width 13 cc/debug/debug_colors.cc static float Scale(float width, const LayerTreeImpl* tree_impl) { width 14 cc/debug/debug_colors.cc return width * (tree_impl ? tree_impl->device_scale_factor() : 1); width 79 cc/debug/debug_rect_history.cc float width_scale = layer->content_bounds().width() / width 80 cc/debug/debug_rect_history.cc static_cast<float>(layer->bounds().width()); width 282 cc/debug/debug_rect_history.cc inflated_bounds.width(), width 47 cc/debug/picture_record_benchmark.cc int width, height; width 48 cc/debug/picture_record_benchmark.cc dictionary->GetInteger("width", &width); width 51 cc/debug/picture_record_benchmark.cc dimensions_.push_back(std::make_pair(width, height)); width 102 cc/debug/picture_record_benchmark.cc int width = dimensions.first; width 106 cc/debug/picture_record_benchmark.cc int x_limit = std::max(1, content_bounds.width() - width); width 109 cc/debug/picture_record_benchmark.cc gfx::Rect rect = gfx::Rect(x, y, width, height); width 136 cc/debug/rasterize_and_record_benchmark.cc visible_content_rect.width() * visible_content_rect.height(); width 51 cc/debug/rasterize_and_record_benchmark_impl.cc bitmap.allocPixels(SkImageInfo::MakeN32Premul(content_rect_.width(), width 187 cc/debug/rasterize_and_record_benchmark_impl.cc int tile_size = content_rect.width() * content_rect.height(); width 22 cc/input/page_scale_animation.cc 1.f / viewport_size.width(), width 29 cc/input/page_scale_animation.cc viewport_size.width(), width 135 cc/input/page_scale_animation.cc 1.f / (TargetViewportSize().width() - StartViewportSize().width()); width 38 cc/layers/content_layer.cc double pixels_per_sec = (content_rect.width() * content_rect.height()) / width 159 cc/layers/content_layer.cc int width = bounds().width(); width 164 cc/layers/content_layer.cc SkCanvas* canvas = picture->beginRecording(width, height); width 165 cc/layers/content_layer.cc client_->PaintContents(canvas, gfx::Rect(width, height), &opaque); width 59 cc/layers/contents_scaling_layer_unittest.cc EXPECT_EQ(320, test_layer->content_bounds().width()); width 63 cc/layers/contents_scaling_layer_unittest.cc EXPECT_EQ(640, test_layer->content_bounds().width()); width 68 cc/layers/contents_scaling_layer_unittest.cc EXPECT_EQ(20, test_layer->content_bounds().width()); width 72 cc/layers/contents_scaling_layer_unittest.cc EXPECT_EQ(14, test_layer->content_bounds().width()); width 205 cc/layers/delegated_renderer_layer_impl.cc static_cast<double>(display_size.width()) / frame_size.width(), width 345 cc/layers/delegated_renderer_layer_impl.cc int width = std::min(kStripeWidth, content_bounds().width() - x - 1); width 351 cc/layers/delegated_renderer_layer_impl.cc gfx::Rect top(x, 0, width, border_width); width 354 cc/layers/delegated_renderer_layer_impl.cc width, width 357 cc/layers/delegated_renderer_layer_impl.cc gfx::Rect right(content_bounds().width() - border_width, width 26 cc/layers/heads_up_display_layer.cc device_viewport.width() / device_scale_factor, width 37 cc/layers/heads_up_display_layer.cc device_viewport_in_layout_pixels.width()), width 43 cc/layers/heads_up_display_layer.cc matrix.Translate(device_viewport_in_layout_pixels.width() - size, 0.0); width 151 cc/layers/heads_up_display_layer_impl.cc if (canvas_size.width() != content_bounds().width() || width 152 cc/layers/heads_up_display_layer_impl.cc canvas_size.width() != content_bounds().height() || !hud_canvas_) { width 156 cc/layers/heads_up_display_layer_impl.cc content_bounds().width(), content_bounds().height(), opaque)); width 251 cc/layers/heads_up_display_layer_impl.cc DrawMemoryDisplay(canvas, 0, area.bottom(), SkMaxScalar(area.width(), 150)); width 332 cc/layers/heads_up_display_layer_impl.cc int width = kGraphWidth + kHistogramWidth + 4 * kPadding; width 334 cc/layers/heads_up_display_layer_impl.cc int left = bounds().width() - width - right; width 335 cc/layers/heads_up_display_layer_impl.cc SkRect area = SkRect::MakeXYWH(left, top, width, height); width 436 cc/layers/heads_up_display_layer_impl.cc histogram[i] / max_bucket_value * histogram_bounds.width(); width 458 cc/layers/heads_up_display_layer_impl.cc int width) const { width 466 cc/layers/heads_up_display_layer_impl.cc const int left = bounds().width() - width - right; width 467 cc/layers/heads_up_display_layer_impl.cc const SkRect area = SkRect::MakeXYWH(left, top, width, height); width 475 cc/layers/heads_up_display_layer_impl.cc SkPoint stat1_pos = SkPoint::Make(left + width - kPadding - 1, width 477 cc/layers/heads_up_display_layer_impl.cc SkPoint stat2_pos = SkPoint::Make(left + width - kPadding - 1, width 518 cc/layers/heads_up_display_layer_impl.cc const int width = kGraphWidth + 2 * kPadding; width 521 cc/layers/heads_up_display_layer_impl.cc const int left = bounds().width() - width - right; width 523 cc/layers/heads_up_display_layer_impl.cc const SkRect area = SkRect::MakeXYWH(left, top, width, height); width 107 cc/layers/heads_up_display_layer_impl.h int width) const; width 76 cc/layers/image_layer.cc *content_bounds = gfx::Size(bitmap_.width(), bitmap_.height()); width 90 cc/layers/image_layer.cc if (bounds().IsEmpty() || bitmap_.width() == 0) width 92 cc/layers/image_layer.cc return static_cast<float>(bitmap_.width()) / bounds().width(); width 91 cc/layers/io_surface_layer_impl.cc io_surface_size_.width(), width 272 cc/layers/layer_impl.cc void LayerImpl::GetDebugBorderProperties(SkColor* color, float* width) const { width 275 cc/layers/layer_impl.cc *width = DebugColors::ContentLayerBorderWidth(layer_tree_impl()); width 281 cc/layers/layer_impl.cc *width = DebugColors::MaskingLayerBorderWidth(layer_tree_impl()); width 286 cc/layers/layer_impl.cc *width = DebugColors::ContainerLayerBorderWidth(layer_tree_impl()); width 294 cc/layers/layer_impl.cc float width; width 295 cc/layers/layer_impl.cc GetDebugBorderProperties(&color, &width); width 297 cc/layers/layer_impl.cc quad_sink, shared_quad_state, append_quads_data, color, width); width 304 cc/layers/layer_impl.cc float width) const { width 313 cc/layers/layer_impl.cc shared_quad_state, quad_rect, visible_quad_rect, color, width); width 621 cc/layers/layer_impl.cc list->AppendInteger(bounds().width()); width 1194 cc/layers/layer_impl.cc scaled_scroll_bounds.SetSize(scale_factor * scaled_scroll_bounds.width(), width 1198 cc/layers/layer_impl.cc scaled_scroll_bounds.width() - scroll_clip_layer_->bounds().width(), width 1273 cc/layers/layer_impl.cc float visible_ratio = clip_rect.width() / scroll_rect.width(); width 1275 cc/layers/layer_impl.cc scrollbar_layer->SetMaximum(scroll_rect.width() - clip_rect.width()); width 341 cc/layers/layer_impl.h return gfx::Vector2dF(temporary_impl_bounds_.width() - bounds_.width(), width 530 cc/layers/layer_impl.h virtual void GetDebugBorderProperties(SkColor* color, float* width) const; width 539 cc/layers/layer_impl.h float width) const; width 45 cc/layers/layer_position_constraint_unittest.cc gfx::Size(root_layer->bounds().width() * device_scale_factor, width 156 cc/layers/layer_position_constraint_unittest.cc gfx::Size new_container_size(container_size.width() + delta.x(), width 67 cc/layers/layer_utils.cc gfx::BoxF box(layer_in.bounds().width(), layer_in.bounds().height(), 0.f); width 78 cc/layers/layer_utils.cc int anchor_x = layer->anchor_point().x() * layer->bounds().width(); width 20 cc/layers/layer_utils_unittest.cc float diagonal(float width, float height) { width 21 cc/layers/layer_utils_unittest.cc return std::sqrt(width * width + height * height); width 227 cc/layers/layer_utils_unittest.cc float diag = diagonal(bounds.width(), bounds.height()); width 228 cc/layers/layer_utils_unittest.cc gfx::BoxF expected(150.f + 0.5f * (bounds.width() - diag), width 37 cc/layers/nine_patch_layer_impl.cc float width, width 43 cc/layers/nine_patch_layer_impl.cc width / total_width, width 73 cc/layers/nine_patch_layer_impl.cc DCHECK_GE(bounds().width(), border_.width()); width 77 cc/layers/nine_patch_layer_impl.cc DCHECK_LT(border_.x(), border_.width()); width 84 cc/layers/nine_patch_layer_impl.cc DCHECK(gfx::Rect(image_bounds_.width(), image_bounds_.height()) width 89 cc/layers/nine_patch_layer_impl.cc DCHECK_LT(image_aperture_.width(), image_bounds_.width() - 1); width 119 cc/layers/nine_patch_layer_impl.cc int layer_right_width = border_.width() - layer_left_width; width 122 cc/layers/nine_patch_layer_impl.cc int layer_middle_width = bounds().width() - border_.width(); width 127 cc/layers/nine_patch_layer_impl.cc gfx::Rect layer_top_right(bounds().width() - layer_right_width, width 149 cc/layers/nine_patch_layer_impl.cc layer_top.width(), width 157 cc/layers/nine_patch_layer_impl.cc float image_width = image_bounds_.width(); width 210 cc/layers/nine_patch_layer_impl.cc uv_top.width(), width 214 cc/layers/nine_patch_layer_impl.cc uv_top.width(), width 362 cc/layers/nine_patch_layer_impl.cc list->AppendInteger(image_aperture_.size().width()); width 367 cc/layers/nine_patch_layer_impl.cc list->AppendInteger(image_bounds_.width()); width 29 cc/layers/nine_patch_layer_impl_unittest.cc gfx::ToRoundedInt(rect_f.width()), width 43 cc/layers/nine_patch_layer_impl_unittest.cc layer_size.width() - border.width(), width 98 cc/layers/nine_patch_layer_impl_unittest.cc tex_rect.Scale(bitmap_size.width(), bitmap_size.height()); width 89 cc/layers/painted_scrollbar_layer.cc if (scaled_bounds.width() > MaxTextureSize() || width 91 cc/layers/painted_scrollbar_layer.cc if (scaled_bounds.width() > scaled_bounds.height()) width 92 cc/layers/painted_scrollbar_layer.cc return (MaxTextureSize() - 1) / static_cast<float>(bounds().width()); width 130 cc/layers/painted_scrollbar_layer.cc scrollbar_layer->SetTrackLength(track_rect_.width()); width 250 cc/layers/painted_scrollbar_layer.cc skbitmap.allocN32Pixels(content_rect.width(), content_rect.height()); width 254 cc/layers/painted_scrollbar_layer.cc content_rect.width() / static_cast<float>(layer_rect.width()); width 46 cc/layers/picture_image_layer.cc if (!canvas || !bitmap_.width() || !bitmap_.height()) width 50 cc/layers/picture_image_layer.cc SkFloatToScalar(static_cast<float>(bounds().width()) / bitmap_.width()); width 51 cc/layers/picture_image_layer_impl.cc SkColor* color, float* width) const { width 53 cc/layers/picture_image_layer_impl.cc *width = DebugColors::ImageLayerBorderWidth(layer_tree_impl()); width 40 cc/layers/picture_image_layer_impl.h SkColor* color, float* width) const OVERRIDE; width 159 cc/layers/picture_layer.cc int width = bounds().width(); width 164 cc/layers/picture_layer.cc SkCanvas* canvas = picture->beginRecording(width, height); width 165 cc/layers/picture_layer.cc client_->PaintContents(canvas, gfx::Rect(width, height), &opaque); width 178 cc/layers/picture_layer_impl.cc float width; width 184 cc/layers/picture_layer_impl.cc width = DebugColors::SolidColorTileBorderWidth(layer_tree_impl()); width 187 cc/layers/picture_layer_impl.cc width = DebugColors::PictureTileBorderWidth(layer_tree_impl()); width 190 cc/layers/picture_layer_impl.cc width = DebugColors::HighResTileBorderWidth(layer_tree_impl()); width 193 cc/layers/picture_layer_impl.cc width = DebugColors::LowResTileBorderWidth(layer_tree_impl()); width 196 cc/layers/picture_layer_impl.cc width = DebugColors::ExtraHighResTileBorderWidth(layer_tree_impl()); width 199 cc/layers/picture_layer_impl.cc width = DebugColors::ExtraLowResTileBorderWidth(layer_tree_impl()); width 203 cc/layers/picture_layer_impl.cc width = DebugColors::MissingTileBorderWidth(layer_tree_impl()); width 214 cc/layers/picture_layer_impl.cc width); width 563 cc/layers/picture_layer_impl.cc std::min(max_size, content_bounds.width()), width 579 cc/layers/picture_layer_impl.cc content_bounds.width() > max_untiled_content_size.width() || width 583 cc/layers/picture_layer_impl.cc content_bounds.width() <= default_tile_size.width() || width 591 cc/layers/picture_layer_impl.cc int width = width 592 cc/layers/picture_layer_impl.cc std::min(max_untiled_content_size.width(), content_bounds.width()); width 602 cc/layers/picture_layer_impl.cc width = RoundUp(width, round_up_to); width 604 cc/layers/picture_layer_impl.cc return gfx::Size(width, height); width 1087 cc/layers/picture_layer_impl.cc if (tile_size.width() >= content_bounds.width() && width 1163 cc/layers/picture_layer_impl.cc int min_dimension = std::min(bounds().width(), bounds().height()); width 1227 cc/layers/picture_layer_impl.cc float* width) const { width 1229 cc/layers/picture_layer_impl.cc *width = DebugColors::TiledContentLayerBorderWidth(layer_tree_impl()); width 158 cc/layers/picture_layer_impl.h SkColor* color, float* width) const OVERRIDE; width 200 cc/layers/picture_layer_impl_unittest.cc settings.default_tile_size.width() * 7 / 2, width 520 cc/layers/picture_layer_impl_unittest.cc if (iter.geometry_rect().right() >= active_content_bounds.width() || width 984 cc/layers/picture_layer_impl_unittest.cc SetupDefaultTrees(gfx::Size(tile_size.width() + 1, tile_size.height() + 1)); width 1165 cc/layers/picture_layer_impl_unittest.cc EXPECT_GE(140, tile->content_rect().width()); width 1222 cc/layers/picture_layer_impl_unittest.cc EXPECT_GE(140, tile->content_rect().width()); width 1505 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(default_tile_size.width() * 4, width 1640 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(default_tile_size.width() * 4, width 1742 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(default_tile_size.width() * 4, width 166 cc/layers/render_surface_impl.cc float width = for_replica ? width 174 cc/layers/render_surface_impl.cc shared_quad_state, content_rect_, visible_content_rect, color, width); width 208 cc/layers/render_surface_impl.cc content_rect_.width() / unclipped_mask_target_size.width(); width 213 cc/layers/render_surface_impl.cc uv_scale_x * content_rect_.x() / content_rect_.width(), width 207 cc/layers/scrollbar_layer_impl_base.cc ? bounds().width() - thumb_thickness width 432 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(33, horizontal_scrollbar_layer_->ComputeThumbQuadRect().width()); width 437 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(3, horizontal_scrollbar_layer_->ComputeThumbQuadRect().width()); width 447 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(10, horizontal_scrollbar_layer_->ComputeThumbQuadRect().width()); width 515 cc/layers/scrollbar_layer_unittest.cc EXPECT_GT(scrollbar_layer_->bounds().width(), kMaxTextureSize); width 517 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(scrollbar_layer_->content_bounds().width(), width 729 cc/layers/scrollbar_layer_unittest.cc gfx::Size(scaled_size.width(), scaled_size.height()); width 735 cc/layers/scrollbar_layer_unittest.cc scaled_size.width(), width 757 cc/layers/scrollbar_layer_unittest.cc EXPECT_LE(track_size.width(), scrollbar_layer->content_bounds().width()); width 759 cc/layers/scrollbar_layer_unittest.cc EXPECT_LE(thumb_size.width(), scrollbar_layer->content_bounds().width()); width 811 cc/layers/scrollbar_layer_unittest.cc gfx::Size(scaled_size.width(), scaled_size.height()); width 817 cc/layers/scrollbar_layer_unittest.cc scaled_size.width(), width 838 cc/layers/scrollbar_layer_unittest.cc int width = bitmap->GetSize().width(); width 845 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(color, pixels[width - 1]) width 848 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(color, pixels[width * (height - 1)]) width 851 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(color, pixels[width * height - 1]) width 33 cc/layers/solid_color_layer_impl.cc int width = content_bounds().width(); width 35 cc/layers/solid_color_layer_impl.cc for (int x = 0; x < width; x += tile_size_) { width 39 cc/layers/solid_color_layer_impl.cc std::min(width - x, tile_size_), width 68 cc/layers/solid_color_scrollbar_layer_impl.cc return bounds().width(); width 79 cc/layers/solid_color_scrollbar_layer_impl.cc return bounds().width(); width 20 cc/layers/solid_color_scrollbar_layer_impl_unittest.cc int thumb_thickness = layer_size.width(); width 58 cc/layers/surface_layer_impl.cc float* width) const { width 60 cc/layers/surface_layer_impl.cc *width = DebugColors::SurfaceLayerBorderWidth(layer_tree_impl()); width 35 cc/layers/surface_layer_impl.h float* width) const OVERRIDE; width 109 cc/layers/tiled_layer.cc int layer_width = content_bounds().width(); width 112 cc/layers/tiled_layer.cc gfx::Size tile_size(std::min(default_tile_size.width(), layer_width), width 120 cc/layers/tiled_layer.cc bool any_dimension_large = layer_width > max_untiled_layer_size.width() || width 123 cc/layers/tiled_layer.cc (layer_width <= default_tile_size.width() || width 125 cc/layers/tiled_layer.cc (layer_width * layer_height) <= (max_untiled_layer_size.width() * width 469 cc/layers/tiled_layer.cc paint_properties().bounds.width() / width 470 cc/layers/tiled_layer.cc static_cast<float>(content_bounds().width()); width 549 cc/layers/tiled_layer.cc CHECK_LE(paint_offset.x() + source_rect.width(), paint_rect.width()); width 569 cc/layers/tiled_layer.cc return content_rect.width() <= width 570 cc/layers/tiled_layer.cc viewport_size.width() + tiler_->tile_size().width() && width 671 cc/layers/tiled_layer.cc int width = rect.width() + std::abs(delta.x()); width 675 cc/layers/tiled_layer.cc return gfx::Rect(x, y, width, height); width 706 cc/layers/tiled_layer.cc bound.Inset(-tiler_->tile_size().width() * kMaxPredictiveTilesCount, width 895 cc/layers/tiled_layer.cc prepaint_rect.Inset(-tiler_->tile_size().width() * kPrepaintColumns, width 92 cc/layers/tiled_layer_impl.cc float* width) const { width 94 cc/layers/tiled_layer_impl.cc *width = DebugColors::TiledContentLayerBorderWidth(layer_tree_impl()); width 110 cc/layers/tiled_layer_impl.cc 4 * tiler_->tile_size().width() * tiler_->tile_size().height(); width 242 cc/layers/tiled_layer_impl.cc float tile_width = static_cast<float>(tiler_->tile_size().width()); width 58 cc/layers/tiled_layer_impl.h virtual void GetDebugBorderProperties(SkColor* color, float* width) const width 96 cc/layers/tiled_layer_impl_unittest.cc gfx::Size layer_size(tile_size.width() * num_tiles_x, width 155 cc/layers/tiled_layer_impl_unittest.cc gfx::Size layer_size(tile_size.width() * num_tiles_x, width 283 cc/layers/tiled_layer_impl_unittest.cc gfx::Size layer_size(tile_size.width() * num_tiles_x, width 298 cc/layers/tiled_layer_impl_unittest.cc static_cast<size_t>(3 * 4 * tile_size.width() * tile_size.height())); width 662 cc/layers/tiled_layer_unittest.cc int viewport_width = 4 * FakeTiledLayer::tile_size().width(); width 663 cc/layers/tiled_layer_unittest.cc int viewport_height = 4 * FakeTiledLayer::tile_size().width(); width 664 cc/layers/tiled_layer_unittest.cc int layer_width = 5 * FakeTiledLayer::tile_size().width(); width 147 cc/layers/video_layer_impl.cc static_cast<float>(visible_rect.width()) / coded_size.width(); width 151 cc/layers/video_layer_impl.cc static_cast<float>(visible_rect.x()) / coded_size.width(); width 17 cc/output/copy_output_result.cc : size_(bitmap->width(), bitmap->height()), width 44 cc/output/direct_renderer.cc static gfx::Transform window_matrix(int x, int y, int width, int height) { width 49 cc/output/direct_renderer.cc canvas.Scale3d(width, height, 0); width 79 cc/output/direct_renderer.cc quad_rect_transform->Translate(0.5 * quad_rect.width() + quad_rect.x(), width 81 cc/output/direct_renderer.cc quad_rect_transform->Scale(quad_rect.width(), quad_rect.height()); width 92 cc/output/direct_renderer.cc DCHECK_LE(viewport_rect.right(), surface_size.width()); width 111 cc/output/direct_renderer.cc window_rect.width(), width 179 cc/output/direct_renderer.cc bool size_appropriate = texture->size().width() >= required_size.width() && width 431 cc/output/gl_renderer.cc float tex_scale_x = tile_rect.width(); width 465 cc/output/gl_renderer.cc render_matrix.Translate(0.5f * layer_rect.width() + layer_rect.x(), width 467 cc/output/gl_renderer.cc render_matrix.Scale(layer_rect.width(), layer_rect.height()); width 484 cc/output/gl_renderer.cc GLC(gl_, gl_->LineWidth(quad->width)); width 512 cc/output/gl_renderer.cc backend_texture_description.fWidth = source_texture_resource->size().width(); width 523 cc/output/gl_renderer.cc source_texture_resource->size().width(), width 539 cc/output/gl_renderer.cc desc.fWidth = source.width(); width 590 cc/output/gl_renderer.cc DCHECK_LE(background_size.width(), source_size.width()); width 596 cc/output/gl_renderer.cc DCHECK_EQ(source_size.width(), source_bitmap_with_filters.width()); width 620 cc/output/gl_renderer.cc backend_texture_description.fWidth = source_size.width(); width 627 cc/output/gl_renderer.cc backend_texture_description.fWidth = background_size.width(); width 635 cc/output/gl_renderer.cc source_size.width(), width 648 cc/output/gl_renderer.cc background_size.width(), width 665 cc/output/gl_renderer.cc desc.fWidth = source.width(); width 803 cc/output/gl_renderer.cc quad->rect.width() * 0.5f + quad->rect.x(), width 805 cc/output/gl_renderer.cc device_to_framebuffer_transform.Scale(quad->rect.width(), width 1134 cc/output/gl_renderer.cc quad->rect.width() / static_cast<float>(contents_texture->size().width()); width 1157 cc/output/gl_renderer.cc float mask_tex_scale_x = quad->mask_uv_rect.width() / tex_scale_x; width 1190 cc/output/gl_renderer.cc static_cast<float>(viewport_.width()), width 1376 cc/output/gl_renderer.cc static_cast<float>(viewport_.width()), width 1387 cc/output/gl_renderer.cc local_quad.Scale(1.0f / tile_rect.width(), 1.0f / tile_rect.height()); width 1396 cc/output/gl_renderer.cc gfx::PointF(-0.5f * tile_rect.width(), -0.5f * tile_rect.height()), width 1442 cc/output/gl_renderer.cc float tex_to_geom_scale_x = quad->rect.width() / quad->tex_coord_rect.width(); width 1455 cc/output/gl_renderer.cc std::min(0.5f, 0.5f * clamp_tex_rect.width() - kAntiAliasingEpsilon); width 1460 cc/output/gl_renderer.cc 0.5f * clamp_geom_rect.width() - kAntiAliasingEpsilon); width 1468 cc/output/gl_renderer.cc float vertex_tex_translate_x = -clamp_geom_rect.x() / clamp_geom_rect.width(); width 1471 cc/output/gl_renderer.cc float vertex_tex_scale_x = tile_rect.width() / clamp_geom_rect.width(); width 1501 cc/output/gl_renderer.cc float fragment_tex_scale_x = clamp_tex_rect.width(); width 1508 cc/output/gl_renderer.cc fragment_tex_translate_x /= texture_size.width(); width 1510 cc/output/gl_renderer.cc fragment_tex_scale_x /= texture_size.width(); width 1550 cc/output/gl_renderer.cc static_cast<float>(viewport_.width()), width 1592 cc/output/gl_renderer.cc local_quad.Scale(1.0f / tile_rect.width(), 1.0f / tile_rect.height()); width 1602 cc/output/gl_renderer.cc gfx::PointF(-0.5f * tile_rect.width(), -0.5f * tile_rect.height()), width 1677 cc/output/gl_renderer.cc quad->tex_coord_rect.width(), width 1749 cc/output/gl_renderer.cc if (on_demand_tile_raster_bitmap_.width() != quad->texture_size.width() || width 1751 cc/output/gl_renderer.cc on_demand_tile_raster_bitmap_.allocN32Pixels(quad->texture_size.width(), width 1978 cc/output/gl_renderer.cc quad->io_surface_size.width(), width 1985 cc/output/gl_renderer.cc quad->io_surface_size.width(), width 2175 cc/output/gl_renderer.cc swap_buffer_rect_.width(), width 2315 cc/output/gl_renderer.cc bitmap->allocN32Pixels(window_rect.width(), window_rect.height()); width 2343 cc/output/gl_renderer.cc DCHECK_LE(window_rect.right(), current_surface_size_.width()); width 2406 cc/output/gl_renderer.cc window_rect.width(), width 2475 cc/output/gl_renderer.cc size_t row_bytes = size.width() * 4; width 2526 cc/output/gl_renderer.cc DCHECK_LE(window_rect.right(), current_surface_size_.width()); width 2536 cc/output/gl_renderer.cc window_rect.width(), width 2603 cc/output/gl_renderer.cc scissor_rect.width(), width 2614 cc/output/gl_renderer.cc window_space_viewport.width(), width 1249 cc/output/gl_renderer_unittest.cc virtual void viewport(GLint x, GLint y, GLsizei width, GLsizei height) width 1253 cc/output/gl_renderer_unittest.cc EXPECT_EQ(100, width); width 1258 cc/output/gl_renderer_unittest.cc virtual void scissor(GLint x, GLint y, GLsizei width, GLsizei height) width 1262 cc/output/gl_renderer_unittest.cc EXPECT_EQ(20, width); width 1643 cc/output/gl_renderer_unittest.cc void(int width, int height, float scale_factor)); width 369 cc/output/output_surface.cc size.width(), size.height(), scale_factor); width 220 cc/output/render_surface_filters.cc (size.width() - (size.width() / op.amount())) / 2.f, width 222 cc/output/render_surface_filters.cc size.width() / op.amount(), width 644 cc/output/renderer_pixeltest.cc this->device_viewport_size_.width(), width 650 cc/output/renderer_pixeltest.cc this->device_viewport_size_.width(), width 741 cc/output/renderer_pixeltest.cc this->device_viewport_size_.width(), width 747 cc/output/renderer_pixeltest.cc this->device_viewport_size_.width(), width 816 cc/output/renderer_pixeltest.cc this->device_viewport_size_.width(), width 822 cc/output/renderer_pixeltest.cc this->device_viewport_size_.width(), width 892 cc/output/renderer_pixeltest.cc this->device_viewport_size_.width(), width 898 cc/output/renderer_pixeltest.cc this->device_viewport_size_.width(), width 991 cc/output/renderer_pixeltest.cc this->device_viewport_size_.width(), width 997 cc/output/renderer_pixeltest.cc this->device_viewport_size_.width(), width 1045 cc/output/renderer_pixeltest.cc this->device_viewport_size_.width(), width 1051 cc/output/renderer_pixeltest.cc this->device_viewport_size_.width(), width 1125 cc/output/renderer_pixeltest.cc SkImageInfo::MakeN32Premul(mask_rect.width(), mask_rect.height())); width 1136 cc/output/renderer_pixeltest.cc SkRect::MakeXYWH(rect.x(), rect.y(), rect.width(), rect.height()), width 1257 cc/output/renderer_pixeltest.cc const int kColumnWidth = device_viewport_rect.width() / 3; width 1366 cc/output/renderer_pixeltest.cc device_viewport_size_.width() / 2, width 1369 cc/output/renderer_pixeltest.cc gl->Scissor(device_viewport_size_.width() / 2, width 1371 cc/output/renderer_pixeltest.cc device_viewport_size_.width(), width 1451 cc/output/renderer_pixeltest.cc this->device_viewport_size_.width(), width 1558 cc/output/renderer_pixeltest.cc 0.5f + 1.0f / (rect.width() * 2.0f), width 1611 cc/output/renderer_pixeltest.cc 0.5f + 1.0f / (rect.width() * 2.0f), width 1977 cc/output/renderer_pixeltest.cc gfx::Point(viewport.width() / 2, viewport.height() / 2), width 1978 cc/output/renderer_pixeltest.cc gfx::Size(viewport.width() / 2, viewport.height() / 2)); width 2051 cc/output/renderer_pixeltest.cc gfx::Rect half_green_rect(gfx::Size(viewport.width() / 2, viewport.height())); width 2119 cc/output/renderer_pixeltest.cc this->device_viewport_size_.width() / texture_rect.width(), width 152 cc/output/shader.cc max_size.width(), max_size.height()); width 17 cc/output/software_frame_data.cc size_t width = size.width(); width 19 cc/output/software_frame_data.cc return bytes_per_pixel * width * height; width 24 cc/output/software_frame_data.cc base::CheckedNumeric<size_t>(size.width()) * width 24 cc/output/software_output_device.cc viewport_size.width(), viewport_size.height(), kOpaque_SkAlphaType); width 45 cc/output/software_output_device.cc SkImageInfo info = SkImageInfo::MakeN32Premul(rect.width(), rect.height()); width 188 cc/output/software_renderer.cc SetClipRect(gfx::Rect(size.width(), size.height())); width 367 cc/output/software_renderer.cc current_paint_.setStrokeWidth(quad->width); width 429 cc/output/software_renderer.cc bitmap->width(), width 517 cc/output/software_renderer.cc SkRect content_rect = SkRect::MakeWH(quad->rect.width(), quad->rect.height()); width 536 cc/output/software_renderer.cc content_texture->size().width(), content_texture->size().height()); width 571 cc/output/software_renderer.cc quad->mask_uv_rect.x() * mask->width(), width 573 cc/output/software_renderer.cc quad->mask_uv_rect.width() * mask->width(), width 620 cc/output/software_renderer.cc window_copy_rect.width(), width 106 cc/output/software_renderer_unittest.cc SkBitmap::kARGB_8888_Config, outer_rect.width(), outer_rect.height()); width 112 cc/output/software_renderer_unittest.cc output.getColor(outer_size.width() - 1, outer_size.height() - 1)); width 116 cc/output/software_renderer_unittest.cc output.getColor(inner_size.width() - 1, inner_size.height() - 1)); width 139 cc/output/software_renderer_unittest.cc SkBitmap::kARGB_8888_Config, outer_size.width(), outer_size.height()); width 145 cc/output/software_renderer_unittest.cc SkBitmap::kARGB_8888_Config, inner_size.width(), inner_size.height()); width 210 cc/output/software_renderer_unittest.cc SkBitmap::kARGB_8888_Config, outer_size.width(), outer_size.height()); width 216 cc/output/software_renderer_unittest.cc output.getColor(outer_size.width() - 1, outer_size.height() - 1)); width 219 cc/output/software_renderer_unittest.cc output.getColor(inner_size.width() - 1, inner_size.height() - 1)); width 237 cc/output/software_renderer_unittest.cc SkBitmap::kARGB_8888_Config, tile_size.width(), tile_size.height()); width 242 cc/output/software_renderer_unittest.cc 0, visible_rect.bottom() - 1, tile_rect.width(), tile_rect.bottom()), width 291 cc/output/software_renderer_unittest.cc SkBitmap::kARGB_8888_Config, tile_size.width(), tile_size.height()); width 299 cc/output/software_renderer_unittest.cc output.getColor(tile_rect.width() - 1, tile_rect.height() - 1)); width 326 cc/output/software_renderer_unittest.cc viewport_rect.width(), width 347 cc/output/software_renderer_unittest.cc output.getColor(viewport_rect.width() - 1, viewport_rect.height() - 1)); width 372 cc/output/software_renderer_unittest.cc output.getColor(viewport_rect.width() - 1, viewport_rect.height() - 1)); width 389 cc/output/software_renderer_unittest.cc viewport_rect.width(), width 423 cc/output/software_renderer_unittest.cc output.getColor(viewport_rect.width() - 1, viewport_rect.height() - 1)); width 25 cc/quads/debug_border_draw_quad.cc int width) { width 31 cc/quads/debug_border_draw_quad.cc this->width = width; width 40 cc/quads/debug_border_draw_quad.cc int width) { width 44 cc/quads/debug_border_draw_quad.cc this->width = width; width 58 cc/quads/debug_border_draw_quad.cc value->SetInteger("width", width); width 23 cc/quads/debug_border_draw_quad.h int width); width 31 cc/quads/debug_border_draw_quad.h int width); width 34 cc/quads/debug_border_draw_quad.h int width; width 114 cc/quads/draw_quad.h return rect.right() == shared_quad_state->content_bounds.width(); width 349 cc/quads/draw_quad_unittest.cc int width = 99; width 352 cc/quads/draw_quad_unittest.cc CREATE_QUAD_3_NEW(DebugBorderDrawQuad, visible_rect, color, width); width 356 cc/quads/draw_quad_unittest.cc EXPECT_EQ(width, copy_quad->width); width 358 cc/quads/draw_quad_unittest.cc CREATE_QUAD_2_ALL(DebugBorderDrawQuad, color, width); width 361 cc/quads/draw_quad_unittest.cc EXPECT_EQ(width, copy_quad->width); width 707 cc/quads/draw_quad_unittest.cc int width = 99; width 710 cc/quads/draw_quad_unittest.cc CREATE_QUAD_3_NEW(DebugBorderDrawQuad, visible_rect, color, width); width 68 cc/resources/bitmap_content_layer_updater.cc canvas_size_.width(), canvas_size_.height(), layer_is_opaque_); width 71 cc/resources/bitmap_content_layer_updater.cc CHECK_EQ(content_rect.width(), size.width()); width 86 cc/resources/bitmap_content_layer_updater.cc content_rect.width() * content_rect.height()); width 29 cc/resources/bitmap_skpicture_content_layer_updater.cc source_rect.width(), source_rect.height(), kPMColor_SkColorType, at)); width 84 cc/resources/bitmap_skpicture_content_layer_updater.cc source_rect.width() * source_rect.height()); width 51 cc/resources/content_layer_updater.cc CHECK_EQ(content_rect.width(), size.width()); width 64 cc/resources/content_layer_updater.cc layer_rect.x(), layer_rect.y(), layer_rect.width(), layer_rect.height()); width 44 cc/resources/image_layer_updater.cc gfx::Rect image_rect = gfx::Rect(0, 0, bitmap_.width(), bitmap_.height()); width 51 cc/resources/picture.cc bm.width(), width 124 cc/resources/picture.cc gfx::Rect layer_rect(skpicture->width(), skpicture->height()); width 125 cc/resources/picture.cc gfx::Rect opaque_rect(skpicture->width(), skpicture->height()); width 240 cc/resources/picture.cc layer_rect_.width(), layer_rect_.height(), tile_grid_info)); width 246 cc/resources/picture.cc layer_rect_.width(), width 269 cc/resources/picture.cc layer_rect_.width(), width 290 cc/resources/picture.cc "width", layer_rect_.width(), width 298 cc/resources/picture.cc tile_grid_info.fTileInterval.width() + width 299 cc/resources/picture.cc 2 * tile_grid_info.fMargin.width(), width 302 cc/resources/picture.cc DCHECK_GT(cell_size_.width(), 0); width 317 cc/resources/picture.cc cell_size_.width()), width 322 cc/resources/picture.cc cell_size_.width()), width 327 cc/resources/picture.cc for (int x = min.x(); x <= max.x(); x += cell_size_.width()) { width 370 cc/resources/picture.cc "num_pixels_rasterized", bounds.width() * bounds.height()); width 371 cc/resources/picture.cc return bounds.width() * bounds.height(); width 383 cc/resources/picture.cc "num_pixels_replayed", bounds.width() * bounds.height()); width 459 cc/resources/picture.cc RoundDown(query_rect.x(), cell_size.width()), width 462 cc/resources/picture.cc RoundDown(query_rect.right() - 1, cell_size.width()), width 475 cc/resources/picture.cc current_x_ = min_point_.x() - cell_size.width(); width 495 cc/resources/picture.cc current_x_ += cell_size.width(); width 436 cc/resources/picture_layer_tiling.cc max_tiles_for_interest_area * tile_size.width() * tile_size.height(); width 622 cc/resources/picture_layer_tiling.cc int width, int height, width 627 cc/resources/picture_layer_tiling.cc int b = num_y_edges * width + num_x_edges * height; width 628 cc/resources/picture_layer_tiling.cc int64 c = static_cast<int64>(width) * height - target_area; width 663 cc/resources/picture_layer_tiling.cc 2, 2, starting_rect.width(), starting_rect.height(), target_area); width 688 cc/resources/picture_layer_tiling.cc int width = rect.width(); width 714 cc/resources/picture_layer_tiling.cc num_x_edges, num_y_edges, width, height, target_area); width 735 cc/resources/picture_layer_tiling.cc width += delta; width 738 cc/resources/picture_layer_tiling.cc width += delta; width 749 cc/resources/picture_layer_tiling.cc gfx::Rect result(origin_x, origin_y, width, height); width 102 cc/resources/picture_layer_tiling_perftest.cc viewport_rect.width(), width 114 cc/resources/picture_layer_tiling_unittest.cc EXPECT_LE(texture_rect.right(), client_.TileSize().width()); width 296 cc/resources/picture_layer_tiling_unittest.cc EXPECT_EQ(100, down_skewport.width()); width 306 cc/resources/picture_layer_tiling_unittest.cc EXPECT_EQ(120, down_right_skewport.width()); width 316 cc/resources/picture_layer_tiling_unittest.cc EXPECT_EQ(175, left_skewport.width()); width 328 cc/resources/picture_layer_tiling_unittest.cc EXPECT_EQ(350, expand_skewport.width()); width 338 cc/resources/picture_layer_tiling_unittest.cc EXPECT_EQ(1650, big_expand_skewport.width()); width 361 cc/resources/picture_layer_tiling_unittest.cc EXPECT_EQ(100, down_skewport.width()); width 370 cc/resources/picture_layer_tiling_unittest.cc EXPECT_EQ(50, shrink_skewport.width()); width 379 cc/resources/picture_layer_tiling_unittest.cc EXPECT_EQ(120, down_right_skewport.width()); width 388 cc/resources/picture_layer_tiling_unittest.cc EXPECT_EQ(140, left_skewport.width()); width 397 cc/resources/picture_layer_tiling_unittest.cc EXPECT_EQ(160, expanded_skewport.width()); width 483 cc/resources/picture_layer_tiling_unittest.cc EXPECT_EQ(25, skewport.width()); width 564 cc/resources/picture_layer_tiling_unittest.cc EXPECT_EQ(out.width() - in.width(), out.height() - in.height()); width 565 cc/resources/picture_layer_tiling_unittest.cc EXPECT_NEAR(100 * 100, out.width() * out.height(), 50); width 577 cc/resources/picture_layer_tiling_unittest.cc EXPECT_EQ(out.width() - in.width(), out.height() - in.height()); width 578 cc/resources/picture_layer_tiling_unittest.cc EXPECT_NEAR(200 * 200, out.width() * out.height(), 100); width 644 cc/resources/picture_layer_tiling_unittest.cc EXPECT_LE(out.width() * out.height(), target_area); width 645 cc/resources/picture_layer_tiling_unittest.cc EXPECT_GT(out.width() * out.height(), width 646 cc/resources/picture_layer_tiling_unittest.cc target_area - out.width() - out.height() * 2); width 658 cc/resources/picture_layer_tiling_unittest.cc EXPECT_LE(out.width() * out.height(), target_area); width 659 cc/resources/picture_layer_tiling_unittest.cc EXPECT_GT(out.width() * out.height(), width 660 cc/resources/picture_layer_tiling_unittest.cc target_area - out.width() - out.height() * 2); width 672 cc/resources/picture_layer_tiling_unittest.cc EXPECT_LE(out.width() * out.height(), target_area); width 673 cc/resources/picture_layer_tiling_unittest.cc EXPECT_GT(out.width() * out.height(), width 674 cc/resources/picture_layer_tiling_unittest.cc target_area - out.width() * 2 - out.height()); width 686 cc/resources/picture_layer_tiling_unittest.cc EXPECT_LE(out.width() * out.height(), target_area); width 687 cc/resources/picture_layer_tiling_unittest.cc EXPECT_GT(out.width() * out.height(), width 688 cc/resources/picture_layer_tiling_unittest.cc target_area - out.width() * 2 - out.height()); width 701 cc/resources/picture_layer_tiling_unittest.cc EXPECT_LE(out.width() * out.height(), target_area); width 702 cc/resources/picture_layer_tiling_unittest.cc EXPECT_GT(out.width() * out.height(), width 703 cc/resources/picture_layer_tiling_unittest.cc target_area - out.width() * 2); width 716 cc/resources/picture_layer_tiling_unittest.cc EXPECT_LE(out.width() * out.height(), target_area); width 717 cc/resources/picture_layer_tiling_unittest.cc EXPECT_GT(out.width() * out.height(), width 748 cc/resources/picture_layer_tiling_unittest.cc EXPECT_LE(out.width() * out.height(), target_area); width 749 cc/resources/picture_layer_tiling_unittest.cc EXPECT_GT(out.width() * out.height(), width 750 cc/resources/picture_layer_tiling_unittest.cc target_area - out.width() - out.height()); width 56 cc/resources/picture_pile.cc int tile_area = invalid_tile.width() * invalid_tile.height(); width 60 cc/resources/picture_pile.cc int proposed_area = proposed_union.width() * proposed_union.height(); width 253 cc/resources/picture_pile.cc picture->LayerRect().width() * picture->LayerRect().height(); width 107 cc/resources/picture_pile_base.cc std::min(old_size.width(), new_size.width())); width 154 cc/resources/picture_pile_base.cc info->fTileInterval.set(tile_grid_size.width() - 2 * kTileGridBorderPixels, width 156 cc/resources/picture_pile_base.cc DCHECK_GT(info->fTileInterval.width(), 0); width 341 cc/resources/picture_pile_impl.cc layer_rect.width(), width 371 cc/resources/picture_pile_impl.cc skia::AnalysisCanvas canvas(layer_rect.width(), layer_rect.height()); width 668 cc/resources/picture_pile_impl_unittest.cc int step_x = std::ceil(content_bounds.width() / raster_divisions); width 670 cc/resources/picture_pile_impl_unittest.cc for (int offset_x = 0; offset_x < content_bounds.width(); width 684 cc/resources/picture_pile_impl_unittest.cc bitmap.allocN32Pixels(canvas_rect.width(), canvas_rect.height()); width 696 cc/resources/picture_pile_impl_unittest.cc int num_pixels = bitmap.width() * bitmap.height(); width 737 cc/resources/picture_pile_impl_unittest.cc bitmap.allocN32Pixels(canvas_rect.width(), canvas_rect.height()); width 745 cc/resources/picture_pile_impl_unittest.cc int num_pixels = bitmap.width() * bitmap.height(); width 784 cc/resources/picture_pile_impl_unittest.cc content_bounds.width(), width 796 cc/resources/picture_pile_impl_unittest.cc for (int x = 0; x < bitmap.width(); x++) { width 177 cc/resources/picture_pile_unittest.cc gfx::Rect viewport(0, 0, layer_size.width(), 1); width 287 cc/resources/picture_pile_unittest.cc gfx::Rect viewport(0, 0, layer_size.width(), 1); width 440 cc/resources/picture_unittest.cc EXPECT_EQ(100, one_rect_picture_check->LayerRect().width()); width 442 cc/resources/picture_unittest.cc EXPECT_EQ(100, one_rect_picture_check->OpaqueRect().width()); width 29 cc/resources/raster_worker_pool_perftest.cc virtual GLuint CreateImageCHROMIUM(GLsizei width, width 30 cc/resources/resource.h DCHECK_EQ(0u, (BitsPerPixel(format) * size.width() * size.height()) % 8); width 31 cc/resources/resource.h return (BitsPerPixel(format) * size.width() * size.height()) / 8; width 438 cc/resources/resource_provider.cc desc.fWidth = resource()->size.width(); width 454 cc/resources/resource_provider.cc resource()->size.width(), resource()->size.height()); width 487 cc/resources/resource_provider.cc raster_bitmap_.allocN32Pixels(resource()->size.width(), width 492 cc/resources/resource_provider.cc SkImageInfo info = SkImageInfo::MakeN32Premul(resource()->size.width(), width 677 cc/resources/resource_provider.cc DCHECK_LE(size.width(), max_texture_size_); width 940 cc/resources/resource_provider.cc SkImageInfo::MakeN32Premul(source_rect.width(), source_rect.height()); width 941 cc/resources/resource_provider.cc size_t image_row_bytes = image_rect.width() * 4; width 1191 cc/resources/resource_provider.cc SkImageInfo info = SkImageInfo::MakeN32Premul(resource->size.width(), width 1808 cc/resources/resource_provider.cc RoundUp(bytes_per_pixel * resource->size.width(), 4u), width 1967 cc/resources/resource_provider.cc resource->size.width(), width 1978 cc/resources/resource_provider.cc resource->size.width(), width 2115 cc/resources/resource_provider.cc GL_TEXTURE_2D, 1, storage_format, size.width(), size.height())); width 2123 cc/resources/resource_provider.cc size.width(), width 2166 cc/resources/resource_provider.cc gl->CreateImageCHROMIUM(resource->size.width(), width 183 cc/resources/resource_provider_unittest.cc GLint width, width 198 cc/resources/resource_provider_unittest.cc AllocateTexture(gfx::Size(width, height), format); width 204 cc/resources/resource_provider_unittest.cc GLsizei width, width 216 cc/resources/resource_provider_unittest.cc AllocateTexture(gfx::Size(width, height), format); width 218 cc/resources/resource_provider_unittest.cc SetPixels(0, 0, width, height, pixels); width 225 cc/resources/resource_provider_unittest.cc GLsizei width, width 239 cc/resources/resource_provider_unittest.cc SetPixels(xoffset, yoffset, width, height, pixels); width 303 cc/resources/resource_provider_unittest.cc int width, width 310 cc/resources/resource_provider_unittest.cc ASSERT_TRUE(xoffset >= 0 && xoffset + width <= texture->size.width()); width 313 cc/resources/resource_provider_unittest.cc size_t in_pitch = TextureSizeBytes(gfx::Size(width, 1), texture->format); width 315 cc/resources/resource_provider_unittest.cc TextureSizeBytes(gfx::Size(texture->size.width(), 1), texture->format); width 901 cc/resources/resource_provider_unittest.cc SkImageInfo info = SkImageInfo::MakeN32Premul(size.width(), size.height()); width 1032 cc/resources/resource_provider_unittest.cc EXPECT_EQ(sk_bitmap->width(), size.width()); width 1040 cc/resources/resource_provider_unittest.cc EXPECT_EQ(sk_bitmap->width(), size.width()); width 1048 cc/resources/resource_provider_unittest.cc EXPECT_EQ(sk_bitmap->width(), size.width()); width 2417 cc/resources/resource_provider_unittest.cc EXPECT_EQ(sk_bitmap->width(), size.width()); width 2560 cc/resources/resource_provider_unittest.cc GLint width, width 2566 cc/resources/resource_provider_unittest.cc GLsizei width, width 2577 cc/resources/resource_provider_unittest.cc GLsizei width, width 2586 cc/resources/resource_provider_unittest.cc GLsizei width, width 2597 cc/resources/resource_provider_unittest.cc GLsizei width, width 2606 cc/resources/resource_provider_unittest.cc GLsizei width, width 2837 cc/resources/resource_provider_unittest.cc bitmap.allocN32Pixels(size.width(), size.height()); width 2851 cc/resources/resource_provider_unittest.cc EXPECT_EQ(sk_bitmap->width(), size.width()); width 3056 cc/resources/resource_provider_unittest.cc bitmap.allocN32Pixels(size.width(), size.height()); width 3066 cc/resources/resource_provider_unittest.cc EXPECT_EQ(sk_bitmap->width(), size.width()); width 3182 cc/resources/resource_provider_unittest.cc _, 0, _, size.width(), size.height(), _, _, _)).Times(1); width 41 cc/resources/resource_update_controller_unittest.cc GLsizei width, width 217 cc/resources/resource_update_controller_unittest.cc GLsizei width, width 23 cc/resources/shared_bitmap.cc if (size.width() <= 0 || size.height() <= 0) width 25 cc/resources/shared_bitmap.cc base::CheckedNumeric<int> s = size.width(); width 31 cc/resources/skpicture_content_layer_updater.cc picture_.beginRecording(content_rect.width(), content_rect.height()); width 33 cc/resources/skpicture_content_layer_updater.cc CHECK_EQ(content_rect.width(), size.width()); width 45 cc/resources/skpicture_content_layer_updater.cc duration, content_rect.width() * content_rect.height()); width 54 cc/resources/texture_mailbox.cc size_t width = shared_memory_size_.width(); width 56 cc/resources/texture_mailbox.cc return bytes_per_pixel * width * height; width 62 cc/resources/texture_mailbox.cc base::CheckedNumeric<size_t>(shared_memory_size_.width()) * width 196 cc/resources/texture_uploader.cc RoundUp(bytes_per_pixel * source_rect.width(), 4u); width 198 cc/resources/texture_uploader.cc if (upload_image_stride == image_rect.width() * bytes_per_pixel && width 200 cc/resources/texture_uploader.cc pixel_source = &image[image_rect.width() * bytes_per_pixel * offset.y()]; width 212 cc/resources/texture_uploader.cc (offset.x() + (offset.y() + row) * image_rect.width())], width 213 cc/resources/texture_uploader.cc source_rect.width() * bytes_per_pixel); width 222 cc/resources/texture_uploader.cc source_rect.width(), width 251 cc/resources/texture_uploader.cc RoundUp(bytes_per_pixel * source_rect.width(), 4u); width 259 cc/resources/texture_uploader.cc source_rect.width(), width 270 cc/resources/texture_uploader.cc if (upload_image_stride == image_rect.width() * bytes_per_pixel && width 273 cc/resources/texture_uploader.cc &image[image_rect.width() * bytes_per_pixel * offset.y()], width 274 cc/resources/texture_uploader.cc source_rect.height() * image_rect.width() * bytes_per_pixel); width 281 cc/resources/texture_uploader.cc (offset.x() + (offset.y() + row) * image_rect.width())], width 282 cc/resources/texture_uploader.cc source_rect.width() * bytes_per_pixel); width 292 cc/resources/texture_uploader.cc DCHECK_EQ(0, size.width() % 4); width 298 cc/resources/texture_uploader.cc size.width(), width 61 cc/resources/texture_uploader_unittest.cc GLsizei width, width 68 cc/resources/texture_uploader_unittest.cc EXPECT_LE(0, width); width 72 cc/resources/texture_uploader_unittest.cc EXPECT_LE(0, width); width 126 cc/resources/texture_uploader_unittest.cc RoundUp(bytes_per_pixel * width, unpack_alignment_); width 131 cc/resources/texture_uploader_unittest.cc EXPECT_EQ(0x2, row_bytes[width * bytes_per_pixel - 1]); width 1179 cc/resources/tile_manager.cc std::min(pile_size.width(), pile_size.height()) >= width 64 cc/resources/tile_manager_perftest.cc static_cast<size_t>(tile_size.width() * tile_size.height()); width 59 cc/resources/tile_manager_unittest.cc max_tiles_ * 4 * tile_size.width() * tile_size.height(); width 18 cc/resources/ui_resource_bitmap.cc DCHECK(size.width()); width 33 cc/resources/ui_resource_bitmap.cc DCHECK_EQ(skbitmap.width(), skbitmap.rowBytesAsPixels()); width 47 cc/resources/ui_resource_bitmap.cc SkImageInfo::MakeN32(size.width(), size.height(), alphaType); width 143 cc/resources/video_resource_updater.cc output_plane_resource_size.width() > max_resource_size || width 46 cc/resources/video_resource_updater_unittest.cc size.width(), // y_stride width 47 cc/resources/video_resource_updater_unittest.cc size.width() / 2, // u_stride width 48 cc/resources/video_resource_updater_unittest.cc size.width() / 2, // v_stride width 20 cc/test/geometry_test_utils.h EXPECT_FLOAT_EQ((expected).width(), (actual).width()); \ width 28 cc/test/geometry_test_utils.h EXPECT_NEAR((expected).width(), (actual).width(), (abs_error)); \ width 36 cc/test/geometry_test_utils.h EXPECT_EQ((expected).width(), (actual).width()); \ width 42 cc/test/geometry_test_utils.h EXPECT_EQ((expected).width(), (actual).width()); \ width 29 cc/test/layer_tree_json_parser.cc int width, height; width 30 cc/test/layer_tree_json_parser.cc success &= list->GetInteger(0, &width); width 91 cc/test/layer_tree_json_parser.cc new_layer->SetBounds(gfx::Size(width, height)); width 154 cc/test/layer_tree_pixel_test.cc gfx::Rect(0, 0, rect.width(), border_width), border_color); width 162 cc/test/layer_tree_pixel_test.cc CreateSolidColorLayer(gfx::Rect(rect.width() - border_width, width 168 cc/test/layer_tree_pixel_test.cc gfx::Rect(0, rect.height() - border_width, rect.width(), border_width), width 261 cc/test/layer_tree_pixel_test.cc size.width(), width 271 cc/test/layer_tree_pixel_test.cc bitmap->allocN32Pixels(size.width(), size.height()); width 275 cc/test/layer_tree_pixel_test.cc size_t row_bytes = size.width() * 4; width 309 cc/test/layer_tree_pixel_test.cc DCHECK_GT(bitmap.width(), 0); width 328 cc/test/layer_tree_pixel_test.cc size_t row_bytes = bitmap.width() * 4; width 349 cc/test/layer_tree_pixel_test.cc bitmap.width(), width 23 cc/test/pixel_comparator.cc DCHECK(actual_bmp.width() == expected_bmp.width() && width 29 cc/test/pixel_comparator.cc for (int x = 0; x < actual_bmp.width(); ++x) { width 96 cc/test/pixel_comparator.cc DCHECK(actual_bmp.width() == expected_bmp.width() && width 100 cc/test/pixel_comparator.cc DCHECK(actual_bmp.width() > 0 && actual_bmp.height() > 0); width 105 cc/test/pixel_comparator.cc for (int x = 0; x < actual_bmp.width(); ++x) { width 150 cc/test/pixel_comparator.cc int pixels_count = actual_bmp.width() * actual_bmp.height(); width 196 cc/test/pixel_comparator.cc for (int x = 0; x < actual_bmp.width(); ++x) { width 22 cc/test/pixel_test_output_surface.cc gfx::Size expanded_size(size.width() + surface_expansion_size_.width(), width 10 cc/test/pixel_test_software_output_device.cc gfx::Size expanded_size(size.width() + surface_expansion_size_.width(), width 49 cc/test/pixel_test_utils.cc if (gen_bmp.width() != ref_bmp.width() || width 53 cc/test/pixel_test_utils.cc << "Actual: " << gen_bmp.width() << "x" << gen_bmp.height() width 55 cc/test/pixel_test_utils.cc << "Expected: " << ref_bmp.width() << "x" << ref_bmp.height(); width 60 cc/test/pixel_test_utils.cc if (gen_bmp.width() == 0 || gen_bmp.height() == 0) width 19 cc/test/skia_common.cc SkImageInfo::MakeN32Premul(layer_rect.width(), layer_rect.height()); width 28 cc/test/skia_common.cc SkImageInfo info = SkImageInfo::MakeN32Premul(size.width(), size.height()); width 24 cc/test/solid_color_content_layer_client.cc SkRect::MakeXYWH(rect.x(), rect.y(), rect.width(), rect.height()), width 106 cc/test/test_gles2_interface.cc GLsizei width, width 108 cc/test/test_gles2_interface.cc test_context_->viewport(x, y, width, height); width 125 cc/test/test_gles2_interface.cc GLsizei width, width 127 cc/test/test_gles2_interface.cc test_context_->scissor(x, y, width, height); width 174 cc/test/test_gles2_interface.cc GLsizei width, width 183 cc/test/test_gles2_interface.cc width, width 195 cc/test/test_gles2_interface.cc GLsizei width, width 201 cc/test/test_gles2_interface.cc target, level, xoffset, yoffset, width, height, format, type, pixels); width 207 cc/test/test_gles2_interface.cc GLsizei width, width 209 cc/test/test_gles2_interface.cc test_context_->texStorage2DEXT(target, levels, internalformat, width, height); width 213 cc/test/test_gles2_interface.cc GLsizei width, width 218 cc/test/test_gles2_interface.cc target, width, height, io_surface_id, plane); width 230 cc/test/test_gles2_interface.cc GLsizei width, width 239 cc/test/test_gles2_interface.cc width, width 251 cc/test/test_gles2_interface.cc GLsizei width, width 257 cc/test/test_gles2_interface.cc target, level, xoffset, yoffset, width, height, format, type, pixels); width 263 cc/test/test_gles2_interface.cc GLsizei width, width 269 cc/test/test_gles2_interface.cc target, level, internalformat, width, height, border, image_size, data); width 276 cc/test/test_gles2_interface.cc GLuint TestGLES2Interface::CreateImageCHROMIUM(GLsizei width, width 279 cc/test/test_gles2_interface.cc return test_context_->createImageCHROMIUM(width, height, internalformat); width 366 cc/test/test_gles2_interface.cc void TestGLES2Interface::ResizeCHROMIUM(GLuint width, width 369 cc/test/test_gles2_interface.cc test_context_->reshapeWithScaleFactor(width, height, device_scale); width 46 cc/test/test_gles2_interface.h virtual void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) width 49 cc/test/test_gles2_interface.h virtual void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) width 73 cc/test/test_gles2_interface.h GLsizei width, width 83 cc/test/test_gles2_interface.h GLsizei width, width 91 cc/test/test_gles2_interface.h GLsizei width, width 94 cc/test/test_gles2_interface.h GLsizei width, width 103 cc/test/test_gles2_interface.h GLsizei width, width 113 cc/test/test_gles2_interface.h GLsizei width, width 121 cc/test/test_gles2_interface.h GLsizei width, width 127 cc/test/test_gles2_interface.h virtual GLuint CreateImageCHROMIUM(GLsizei width, width 165 cc/test/test_gles2_interface.h virtual void ResizeCHROMIUM(GLuint width, width 15 cc/test/test_texture.cc return size.width() * size.height() * components_per_pixel * width 91 cc/test/test_web_graphics_context_3d.cc int width, int height, float scale_factor) { width 93 cc/test/test_web_graphics_context_3d.cc width_ = width; width 543 cc/test/test_web_graphics_context_3d.cc GLsizei width, GLsizei height, width 550 cc/test/test_web_graphics_context_3d.cc images.get(image_id)->pixels.reset(new uint8[width * height * 4]); width 38 cc/test/test_web_graphics_context_3d.h virtual void reshapeWithScaleFactor(int width, width 59 cc/test/test_web_graphics_context_3d.h GLsizei width, width 69 cc/test/test_web_graphics_context_3d.h GLsizei width, width 88 cc/test/test_web_graphics_context_3d.h GLsizei width, width 106 cc/test/test_web_graphics_context_3d.h virtual void viewport(GLint x, GLint y, GLsizei width, GLsizei height) {} width 138 cc/test/test_web_graphics_context_3d.h GLint width, width 147 cc/test/test_web_graphics_context_3d.h virtual void scissor(GLint x, GLint y, GLsizei width, GLsizei height) {} width 152 cc/test/test_web_graphics_context_3d.h GLsizei width, width 163 cc/test/test_web_graphics_context_3d.h GLsizei width, width 235 cc/test/test_web_graphics_context_3d.h virtual GLuint createImageCHROMIUM(GLsizei width, width 245 cc/test/test_web_graphics_context_3d.h GLsizei width, width 332 cc/test/test_web_graphics_context_3d.h int width() const { return width_; } width 164 cc/test/tiled_layer_test_common.cc static_cast<float>(forced_content_bounds_.width()) / bounds().width(); width 992 cc/trees/damage_tracker_unittest.cc ASSERT_EQ(old_content_rect.width(), width 993 cc/trees/damage_tracker_unittest.cc child1->render_surface()->content_rect().width()); width 1018 cc/trees/damage_tracker_unittest.cc ASSERT_EQ(old_content_rect.width(), width 1019 cc/trees/damage_tracker_unittest.cc child1->render_surface()->content_rect().width()); width 186 cc/trees/layer_sorter.cc LayerShape::LayerShape(float width, width 189 cc/trees/layer_sorter.cc gfx::QuadF layer_quad(gfx::RectF(0.f, 0.f, width, height)); width 277 cc/trees/layer_sorter.cc " (" << node.layer->bounds().width() << width 284 cc/trees/layer_sorter.cc layer_width = render_surface->content_rect().width(); width 288 cc/trees/layer_sorter.cc layer_width = node.layer->content_bounds().width(); width 42 cc/trees/layer_sorter.h LayerShape(float width, float height, const gfx::Transform& draw_transform); width 669 cc/trees/layer_tree_host.cc DCHECK(bitmap.width() && bitmap.height()); width 1508 cc/trees/layer_tree_host_common.cc position.x() + anchor_point.x() * bounds.width(), width 1514 cc/trees/layer_tree_host_common.cc combined_transform.Translate3d(-anchor_point.x() * bounds.width(), width 2032 cc/trees/layer_tree_host_common.cc std::min(clipped_content_rect.width(), globals.max_texture_size)); width 2068 cc/trees/layer_tree_host_common.cc layer->replica_layer()->anchor_point().x() * bounds.width(), width 2074 cc/trees/layer_tree_host_common.cc -layer->replica_layer()->anchor_point().x() * bounds.width(), width 98 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(root_layer->bounds().width() * device_scale_factor, width 124 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(root_layer->bounds().width() * device_scale_factor, width 425 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(scroll_layer->bounds().width() + kMaxScrollOffset.x(), width 2595 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(expected_width, actual.width()); width 6352 cc/trees/layer_tree_host_common_unittest.cc expected_parent_draw_rect.set_width(ceil(expected_parent_draw_rect.width())); width 6375 cc/trees/layer_tree_host_common_unittest.cc expected_child_draw_rect.set_width(ceil(expected_child_draw_rect.width())); width 683 cc/trees/layer_tree_host_impl.cc screen_space_rect.x() / overhang_resource_scaled_size.width(), width 686 cc/trees/layer_tree_host_impl.cc screen_space_rect.right() / overhang_resource_scaled_size.width(), width 1502 cc/trees/layer_tree_host_impl.cc return gfx::SizeF(dip_size.width(), width 234 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size(content_size.width() / 2, content_size.height() / 2)); width 285 cc/trees/layer_tree_host_impl_unittest.cc clip_layer->SetBounds(gfx::Size(size.width() / 2, size.height() / 2)); width 887 cc/trees/layer_tree_host_impl_unittest.cc container_layer->bounds().width(), container_layer->bounds().height()); width 1968 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size(clip_size_.width(), width 2090 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Size(viewport_size_.width(), width 2749 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size(child->bounds().width(), child->bounds().height() / 2)); width 3651 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect layer_rect(viewport_size_.width() + 10, width 3706 cc/trees/layer_tree_host_impl_unittest.cc quad->rect.x() / gutter_texture_size_pixels.width()); width 3710 cc/trees/layer_tree_host_impl_unittest.cc quad->rect.right() / gutter_texture_size_pixels.width()); width 3825 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size larger_viewport(viewport_size_.width() + 100, width 3880 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(provider->TestContext3d()->width(), 10); width 3891 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(provider->TestContext3d()->width(), 20); width 3902 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(provider->TestContext3d()->width(), 20); width 4071 cc/trees/layer_tree_host_impl_unittest.cc GLsizei width, width 4117 cc/trees/layer_tree_host_impl_unittest.cc void MustSetScissor(int x, int y, int width, int height) { width 4121 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_CALL(*context_, scissor(x, y, width, height)) width 4280 cc/trees/layer_tree_host_impl_unittest.cc child->SetBounds(gfx::Size(child_rect.width(), child_rect.height())); width 6228 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(inner_viewport.width(), inner_viewport.height()); width 43 cc/trees/layer_tree_host_pixeltest_masks.cc inset_rect.width(), inset_rect.height()), width 71 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc *opaque = gfx::RectF(layer_rect_.width(), layer_rect_.height()); width 75 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc canvas->drawRect(SkRect::MakeWH(layer_rect_.width(), width 83 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc layer_rect_.width(), width 1112 cc/trees/layer_tree_host_pixeltest_readback.cc bitmap->allocN32Pixels(device_viewport_copy_rect.width(), width 1219 cc/trees/layer_tree_host_unittest.cc scroll_layer_->SetBounds(gfx::Size(2 * root_layer->bounds().width(), width 2896 cc/trees/layer_tree_host_unittest.cc GLint width, width 2962 cc/trees/layer_tree_host_unittest.cc io_surface_size_.width(), width 100 cc/trees/layer_tree_host_unittest_copyrequest.cc gfx::Size(bitmap->width(), bitmap->height()).ToString()); width 442 cc/trees/layer_tree_host_unittest_damage.cc gfx::Size(content_layer->bounds().width() - 30, width 526 cc/trees/layer_tree_host_unittest_damage.cc scroll_layer->SetBounds(gfx::Size(root->bounds().width() + 60, width 39 cc/trees/layer_tree_host_unittest_scroll.cc scroll_layer->SetBounds(gfx::Size(root_layer->bounds().width() + 100, width 70 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Size(root->bounds().width() + 100, root->bounds().height() + 100)); width 114 cc/trees/layer_tree_host_unittest_scroll.cc scroll_layer_->SetBounds(gfx::Size(root_layer->bounds().width() + 100, width 376 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Size(root_layer->bounds().width() + 100, width 774 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Size(root_layer->bounds().width() + 100, width 902 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Size(root_layer->bounds().width() + 100, width 1043 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Size(root->bounds().width() + 100, root->bounds().height() + 100)); width 1208 cc/trees/layer_tree_host_unittest_scroll.cc scroll_layer->SetBounds(gfx::Size(parent->bounds().width() + 100, width 453 cc/trees/occlusion_tracker.cc if (transformed_rect.width() < minimum_tracking_size_.width() && width 109 cc/trees/occlusion_tracker_perftest.cc for (int x = 0; x < viewport_rect.width(); x += 256) { width 118 cc/trees/occlusion_tracker_perftest.cc query_content_rect.right() <= viewport_rect.width() && width 155 cc/trees/occlusion_tracker_perftest.cc gfx::Size(viewport_rect.width() / 2, viewport_rect.height() / 2)); width 157 cc/trees/occlusion_tracker_perftest.cc gfx::Size(viewport_rect.width() / 2, viewport_rect.height() / 2)); width 186 cc/trees/occlusion_tracker_perftest.cc for (int x = 0; x < viewport_rect.width(); x += 256) { width 298 cc/trees/quad_culler_unittest.cc EXPECT_EQ(50, quad_visible_rect3.width()); width 302 cc/trees/quad_culler_unittest.cc EXPECT_EQ(50, quad_visible_rect4.width()); width 445 cc/trees/quad_culler_unittest.cc gfx::Rect child_opaque_rect(child_rect.x() + child_rect.width() / 4, width 447 cc/trees/quad_culler_unittest.cc child_rect.width() / 2, width 484 cc/trees/quad_culler_unittest.cc gfx::Rect child_opaque_rect(child_rect.x() + child_rect.width() / 4, width 486 cc/trees/quad_culler_unittest.cc child_rect.width() / 2, width 523 cc/trees/quad_culler_unittest.cc gfx::Rect child_opaque_rect(child_rect.x() + child_rect.width() / 4, width 525 cc/trees/quad_culler_unittest.cc child_rect.width() / 2, width 363 cc/trees/tree_synchronizer_unittest.cc EXPECT_EQ(second_child_bounds.width(), width 364 cc/trees/tree_synchronizer_unittest.cc second_layer_impl_child_bounds.width()); width 182 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java int faviconSize = iconBounds.width() / 3; width 43 chrome/android/java/src/org/chromium/chrome/browser/NativePage.java Bitmap getBitmap(int width, int height); width 145 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java horizontalOffset += (appRect.width() - mPopup.getWidth()) / 2; width 148 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java horizontalOffset += appRect.width() - mPopup.getWidth(); width 88 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java private void setAnchorRect(float x, float y, float width, float height) { width 89 chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java if (mAutofillPopup != null) mAutofillPopup.setAnchorRect(x, y, width, height); width 763 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java int childWidth = child.getLayoutParams().width; width 50 chrome/android/java/src/org/chromium/chrome/browser/banners/RatingView.java int width = starHalf.getWidth(); width 54 chrome/android/java/src/org/chromium/chrome/browser/banners/RatingView.java starHalf = Bitmap.createBitmap(starHalf, 0, 0, width, height, m, false); width 78 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java public int width; width 171 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java mIconView.getLayoutParams().width = mDimensionIconSize; width 289 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java private int layoutMainRow(int width) { width 299 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java iconLeft += width - mDimensionMinSize; width 302 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java closeLeft = width - mCloseButton.getMeasuredWidth(); width 310 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java int rowRight = width - mDimensionMinSize; width 379 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java private int layoutRow(int row, int rowTop, int width) { width 385 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java int rowRight = width - (hasButton ? 0 : mDimensionMargin); width 442 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java groupInfo.width += groupChild.getMeasuredWidth(); width 461 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java params.width = params.isInMainRow ? LayoutParams.WRAP_CONTENT : LayoutParams.MATCH_PARENT; width 521 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java int widthWithMargins = groupInfo.width + mDimensionMargin * groupInfo.numViews; width 23 chrome/android/java/src/org/chromium/chrome/browser/prerender/ExternalPrerenderHandler.java public long addPrerender(Profile profile, String url, String referrer, int width, int height) { width 26 chrome/android/java/src/org/chromium/chrome/browser/prerender/ExternalPrerenderHandler.java url, referrer, width, height)) { width 44 chrome/android/java/src/org/chromium/chrome/browser/prerender/ExternalPrerenderHandler.java long webContentsPtr, String url, String referrer, int width, int height); width 1153 chrome/browser/apps/app_browsertest.cc EXPECT_GE(preview_delegate.dialog_size().width(), width 1154 chrome/browser/apps/app_browsertest.cc minimum_dialog_size.width()); width 56 chrome/browser/apps/app_window_browsertest.cc bounds_.width() != bounds.width() && width 72 chrome/browser/apps/window_controls_browsertest.cc int x = web_contents->GetView()->GetContainerSize().width() - controlOffset; width 50 chrome/browser/chromeos/app_mode/certificate_manager_dialog.cc SetDialogSize(CalculateSize(screen_bounds.width(), width 165 chrome/browser/chromeos/display/display_preferences.cc int width = 0, height = 0; width 166 chrome/browser/chromeos/display/display_preferences.cc dict_value->GetInteger("width", &width); width 168 chrome/browser/chromeos/display/display_preferences.cc gfx::Size resolution_in_pixels(width, height); width 240 chrome/browser/chromeos/display/display_preferences.cc property_value->SetInteger("width", mode.size.width()); width 256 chrome/browser/chromeos/display/display_preferences_unittest.cc int width = 0, height = 0; width 257 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_FALSE(property->GetInteger("width", &width)); width 291 chrome/browser/chromeos/display/display_preferences_unittest.cc width = 0; width 293 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_FALSE(property->GetInteger("width", &width)); width 301 chrome/browser/chromeos/display/display_preferences_unittest.cc width = 0; width 304 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_FALSE(property->GetInteger("width", &width)); width 310 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(property->GetInteger("width", &width)); width 312 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(300, width); width 349 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_FALSE(property->GetInteger("width", &width)); width 355 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(property->GetInteger("width", &width)); width 357 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(300, width); width 383 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_FALSE(property->GetInteger("width", &width)); width 409 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(property->GetInteger("width", &width)); width 411 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(500, width); width 431 chrome/browser/chromeos/display/display_preferences_unittest.cc int width = 0, height = 0; width 432 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_FALSE(property->GetInteger("width", &width)); width 450 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(property->GetInteger("width", &width)); width 452 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(300, width); width 128 chrome/browser/chromeos/display/overscan_calibrator.cc int horizontal_offset = inner_bounds.width() / 2 - kArrowGapWidth; width 26 chrome/browser/chromeos/first_run/steps/tray_step.cc actor()->AddRectangularHole(bounds.x(), bounds.y(), bounds.width(), width 35 chrome/browser/chromeos/first_run/steps/tray_step.cc position.SetRight(GetOverlaySize().width() - bounds.x()); width 155 chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc EXPECT_LE(kInnerSize, mi1_bounds.width()); width 176 chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc EXPECT_EQ(mi1_bounds.width(), mi2_bounds.width()); width 167 chrome/browser/chromeos/input_method/textinput_test_helper.cc int x, y, width, height; width 172 chrome/browser/chromeos/input_method/textinput_test_helper.cc if (!base::StringToInt(rect_piece[2], &width)) width 176 chrome/browser/chromeos/input_method/textinput_test_helper.cc *rect = gfx::Rect(x, y, width, height); width 26 chrome/browser/chromeos/login/helper.cc int horizontal_diff = bounds.width() - size.width(); width 220 chrome/browser/chromeos/login/login_display.h int width() const { return background_bounds_.width(); } width 63 chrome/browser/chromeos/login/login_web_dialog.cc width_ = static_cast<int>(kDefaultWidthRatio * screen_bounds.width()); width 78 chrome/browser/chromeos/login/login_web_dialog.cc void LoginWebDialog::SetDialogSize(int width, int height) { width 79 chrome/browser/chromeos/login/login_web_dialog.cc DCHECK(width >= 0 && height >= 0); width 80 chrome/browser/chromeos/login/login_web_dialog.cc width_ = width; width 113 chrome/browser/chromeos/login/login_web_dialog.cc size->SetSize(kMinimumWidthRatio * screen_bounds.width(), width 54 chrome/browser/chromeos/login/login_web_dialog.h void SetDialogSize(int width, int height); width 68 chrome/browser/chromeos/login/proxy_settings_dialog.cc SetDialogSize(CalculateSize(screen_bounds.width(), width 156 chrome/browser/chromeos/login/screen_locker_browsertest.cc EXPECT_GT(lock_bounds.width(), 10); width 33 chrome/browser/chromeos/login/user_image.cc "width", image.width(), "height", image.height()); width 41 chrome/browser/chromeos/login/user_image.cc bitmap.width(), width 43 chrome/browser/chromeos/login/user_image.cc bitmap.width() * bitmap.bytesPerPixel(), width 103 chrome/browser/chromeos/login/user_image_loader.cc int size = std::min(decoded_image.width(), decoded_image.height()); width 104 chrome/browser/chromeos/login/user_image_loader.cc int x = (decoded_image.width() - size) / 2; width 365 chrome/browser/chromeos/login/user_image_manager_browsertest.cc EXPECT_EQ(saved_image.width(), user->image().width()); width 383 chrome/browser/chromeos/login/user_image_manager_browsertest.cc EXPECT_EQ(saved_image.width(), user->image().width()); width 445 chrome/browser/chromeos/login/user_image_manager_browsertest.cc EXPECT_EQ(custom_image.width(), saved_image->width()); width 483 chrome/browser/chromeos/login/user_image_manager_browsertest.cc EXPECT_EQ(custom_image->width(), saved_image->width()); width 527 chrome/browser/chromeos/login/user_image_manager_browsertest.cc EXPECT_EQ(profile_image.width(), saved_image->width()); width 692 chrome/browser/chromeos/login/user_image_manager_browsertest.cc EXPECT_EQ(policy_image_->width(), saved_image->width()); width 719 chrome/browser/chromeos/login/user_image_manager_browsertest.cc EXPECT_EQ(policy_image_->width(), saved_image->width()); width 792 chrome/browser/chromeos/login/user_image_manager_browsertest.cc EXPECT_EQ(policy_image_->width(), saved_image->width()); width 838 chrome/browser/chromeos/login/user_image_manager_browsertest.cc EXPECT_EQ(policy_image_->width(), saved_image->width()); width 858 chrome/browser/chromeos/login/user_image_manager_browsertest.cc EXPECT_EQ(policy_image_->width(), saved_image->width()); width 23 chrome/browser/chromeos/login/user_image_manager_test_util.cc if (first.width() != second.width() || first.height() != second.height()) width 526 chrome/browser/chromeos/login/wallpaper_manager.cc int width = wallpaper.image().width(); width 534 chrome/browser/chromeos/login/wallpaper_manager.cc if (!(width > preferred_width && height > preferred_height)) width 537 chrome/browser/chromeos/login/wallpaper_manager.cc double horizontal_ratio = static_cast<double>(preferred_width) / width; width 541 chrome/browser/chromeos/login/wallpaper_manager.cc RoundPositive(static_cast<double>(width) * vertical_ratio); width 552 chrome/browser/chromeos/login/wallpaper_manager.cc resized_width = width; width 566 chrome/browser/chromeos/login/wallpaper_manager.cc image.width(), width 568 chrome/browser/chromeos/login/wallpaper_manager.cc image.width() * image.bytesPerPixel(), width 1362 chrome/browser/chromeos/login/wallpaper_manager.cc wallpaper.image().width(), width 193 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc EXPECT_EQ(kSmallWallpaperWidth, wallpaper.width()); width 200 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc EXPECT_EQ(kSmallWallpaperWidth, wallpaper.width()); width 212 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc EXPECT_EQ(kLargeWallpaperWidth, wallpaper.width()); width 224 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc EXPECT_EQ(kLargeWallpaperWidth, wallpaper.width()); width 81 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc if (bitmap.empty() || bitmap.width() < 1 || bitmap.height() < 1) { width 95 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc for (int x = 0; x < bitmap.width(); ++x) { width 105 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc uint64 pixel_number = bitmap.width() * bitmap.height(); width 207 chrome/browser/chromeos/login/webui_login_view.cc return gfx::Point(widget_size.width() / 2 - size.width() / 2, width 241 chrome/browser/chromeos/options/network_config_view.cc int horiz_padding = bounds.width() - size.width(); width 251 chrome/browser/chromeos/options/network_config_view.cc child_config_view_->SetBounds(0, 0, width(), height()); width 260 chrome/browser/chromeos/options/network_config_view.cc if (size.width() > result.width()) width 261 chrome/browser/chromeos/options/network_config_view.cc result.set_width(size.width()); width 336 chrome/browser/chromeos/options/network_config_view.cc image_view_->SetBounds(0, 0, width(), height()); width 53 chrome/browser/chromeos/options/wifi_config_view.cc ComboboxWithWidth(ui::ComboboxModel* model, int width) width 55 chrome/browser/chromeos/options/wifi_config_view.cc width_(width) { width 1055 chrome/browser/chromeos/policy/device_local_account_browsertest.cc EXPECT_EQ(policy_image->width(), saved_image->width()); width 29 chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc FixedWidthLabel(const base::string16& text, int width); width 40 chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc FixedWidthLabel::FixedWidthLabel(const base::string16& text, int width) width 42 chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc width_(width) { width 166 chrome/browser/chromeos/ui/echo_dialog_view.cc size.Enlarge(insets.width(), insets.height()); width 61 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc gfx::Rect bounds((rs.width() - ps.width()) / 2, width 63 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc ps.width(), width 621 chrome/browser/devtools/devtools_adb_bridge.cc int width; width 626 chrome/browser/devtools/devtools_adb_bridge.cc !base::StringToInt(numbers[0], &width) || width 630 chrome/browser/devtools/devtools_adb_bridge.cc remote_devices_->back()->set_screen_size(gfx::Size(width, height)); width 289 chrome/browser/devtools/devtools_adb_bridge_browsertest.cc ASSERT_EQ(720, connected->screen_size().width()); width 37 chrome/browser/devtools/devtools_contents_resizing_strategy.cc 0, 0, container_size.width(), container_size.height()); width 42 chrome/browser/devtools/devtools_contents_resizing_strategy.cc int width = std::max(0, container_size.width() - insets.width()); width 44 chrome/browser/devtools/devtools_contents_resizing_strategy.cc if (width < min_size.width() && insets.width() > 0) { width 45 chrome/browser/devtools/devtools_contents_resizing_strategy.cc int min_width = std::min(min_size.width(), container_size.width()); width 46 chrome/browser/devtools/devtools_contents_resizing_strategy.cc int insets_width = container_size.width() - min_width; width 47 chrome/browser/devtools/devtools_contents_resizing_strategy.cc int insets_decrease = insets.width() - insets_width; width 49 chrome/browser/devtools/devtools_contents_resizing_strategy.cc left -= insets_decrease * insets.left() / insets.width(); width 50 chrome/browser/devtools/devtools_contents_resizing_strategy.cc width = min_width; width 52 chrome/browser/devtools/devtools_contents_resizing_strategy.cc left = std::max(0, std::min(container_size.width(), left)); width 66 chrome/browser/devtools/devtools_contents_resizing_strategy.cc new_contents_bounds->SetRect(left, top, width, height); width 45 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc int width = 0; width 47 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc if (!dict->GetInteger("width", &width) || width 50 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc size.SetSize(width, height); width 464 chrome/browser/devtools/devtools_targets_ui.cc target_data->SetInteger(kAdbScreenWidthField, screen_size.width()); width 174 chrome/browser/download/download_shelf.cc DCHECK_EQ(g_foreground_16->width(), g_background_16->width()); width 176 chrome/browser/download/download_shelf.cc DCHECK_EQ(g_foreground_32->width(), g_background_32->width()); width 191 chrome/browser/download/download_shelf.cc background->width(), background->height()); width 232 chrome/browser/download/download_shelf.cc complete->width(), complete->height()); width 263 chrome/browser/download/download_shelf.cc complete->width(), complete->height()); width 438 chrome/browser/drive/drive_api_util.cc entry->set_image_width(file_resource.image_media_metadata().width()); width 292 chrome/browser/drive/drive_api_util_unittest.cc EXPECT_EQ(640, image_media_metadata.width()); width 301 chrome/browser/drive/drive_api_util_unittest.cc EXPECT_EQ(0, image_media_metadata.width()); width 310 chrome/browser/drive/drive_api_util_unittest.cc EXPECT_EQ(-1, image_media_metadata.width()); width 63 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc if (bounds_spec.width) width 64 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc bounds->set_width(*bounds_spec.width); width 72 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc void GetConstraintWidth(const scoped_ptr<int>& width, width 75 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc if (!width.get()) width 78 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc size->set_width(*width > 0 ? std::max(0, *width - insets.width()) width 226 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc if (bounds_spec.width) width 227 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc window_bounds.set_width(*bounds_spec.width + frame_insets.width()); width 425 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc int32_t width = inputRect.width; width 428 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc SkIRect rect = SkIRect::MakeXYWH(x, y, width, height); width 119 chrome/browser/extensions/api/app_window/app_window_api.cc if (input_spec->width.get()) width 120 chrome/browser/extensions/api/app_window/app_window_api.cc create_spec->bounds.set_width(*input_spec->width); width 332 chrome/browser/extensions/api/app_window/app_window_api.cc inner_bounds->width, outer_bounds->width, "width", error)) { width 382 chrome/browser/extensions/api/app_window/app_window_api.cc if (options.width.get()) width 383 chrome/browser/extensions/api/app_window/app_window_api.cc params->content_spec.bounds.set_width(*options.width.get()); width 393 chrome/browser/extensions/api/app_window/app_window_api.cc if (bounds->width.get()) width 394 chrome/browser/extensions/api/app_window/app_window_api.cc params->content_spec.bounds.set_width(*bounds->width.get()); width 125 chrome/browser/extensions/api/capture_web_contents_function.cc bitmap.width(), width 228 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc static uint8 ComputeMedianIntensityInPlane(int width, width 232 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc const int num_pixels = width * height; width 237 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc if (width < stride) { width 240 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc uint8* const dest = data + y * width; width 241 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc memmove(dest, src, width); width 356 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc ASSERT_GT(minSize.width() + growFactor * 2, maxSize.width()); width 62 chrome/browser/extensions/api/notifications/notifications_api.cc const int width = notification_bitmap->width; width 65 chrome/browser/extensions/api/notifications/notifications_api.cc if (width < 0 || height < 0 || width > max_width || height > max_height) width 74 chrome/browser/extensions/api/notifications/notifications_api.cc const size_t rgba_area = width * height; width 81 chrome/browser/extensions/api/notifications/notifications_api.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); width 323 chrome/browser/extensions/api/sessions/sessions_api.cc window_struct->width.reset(new int(window.bounds.width())); width 44 chrome/browser/extensions/api/system_display/display_info_provider.cc unit->bounds.width = bounds.width(); width 48 chrome/browser/extensions/api/system_display/display_info_provider.cc unit->work_area.width = work_area.width(); width 107 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc gfx::Point center(2 * (rectangle.x() - reference.x()) + rectangle.width(), width 109 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc gfx::Point down_diag(2 * reference.width(), 2 * reference.height()); width 119 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc gfx::Point up_diag(-2 * reference.width(), 2 * reference.height()); width 144 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc if (rectangle.x() > reference.x() + reference.width()) { width 147 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc } else if (rectangle.x() + rectangle.width() < reference.x()) { width 255 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc int screen_width = display.bounds().width() + overscan.width(); width 63 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc bounds.left, bounds.top, bounds.width, bounds.height); width 45 chrome/browser/extensions/api/system_display/display_info_provider_win.cc unit->dpi_x = dpi.width(); width 508 chrome/browser/extensions/api/tabs/tabs_api.cc if (create_data->width) width 509 chrome/browser/extensions/api/tabs/tabs_api.cc window_bounds.set_width(*create_data->width); width 711 chrome/browser/extensions/api/tabs/tabs_api.cc if (params->update_info.width) { width 712 chrome/browser/extensions/api/tabs/tabs_api.cc bounds.set_width(*params->update_info.width); width 72 chrome/browser/extensions/api/tabs/tabs_test.cc EXPECT_EQ(bounds.width(), utils::GetInteger(result.get(), "width")); width 204 chrome/browser/extensions/api/terminal/terminal_private_api.cc this, params->pid, params->width, params->height)); width 210 chrome/browser/extensions/api/terminal/terminal_private_api.cc int width, int height) { width 212 chrome/browser/extensions/api/terminal/terminal_private_api.cc pid, width, height); width 97 chrome/browser/extensions/api/terminal/terminal_private_api.h void OnResizeOnFileThread(pid_t pid, int width, int height); width 37 chrome/browser/extensions/bookmark_app_helper.cc DCHECK(it->width() == it->height()); width 38 chrome/browser/extensions/bookmark_app_helper.cc ordered_bitmaps[it->width()] = *it; width 50 chrome/browser/extensions/bookmark_app_helper.cc (sizes_it == sizes.end() || bitmaps_it->second.width() < *sizes_it)) { width 52 chrome/browser/extensions/bookmark_app_helper.cc output_bitmaps[size] = bitmaps_it->second.width() == size width 140 chrome/browser/extensions/bookmark_app_helper.cc (output_size - base_icon.width()) / 2, width 211 chrome/browser/extensions/bookmark_app_helper.cc if (bitmap_it->empty() || bitmap_it->width() != bitmap_it->height()) width 254 chrome/browser/extensions/bookmark_app_helper.cc icon_info.width = icon_info.data.width(); width 66 chrome/browser/extensions/bookmark_app_helper_unittest.cc EXPECT_EQ(size, bitmap.width()); width 73 chrome/browser/extensions/bookmark_app_helper_unittest.cc icon_info.width = size; width 237 chrome/browser/extensions/bookmark_app_helper_unittest.cc EXPECT_EQ(32, bitmaps[32].width()); width 267 chrome/browser/extensions/context_menu_matcher.cc DCHECK(icon.width() == gfx::kFaviconSize); width 115 chrome/browser/extensions/convert_web_app.cc std::string size = base::StringPrintf("%i", web_app.icons[i].width); width 141 chrome/browser/extensions/convert_web_app.cc base::StringPrintf("%i.png", web_app.icons[i].width)); width 50 chrome/browser/extensions/convert_web_app_unittest.cc result.width = size; width 138 chrome/browser/extensions/convert_web_app_unittest.cc EXPECT_EQ(base::StringPrintf("icons/%i.png", web_app.icons[i].width), width 140 chrome/browser/extensions/convert_web_app_unittest.cc web_app.icons[i].width, ExtensionIconSet::MATCH_EXACTLY)); width 143 chrome/browser/extensions/convert_web_app_unittest.cc web_app.icons[i].width, width 243 chrome/browser/extensions/extension_action.cc return icon.width(); width 252 chrome/browser/extensions/extension_action.cc IDR_EXTENSIONS_FAVICON).ToImageSkia()->width(); width 47 chrome/browser/extensions/extension_action_icon_factory_unittest.cc if (original_bitmap->width() == size && original_bitmap->height() == size) width 44 chrome/browser/extensions/extension_icon_image_unittest.cc if (original.width() == size && original.height() == size) width 33 chrome/browser/extensions/extension_icon_manager.cc new gfx::Canvas(gfx::Size(source.width() + padding.width(), width 39 chrome/browser/extensions/extension_icon_manager.cc 0, 0, source.width(), source.height(), width 40 chrome/browser/extensions/extension_icon_manager.cc padding.left(), padding.top(), source.width(), source.height(), width 85 chrome/browser/extensions/extension_icon_manager.cc DCHECK_EQ(gfx::kFaviconSize + padding_.width(), result->width()); width 120 chrome/browser/extensions/extension_icon_manager.cc if (result.width() != gfx::kFaviconSize || width 148 chrome/browser/extensions/extension_tab_util.cc contents->GetView()->GetContainerSize().width()); width 295 chrome/browser/extensions/extension_view_host.cc std::max(0, (bounds.width() - size.width()) / 2), width 24 chrome/browser/extensions/favicon_downloader_unittest.cc sizes[i].width(), width 49 chrome/browser/extensions/image_loader.cc return decoded_size.width() > desired_size.width() || width 61 chrome/browser/extensions/image_loader.cc gfx::Size original_size(bitmap.width(), bitmap.height()); width 67 chrome/browser/extensions/image_loader.cc image_info.desired_size.width(), image_info.desired_size.height()); width 220 chrome/browser/extensions/image_loader.cc gfx::Size original_size(bitmap.width(), bitmap.height()); width 391 chrome/browser/extensions/image_loader.cc image_rep.desired_size.width(), image_rep.desired_size.height()); width 153 chrome/browser/extensions/image_loader_unittest.cc image_.ToSkBitmap()->width()); width 201 chrome/browser/extensions/image_loader_unittest.cc image_.ToSkBitmap()->width()); width 60 chrome/browser/extensions/window_controller.cc result->SetInteger(keys::kWidthKey, bounds.width()); width 65 chrome/browser/favicon/favicon_util.cc if (pixel_size.width() != pixel_size.height()) width 69 chrome/browser/favicon/favicon_util.cc pixel_size.width()); width 95 chrome/browser/favicon/favicon_util.cc if (input_bitmap.width() == desired_size_in_pixel && width 100 chrome/browser/favicon/favicon_util.cc } else if (input_bitmap.width() >= best_bitmap.width() && width 102 chrome/browser/favicon/favicon_util.cc if (best_bitmap.width() < desired_size_in_pixel || width 107 chrome/browser/favicon/favicon_util.cc if (input_bitmap.width() >= desired_size_in_pixel && width 114 chrome/browser/favicon/favicon_util.cc if (desired_size_in_pixel % best_bitmap.width() == 0 && width 109 chrome/browser/first_run/try_chrome_dialog_view.cc views::GridLayout::FIXED, icon_size.width(), width 120 chrome/browser/first_run/try_chrome_dialog_view.cc columns->AddPaddingColumn(0, icon_size.width()); width 127 chrome/browser/first_run/try_chrome_dialog_view.cc columns->AddPaddingColumn(0, icon_size.width()); width 134 chrome/browser/first_run/try_chrome_dialog_view.cc columns->AddPaddingColumn(0, icon_size.width()); width 143 chrome/browser/first_run/try_chrome_dialog_view.cc columns->AddPaddingColumn(0, icon_size.width()); width 276 chrome/browser/first_run/try_chrome_dialog_view.cc separator->SetSize(gfx::Size(preferred.width(), separator_height)); width 279 chrome/browser/first_run/try_chrome_dialog_view.cc gfx::Rect pos = ComputeWindowPosition(preferred.width(), preferred.height(), width 290 chrome/browser/first_run/try_chrome_dialog_view.cc SetToastRegion(toast_window, preferred.width(), preferred.height()); width 302 chrome/browser/first_run/try_chrome_dialog_view.cc gfx::Rect TryChromeDialogView::ComputeWindowPosition(int width, width 312 chrome/browser/first_run/try_chrome_dialog_view.cc return gfx::Rect(20, 20, width + 20, height + 20); width 316 chrome/browser/first_run/try_chrome_dialog_view.cc int left = is_RTL ? info.rcWork.left : info.rcWork.right - width; width 318 chrome/browser/first_run/try_chrome_dialog_view.cc return gfx::Rect(left, top, width, height); width 97 chrome/browser/first_run/try_chrome_dialog_view.h gfx::Rect ComputeWindowPosition(int width, int height, bool is_RTL); width 212 chrome/browser/guestview/webview/webview_find_helper.cc rect.SetInteger(webview::kFindRectWidth, selection_rect_.width()); width 786 chrome/browser/guestview/webview/webview_guest.cc args->SetInteger(webview::kOldWidth, old_size.width()); width 788 chrome/browser/guestview/webview/webview_guest.cc args->SetInteger(webview::kNewWidth, new_size.width()); width 1684 chrome/browser/history/history_backend.cc (largest.pixel_size.width() < j->pixel_size.width() && width 1706 chrome/browser/history/history_backend.cc largest_icon.pixel_size.width() < f->second.pixel_size.width()))) { width 1710 chrome/browser/history/history_backend.cc if (largest_icon.pixel_size.width() > minimum_size_in_pixels && width 1506 chrome/browser/history/history_backend_unittest.cc page_url2, icon_urls, chrome::FAVICON, kSmallSize.width(), width 1581 chrome/browser/history/history_backend_unittest.cc page_url, icon_urls, chrome::FAVICON, kSmallSize.width(), width 1908 chrome/browser/history/history_backend_unittest.cc backend_->GetFaviconsForURL(page_url, chrome::FAVICON, kSmallSize.width(), width 2059 chrome/browser/history/history_backend_unittest.cc kSmallSize.width(), width 2097 chrome/browser/history/history_backend_unittest.cc kSmallSize.width(), GetScaleFactors1x2x(), &bitmap_results)); width 2114 chrome/browser/history/history_backend_unittest.cc kSmallSize.width(), GetScaleFactors1x2x(), &bitmap_results_out)); width 2133 chrome/browser/history/history_backend_unittest.cc kSmallSize.width(), width 2177 chrome/browser/history/history_backend_unittest.cc kSmallSize.width(), width 2204 chrome/browser/history/history_backend_unittest.cc kSmallSize.width(), GetScaleFactors1x2x(), &bitmap_results_out)); width 2212 chrome/browser/history/history_backend_unittest.cc kSmallSize.width(), GetScaleFactors1x2x(), &bitmap_results_out)); width 2241 chrome/browser/history/history_backend_unittest.cc kSmallSize.width(), GetScaleFactors1x2x(), &bitmap_results_out)); width 2256 chrome/browser/history/history_backend_unittest.cc GURL(), std::vector<GURL>(), chrome::FAVICON, kSmallSize.width(), width 2278 chrome/browser/history/history_backend_unittest.cc kSmallSize.width(), GetScaleFactors1x2x(), &bitmap_results_out)); width 2280 chrome/browser/history/history_backend_unittest.cc kSmallSize.width(), GetScaleFactors1x2x(), &bitmap_results_out)); width 2282 chrome/browser/history/history_backend_unittest.cc kSmallSize.width(), GetScaleFactors1x2x(), &bitmap_results_out)); width 2287 chrome/browser/history/history_backend_unittest.cc kSmallSize.width(), GetScaleFactors1x2x(), &bitmap_results_out)); width 2292 chrome/browser/history/history_backend_unittest.cc kSmallSize.width(), GetScaleFactors1x2x(), &bitmap_results_out)); width 67 chrome/browser/history/select_favicon_frames.cc if (candidate_sizes_in_pixel[i].width() == desired_size_in_pixel && width 87 chrome/browser/history/select_favicon_frames.cc float average_edge_in_pixel = (candidate_sizes_in_pixel[i].width() + width 91 chrome/browser/history/select_favicon_frames.cc if (candidate_sizes_in_pixel[i].width() >= kHugeEdgeSizeInPixel || width 95 chrome/browser/history/select_favicon_frames.cc } else if (candidate_sizes_in_pixel[i].width() >= desired_size_in_pixel && width 116 chrome/browser/history/select_favicon_frames.cc } else if (desired_size_in_pixel % candidate_size_in_pixel.width() == 0 && width 32 chrome/browser/history/select_favicon_frames_unittest.cc sizes.push_back(gfx::Size(bitmaps[i].width(), bitmaps[i].height())); width 49 chrome/browser/history/select_favicon_frames_unittest.cc x = bitmap.width() / 2; width 51 chrome/browser/history/select_favicon_frames_unittest.cc y = bitmap.width() / 2; width 76 chrome/browser/history/select_favicon_frames_unittest.cc EXPECT_EQ(48, image.width()); width 92 chrome/browser/history/select_favicon_frames_unittest.cc EXPECT_EQ(16, image.width()); width 107 chrome/browser/history/select_favicon_frames_unittest.cc EXPECT_EQ(16, image.width()); width 123 chrome/browser/history/select_favicon_frames_unittest.cc EXPECT_EQ(16, image.width()); width 137 chrome/browser/history/select_favicon_frames_unittest.cc EXPECT_EQ(16, image.width()); width 153 chrome/browser/history/select_favicon_frames_unittest.cc EXPECT_EQ(16, image.width()); width 750 chrome/browser/history/thumbnail_database.cc statement.BindInt(3, pixel_size.width()); width 158 chrome/browser/icon_loader_chromeos.cc DCHECK(source.width() == source.height()); width 160 chrome/browser/icon_loader_chromeos.cc if (dip_size == kDoNotResize || source.width() == dip_size) width 67 chrome/browser/icon_loader_linux.cc DCHECK_EQ(size_pixels, bitmap.width()); width 677 chrome/browser/local_discovery/privet_http_impl.cc gfx::Rect area(std::min(page_size_.width(), page_size_.height()) * scale, width 678 chrome/browser/local_discovery/privet_http_impl.cc std::max(page_size_.width(), page_size_.height()) * scale); width 183 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc bool RunARGBtoI420Converter(int width, width 200 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc base::StringPrintf("%d", width)); width 222 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc int width, width 258 chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc compare_command.AppendArg(base::StringPrintf("%d", width)); width 201 chrome/browser/media/desktop_media_list_ash.cc gfx::Rect window_rect(window->bounds().width(), window->bounds().height()); width 45 chrome/browser/media/native_desktop_media_list.cc gfx::Rect(0, 0, size.width(), size.height()), width 46 chrome/browser/media/native_desktop_media_list.cc gfx::Size(frame->size().width(), frame->size().height())); width 50 chrome/browser/media/native_desktop_media_list.cc scaled_rect.width(), scaled_rect.height(), 0, width 57 chrome/browser/media/native_desktop_media_list.cc frame->size().width(), frame->size().height(), width 59 chrome/browser/media/native_desktop_media_list.cc scaled_rect.width(), scaled_rect.height(), width 68 chrome/browser/media/native_desktop_media_list.cc for (int x = 0; x < result.width(); ++x) { width 750 chrome/browser/metrics/metrics_log.cc hardware->set_primary_screen_width(display_size.width()); width 154 chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc void ChromeMetroViewerProcessHost::OnWindowSizeChanged(uint32 width, width 158 chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc base::StringPrintf("%dx%d*%f", width, height, gfx::GetModernUIScale()))); width 161 chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc aura::RemoteWindowTreeHostWin::Instance()->HandleWindowSizeChanged(width, width 23 chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.h virtual void OnWindowSizeChanged(uint32 width, uint32 height) OVERRIDE; width 33 chrome/browser/mouseleave_browsertest.cc tab_view_bounds.x() + tab_view_bounds.width() / 2, width 36 chrome/browser/mouseleave_browsertest.cc tab_view_bounds.x() + tab_view_bounds.width() / 2, width 347 chrome/browser/notifications/balloon_collection_impl.cc x = position_iterator->x() - balloon_size.width(); width 361 chrome/browser/notifications/balloon_collection_impl.cc x = position_iterator->x() - balloon_size.width(); width 411 chrome/browser/notifications/balloon_collection_impl.cc std::min(max_balloon_width(), size.width())), width 482 chrome/browser/notifications/balloon_collection_impl.cc new_work_area.width(), new_work_area.height()); width 503 chrome/browser/notifications/desktop_notifications_unittest.cc int max_x = min_x + (*iter)->GetViewSize().width() - 1; width 162 chrome/browser/prefs/pref_service_browsertest.cc EXPECT_EQ(right, bounds.x() + bounds.width()); width 227 chrome/browser/prefs/pref_service_browsertest.cc EXPECT_EQ(right, bounds.x() + bounds.width()); width 31 chrome/browser/prerender/external_prerender_handler_android.cc jint width, width 57 chrome/browser/prerender/external_prerender_handler_android.cc gfx::Size(width, height))); width 36 chrome/browser/prerender/external_prerender_handler_android.h jint width, width 473 chrome/browser/printing/print_dialog_cloud.cc size.width()); width 515 chrome/browser/printing/print_dialog_cloud.cc int* width, width 518 chrome/browser/printing/print_dialog_cloud.cc *width = kDefaultWidth; width 524 chrome/browser/printing/print_dialog_cloud.cc *width = prefs->GetInteger(prefs::kCloudPrintDialogWidth); width 535 chrome/browser/printing/print_dialog_cloud.cc ¶ms_.width, width 578 chrome/browser/printing/print_dialog_cloud.cc size->set_width(params_.width); width 29 chrome/browser/printing/printing_gtk_util.cc paper_size.width() * settings.device_units_per_inch(), width 63 chrome/browser/printing/printing_message_filter.cc settings.page_setup_device_units().content_area().width(), width 68 chrome/browser/printing/printing_message_filter.cc settings.page_setup_device_units().printable_area().width(), width 146 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_EQ(icon->width(), actual_icon->width()); width 21 chrome/browser/profiles/profile_info_util.cc int GetScaledAvatarHeightForWidth(int width, const gfx::ImageSkia& avatar) { width 25 chrome/browser/profiles/profile_info_util.cc int scaled_height = width * width 26 chrome/browser/profiles/profile_info_util.cc ((float) avatar.height() / (float) avatar.width()) + 0.5f; width 47 chrome/browser/profiles/profile_info_util.cc int width, width 68 chrome/browser/profiles/profile_info_util.cc int width, width 73 chrome/browser/profiles/profile_info_util.cc width_(width - profiles::kAvatarIconPadding), width 74 chrome/browser/profiles/profile_info_util.cc height_(GetScaledAvatarHeightForWidth(width, avatar) - width 88 chrome/browser/profiles/profile_info_util.cc int x = (canvas_size_.width() - width_) / 2; width 104 chrome/browser/profiles/profile_info_util.cc x = (canvas_size_.width() - border_size) / 2; width 179 chrome/browser/profiles/profile_info_util.cc int width, int height) { width 183 chrome/browser/profiles/profile_info_util.cc gfx::Size size(width, height); width 190 chrome/browser/profiles/profile_info_util.cc std::min(width, height), width 21 chrome/browser/profiles/profile_info_util.h int width, int height); width 52 chrome/browser/profiles/profile_info_util_unittest.cc rect_picture, true, size.width(), size.height()); width 90 chrome/browser/profiles/profile_info_util_unittest.cc int width = 100; width 97 chrome/browser/profiles/profile_info_util_unittest.cc profile_image, false, width, height); width 104 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Size size(width, height); width 106 chrome/browser/profiles/profile_info_util_unittest.cc rect_picture, true, width, height); width 116 chrome/browser/profiles/profile_shortcut_manager_win.cc if ((avatar_bitmap.width() == scale_factor * profiles::kAvatarIconWidth) && width 128 chrome/browser/profiles/profile_shortcut_manager_win.cc if (app_icon_bitmap.width() != kShortcutIconSize) { width 130 chrome/browser/profiles/profile_shortcut_manager_win.cc app_icon_bitmap.width() * kProfileAvatarBadgeSize / kShortcutIconSize; width 134 chrome/browser/profiles/profile_shortcut_manager_win.cc source_bitmap.height() * avatar_badge_size / source_bitmap.width()); width 139 chrome/browser/profiles/profile_shortcut_manager_win.cc badged_bitmap.allocN32Pixels(app_icon_bitmap.width(), width 146 chrome/browser/profiles/profile_shortcut_manager_win.cc app_icon_bitmap.width() - sk_icon.width(), width 1017 chrome/browser/search_engines/template_url.cc base::IntToString(search_terms_args.image_original_size.width()), width 373 chrome/browser/search_engines/template_url_parser.cc int width = 0; width 382 chrome/browser/search_engines/template_url_parser.cc base::StringToInt(XMLCharToString(value), &width); width 388 chrome/browser/search_engines/template_url_parser.cc image_is_valid_for_favicon_ = (width == gfx::kFaviconSize) && width 240 chrome/browser/search_engines/template_url_unittest.cc base::IntToString(search_args.image_original_size.width()), width 762 chrome/browser/sessions/session_service.cc payload.w = bounds.width(); width 98 chrome/browser/shell_integration_linux.cc int width = it->Width(); width 103 chrome/browser/shell_integration_linux.cc << width << "."; width 123 chrome/browser/shell_integration_linux.cc argv.push_back(base::IntToString(width)); width 130 chrome/browser/shell_integration_linux.cc << width << "."; width 89 chrome/browser/speech/speech_recognition_bubble.cc src_rect.x() < spinner_image->width(); width 234 chrome/browser/speech/speech_recognition_bubble.cc int width = mic_image_->width(); width 241 chrome/browser/speech/speech_recognition_bubble.cc (((1.0f - volume) * (width * (kVolumeSteps + 1))) - width) / kVolumeSteps; width 243 chrome/browser/speech/speech_recognition_bubble.cc SkIntToScalar(width) - clip_right, SkIntToScalar(height))); width 89 chrome/browser/sync/glue/favicon_cache.cc (pixel_size.width() > pixel_size.height() ? width 90 chrome/browser/sync/glue/favicon_cache.cc pixel_size.width() : pixel_size.height()); width 133 chrome/browser/sync/glue/favicon_cache.cc bitmap_result.pixel_size.set_width(favicon_data.width()); width 144 chrome/browser/sync/glue/favicon_cache.cc favicon_data->set_width(bitmap_result.pixel_size.width()); width 188 chrome/browser/sync/glue/favicon_cache.cc << bitmap_result.pixel_size.width(); width 170 chrome/browser/sync/glue/favicon_cache_unittest.cc image_specifics.favicon_web().width() != 16) { width 179 chrome/browser/sync/glue/favicon_cache_unittest.cc image_specifics.favicon_web().width() != 32) { width 188 chrome/browser/sync/glue/favicon_cache_unittest.cc image_specifics.favicon_web().width() != 64) { width 153 chrome/browser/sync/test/integration/bookmarks_helper.cc (bitmap_a.width() != bitmap_b.width()) || width 156 chrome/browser/sync/test/integration/bookmarks_helper.cc << bitmap_a.width() << "x" << bitmap_a.height() << ") vs. " width 157 chrome/browser/sync/test/integration/bookmarks_helper.cc << bitmap_b.getSize() << " (" << bitmap_b.width() << "x" width 451 chrome/browser/themes/browser_theme_pack.cc gfx::ScaleSize(gfx::Size(source_bitmap.width(), width 457 chrome/browser/themes/browser_theme_pack.cc scaled_size.width(), width 603 chrome/browser/themes/browser_theme_pack.cc size().width(), size().height()); width 607 chrome/browser/themes/browser_theme_pack.cc canvas->TileImageInt(overlay_, 0, 0, size().width(), width 1321 chrome/browser/themes/browser_theme_pack.cc image_skia, gfx::Rect(0, 0, image_skia.width(), crop_height))); width 282 chrome/browser/themes/browser_theme_pack_unittest.cc EXPECT_EQ(80, rep1.sk_bitmap().width()); width 294 chrome/browser/themes/browser_theme_pack_unittest.cc EXPECT_EQ(160, rep2.sk_bitmap().width()); width 322 chrome/browser/themes/browser_theme_pack_unittest.cc EXPECT_EQ(80, rep3.sk_bitmap().width()); width 344 chrome/browser/themes/browser_theme_pack_unittest.cc EXPECT_EQ(160, rep4.sk_bitmap().width()); width 240 chrome/browser/thumbnails/content_analysis.cc const SkISize image_size = SkISize::Make(input_bitmap->width(), width 244 chrome/browser/thumbnails/content_analysis.cc input_bitmap->config(), image_size.width(), image_size.height()); width 249 chrome/browser/thumbnails/content_analysis.cc input_bitmap->config(), image_size.width(), image_size.height()); width 324 chrome/browser/thumbnails/content_analysis.cc for (int c = 0; c < image_size.width(); ++c, ++row) { width 356 chrome/browser/thumbnails/content_analysis.cc for (int c = 0; c < image_size.width(); ++c) { width 371 chrome/browser/thumbnails/content_analysis.cc for (int c = 0; c < image_size.width(); ++c) { width 392 chrome/browser/thumbnails/content_analysis.cc DCHECK_LE(area.right(), input_bitmap.width()); width 399 chrome/browser/thumbnails/content_analysis.cc columns->resize(area.width(), 0); width 405 chrome/browser/thumbnails/content_analysis.cc for (int c = 0; c < area.width(); ++c, ++image_row) { width 431 chrome/browser/thumbnails/content_analysis.cc static_cast<int>(0.5f * area.width() / target_size.width() + 0.5f); width 481 chrome/browser/thumbnails/content_analysis.cc DCHECK_GT(target_size.width(), 0); width 489 chrome/browser/thumbnails/content_analysis.cc static_cast<float>(target_size.width()) / target_size.height(); width 490 chrome/browser/thumbnails/content_analysis.cc int computed_width = std::max(computed_size.width(), target_size.width()); width 506 chrome/browser/thumbnails/content_analysis.cc static_cast<float>(image_size.width()) / computed_width; width 523 chrome/browser/thumbnails/content_analysis.cc new_computed_width <= target_size.width()) { width 541 chrome/browser/thumbnails/content_analysis.cc static_cast<int>(image_size.width()), width 546 chrome/browser/thumbnails/content_analysis.cc image_size.width() / row_dimension_shrink + 0.5f)); width 550 chrome/browser/thumbnails/content_analysis.cc static_cast<int>(image_size.width()), width 557 chrome/browser/thumbnails/content_analysis.cc new_computed_width = std::max(new_computed_width, target_size.width()); width 654 chrome/browser/thumbnails/content_analysis.cc computed_size.width(), width 669 chrome/browser/thumbnails/content_analysis.cc DCHECK_EQ(bitmap.width(), static_cast<int>(columns.size())); width 696 chrome/browser/thumbnails/content_analysis.cc for (int c = 0; c < bitmap.width(); ++c) { width 712 chrome/browser/thumbnails/content_analysis.cc (bitmap.width() - left_copy_pixel) * bitmap.bytesPerPixel(); width 730 chrome/browser/thumbnails/content_analysis.cc SkBitmap::kA8_Config, source_bitmap.width(), source_bitmap.height()); width 754 chrome/browser/thumbnails/content_analysis.cc gfx::Rect(reduced_color.width(), width 55 chrome/browser/thumbnails/content_analysis_unittest.cc for (int c = 0; c < comparison_area.width(); ++c) { width 69 chrome/browser/thumbnails/content_analysis_unittest.cc return std::abs(static_cast<float>(candidate.width()) / candidate.height() - width 70 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(reference.width()) / reference.height()); width 92 chrome/browser/thumbnails/content_analysis_unittest.cc SkBitmap::kA8_Config, source.width(), source.height()); width 137 chrome/browser/thumbnails/content_analysis_unittest.cc SkBitmap::kA8_Config, source.width(), source.height()); width 150 chrome/browser/thumbnails/content_analysis_unittest.cc draw_rect.width() + 2 * tail_length, width 154 chrome/browser/thumbnails/content_analysis_unittest.cc draw_rect.width() - 2 * tail_length, width 176 chrome/browser/thumbnails/content_analysis_unittest.cc SkBitmap::kA8_Config, source.width(), source.height()); width 194 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_EQ(2 * 255 * (draw_rect.width() - 2), width 202 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_EQ(row_profile[draw_rect.y()], 255U * (draw_rect.width() + 1)); width 241 chrome/browser/thumbnails/content_analysis_unittest.cc SkBitmap::kA8_Config, source.width(), source.height()); width 296 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_LE(adjusted_size.width(), image_size.width()); width 298 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_GE(adjusted_size.width(), target_size.width()); width 310 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_LE(adjusted_size.width(), image_size.width()); width 312 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_GE(adjusted_size.width(), target_size.width()); width 317 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_EQ(computed_size.width(), adjusted_size.width()); width 320 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(target_size.width()) / target_size.height(), width 321 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(adjusted_size.width()) / adjusted_size.height(), width 329 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_LE(adjusted_size.width(), image_size.width()); width 331 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_GE(adjusted_size.width(), target_size.width()); width 336 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(target_size.width()) / target_size.height(), width 337 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(adjusted_size.width()) / adjusted_size.height(), width 346 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_LE(adjusted_size.width(), image_size.width()); width 348 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_GE(adjusted_size.width(), target_size.width()); width 353 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_EQ(computed_size.width(), adjusted_size.width()); width 356 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(target_size.width()) / target_size.height(), width 357 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(adjusted_size.width()) / adjusted_size.height(), width 366 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_LE(adjusted_size.width(), image_size.width()); width 368 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_GE(adjusted_size.width(), target_size.width()); width 374 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_LE(computed_size.width(), adjusted_size.width()); width 376 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(target_size.width()) / target_size.height(), width 377 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(adjusted_size.width()) / adjusted_size.height(), width 384 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_LE(adjusted_size.width(), image_size.width()); width 386 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_GE(adjusted_size.width(), target_size.width()); width 392 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_LE(computed_size.width(), adjusted_size.width()); width 394 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(target_size.width()) / target_size.height(), width 395 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(adjusted_size.width()) / adjusted_size.height(), width 404 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_LE(adjusted_size.width(), image_size.width()); width 406 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_GE(adjusted_size.width(), target_size.width()); width 412 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_LE(computed_size.width(), adjusted_size.width()); width 414 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(target_size.width()) / target_size.height(), width 415 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(adjusted_size.width()) / adjusted_size.height(), width 422 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_LE(adjusted_size.width(), image_size.width()); width 424 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_GE(adjusted_size.width(), target_size.width()); width 431 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(target_size.width()) / target_size.height(), width 432 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(adjusted_size.width()) / adjusted_size.height(), width 555 chrome/browser/thumbnails/content_analysis_unittest.cc static_cast<float>(target_size.width()) / target_size.height(); width 575 chrome/browser/thumbnails/content_analysis_unittest.cc std::vector<bool> columns(image_size.width(), false); width 584 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_EQ(300, result.width()); width 624 chrome/browser/thumbnails/content_analysis_unittest.cc image_size.width() - 2 * margin_horizontal, width 628 chrome/browser/thumbnails/content_analysis_unittest.cc image_size.width() - 2 * margin_horizontal, width 632 chrome/browser/thumbnails/content_analysis_unittest.cc image_size.width() - 2 * margin_horizontal, width 685 chrome/browser/thumbnails/content_analysis_unittest.cc alignment * body_rect.width() / 2 + margin_vertical; width 687 chrome/browser/thumbnails/content_analysis_unittest.cc body_rect.width() / 2 - 2 * margin_vertical, width 703 chrome/browser/thumbnails/content_analysis_unittest.cc EXPECT_LT(result.width(), image_size.width()); width 76 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc if (source_bitmap.width() <= target_thumbnail_size.width() || width 114 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc std::max(1, received_bitmap.width() - scrollbar_size), width 135 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc clipped_bitmap, resize_target.width(), resize_target.height()); width 144 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc if (clipped_bitmap.width() == result_bitmap.width() && width 174 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc gfx::Size(source_bitmap.width(), source_bitmap.height()), width 179 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc thumbnail, thumbnail_size.width(), thumbnail_size.height()); width 218 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc if (source_size.width() < thumbnail_size.width() || width 223 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc } else if (source_size.width() < thumbnail_size.width() * 4 || width 230 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc target_size->SetSize(source_size.width() / 2, source_size.height() / 2); width 83 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc EXPECT_LT(target_size.width(), source_size.width()); width 85 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc EXPECT_NEAR(static_cast<float>(target_size.width()) / target_size.height(), width 86 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc static_cast<float>(source_size.width()) / source_size.height(), width 114 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc EXPECT_GE(result.width(), copy_size.width()); width 116 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc EXPECT_LT(result.width(), source.width()); width 121 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc EXPECT_NEAR(result.width(), source.width(), gfx::scrollbar_size()); width 127 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc EXPECT_GE(result.width(), copy_size.width()); width 129 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc EXPECT_LT(result.width(), source.width()); width 164 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc EXPECT_LT(catcher.captured_bitmap().width(), source.width()); width 69 chrome/browser/thumbnails/simple_thumbnail_crop.cc int pixel_count = bitmap.width() * bitmap.height(); width 78 chrome/browser/thumbnails/simple_thumbnail_crop.cc GetClippingRect(gfx::Size(bitmap.width(), bitmap.height()), width 146 chrome/browser/thumbnails/simple_thumbnail_crop.cc static_cast<float>(desired_size.width()) / desired_size.height(); width 151 chrome/browser/thumbnails/simple_thumbnail_crop.cc if (source_size.width() < desired_size.width() || width 160 chrome/browser/thumbnails/simple_thumbnail_crop.cc static_cast<float>(source_size.width()) / source_size.height(); width 165 chrome/browser/thumbnails/simple_thumbnail_crop.cc int x_offset = (source_size.width() - new_width) / 2; width 172 chrome/browser/thumbnails/simple_thumbnail_crop.cc gfx::Rect(source_size.width(), source_size.width() / desired_aspect); width 208 chrome/browser/thumbnails/simple_thumbnail_crop.cc std::max(1, bitmap.width() - scrollbar_size), width 214 chrome/browser/thumbnails/simple_thumbnail_crop.cc bmp, desired_size.width(), desired_size.height(), clip_result); width 222 chrome/browser/thumbnails/simple_thumbnail_crop.cc clipped_bitmap, desired_size.width(), desired_size.height()); width 237 chrome/browser/thumbnails/simple_thumbnail_crop.cc if (clipped_bitmap.width() == result.width() && width 50 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc canvas.FillRect(gfx::Rect(0, 0, kSize.width() / 2, kSize.height()), width 55 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc ASSERT_EQ(kSize.width(), bitmap.width()); width 72 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(40, clipped_bitmap.width()); width 89 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(40, clipped_bitmap.width()); width 106 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(40, clipped_bitmap.width()); width 123 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(40, clipped_bitmap.width()); width 140 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(40, clipped_bitmap.width()); width 149 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc static_cast<float>(thumbnail_size.width()) / thumbnail_size.height(); width 162 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc static_cast<float>(clipping_size.width()) / clipping_size.height(); width 174 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc static_cast<float>(clipping_size.width()) / clipping_size.height(); width 186 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc static_cast<float>(clipping_size.width()) / clipping_size.height(); width 215 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(500, clip_rect.width()); width 224 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_GE(2000, clip_rect.width()); width 52 chrome/browser/ui/android/autofill/autofill_popup_view_android.cc controller_->element_bounds().width(), width 102 chrome/browser/ui/app_list/app_list_positioner.cc anchor = gfx::Point(work_area.x() + work_area.width() / 2, work_area.y()); width 106 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Point(work_area.x() + work_area.width() / 2, work_area.bottom()); width 154 chrome/browser/ui/app_list/app_list_positioner.cc shelf_rect.width() == work_area.width()) { width 198 chrome/browser/ui/app_list/app_list_positioner.cc bounds_rect.Inset(window_size_.width() / 2 + min_distance_from_edge_, width 85 chrome/browser/ui/app_list/extension_app_item.cc new gfx::Canvas(gfx::Size(icon_.width(), icon_.height()), 1.0f, false)); width 92 chrome/browser/ui/app_list/extension_app_item.cc gfx::Rect(icon_.width(), icon_.height()), width 110 chrome/browser/ui/app_list/fast_show_pickler.cc int width = 0; width 111 chrome/browser/ui/app_list/fast_show_pickler.cc if (!it->ReadInt(&width)) width 135 chrome/browser/ui/app_list/fast_show_pickler.cc bitmap.setConfig(static_cast<SkBitmap::Config>(config), width, height); width 54 chrome/browser/ui/app_list/search/webstore/webstore_result.cc badge, icon_.width() - badge.width(), icon_.height() - badge.height()); width 148 chrome/browser/ui/ash/launcher/launcher_favicon_loader.cc new_bitmap.width() > kMaxBitmapSize) width 29 chrome/browser/ui/ash/shelf_browsertest.cc old_bounds.width(), width 164 chrome/browser/ui/ash/window_positioner_unittest.cc popup_position.width(), popup_position.height()), width 170 chrome/browser/ui/ash/window_positioner_unittest.cc popup_position.width(), popup_position.height()), width 174 chrome/browser/ui/ash/window_positioner_unittest.cc window()->SetBounds(gfx::Rect(work_area.x() + popup_position.width() - 1, width 176 chrome/browser/ui/ash/window_positioner_unittest.cc work_area.width() - width 177 chrome/browser/ui/ash/window_positioner_unittest.cc 2 * (popup_position.width() - 1), width 184 chrome/browser/ui/ash/window_positioner_unittest.cc popup_position.width(), popup_position.height()), width 195 chrome/browser/ui/ash/window_positioner_unittest.cc popup_position_4.width(), popup_position_4.height()), width 201 chrome/browser/ui/ash/window_positioner_unittest.cc work_area.width() + 1 - width 209 chrome/browser/ui/ash/window_positioner_unittest.cc popup_position_5.width(), popup_position_5.height()), width 218 chrome/browser/ui/ash/window_positioner_unittest.cc window()->SetBounds(gfx::Rect(work_area.x() + popup_position.width(), width 220 chrome/browser/ui/ash/window_positioner_unittest.cc work_area.width() - 2 * popup_position.width(), width 226 chrome/browser/ui/ash/window_positioner_unittest.cc popup_position.width(), popup_position.height()), width 236 chrome/browser/ui/ash/window_positioner_unittest.cc popup_position.width(), popup_position.height()), width 244 chrome/browser/ui/ash/window_positioner_unittest.cc popup_position.width(), width 251 chrome/browser/ui/ash/window_positioner_unittest.cc popup_position.width(), popup_position.height()), width 256 chrome/browser/ui/ash/window_positioner_unittest.cc popup_position.width(), width 262 chrome/browser/ui/ash/window_positioner_unittest.cc popup_position.width(), grid_size_), width 264 chrome/browser/ui/ash/window_positioner_unittest.cc popup_position.width(), popup_position.height()), width 272 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect pop_position(0, 0, work_area.width(), work_area.height()); width 277 chrome/browser/ui/ash/window_positioner_unittest.cc pop_position.width(), pop_position.height()), width 910 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc ASSERT_GT(no_notification_size.width(), 0); width 925 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc EXPECT_EQ(no_notification_size.width(), width 926 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc GetViewTester()->GetSize().width()); width 135 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc int popup_width = popup_bounds().width(); width 367 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc popup_bounds_.width() - 2 * kPopupBorderThickness, width 576 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc int popup_width = controller_common_->RoundedElementBounds().width(); width 163 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc int width = std::max(minimum_required_width, width 164 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc controller_common_.RoundedElementBounds().width()); width 169 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc width = std::max(width, width 174 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc return width; width 177 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc int PasswordGenerationPopupControllerImpl::GetDesiredHeight(int width) { width 183 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc int usable_width = width - 2 * kHorizontalPadding; width 205 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc int sub_view_width = popup_bounds_.width() - 2 * kPopupBorderThickness; width 125 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h int GetDesiredHeight(int width); width 68 chrome/browser/ui/autofill/popup_controller_common.cc right_display.GetSizeInPixel().width() + right_display.bounds().x(); width 132 chrome/browser/ui/autofill/popup_controller_common.cc gfx::Vector2d(RoundedElementBounds().width() - popup_required_width, width 55 chrome/browser/ui/blocked_content/blocked_window_params.cc nav_params.window_bounds.set_width(features_.width); width 359 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc EXPECT_TRUE(349 <= window_size.width() && window_size.width() <= 351); width 298 chrome/browser/ui/browser_browsertest.cc size.Enlarge(wcv_resize_insets_.width(), wcv_resize_insets_.height()); width 2523 chrome/browser/ui/browser_browsertest.cc EXPECT_EQ(gfx::Size(initial_wcv_size.width(), width 2541 chrome/browser/ui/browser_browsertest.cc EXPECT_EQ(gfx::Size(wcv_commit_size0.width(), width 2593 chrome/browser/ui/browser_browsertest.cc EXPECT_EQ(gfx::Size(initial_wcv_size.width(), width 2599 chrome/browser/ui/browser_browsertest.cc exp_commit_size.Enlarge(wcv_resize_insets.width(), width 2602 chrome/browser/ui/browser_browsertest.cc exp_commit_size.Enlarge(wcv_resize_insets.width(), width 2608 chrome/browser/ui/browser_browsertest.cc exp_final_size.Enlarge(wcv_resize_insets.width(), width 109 chrome/browser/ui/browser_window_state.cc int width, height; width 110 chrome/browser/ui/browser_window_state.cc if (ParseCommaSeparatedIntegers(str, &width, &height)) width 111 chrome/browser/ui/browser_window_state.cc bounds->set_size(gfx::Size(width, height)); width 17 chrome/browser/ui/chrome_style.cc DCHECK_EQ(image->width(), image->height()); width 18 chrome/browser/ui/chrome_style.cc return image->width(); width 58 chrome/browser/ui/cocoa/autofill/autofill_main_container.h - (NSSize)decorationSizeForWidth:(CGFloat)width; width 41 chrome/browser/ui/cocoa/autofill/autofill_notification_container.h - (NSSize)preferredSizeForWidth:(CGFloat)width; width 63 chrome/browser/ui/cocoa/autofill/autofill_notification_controller.h - (NSSize)preferredSizeForWidth:(CGFloat)width; width 36 chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.h - (CGFloat)heightForWidth:(int)width; width 30 chrome/browser/ui/cocoa/autofill/layout_view.h - (CGFloat)preferredHeightForWidth:(CGFloat)width; width 64 chrome/browser/ui/cocoa/autofill/simple_grid_layout.h void SizeRowsAndColumns(float width); width 113 chrome/browser/ui/cocoa/autofill/simple_grid_layout.h void CalculateSize(float width); width 133 chrome/browser/ui/cocoa/autofill/simple_grid_layout.h float CalculateRemainingWidth(float width); width 134 chrome/browser/ui/cocoa/autofill/simple_grid_layout.h void DistributeRemainingWidth(float width); width 33 chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.h - (CGFloat)preferredHeightForWidth:(CGFloat)width; width 48 chrome/browser/ui/cocoa/browser_window_controller_private.h width:(CGFloat)width width 56 chrome/browser/ui/cocoa/browser_window_controller_private.h width:(CGFloat)width; width 69 chrome/browser/ui/cocoa/browser_window_controller_private.h width:(CGFloat)width; width 81 chrome/browser/ui/cocoa/browser_window_controller_private.h width:(CGFloat)width; width 88 chrome/browser/ui/cocoa/browser_window_controller_private.h width:(CGFloat)width; width 66 chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h - (void)resizeToWidth:(CGFloat)width animate:(BOOL)animate; width 56 chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.h - (void)positionInWindowAtTop:(CGFloat)maxY width:(CGFloat)maxWidth; width 35 chrome/browser/ui/cocoa/location_bar/bubble_decoration.h virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE; width 56 chrome/browser/ui/cocoa/location_bar/button_decoration.h virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE; width 39 chrome/browser/ui/cocoa/location_bar/content_setting_decoration.h virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE; width 34 chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE; width 26 chrome/browser/ui/cocoa/location_bar/image_decoration.h virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE; width 28 chrome/browser/ui/cocoa/location_bar/keyword_hint_decoration.h virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE; width 38 chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h virtual CGFloat GetWidthForSpace(CGFloat width); width 36 chrome/browser/ui/cocoa/location_bar/origin_chip_decoration.h virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE; width 53 chrome/browser/ui/cocoa/location_bar/page_action_decoration.h virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE; width 22 chrome/browser/ui/cocoa/location_bar/search_button_decoration.h virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE; width 27 chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE; width 184 chrome/browser/ui/find_bar/find_bar_controller.cc int boundary = dialog_bounds.width() - view_location.width(); width 199 chrome/browser/ui/find_bar/find_bar_controller.cc avoid_overlapping_rect.width() + width 203 chrome/browser/ui/find_bar/find_bar_controller.cc if (new_pos.x() + new_pos.width() > dialog_bounds.width()) width 206 chrome/browser/ui/find_bar/find_bar_controller.cc new_pos.set_x(avoid_overlapping_rect.x() - new_pos.width() - width 1402 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc popup->window()->GetBounds().width()); width 80 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gtk_window_set_default_size(window_, initial_bounds.width(), win_height); width 87 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc initial_bounds.width(), win_height); width 224 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc window_bounds.width, window_bounds.height); width 313 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc content_bounds.width(), content_bounds.height()); width 316 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Size(bounds.width(), bounds.height())); width 384 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc return gfx::Point(current_width / 2 - size.width() / 2, width 433 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc bounds_.SetRect(event->x, event->y, event->width, event->height); width 493 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc hints.min_width = min_size.width(); width 499 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc hints.max_width = max_size.width() == kUnboundedSize ? width 500 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc G_MAXINT : max_size.width(); width 731 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc rect_with_decorations.width - current_width - left_inset); width 97 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc controller_->popup_bounds().width(), width 172 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc pango_layout_set_width(layout_, window_->allocation.width * PANGO_SCALE); width 206 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc separator_rect.width(), width 218 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc entry_rect.width(), entry_rect.height()); width 240 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc entry_rect.width() - value_text_width - kEndPadding : kEndPadding; width 248 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc int x_align_left = is_rtl ? kEndPadding : entry_rect.width() - kEndPadding; width 111 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc if (req->width < minimum_width_) width 112 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc req->width = minimum_width_; width 114 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc minimum_width_ = req->width; width 173 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc allocation.width, allocation.height); width 210 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc gfx::Rect check_rect(0, 0, check_image->width(), check_image->height()); width 212 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc int x = avatar_image->width() - check_image->width() + kCheckMarkXOffset; width 531 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc extra_space = allocation.width; width 627 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc int total_width = allocation.width - 2; width 635 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc width_used += requested_size_.width; width 859 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc int margin = std::min(15, static_cast<int>(0.3 * allocation.width)); width 860 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (x > margin && x < (allocation.width - margin)) width 1212 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::Rect(req.width, req.height).CenterPoint() + width 1299 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (allocation->width == last_allocation_width_) { width 1306 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc last_allocation_width_ = allocation->width; width 1464 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::Rect(0, 0, allocation.width, allocation.height) : width 356 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc int width = gtk_util::GetWidgetSize(widget).width(); width 357 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc gtk_util::SetLabelWidth(promo_label_, width); width 369 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc gfx::Point(allocation.width + 1, 0), width 378 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc canvas.DrawPoint(gfx::Point(allocation.width - 1, allocation.height - 1), width 154 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc int text_width = allocation.width - text_x; width 719 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc start_width_ = allocation.width; width 802 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc int width = start_width_ + (desired_width_ - start_width_) * width 804 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gtk_widget_set_size_request(button_hbox_.get(), width, -1); width 806 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (width == desired_width_) width 892 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gint overflow_width = req.width; width 894 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gint button_hbox_width = req.width; width 916 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc x = allocation.width - x; width 990 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc distance_dragged = event->x - widget_allocation.width; width 995 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gint new_width = button_hbox_allocation.width - distance_dragged; width 1029 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gfx::Rect gripper_rect(0, 0, allocation.width, allocation.height); width 709 chrome/browser/ui/gtk/browser_titlebar.cc close_button_req.width += kButtonOuterPadding; width 725 chrome/browser/ui/gtk/browser_titlebar.cc close_button_req.width, width 730 chrome/browser/ui/gtk/browser_titlebar.cc minimize_button_req.width, width 735 chrome/browser/ui/gtk/browser_titlebar.cc restore_button_req.width, width 888 chrome/browser/ui/gtk/browser_titlebar.cc gint width = allocation.width; width 893 chrome/browser/ui/gtk/browser_titlebar.cc width = screen_rect.width; width 899 chrome/browser/ui/gtk/browser_titlebar.cc browser_window_->SetBounds(gfx::Rect(x, y, width, height)); width 526 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gfx::Rect right(allocation.x + allocation.width - kCornerWidth, width 545 chrome/browser/ui/gtk/browser_toolbar_gtk.cc cairo_rectangle(cr, area.x(), area.y(), area.width(), area.height()); width 562 chrome/browser/ui/gtk/browser_toolbar_gtk.cc allocation.x + allocation.width, width 580 chrome/browser/ui/gtk/browser_toolbar_gtk.cc right.width(), right.height()); width 710 chrome/browser/ui/gtk/browser_toolbar_gtk.cc int x_offset = base::i18n::IsRTL() ? 0 : allocation.width - badge->width(); width 148 chrome/browser/ui/gtk/browser_window_gtk.cc gint x, y, width, height; width 150 chrome/browser/ui/gtk/browser_window_gtk.cc gtk_window_get_size(window, &width, &height); width 151 chrome/browser/ui/gtk/browser_window_gtk.cc return gfx::Rect(x, y, width, height); width 382 chrome/browser/ui/gtk/browser_window_gtk.cc int center_width = window_vbox_allocation.width; width 499 chrome/browser/ui/gtk/browser_window_gtk.cc window_vbox_allocation.width - 2, width 519 chrome/browser/ui/gtk/browser_window_gtk.cc event->area.width, event->area.height); width 539 chrome/browser/ui/gtk/browser_window_gtk.cc event->area.width, surface->Height() - event->area.y); width 612 chrome/browser/ui/gtk/browser_window_gtk.cc gint width = static_cast<gint>(bounds.width()); width 619 chrome/browser/ui/gtk/browser_window_gtk.cc gtk_window_util::SetWindowSize(window_, gfx::Size(width, height)); width 622 chrome/browser/ui/gtk/browser_window_gtk.cc width, height); width 1070 chrome/browser/ui/gtk/browser_window_gtk.cc UpdateWindowShape(bounds_.width(), bounds_.height()); width 1318 chrome/browser/ui/gtk/browser_window_gtk.cc UpdateWindowShape(bounds_.width(), bounds_.height()); width 1357 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect bounds(event->x, event->y, event->width, event->height); width 1372 chrome/browser/ui/gtk/browser_window_gtk.cc UpdateWindowShape(bounds.width(), bounds.height()); width 1417 chrome/browser/ui/gtk/browser_window_gtk.cc UpdateWindowShape(bounds_.width(), bounds_.height()); width 1800 chrome/browser/ui/gtk/browser_window_gtk.cc void BrowserWindowGtk::UpdateWindowShape(int width, int height) { width 1802 chrome/browser/ui/gtk/browser_window_gtk.cc GdkRegion* mask = GetWindowShape(width, height); width 1816 chrome/browser/ui/gtk/browser_window_gtk.cc GdkRegion* BrowserWindowGtk::GetWindowShape(int width, int height) const { width 1820 chrome/browser/ui/gtk/browser_window_gtk.cc GdkRectangle top_top_rect = { 3, 0, width - 6, 1 }; width 1821 chrome/browser/ui/gtk/browser_window_gtk.cc GdkRectangle top_mid_rect = { 1, 1, width - 2, 2 }; width 1822 chrome/browser/ui/gtk/browser_window_gtk.cc GdkRectangle mid_rect = { 0, 3, width, height - 6 }; width 1837 chrome/browser/ui/gtk/browser_window_gtk.cc GdkRectangle rect = { 0, 0, width, height }; width 1867 chrome/browser/ui/gtk/browser_window_gtk.cc UpdateWindowShape(bounds_.width(), bounds_.height()); width 1934 chrome/browser/ui/gtk/browser_window_gtk.cc (location_icon_allocation.width + 1) / 2, width 2340 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Size container_size(allocation->width, allocation->height); width 2341 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect old_devtools_bounds(0, 0, allocation->width, allocation->height); width 2343 chrome/browser/ui/gtk/browser_window_gtk.cc contents_allocation.width, contents_allocation.height); width 2353 chrome/browser/ui/gtk/browser_window_gtk.cc new_contents_bounds.width(), new_contents_bounds.height()); width 292 chrome/browser/ui/gtk/browser_window_gtk.h GdkRegion* GetWindowShape(int width, int height) const; width 343 chrome/browser/ui/gtk/browser_window_gtk.h void UpdateWindowShape(int width, int height); width 281 chrome/browser/ui/gtk/bubble/bubble_gtk.cc int width, width 303 chrome/browser/ui/gtk/bubble/bubble_gtk.cc x_off_r, top_arrow_size + kCornerSize - 1, width, on_left)); width 305 chrome/browser/ui/gtk/bubble/bubble_gtk.cc kCornerSize + x_off_r - 1, top_arrow_size, width, on_left)); width 309 chrome/browser/ui/gtk/bubble/bubble_gtk.cc int arrow_x = frame_style == ANCHOR_TOP_MIDDLE ? width / 2 : kArrowX; width 311 chrome/browser/ui/gtk/bubble/bubble_gtk.cc arrow_x - top_arrow_size + x_off_r, top_arrow_size, width, on_left)); width 313 chrome/browser/ui/gtk/bubble/bubble_gtk.cc arrow_x + x_off_r, 0, width, on_left)); width 315 chrome/browser/ui/gtk/bubble/bubble_gtk.cc arrow_x + 1 + x_off_l, 0, width, on_left)); width 318 chrome/browser/ui/gtk/bubble/bubble_gtk.cc width, on_left)); width 323 chrome/browser/ui/gtk/bubble/bubble_gtk.cc width - kCornerSize + 1 + x_off_l, top_arrow_size, width, on_left)); width 325 chrome/browser/ui/gtk/bubble/bubble_gtk.cc width + x_off_l, top_arrow_size + kCornerSize - 1, width, on_left)); width 329 chrome/browser/ui/gtk/bubble/bubble_gtk.cc width + x_off_l, height - bottom_arrow_size - kCornerSize, width 330 chrome/browser/ui/gtk/bubble/bubble_gtk.cc width, on_left)); width 332 chrome/browser/ui/gtk/bubble/bubble_gtk.cc width - kCornerSize + x_off_r, height - bottom_arrow_size + y_off, width 333 chrome/browser/ui/gtk/bubble/bubble_gtk.cc width, on_left)); width 338 chrome/browser/ui/gtk/bubble/bubble_gtk.cc width / 2 : kArrowX; width 342 chrome/browser/ui/gtk/bubble/bubble_gtk.cc width, width 345 chrome/browser/ui/gtk/bubble/bubble_gtk.cc arrow_x + 1 + x_off_l, height + y_off, width, on_left)); width 347 chrome/browser/ui/gtk/bubble/bubble_gtk.cc arrow_x + x_off_r, height + y_off, width, on_left)); width 351 chrome/browser/ui/gtk/bubble/bubble_gtk.cc width, width 358 chrome/browser/ui/gtk/bubble/bubble_gtk.cc width, on_left)); width 360 chrome/browser/ui/gtk/bubble/bubble_gtk.cc x_off_r, height - bottom_arrow_size - kCornerSize, width, on_left)); width 369 chrome/browser/ui/gtk/bubble/bubble_gtk.cc int width, width 407 chrome/browser/ui/gtk/bubble/bubble_gtk.cc std::max(width + arrow_x - kArrowX - screen_width, 0); width 408 chrome/browser/ui/gtk/bubble/bubble_gtk.cc const int right_arrow_bleed = std::max(width - arrow_x - kArrowX, 0); width 432 chrome/browser/ui/gtk/bubble/bubble_gtk.cc toplevel_x + offset_x + (rect_.width() / 2), // arrow_x width 434 chrome/browser/ui/gtk/bubble/bubble_gtk.cc allocation.width, width 455 chrome/browser/ui/gtk/bubble/bubble_gtk.cc actual_frame_style_, allocation.width, allocation.height, width 488 chrome/browser/ui/gtk/bubble/bubble_gtk.cc toplevel_allocation.width - bubble_allocation.width - width 496 chrome/browser/ui/gtk/bubble/bubble_gtk.cc toplevel_x + offset_x + (rect_.width() / 2) - allocation.width / 2; width 498 chrome/browser/ui/gtk/bubble/bubble_gtk.cc screen_x = toplevel_x + offset_x + (rect_.width() / 2) - kArrowX; width 502 chrome/browser/ui/gtk/bubble/bubble_gtk.cc screen_x = toplevel_x + offset_x + (rect_.width() / 2) - width 503 chrome/browser/ui/gtk/bubble/bubble_gtk.cc allocation.width + kArrowX; width 675 chrome/browser/ui/gtk/bubble/bubble_gtk.cc actual_frame_style_, allocation.width, allocation.height, width 138 chrome/browser/ui/gtk/bubble/bubble_gtk.h int width, width 150 chrome/browser/ui/gtk/bubble/bubble_gtk.h int width, width 56 chrome/browser/ui/gtk/bubble/bubble_gtk_browsertest.cc int width = gdk_screen_get_width(gdk_screen_get_default()); width 63 chrome/browser/ui/gtk/bubble/bubble_gtk_browsertest.cc {width - 1, 0, BubbleGtk::ANCHOR_TOP_RIGHT}, width 65 chrome/browser/ui/gtk/bubble/bubble_gtk_browsertest.cc {width - 1, height - 1, BubbleGtk::ANCHOR_BOTTOM_RIGHT}, width 99 chrome/browser/ui/gtk/bubble/bubble_gtk_browsertest.cc int width = gdk_screen_get_width(gdk_screen_get_default()); width 106 chrome/browser/ui/gtk/bubble/bubble_gtk_browsertest.cc {width - 1, 0, BubbleGtk::FLOAT_BELOW_RECT}, width 108 chrome/browser/ui/gtk/bubble/bubble_gtk_browsertest.cc {width - 1, height - 1, BubbleGtk::CENTER_OVER_RECT}, width 122 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc dialog_size.width(), width 240 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc menu_width = std::max(menu_width, menu_req.width); width 109 chrome/browser/ui/gtk/custom_button.cc cairo_translate(cairo_context, allocation.width, 0.0f); width 615 chrome/browser/ui/gtk/download/download_item_gtk.cc gint label_width = req.width; width 616 chrome/browser/ui/gtk/download/download_item_gtk.cc if (req.width > kDangerousTextWidth) { width 621 chrome/browser/ui/gtk/download/download_item_gtk.cc int full_width = req.width; width 634 chrome/browser/ui/gtk/download/download_item_gtk.cc dangerous_hbox_full_width_ = req.width; width 729 chrome/browser/ui/gtk/download/download_item_gtk.cc int width = allocation.width - border_width * 2; width 739 chrome/browser/ui/gtk/download/download_item_gtk.cc x, y, width, height); width 763 chrome/browser/ui/gtk/download/download_item_gtk.cc x, y, width, height); width 772 chrome/browser/ui/gtk/download/download_item_gtk.cc x, y, width, height); width 786 chrome/browser/ui/gtk/download/download_item_gtk.cc left_clip.x + left_clip.width); width 57 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc int width, width 73 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gtk_util::SetLabelWidth(detail_label, width - kDetailIndent); width 252 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc if (scaled_icon.width() > kImageSize || scaled_icon.height() > kImageSize) { width 379 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc scrolled_window, requisition.width, requisition.height); width 139 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc gfx::Size size(bubble_.icon().width(), bubble_.icon().height()); width 140 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc if (size.width() > kIconSize || size.height() > kIconSize) { width 141 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc if (size.width() > size.height()) { width 142 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc size.set_height(size.height() * kIconSize / size.width()); width 145 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc size.set_width(size.width() * kIconSize / size.height()); width 150 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc pixbuf = gdk_pixbuf_scale_simple(pixbuf, size.width(), size.height(), width 278 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc bounds.Offset(bounds.width(), 0); width 136 chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc int width = std::max(kMinWidth, std::min(kMaxWidth, new_size.width())); width 139 chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc view->render_view_host()->GetView()->SetSize(gfx::Size(width, height)); width 140 chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc gtk_widget_set_size_request(view->native_view(), width, height); width 91 chrome/browser/ui/gtk/find_bar_gtk.cc std::vector<GdkPoint> MakeFramePolygonPoints(int width, width 109 chrome/browser/ui/gtk/find_bar_gtk.cc points.push_back(MakeBidiGdkPoint(x_off_r, 0, width, ltr)); width 111 chrome/browser/ui/gtk/find_bar_gtk.cc kCornerSize + x_off_r, kCornerSize, width, ltr)); width 115 chrome/browser/ui/gtk/find_bar_gtk.cc kCornerSize + x_off_r, height - kCornerSize, width, ltr)); width 118 chrome/browser/ui/gtk/find_bar_gtk.cc width, ltr)); width 122 chrome/browser/ui/gtk/find_bar_gtk.cc width - (2 * kCornerSize) + x_off_r, height + y_off, width 123 chrome/browser/ui/gtk/find_bar_gtk.cc width, ltr)); width 125 chrome/browser/ui/gtk/find_bar_gtk.cc width - kCornerSize + x_off_l, height - kCornerSize, width, ltr)); width 129 chrome/browser/ui/gtk/find_bar_gtk.cc width - kCornerSize + x_off_l, kCornerSize, width, ltr)); width 130 chrome/browser/ui/gtk/find_bar_gtk.cc points.push_back(MakeBidiGdkPoint(width + x_off_l, 0, width, ltr)); width 452 chrome/browser/ui/gtk/find_bar_gtk.cc std::max(0, parent_allocation.width - (ltr ? 15 : 0)), 0); width 456 chrome/browser/ui/gtk/find_bar_gtk.cc gfx::Size prefsize(req.width, req.height); width 459 chrome/browser/ui/gtk/find_bar_gtk.cc ltr ? dialog_bounds.width() - prefsize.width() : dialog_bounds.x(), width 460 chrome/browser/ui/gtk/find_bar_gtk.cc dialog_bounds.y(), prefsize.width(), prefsize.height()); width 608 chrome/browser/ui/gtk/find_bar_gtk.cc return allocation.width; width 872 chrome/browser/ui/gtk/find_bar_gtk.cc rec.width -= padding; width 890 chrome/browser/ui/gtk/find_bar_gtk.cc if (bar->container_width_ != allocation.width || width 893 chrome/browser/ui/gtk/find_bar_gtk.cc allocation.width, allocation.height, FRAME_MASK); width 903 chrome/browser/ui/gtk/find_bar_gtk.cc bar->container_width_ = allocation.width; width 915 chrome/browser/ui/gtk/find_bar_gtk.cc allocation.width, allocation.height, FRAME_STROKE); width 920 chrome/browser/ui/gtk/find_bar_gtk.cc if (bar->container_width_ != allocation.width || width 927 chrome/browser/ui/gtk/find_bar_gtk.cc bar->container_width_ = allocation.width; width 971 chrome/browser/ui/gtk/find_bar_gtk.cc border_allocation.width - background_left->Width(), width 184 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc return gfx::Rect(bubble_size.width, bubble_size.height); width 202 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc int width, height, x, y; width 203 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc gtk_window_get_size(window, &width, &height); width 205 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc return gfx::Rect(x, y, width, height).Contains(pos); width 246 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc g_value_set_int(&value, (allocation->width - bubble_size.width) / 2); width 147 chrome/browser/ui/gtk/global_error_bubble.cc int width = gtk_util::GetWidgetSize(sender).width(); width 148 chrome/browser/ui/gtk/global_error_bubble.cc message_width_ = std::max(message_width_, width); width 174 chrome/browser/ui/gtk/gtk_chrome_link_button.cc allocation.width, allocation.height); width 38 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc (*reinterpret_cast<int*>(userdata)) += std::max(req.width, 0); width 52 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc if (child_allocation.width > data->homogeneous_child_width) { width 54 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc (child_allocation.width - data->homogeneous_child_width) / 2; width 55 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc child_allocation.width = data->homogeneous_child_width; width 70 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc child_allocation.width -= overflow; width 76 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc int overflow = (child_allocation.x + child_allocation.width + padding - width 77 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc (data->allocation->x + data->allocation->width - data->border_width)); width 79 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc child_allocation.width -= overflow; width 86 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc if (child_allocation.width != current_allocation.width) { width 87 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc if (data->box->hide_child_directly || child_allocation.width <= 1) width 184 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc if (widget_allocation.width < allocation->width || width 216 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc (allocation->width - data.border_width * 2 - width 36 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc int width; width 48 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc for (size_t i = 0; kChildrenData[i].width; ++i) { width 50 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc gtk_widget_set_size_request(child, kChildrenData[i].width, -1); width 79 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc int width = box_->allocation.width - border_width * 2; width 87 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc (width - (visible_children_count - 1) * spacing) / width 95 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc << " width: " << children_data[i].width); width 98 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc ASSERT_LE(children_data[i].width, homogeneous_child_width); width 112 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc << " width: " << children_data[i].width); width 122 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc ASSERT_LE(children_data[i].x + children_data[i].width, width 123 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc x + width - children_data[i].padding); width 134 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc for (int width = 500; width > kBorderWidth * 2; --width) { width 136 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc << " width = " << width); width 138 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc allocation.width = width; width 144 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc ASSERT_NO_FATAL_FAILURE(Validate(pack_start)) << "width = " << width; width 147 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc for (int width = kBorderWidth * 2; width <= 500; ++width) { width 149 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc << " width = " << width); width 151 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc allocation.width = width; width 162 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc for (int width = 500; width > kBorderWidth * 2; --width) { width 164 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc << " width = " << width); width 166 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc allocation.width = width; width 172 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc for (int width = kBorderWidth * 2; width <= 500; ++width) { width 174 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc << " width = " << width); width 176 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc allocation.width = width; width 192 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc int width; width 204 chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc data.width = child->allocation.width; width 219 chrome/browser/ui/gtk/gtk_custom_menu_item.cc int width = last_allocation.width + last_allocation.x - first_allocation.x; width 227 chrome/browser/ui/gtk/gtk_custom_menu_item.cc x, y, width, height); width 274 chrome/browser/ui/gtk/gtk_custom_menu_item.cc button_allocation.width - half_offset); width 390 chrome/browser/ui/gtk/gtk_custom_menu_item.cc if (x >= offset_x && x < (offset_x + alloc.width) && width 69 chrome/browser/ui/gtk/gtk_input_event_box.cc attributes.width = allocation.width; width 133 chrome/browser/ui/gtk/gtk_input_event_box.cc allocation->width, width 213 chrome/browser/ui/gtk/gtk_theme_service.cc original.width(), original.height(), 0); width 1077 chrome/browser/ui/gtk/gtk_theme_service.cc bg_tint, 0, 0, bg_tint.width(), bg_tint.height()); width 345 chrome/browser/ui/gtk/gtk_util.cc int* width, int* height) { width 352 chrome/browser/ui/gtk/gtk_util.cc if (width) { width 353 chrome/browser/ui/gtk/gtk_util.cc *width = static_cast<int>( width 369 chrome/browser/ui/gtk/gtk_util.cc int* width, int* height) { width 374 chrome/browser/ui/gtk/gtk_util.cc if (width) width 381 chrome/browser/ui/gtk/gtk_util.cc GetWidgetSizeFromCharacters(widget, chars, lines, width, height); width 386 chrome/browser/ui/gtk/gtk_util.cc int width = -1; width 389 chrome/browser/ui/gtk/gtk_util.cc (width_id != -1) ? &width : NULL, width 393 chrome/browser/ui/gtk/gtk_util.cc gtk_window_set_default_size(window, width, height); width 409 chrome/browser/ui/gtk/gtk_util.cc width == -1 ? -1 : std::max(width, requisition.width), width 489 chrome/browser/ui/gtk/gtk_util.cc return gfx::Size(size.width, size.height); width 538 chrome/browser/ui/gtk/gtk_util.cc return allocation.width - bounds.x() - bounds.width(); width 547 chrome/browser/ui/gtk/gtk_util.cc return allocation.width - bounds.x(); width 554 chrome/browser/ui/gtk/gtk_util.cc return allocation.width - x; width 643 chrome/browser/ui/gtk/gtk_util.cc GdkPoint MakeBidiGdkPoint(gint x, gint y, gint width, bool ltr) { width 644 chrome/browser/ui/gtk/gtk_util.cc GdkPoint point = {ltr ? x : width - x, y}; width 692 chrome/browser/ui/gtk/gtk_util.cc rec->x, rec->y, rec->width, rec->height); width 698 chrome/browser/ui/gtk/gtk_util.cc gint width = rec->width - 2 * xborder; width 700 chrome/browser/ui/gtk/gtk_util.cc if (width > 0 && height > 0) { width 705 chrome/browser/ui/gtk/gtk_util.cc width, height); width 747 chrome/browser/ui/gtk/gtk_util.cc event->area.x + event->area.width - tabstrip_origin.x(), width 793 chrome/browser/ui/gtk/gtk_util.cc return gfx::Rect(x, y, allocation.width, allocation.height); width 839 chrome/browser/ui/gtk/gtk_util.cc return gfx::Rect(0, 0, allocation.width, allocation.height); width 924 chrome/browser/ui/gtk/gtk_util.cc gint width; width 927 chrome/browser/ui/gtk/gtk_util.cc gtk_util::GetWidgetSizeFromResources(dialog, width_id, 0, &width, NULL); width 928 chrome/browser/ui/gtk/gtk_util.cc if (width > req.width) width 929 chrome/browser/ui/gtk/gtk_util.cc gtk_widget_set_size_request(dialog, width, -1); width 940 chrome/browser/ui/gtk/gtk_util.cc gint x = 0, y = 0, width = 1, height = 1; width 942 chrome/browser/ui/gtk/gtk_util.cc gtk_window_get_size(GTK_WINDOW(dialog), &width, &height); width 944 chrome/browser/ui/gtk/gtk_util.cc return gfx::Rect(x, y, width, height); width 990 chrome/browser/ui/gtk/gtk_util.cc gtk_widget_set_size_request(label, size.width, size.height); width 63 chrome/browser/ui/gtk/gtk_util.h int* width, int* height); width 71 chrome/browser/ui/gtk/gtk_util.h int* width, int* height); width 181 chrome/browser/ui/gtk/gtk_util.h GdkPoint MakeBidiGdkPoint(gint x, gint y, gint width, bool ltr); width 121 chrome/browser/ui/gtk/gtk_window_util.cc return bounds.size() == gfx::Size(monitor_size.width, monitor_size.height); width 131 chrome/browser/ui/gtk/gtk_window_util.cc if (bounds.size() == gfx::Size(monitor_size.width, monitor_size.height)) width 196 chrome/browser/ui/gtk/gtk_window_util.cc gtk_window_resize(window, bounds.width(), bounds.height() - 1); width 221 chrome/browser/ui/gtk/gtk_window_util.cc if (current_width == size_with_decorations.width && width 231 chrome/browser/ui/gtk/gtk_window_util.cc if (gfx::Size(monitor_size.width, monitor_size.height) == size) { width 232 chrome/browser/ui/gtk/gtk_window_util.cc gtk_window_resize(window, size.width(), size.height() - 1); width 239 chrome/browser/ui/gtk/gtk_window_util.cc if (size_with_decorations.width > current_width) { width 240 chrome/browser/ui/gtk/gtk_window_util.cc new_size.set_width(size.width() - size_with_decorations.width + width 249 chrome/browser/ui/gtk/gtk_window_util.cc gtk_window_resize(window, new_size.width(), new_size.height()); width 275 chrome/browser/ui/gtk/gtk_window_util.cc gfx::Rect north(0, 0, window_size.width(), width 279 chrome/browser/ui/gtk/gtk_window_util.cc window_size.width(), kResizeAreaCornerSize); width 280 chrome/browser/ui/gtk/gtk_window_util.cc gfx::Rect east(window_size.width() - kResizeAreaCornerSize, 0, width 196 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc if (favicon.width() > 0) width 167 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc gfx::Size(image_size + kDropArrowLeftMargin + drop_image->width(), width 169 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc canvas->DrawImageInt(*icon, 0, 0, icon->width(), icon->height(), 0, 0, width 210 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc gfx::Size new_size(allocation->width, allocation->height); width 158 chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc path.rLineTo(bounds.width() / 2.0, -bounds.height()); width 316 chrome/browser/ui/gtk/infobars/infobar_gtk.cc cairo_rel_line_to(cr, allocation.width, 0); width 307 chrome/browser/ui/gtk/location_bar_view_gtk.cc allocation.width, allocation.height); width 1126 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (hbox_width_ != allocation->width) { width 1127 chrome/browser/ui/gtk/location_bar_view_gtk.cc hbox_width_ = allocation->width; width 1140 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (entry_box_width_ != allocation->width) { width 1141 chrome/browser/ui/gtk/location_bar_view_gtk.cc entry_box_width_ = allocation->width; width 1266 chrome/browser/ui/gtk/location_bar_view_gtk.cc int text_area = security_label_allocation.width + width 1267 chrome/browser/ui/gtk/location_bar_view_gtk.cc entry_box_allocation.width; width 1392 chrome/browser/ui/gtk/location_bar_view_gtk.cc int full_partial_width_diff = full_label.width - partial_label.width; width 1396 chrome/browser/ui/gtk/location_bar_view_gtk.cc full_box_width = box.width; width 1399 chrome/browser/ui/gtk/location_bar_view_gtk.cc partial_box_width = box.width; width 1419 chrome/browser/ui/gtk/location_bar_view_gtk.cc int full_width = leading.width + icon.width + trailing.width; width 1421 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (icon.width >= entry_box_width_ - kInnerPadding) { width 1632 chrome/browser/ui/gtk/location_bar_view_gtk.cc animation->GetCurrentValue() * label_req_.width, width 33 chrome/browser/ui/gtk/menu_bar_helper.cc motion->x < allocation.width && width 140 chrome/browser/ui/gtk/menu_bar_helper.cc if (x >= 0 && y >= 0 && x < allocation.width && y < allocation.height) { width 726 chrome/browser/ui/gtk/menu_gtk.cc *x += allocation.width - menu_req.width; width 30 chrome/browser/ui/gtk/nine_box.cc int x, int y, int width, int height, double alpha) { width 37 chrome/browser/ui/gtk/nine_box.cc cairo_rectangle(cr, x, y, width, height); width 44 chrome/browser/ui/gtk/nine_box.cc target, CAIRO_CONTENT_COLOR_ALPHA, width, height); width 48 chrome/browser/ui/gtk/nine_box.cc cairo_rectangle(tiled, 0, 0, width, height); width 82 chrome/browser/ui/gtk/nine_box.cc int width = gdk_pixbuf_get_width(pixbuf); width 90 chrome/browser/ui/gtk/nine_box.cc pixbuf, left_margin, 0, width - inset_width, top_margin)); width 92 chrome/browser/ui/gtk/nine_box.cc pixbuf, width - right_margin, 0, right_margin, top_margin)); width 96 chrome/browser/ui/gtk/nine_box.cc pixbuf, left_margin, top_margin, width - inset_width, width 99 chrome/browser/ui/gtk/nine_box.cc pixbuf, width - right_margin, top_margin, right_margin, width 105 chrome/browser/ui/gtk/nine_box.cc width - inset_width, bottom_margin)); width 107 chrome/browser/ui/gtk/nine_box.cc pixbuf, width - right_margin, height - bottom_margin, width 126 chrome/browser/ui/gtk/nine_box.cc int w = allocation.width; width 185 chrome/browser/ui/gtk/nine_box.cc int width = allocation.width; width 188 chrome/browser/ui/gtk/nine_box.cc int x2 = width - gdk_pixbuf_get_width(images_[2]->ToGdkPixbuf()); width 194 chrome/browser/ui/gtk/nine_box.cc GdkBitmap* mask = gdk_pixmap_new(NULL, width, height, 1); width 214 chrome/browser/ui/gtk/nine_box.cc GdkBitmap* flipped_mask = gdk_pixmap_new(NULL, width, height, 1); width 222 chrome/browser/ui/gtk/nine_box.cc cairo_translate(flipped_cr, width, 0.0f); width 192 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc static_cast<int>(start * anim_frame_start_.width() + width 193 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc end * anim_frame_end_.width()), width 197 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc frame_position.width(), frame_position.height()); width 351 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc return balloon_->content_size().width() + width 370 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc content_size.width(), content_size.height()); width 416 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc cairo_move_to(cr, allocation.width - 0.5, allocation.height - 0.5); width 437 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc content_size.width() - 0.5, GetShelfHeight()); width 442 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc cairo_line_to(cr, offset.x() + content_size.width(), offset.y() - 1); width 32 chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.cc native_view(), new_size.width(), new_size.height()); width 94 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gint width = gdk_window_get_width(window); width 96 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc return gfx::Rect(width, height); width 253 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc line, GetWindowRect(gdk_window).width()).ToGdkRectangle(); width 279 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc retval.set_width(req.width); width 348 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::Rect OmniboxPopupViewGtk::GetRectForLine(size_t line, int width) const { width 352 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc width - (kBorderThickness * 2), width 471 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc allocation.width + (kBorderThickness * 2) - (horizontal_offset * 2), width 625 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc if (window_rect.width() < (kIconAreaWidth * 3)) width 638 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc cairo_rectangle(cr, 0, 0, window_rect.width(), window_rect.height()); width 644 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::Rect line_rect = GetRectForLine(i, window_rect.width()); width 659 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc line_rect.width(), line_rect.height()); width 664 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc (line_rect.width() - kIconLeftPadding - kIconWidth); width 675 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc int text_width = window_rect.width() - (kIconAreaWidth + kRightPadding); width 740 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc icon_start_x = ltr ? (line_rect.width() - kIconLeftPadding - kIconWidth) : width 67 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h gfx::Rect GetRectForLine(size_t line, int width) const; width 753 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gint first_char_end = first_char_start + first_char_bounds.width; width 755 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gint last_char_end = last_char_start + last_char_bounds.width; width 772 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc return allocation.width; width 1141 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc req->width = 1; width 1763 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc end_location.x + end_location.width, width 1831 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc expose_rect.width(), expose_rect.height()); width 197 chrome/browser/ui/gtk/panels/panel_gtk.cc frame_size.SetSize(new_size.width(), new_size.height()); width 353 chrome/browser/ui/gtk/panels/panel_gtk.cc return abs(win_x - bounds_.x()) < display_area.width() && width 362 chrome/browser/ui/gtk/panels/panel_gtk.cc int width = configure_size_.width(); width 364 chrome/browser/ui/gtk/panels/panel_gtk.cc if (!width || !height) width 369 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkRectangle top_top_rect = { 3, 0, width - 6, 1 }; width 370 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkRectangle top_mid_rect = { 1, 1, width - 2, 2 }; width 374 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkRectangle top_rect = { 0, 0, width, 3 }; width 379 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkRectangle mid_rect = { 0, 3, width, height - 6 }; width 380 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkRectangle bottom_mid_rect = { 1, height - 3, width - 2, 2 }; width 381 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkRectangle bottom_bottom_rect = { 3, height - 1, width - 6, 1 }; width 386 chrome/browser/ui/gtk/panels/panel_gtk.cc GdkRectangle mid_rect = { 0, 3, width, height - 3 }; width 401 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Size new_size(event->width, event->height); width 502 chrome/browser/ui/gtk/panels/panel_gtk.cc int width = bounds_.width(); width 514 chrome/browser/ui/gtk/panels/panel_gtk.cc } else if (x >= width - kFrameBorderThickness) { width 529 chrome/browser/ui/gtk/panels/panel_gtk.cc } else if (x >= width - kFrameBorderThickness && width 586 chrome/browser/ui/gtk/panels/panel_gtk.cc event->area.width, event->area.height); width 596 chrome/browser/ui/gtk/panels/panel_gtk.cc cairo_line_to(cr, event->area.width - 3, 0); width 597 chrome/browser/ui/gtk/panels/panel_gtk.cc cairo_line_to(cr, event->area.width - 2, 1); width 598 chrome/browser/ui/gtk/panels/panel_gtk.cc cairo_line_to(cr, event->area.width - 1, 1); width 599 chrome/browser/ui/gtk/panels/panel_gtk.cc cairo_line_to(cr, event->area.width - 1, 2); width 600 chrome/browser/ui/gtk/panels/panel_gtk.cc cairo_line_to(cr, event->area.width - 1, 3); width 601 chrome/browser/ui/gtk/panels/panel_gtk.cc cairo_line_to(cr, event->area.width - 1, event->area.height - 1); width 814 chrome/browser/ui/gtk/panels/panel_gtk.cc bounds.width(), bounds.height()); width 1039 chrome/browser/ui/gtk/panels/panel_gtk.cc return gfx::Size(content_size.width() + frame_size.width(), width 1046 chrome/browser/ui/gtk/panels/panel_gtk.cc return gfx::Size(window_size.width() - frame_size.width(), width 1089 chrome/browser/ui/gtk/panels/panel_gtk.cc return gfx::Size(window_allocation.width - contents_allocation.width, width 296 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc gfx::Rect button_rect(0, 0, widget_allocation.width, width 374 chrome/browser/ui/gtk/reload_button_gtk.cc GtkButtonWidth = std::max(GtkButtonWidth, req.width); width 63 chrome/browser/ui/gtk/rounded_window.cc int width = data->expected_width; width 97 chrome/browser/ui/gtk/rounded_window.cc height - (corner_size - y) + y_off, width, ltr)); width 101 chrome/browser/ui/gtk/rounded_window.cc height - (corner_size - y) + y_off, width, ltr)); width 105 chrome/browser/ui/gtk/rounded_window.cc corner_size + x_off_l, height + y_off, width, ltr)); width 107 chrome/browser/ui/gtk/rounded_window.cc x_off_r, height - corner_size, width, ltr)); width 110 chrome/browser/ui/gtk/rounded_window.cc points.push_back(MakeBidiGdkPoint(x_off_r, height + y_off, width, ltr)); width 123 chrome/browser/ui/gtk/rounded_window.cc corner_size - y, width, ltr)); width 126 chrome/browser/ui/gtk/rounded_window.cc corner_size - y, width, ltr)); width 131 chrome/browser/ui/gtk/rounded_window.cc x_off_r, corner_size - 1, width, ltr)); width 133 chrome/browser/ui/gtk/rounded_window.cc corner_size + x_off_r - 1, 0, width, ltr)); width 136 chrome/browser/ui/gtk/rounded_window.cc points.push_back(MakeBidiGdkPoint(x_off_r, 0, width, ltr)); width 150 chrome/browser/ui/gtk/rounded_window.cc width - (corner_size - x) + x_off_l - 1, width 151 chrome/browser/ui/gtk/rounded_window.cc corner_size - y, width, ltr)); width 154 chrome/browser/ui/gtk/rounded_window.cc width - (corner_size - x) + x_off_l, width 155 chrome/browser/ui/gtk/rounded_window.cc corner_size - y, width, ltr)); width 159 chrome/browser/ui/gtk/rounded_window.cc width - corner_size + 1 + x_off_l, 0, width, ltr)); width 161 chrome/browser/ui/gtk/rounded_window.cc width + x_off_l, corner_size - 1, width, ltr)); width 165 chrome/browser/ui/gtk/rounded_window.cc width + x_off_l, 0, width, ltr)); width 178 chrome/browser/ui/gtk/rounded_window.cc width - (corner_size - x) + x_off_l, width 179 chrome/browser/ui/gtk/rounded_window.cc height - (corner_size - y) + y_off, width, ltr)); width 182 chrome/browser/ui/gtk/rounded_window.cc width - (corner_size - x) + x_off_l - 1, width 183 chrome/browser/ui/gtk/rounded_window.cc height - (corner_size - y) + y_off, width, ltr)); width 188 chrome/browser/ui/gtk/rounded_window.cc width + x_off_l, height - corner_size, width, ltr)); width 190 chrome/browser/ui/gtk/rounded_window.cc width - corner_size + x_off_r, height + y_off, width, ltr)); width 194 chrome/browser/ui/gtk/rounded_window.cc width + x_off_l, height + y_off, width, ltr)); width 211 chrome/browser/ui/gtk/rounded_window.cc if (data->expected_width != allocation.width || width 213 chrome/browser/ui/gtk/rounded_window.cc data->expected_width = allocation.width; width 177 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc void AddRoundRectPath(cairo_t* cairo_context, int width, int height, width 180 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc cairo_arc(cairo_context, width - radius, radius, radius, -M_PI_2, 0); width 181 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc cairo_arc(cairo_context, width - radius, height - radius, radius, 0, M_PI_2); width 192 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc if (event->width == current_width_ && event->height == current_height_) width 195 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc current_width_ = event->width; width 22 chrome/browser/ui/gtk/simple_message_box_gtk.cc int width; width 24 chrome/browser/ui/gtk/simple_message_box_gtk.cc &width, NULL); width 28 chrome/browser/ui/gtk/simple_message_box_gtk.cc width = width * 1.2 + 50; width 30 chrome/browser/ui/gtk/simple_message_box_gtk.cc if (width > req.width) width 31 chrome/browser/ui/gtk/simple_message_box_gtk.cc gtk_widget_set_size_request(dialog, width, -1); width 20 chrome/browser/ui/gtk/slide_animator_gtk.cc requisition->width = -1; width 187 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc target_rect.x() > container_rect.width() || width 257 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc int desired_width = std::max(volume->width(), cancel_size.width) + width 262 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc int diff_width = desired_width - icon_image().width(); width 105 chrome/browser/ui/gtk/status_bubble_gtk.cc int desired_width = allocation.width; width 152 chrome/browser/ui/gtk/status_bubble_gtk.cc desired_width_ = req.width; width 213 chrome/browser/ui/gtk/status_bubble_gtk.cc (ltr ? 0 : parent_allocation.width - requisition.width), width 216 chrome/browser/ui/gtk/status_bubble_gtk.cc requisition.width, width 345 chrome/browser/ui/gtk/status_bubble_gtk.cc start_width_ = allocation.width; width 187 chrome/browser/ui/gtk/tab_contents/chrome_web_contents_view_delegate_gtk.cc int child_x = std::max((allocation->width - requisition.width) / 2, 0); width 203 chrome/browser/ui/gtk/tab_contents_container_gtk.cc g_value_set_int(&value, allocation->width - requisition.width); width 50 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc effective_bounds.set_width(effective_bounds.width() - 2 * 16); width 330 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc double ratio = unselected / TabGtk::GetStandardSize().width(); width 434 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc TabGtk::GetMiniWidth(), window_bounds.width()); width 148 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc void DraggedViewGtk::Resize(int width) { width 149 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc attached_tab_size_.set_width(width); width 175 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc int width = non_mini_tab_count * static_cast<int>(floor(normal_width_ + 0.5)) width 177 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc return width; width 194 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc int width = GetWidthInTabStripUpToSourceTab() + mouse_tab_offset_.x(); width 196 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc width -= 16; width 200 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc width -= 16; width 202 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc return width; width 209 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gint x, y, width, height; width 213 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc &width, &height, NULL); width 215 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc animation_start_bounds_ = gfx::Rect(x, y, width, height); width 259 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc left = GetPreferredSize().width() - attached_tab_size_.width(); width 265 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gfx::Rect(left, 0, attached_tab_size_.width(), width 277 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc int width = std::max(attached_tab_size_.width(), contents_size_.width()) + width 281 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc return gfx::Size(width, height); width 287 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc ScaleValue(size.width()), ScaleValue(size.height())); width 296 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gint x, y, width, height; width 298 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gtk_window_get_size(GTK_WINDOW(container_), &width, &height); width 299 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc return gfx::Rect(x, y, width, height); width 325 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc cairo_scale(cairo_context, static_cast<double>(size.width()), width 336 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc GdkPixmap* pixmap = gdk_pixmap_new(NULL, size.width(), size.height(), 1); width 354 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc PaintTab(i, container_, cairo_context, allocation.width); width 370 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc size.width(), size.height() - tab_height); width 404 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc allocation.width - kTwiceDragFrameBorderSize, width 423 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc double right_x = allocation.width - offset; width 441 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc PaintTab(i, widget, cr, allocation.width); width 445 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc allocation.width); width 53 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h void Resize(int width); width 170 chrome/browser/ui/gtk/tabs/tab_gtk.cc event->x < allocation.width && width 283 chrome/browser/ui/gtk/tabs/tab_gtk.cc TabResources::GetHitTestMask(bounds.width(), bounds.height(), false, &mask); width 311 chrome/browser/ui/gtk/tabs/tab_gtk.cc if (title_width_ > title_bounds().width()) { width 110 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc int bitmap_w = bitmap.width(); width 141 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc DCHECK_EQ(loading_animation_frames.width() % width 144 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc loading_animation_frames.width() / width 150 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc DCHECK_EQ(waiting_animation_frames.width() % width 153 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc waiting_animation_frames.width() / width 476 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc favicon_bounds_.width(), width 506 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc favicon_bounds_.width(), favicon_bounds_.height()); width 520 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc favicon_bounds_.width(), favicon_bounds_.height()); width 533 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc bounds_.width() >= kMiniTabRendererAsNormalTabWidth) width 536 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc const int ideal_delta = bounds_.width() - GetMiniWidth(); width 537 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc const int ideal_x = (GetMiniWidth() - icon_bounds->width()) / 2; width 593 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc requisition_.width(), requisition_.height()); width 613 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gtk_widget_set_size_request(tab_.get(), bounds.width(), bounds.height()); width 691 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc if (width() < GetMinimumUnselectedSize().width() && !mini()) width 705 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc if (!mini() || width() > kMiniTabRendererAsNormalTabWidth) width 721 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc width(), height()); width 735 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc return gfx::Rect(0, 0, bounds_.width(), bounds_.height()); width 797 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc local_bounds.x(), right - media_indicator_bounds_.width())); width 803 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc if (!mini() || width() >= kMiniTabRendererAsNormalTabWidth) { width 820 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc } else if (close_button_bounds_.width() && close_button_bounds_.height()) { width 824 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc title_width = local_bounds.width() - title_left; width 978 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc width() - (2 * tab_active_l_width_), width 985 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc width() - tab_active_l_width_, 0); width 1006 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc width() - (2 * tab_active_l_width_), width 1012 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc cr, widget, width() - active_image_r.ToCairo()->Width(), 0); width 1053 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc DCHECK(image_size == favicon_bounds_.width()); width 1066 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc std::max(0, width() - kLeftPadding - kRightPadding); width 1156 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc allocation->width, allocation->height); width 202 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h int width() const { return bounds_.width(); } width 101 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return gfx::Rect(0, 0, request.width, request.height); width 120 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gdk_rect.width == favicon_bounds.width() && width 243 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc static_cast<double>(TabRendererGtk::GetStandardSize().width()); width 248 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc TabRendererGtk::GetMinimumUnselectedSize().width()); width 303 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc start_width = TabGtk::GetMinimumSelectedSize().width(); width 309 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc is_selected ? TabGtk::GetMinimumSelectedSize().width() : width 310 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc TabGtk::GetMinimumUnselectedSize().width(); width 390 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc TabGtk::GetMinimumUnselectedSize().width() + kTabHOffset); width 449 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect bounds(Round(new_x), start_tab_a_bounds_.y(), tab_a_->width(), width 457 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc bounds = gfx::Rect(Round(new_x), start_tab_b_bounds_.y(), tab_b_->width(), width 533 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc start_selected_width_ = current_tab->width(); width 535 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc start_unselected_width_ = current_tab->width(); width 638 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc int width = animation_.CurrentValueBetween(start_bounds_.width(), width 639 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc target_bounds_.width()); width 640 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect tab_bounds(x, start_bounds_.y(), width, width 655 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc animation_.CurrentValueBetween(0, target_bounds_.width()); width 659 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return animation_.CurrentValueBetween(start_bounds_.width(), 0); width 681 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return animation_.CurrentValueBetween(0, target_bounds_.width()); width 719 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc : current_unselected_width_(TabGtk::GetStandardSize().width()), width 720 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc current_selected_width_(TabGtk::GetStandardSize().width()), width 877 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc favicon_bounds.width(), width 1364 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return last_tab->x() - bounds_.x() + last_tab->width(); width 1366 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return bounds_.width() - last_tab->x(); width 1469 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect bounds(0, y, newtab_surface_bounds_.width(), height); width 1470 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc int delta = abs(Round(unselected_width) - TabGtk::GetStandardSize().width()); width 1475 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc bounds.set_x(bounds_.width() - newtab_button_->WidgetAllocation().width); width 1483 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gtk_widget_set_size_request(newtab_button_->widget(), bounds.width(), width 1493 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc TabGtk::GetMinimumUnselectedSize().width(); width 1495 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc TabGtk::GetMinimumSelectedSize().width(); width 1508 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc int available_width = tabstrip_allocation.width; width 1510 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc available_width = bounds_.width(); width 1512 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc (kNewTabButtonHOffset + newtab_button_->WidgetAllocation().width); width 1530 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc *selected_width = *unselected_width = TabGtk::GetStandardSize().width(); width 1544 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc static_cast<double>(TabGtk::GetStandardSize().width())); width 1608 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (abs(first_tab->width() - w) > 1) width 1676 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc center_x = bounds.x() + (bounds.width() / 2); width 1680 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc center_x = bounds.x() + bounds.width() + (kTabHOffset / 2); width 1710 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc const int tab_max_x = bounds.x() + bounds.width(); width 1711 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc const int hot_width = bounds.width() / kTabEdgeRatioInverse; width 1759 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc drop_bounds.width(), drop_bounds.height()); width 2052 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc event->area.width = bounds_.width(); width 2061 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc event->area.width += event->area.x; width 2102 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc allocation->width, allocation->height); width 229 chrome/browser/ui/gtk/task_manager_gtk.cc void TreeViewColumnSetWidth(GtkTreeViewColumn* column, gint width) { width 230 chrome/browser/ui/gtk/task_manager_gtk.cc column->width = width; width 231 chrome/browser/ui/gtk/task_manager_gtk.cc column->resized_width = width; width 854 chrome/browser/ui/gtk/task_manager_gtk.cc gint width; width 858 chrome/browser/ui/gtk/task_manager_gtk.cc width = gtk_tree_view_column_get_width(column); width 859 chrome/browser/ui/gtk/task_manager_gtk.cc TreeViewColumnSetWidth(column, width); width 864 chrome/browser/ui/gtk/task_manager_gtk.cc width = gtk_tree_view_column_get_width(column); width 867 chrome/browser/ui/gtk/task_manager_gtk.cc TreeViewColumnSetWidth(column, width); width 96 chrome/browser/ui/gtk/throbber_gtk.cc const int width = frames_.ToCairo()->Width(); width 98 chrome/browser/ui/gtk/throbber_gtk.cc DCHECK_EQ(0, width % height); width 99 chrome/browser/ui/gtk/throbber_gtk.cc num_frames_ = width / height; width 26 chrome/browser/ui/gtk/titlebar_throb_animation.cc size_t num_frames = frame_strip.width() / frame_size; width 244 chrome/browser/ui/gtk/web_dialog_gtk.cc dialog_size.width(), width 251 chrome/browser/ui/gtk/web_dialog_gtk.cc minimum_dialog_size.width(), width 66 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc int width, width 70 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc if (width > 0) width 71 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_util::SetLabelWidth(label, width); width 675 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc tab_bounds.x + tab_bounds.width, allocation.y); width 696 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc { tab_bounds.x + tab_bounds.width + tab_shadow_width, width 698 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc allocation.width, width 56 chrome/browser/ui/libgtk2ui/gtk2_border.cc int w = size_.width() * scale; width 144 chrome/browser/ui/libgtk2ui/gtk2_border.cc return gfx::Size(insets.width(), insets.height()); width 522 chrome/browser/ui/libgtk2ui/gtk2_ui.cc DCHECK_EQ(size, bitmap.width()); width 1161 chrome/browser/ui/libgtk2ui/gtk2_ui.cc bg_tint, 0, 0, bg_tint.width(), bg_tint.height()); width 1212 chrome/browser/ui/libgtk2ui/gtk2_ui.cc default_bitmap.width(), width 1225 chrome/browser/ui/libgtk2ui/gtk2_ui.cc default_bitmap.width(), width 1231 chrome/browser/ui/libgtk2ui/gtk2_ui.cc (default_bitmap.width() / 2) - (icon.width() / 2), width 1244 chrome/browser/ui/libgtk2ui/gtk2_ui.cc default_bitmap.width(), width 1253 chrome/browser/ui/libgtk2ui/gtk2_ui.cc default_bitmap.width(), width 1293 chrome/browser/ui/libgtk2ui/gtk2_ui.cc int width, width 1298 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gtk_widget_set_size_request(button, width, height); width 1322 chrome/browser/ui/libgtk2ui/gtk2_ui.cc DCHECK_EQ(w, width); width 55 chrome/browser/ui/libgtk2ui/gtk2_ui.h int width, width 135 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc SkRect rect = SkRect::MakeWH(SkIntToScalar(size.width()), width 38 chrome/browser/ui/libgtk2ui/printing_gtk2_util.cc paper_size.width() * settings.device_units_per_inch(), width 97 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc int width = bitmap.width(); width 104 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc width, width 112 chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc for (int x = 0; x < width; x++) { width 176 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc last_caret_bounds_.width(), width 101 chrome/browser/ui/metro_pin_tab_helper_win.cc int left = (kLogoWidth - bitmap.width()) / 2; width 308 chrome/browser/ui/metro_pin_tab_helper_win.cc if (iter->height() > kMaxIconSize || iter->width() > kMaxIconSize) width 319 chrome/browser/ui/metro_pin_tab_helper_win.cc iter->width() <= best_candidate_.width()) { width 25 chrome/browser/ui/ntp_background_util.cc int width = area.width() + ntp_background->width(); width 38 chrome/browser/ui/ntp_background_util.cc x_pos += area.width() - ntp_background->width(); width 43 chrome/browser/ui/ntp_background_util.cc std::floor(area.width() / 2.0 - ntp_background->width() / 2.0 + 0.5); width 48 chrome/browser/ui/ntp_background_util.cc width = ntp_background->width(); width 50 chrome/browser/ui/ntp_background_util.cc x_pos = x_pos % ntp_background->width() - ntp_background->width(); width 63 chrome/browser/ui/ntp_background_util.cc canvas->TileImageInt(*ntp_background, x_pos, y_pos, width, height); width 132 chrome/browser/ui/panels/base_panel_browser_test.cc primary_intersection.width() * primary_intersection.height(); width 137 chrome/browser/ui/panels/base_panel_browser_test.cc secondary_intersection.width() * secondary_intersection.height(); width 151 chrome/browser/ui/panels/base_panel_browser_test.cc primary_intersection.width() * primary_intersection.height(); width 156 chrome/browser/ui/panels/base_panel_browser_test.cc secondary_intersection.width() * secondary_intersection.height(); width 383 chrome/browser/ui/panels/base_panel_browser_test.cc params.bounds.width() || params.bounds.height()) { width 37 chrome/browser/ui/panels/detached_panel_browsertest.cc EXPECT_EQ(bounds.width(), panel->GetBounds().width()); width 53 chrome/browser/ui/panels/detached_panel_collection.cc bounds.set_x(work_area.right() - bounds.width()); width 128 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Size new_size(preferred_window_size.width(), width 24 chrome/browser/ui/panels/docked_panel_browsertest.cc DCHECK(primary_display_area.width() == 800); width 46 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_EQ(panel1->GetBounds().width(), panel1->GetRestoredBounds().width()); width 47 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_EQ(panel2->GetBounds().width(), panel2->GetRestoredBounds().width()); width 48 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_EQ(panel3->GetBounds().width(), panel3->GetRestoredBounds().width()); width 61 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_EQ(panel7->GetBounds().width(), panel7->GetRestoredBounds().width()); width 65 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel1->GetBounds().width(), panel1->GetRestoredBounds().width()); width 66 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel2->GetBounds().width(), panel2->GetRestoredBounds().width()); width 67 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel3->GetBounds().width(), panel3->GetRestoredBounds().width()); width 68 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel4->GetBounds().width(), panel4->GetRestoredBounds().width()); width 69 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel5->GetBounds().width(), panel5->GetRestoredBounds().width()); width 70 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel6->GetBounds().width(), panel6->GetRestoredBounds().width()); width 81 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_EQ(panel2->GetBounds().width(), panel2->GetRestoredBounds().width()); width 84 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel1->GetBounds().width(), panel1->GetRestoredBounds().width()); width 85 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel3->GetBounds().width(), panel3->GetRestoredBounds().width()); width 86 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel4->GetBounds().width(), panel4->GetRestoredBounds().width()); width 87 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel5->GetBounds().width(), panel5->GetRestoredBounds().width()); width 88 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel6->GetBounds().width(), panel6->GetRestoredBounds().width()); width 89 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel7->GetBounds().width(), panel7->GetRestoredBounds().width()); width 111 chrome/browser/ui/panels/docked_panel_browsertest.cc int panel_1_width_less_squeezed = panel1->GetBounds().width(); width 112 chrome/browser/ui/panels/docked_panel_browsertest.cc int panel_2_width_less_squeezed = panel2->GetBounds().width(); width 113 chrome/browser/ui/panels/docked_panel_browsertest.cc int panel_3_width_less_squeezed = panel3->GetBounds().width(); width 114 chrome/browser/ui/panels/docked_panel_browsertest.cc int panel_4_width_less_squeezed = panel4->GetBounds().width(); width 115 chrome/browser/ui/panels/docked_panel_browsertest.cc int panel_5_width_less_squeezed = panel5->GetBounds().width(); width 118 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel_1_width_less_squeezed, panel1->GetRestoredBounds().width()); width 119 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel_2_width_less_squeezed, panel2->GetRestoredBounds().width()); width 120 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel_3_width_less_squeezed, panel3->GetRestoredBounds().width()); width 121 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel_4_width_less_squeezed, panel4->GetRestoredBounds().width()); width 122 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel_5_width_less_squeezed, panel5->GetRestoredBounds().width()); width 131 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_EQ(panel7->GetBounds().width(), panel7->GetRestoredBounds().width()); width 134 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel1->GetBounds().width(), panel_1_width_less_squeezed); width 135 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel2->GetBounds().width(), panel_2_width_less_squeezed); width 136 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel3->GetBounds().width(), panel_3_width_less_squeezed); width 137 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel4->GetBounds().width(), panel_4_width_less_squeezed); width 138 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel5->GetBounds().width(), panel_5_width_less_squeezed); width 161 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_EQ(panel7->GetBounds().width(), panel7->GetRestoredBounds().width()); width 164 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel1->GetBounds().width(), panel1->GetRestoredBounds().width()); width 165 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel2->GetBounds().width(), panel2->GetRestoredBounds().width()); width 166 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel3->GetBounds().width(), panel3->GetRestoredBounds().width()); width 167 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel4->GetBounds().width(), panel4->GetRestoredBounds().width()); width 168 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel5->GetBounds().width(), panel5->GetRestoredBounds().width()); width 169 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel6->GetBounds().width(), panel6->GetRestoredBounds().width()); width 172 chrome/browser/ui/panels/docked_panel_browsertest.cc int width_of_panel3_squeezed = panel3->GetBounds().width(); width 176 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_EQ(width_of_panel3_squeezed, panel3->GetBounds().width()); width 191 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel7->GetBounds().width(), panel7->GetRestoredBounds().width()); width 214 chrome/browser/ui/panels/docked_panel_browsertest.cc int panel_1_orig_width = panel1->GetBounds().width(); width 215 chrome/browser/ui/panels/docked_panel_browsertest.cc int panel_2_orig_width = panel2->GetBounds().width(); width 216 chrome/browser/ui/panels/docked_panel_browsertest.cc int panel_3_orig_width = panel3->GetBounds().width(); width 217 chrome/browser/ui/panels/docked_panel_browsertest.cc int panel_4_orig_width = panel4->GetBounds().width(); width 218 chrome/browser/ui/panels/docked_panel_browsertest.cc int panel_5_orig_width = panel5->GetBounds().width(); width 219 chrome/browser/ui/panels/docked_panel_browsertest.cc int panel_6_orig_width = panel6->GetBounds().width(); width 220 chrome/browser/ui/panels/docked_panel_browsertest.cc int panel_7_orig_width = panel7->GetBounds().width(); width 223 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_EQ(panel_7_orig_width, panel7->GetRestoredBounds().width()); width 226 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel_1_orig_width, panel1->GetRestoredBounds().width()); width 227 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel_2_orig_width, panel2->GetRestoredBounds().width()); width 228 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel_3_orig_width, panel3->GetRestoredBounds().width()); width 229 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel_4_orig_width, panel4->GetRestoredBounds().width()); width 230 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel_5_orig_width, panel5->GetRestoredBounds().width()); width 231 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_LT(panel_6_orig_width, panel6->GetRestoredBounds().width()); width 241 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_GT(panel1->GetBounds().width(), panel_1_orig_width); width 242 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_GT(panel3->GetBounds().width(), panel_3_orig_width); width 243 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_GT(panel4->GetBounds().width(), panel_4_orig_width); width 244 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_GT(panel5->GetBounds().width(), panel_5_orig_width); width 245 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_GT(panel6->GetBounds().width(), panel_6_orig_width); width 248 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_EQ(panel7->GetBounds().width(), panel_7_orig_width); width 262 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_EQ(panel1->GetBounds().width(), panel1->GetRestoredBounds().width()); width 263 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_EQ(panel4->GetBounds().width(), panel4->GetRestoredBounds().width()); width 264 chrome/browser/ui/panels/docked_panel_browsertest.cc EXPECT_EQ(panel6->GetBounds().width(), panel6->GetRestoredBounds().width()); width 75 chrome/browser/ui/panels/docked_panel_collection.cc work_area_.set_width(work_area_.width() - width 141 chrome/browser/ui/panels/docked_panel_collection.cc x = std::max(GetRightMostAvailablePosition() - full_size.width(), width 450 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Size new_size(preferred_window_size.width(), width 659 chrome/browser/ui/panels/docked_panel_collection.cc total_active_width += panel->full_size().width(); width 661 chrome/browser/ui/panels/docked_panel_collection.cc total_inactive_width += panel->full_size().width(); width 665 chrome/browser/ui/panels/docked_panel_collection.cc work_area_.width() - total_active_width - width 690 chrome/browser/ui/panels/docked_panel_collection.cc panel->full_size().width())); width 691 chrome/browser/ui/panels/docked_panel_collection.cc int x = rightmost_position - new_bounds.width(); width 695 chrome/browser/ui/panels/docked_panel_collection.cc (x == old_bounds.x() && new_bounds.width() <= old_bounds.width())) width 72 chrome/browser/ui/panels/docked_panel_drag_handler.cc current_panel->GetBounds().width() / 2) width 91 chrome/browser/ui/panels/docked_panel_drag_handler.cc panel->GetBounds().width() - 1; width 106 chrome/browser/ui/panels/docked_panel_drag_handler.cc current_panel->GetBounds().width() / 2) width 253 chrome/browser/ui/panels/panel.cc bounds.set_x(bounds.right() - full_size_.width()); width 567 chrome/browser/ui/panels/panel.cc int current_max_width = max_size_.width(); width 569 chrome/browser/ui/panels/panel.cc max_width = std::min(current_max_width, work_area.width()); width 646 chrome/browser/ui/panels/panel.cc DCHECK(min_size.width() <= max_size.width()); width 656 chrome/browser/ui/panels/panel.cc if (new_max_size.width() < desired_panel_size.width()) width 657 chrome/browser/ui/panels/panel.cc new_max_size.set_width(desired_panel_size.width()); width 680 chrome/browser/ui/panels/panel.cc int new_width = size.width(); width 681 chrome/browser/ui/panels/panel.cc if (new_width > max_size_.width()) width 682 chrome/browser/ui/panels/panel.cc new_width = max_size_.width(); width 683 chrome/browser/ui/panels/panel.cc if (new_width < min_size_.width()) width 684 chrome/browser/ui/panels/panel.cc new_width = min_size_.width(); width 63 chrome/browser/ui/panels/panel_browsertest.cc << ", width=" << panels[i]->GetBounds().width() width 331 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(bounds.width(), 0); width 347 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel->max_size().width(), bounds.width()); width 348 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_LT(bounds.width(), work_area.width()); width 382 chrome/browser/ui/panels/panel_browsertest.cc return panel_->GetBounds().width() > initial_size_.width(); width 400 chrome/browser/ui/panels/panel_browsertest.cc return panel_->GetBounds().width() < initial_size_.width(); width 434 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(bounds_on_grow.width(), initial_bounds.width()); width 443 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_LT(bounds_on_shrink.width(), bounds_on_grow.width()); width 444 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(bounds_on_shrink.width(), initial_bounds.width()); width 466 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(bounds_on_shrink.width(), bounds_auto_resize_enabled.width()); width 498 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(new_bounds.size().width(), panel->GetBounds().width()); width 551 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(bounds.width(), restored.width()); width 560 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(bounds.width(), restored.width()); width 569 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(bounds.width(), restored.width()); width 1472 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(panel->min_size().width(), panel->GetBounds().width()); width 1474 chrome/browser/ui/panels/panel_browsertest.cc int reasonable_width = panel->min_size().width() + 10; width 1485 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_EQ(reasonable_width, panel->GetBounds().width()); width 1494 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(panel->GetBounds().width(), 0); width 1513 chrome/browser/ui/panels/panel_browsertest.cc int initial_width = panel->GetBounds().width(); width 1527 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(panel->GetBounds().width(), initial_width); width 1552 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(old_max_size.width(), panel->max_size().width()); width 1554 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(smaller_work_area.width(), panel->max_size().width()); width 1556 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(old_full_size.width(), panel->full_size().width()); width 1558 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GE(panel->max_size().width(), panel->full_size().width()); width 1583 chrome/browser/ui/panels/panel_browsertest.cc mouse_location.Offset(panel->GetBounds().width() - bigger_size.width(), width 1597 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(old_max_size.width(), panel->max_size().width()); width 1599 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GE(smaller_work_area.width(), panel->max_size().width()); width 1601 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GT(old_full_size.width(), panel->full_size().width()); width 1603 chrome/browser/ui/panels/panel_browsertest.cc EXPECT_GE(panel->max_size().width(), panel->full_size().width()); width 34 chrome/browser/ui/panels/panel_drag_browsertest.cc DCHECK(primary_display_area.width() == 800); width 66 chrome/browser/ui/panels/panel_drag_browsertest.cc above_bounds.width(), width 77 chrome/browser/ui/panels/panel_drag_browsertest.cc initial_bounds.width(), width 164 chrome/browser/ui/panels/panel_drag_browsertest.cc bounds2.x() - bounds1.width() - bounds1.x() - width 1113 chrome/browser/ui/panels/panel_drag_browsertest.cc docked_collection->StartingRightPosition() - panel_new_bounds.width()); width 1321 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel1->GetBounds().width(), panel1->GetRestoredBounds().width()); width 1323 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel2->GetBounds().width(), panel2->GetRestoredBounds().width()); width 1386 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_LT(panel4->GetBounds().width(), panel4->GetRestoredBounds().width()); width 1388 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_LT(panel5->GetBounds().width(), panel5->GetRestoredBounds().width()); width 1393 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel3->GetBounds().width(), panel3->GetRestoredBounds().width()); width 1402 chrome/browser/ui/panels/panel_drag_browsertest.cc EXPECT_EQ(panel7->GetBounds().width(), panel7->GetRestoredBounds().width()); width 1572 chrome/browser/ui/panels/panel_drag_browsertest.cc panel2_old_bounds.width(), width 1634 chrome/browser/ui/panels/panel_drag_browsertest.cc panel2_new_bounds.set_width(panel1_old_bounds.width()); width 1679 chrome/browser/ui/panels/panel_drag_browsertest.cc panel2_old_bounds.width(), width 1740 chrome/browser/ui/panels/panel_drag_browsertest.cc panel1_new_bounds.set_width(panel2_new_bounds.width()); width 1784 chrome/browser/ui/panels/panel_drag_browsertest.cc panel2_old_bounds.width(), width 1917 chrome/browser/ui/panels/panel_drag_browsertest.cc panel1_expected_bounds.set_width(panel3_expected_bounds.width()); width 1919 chrome/browser/ui/panels/panel_drag_browsertest.cc panel2_expected_bounds.set_width(panel3_expected_bounds.width()); width 2027 chrome/browser/ui/panels/panel_drag_browsertest.cc panel3_expected_bounds.set_width(panel1_expected_bounds.width()); width 2169 chrome/browser/ui/panels/panel_drag_browsertest.cc panel4_expected_bounds.set_width(panel1_expected_bounds.width()); width 2171 chrome/browser/ui/panels/panel_drag_browsertest.cc panel3_expected_bounds.set_width(panel1_expected_bounds.width()); width 2588 chrome/browser/ui/panels/panel_drag_browsertest.cc panel2_expected_bounds.width()); width 2628 chrome/browser/ui/panels/panel_drag_browsertest.cc panel1_expected_bounds.x() - panel2_expected_bounds.width()); width 2649 chrome/browser/ui/panels/panel_drag_browsertest.cc panel1_expected_bounds.x() - panel2_expected_bounds.width()); width 2778 chrome/browser/ui/panels/panel_drag_browsertest.cc panel1_expected_bounds.x() - panel2_expected_bounds.width()); width 2835 chrome/browser/ui/panels/panel_drag_browsertest.cc panel1_expected_bounds.x() - panel3_expected_bounds.width()); width 2999 chrome/browser/ui/panels/panel_drag_browsertest.cc primary_work_area.right() - small_distance - panel->GetBounds().width(), width 3002 chrome/browser/ui/panels/panel_drag_browsertest.cc expected_bounds.set_x(primary_work_area.right() - panel->GetBounds().width()); width 3017 chrome/browser/ui/panels/panel_drag_browsertest.cc secondary_work_area.right() - small_distance - panel->GetBounds().width(), width 3021 chrome/browser/ui/panels/panel_drag_browsertest.cc secondary_work_area.right() - panel->GetBounds().width()); width 3071 chrome/browser/ui/panels/panel_drag_browsertest.cc primary_work_area.right() + small_distance - panel1->GetBounds().width(), width 3076 chrome/browser/ui/panels/panel_drag_browsertest.cc int expected_x = primary_work_area.right() - panel1->GetBounds().width(); width 43 chrome/browser/ui/panels/panel_drag_controller.cc return bounds1.width(); width 46 chrome/browser/ui/panels/panel_drag_controller.cc return bounds2.width(); width 620 chrome/browser/ui/panels/panel_drag_controller.cc int width = dragging_panel_->GetBounds().width(); width 621 chrome/browser/ui/panels/panel_drag_controller.cc if (abs(work_area.right() - target_position->x() - width) < width 623 chrome/browser/ui/panels/panel_drag_controller.cc target_position->set_x(work_area.right() - width); width 703 chrome/browser/ui/panels/panel_drag_controller.cc target_bounds->set_x(panel_bounds.x() - target_bounds->width()); width 738 chrome/browser/ui/panels/panel_drag_controller.cc potential_dragging_bounds.width(), width 756 chrome/browser/ui/panels/panel_drag_controller.cc potential_dragging_bounds.width(), width 91 chrome/browser/ui/panels/panel_extension_browsertest.cc EXPECT_EQ(panel::kPanelAppIconSize, app_icon.width()); width 219 chrome/browser/ui/panels/panel_manager.cc return static_cast<int>(work_area.width() * kPanelMaxWidthFactor); width 242 chrome/browser/ui/panels/panel_manager.cc int width = requested_bounds.width(); width 244 chrome/browser/ui/panels/panel_manager.cc if (width == 0) width 245 chrome/browser/ui/panels/panel_manager.cc width = height * kPanelDefaultWidthToHeightRatio; width 247 chrome/browser/ui/panels/panel_manager.cc height = width / kPanelDefaultWidthToHeightRatio; width 253 chrome/browser/ui/panels/panel_manager.cc if (width < min_size.width()) width 254 chrome/browser/ui/panels/panel_manager.cc width = min_size.width(); width 255 chrome/browser/ui/panels/panel_manager.cc else if (width > max_size.width()) width 256 chrome/browser/ui/panels/panel_manager.cc width = max_size.width(); width 268 chrome/browser/ui/panels/panel_manager.cc requested_bounds.x(), requested_bounds.y(), width, height); width 281 chrome/browser/ui/panels/panel_manager.cc if (auto_sizing_enabled() && requested_bounds.width() == 0 && width 27 chrome/browser/ui/panels/panel_resize_browsertest.cc DCHECK(primary_display_area.width() == 800); width 42 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location.SetPoint(bounds.x() + bounds.width() / 2, bounds.y()); width 58 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location.SetPoint(bounds.x() + bounds.width() / 2, width 96 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + 20, bounds.height() + 10)); width 124 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_width(bounds.width() + 5); width 132 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = bounds.origin() + gfx::Vector2d(bounds.width() - 1, 2); width 138 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + 30, bounds.height() - 20)); width 148 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = bounds.origin() + gfx::Vector2d(bounds.width() - 1, 30); width 154 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_width(bounds.width() + 5); width 186 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(bounds.width() - 2, bounds.height()); width 215 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(bounds.width() - 1, 30); width 221 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_width(bounds.width() + 5); width 234 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + 10, bounds.height() + 15)); width 242 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = bounds.origin() + gfx::Vector2d(bounds.width() - 1, 2); width 248 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + 30, bounds.height() - 20)); width 262 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + 20, bounds.height() + 10)); width 294 chrome/browser/ui/panels/panel_resize_browsertest.cc EXPECT_EQ(panel::kPanelMinWidth, panel->GetBounds().width()); width 332 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(bounds.width(), bounds.height() - 2); width 337 chrome/browser/ui/panels/panel_resize_browsertest.cc int delta_x = panel->max_size().width() + 10 - panel->GetBounds().width(); width 343 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + delta_x, width 385 chrome/browser/ui/panels/panel_resize_browsertest.cc panel1_bounds.set_size(gfx::Size(panel1_bounds.width() + 10, width 400 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(panel3_bounds.width() - 1, panel3_bounds.height() - 2); width 406 chrome/browser/ui/panels/panel_resize_browsertest.cc panel3_bounds.set_size(gfx::Size(panel3_bounds.width() + 7, width 442 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(bounds.width() - 1, 1); width 448 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + 5, bounds.height() - 25)); width 463 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + 10, bounds.height() + 15)); width 502 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_width(bounds.width() + bounds.x() - mouse_location.x()); width 513 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_width(bounds.width() + bounds.x() - mouse_location.x()); width 546 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Size panel2_expected_full_size(panel1_initial_bounds.width(), width 549 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Size panel3_expected_full_size(panel1_initial_bounds.width(), width 557 chrome/browser/ui/panels/panel_resize_browsertest.cc panel1_expected_bounds.width(), width 562 chrome/browser/ui/panels/panel_resize_browsertest.cc panel2_expected_bounds.width(), width 585 chrome/browser/ui/panels/panel_resize_browsertest.cc panel1_expected_bounds.width() + top_resize_width, width 590 chrome/browser/ui/panels/panel_resize_browsertest.cc panel2_expected_bounds.width() + top_resize_width); width 594 chrome/browser/ui/panels/panel_resize_browsertest.cc panel3_expected_bounds.width() + top_resize_width); width 615 chrome/browser/ui/panels/panel_resize_browsertest.cc panel1_expected_bounds.width() - bottom_resize_width); width 618 chrome/browser/ui/panels/panel_resize_browsertest.cc panel2_expected_bounds.width() - bottom_resize_width); width 621 chrome/browser/ui/panels/panel_resize_browsertest.cc panel3_expected_bounds.width() - bottom_resize_width); width 103 chrome/browser/ui/panels/panel_resize_controller.cc bounds.set_width(std::max(bounds_at_start_.width() + width 111 chrome/browser/ui/panels/panel_resize_controller.cc bounds.set_width(std::max(bounds_at_start_.width() + width 140 chrome/browser/ui/panels/panel_resize_controller.cc bounds.set_x(bounds_at_start_.right() - bounds.width()); width 69 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel1_expected_bounds.width(), width 74 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel2_expected_bounds.width(), width 172 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel1_expected_bounds.width(), width 177 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel2_expected_bounds.width(), width 237 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel1_expected_bounds.width(), width 312 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel1_expected_bounds.width(), width 633 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel1_expected_bounds.width(), width 638 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel2_expected_bounds.width(), width 1218 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel1_expected_bounds.width(), width 1223 chrome/browser/ui/panels/stacked_panel_browsertest.cc panel2_expected_bounds.width(), width 1431 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(new_primary_area_width, bounds1.width()); width 1435 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(bounds1.width(), bounds2.width()); width 1440 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(bounds2.width(), bounds3.width()); width 1445 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(bounds3.width(), bounds4.width()); width 1450 chrome/browser/ui/panels/stacked_panel_browsertest.cc EXPECT_EQ(bounds4.width(), bounds5.width()); width 50 chrome/browser/ui/panels/stacked_panel_collection.cc int common_width = top_bounds.width(); width 51 chrome/browser/ui/panels/stacked_panel_collection.cc if (common_width > work_area.width()) width 52 chrome/browser/ui/panels/stacked_panel_collection.cc common_width = work_area.width(); width 75 chrome/browser/ui/panels/stacked_panel_collection.cc RefreshLayoutWithTopPanelStartingAt(top_bounds.origin(), top_bounds.width()); width 244 chrome/browser/ui/panels/stacked_panel_collection.cc top_panel()->GetBounds().width() == bottom_panel()->GetBounds().width()) { width 271 chrome/browser/ui/panels/stacked_panel_collection.cc top_width = panel->GetBounds().width(); width 526 chrome/browser/ui/panels/stacked_panel_collection.cc top_panel()->GetBounds().width()); width 579 chrome/browser/ui/panels/stacked_panel_collection.cc int delta_width = new_bounds.width() - other_bounds.width(); width 598 chrome/browser/ui/panels/stacked_panel_collection.cc bounds.set_width(bounds.width() + delta_width); width 676 chrome/browser/ui/panels/stacked_panel_collection.cc bottom_panel_bounds.width(), width 24 chrome/browser/ui/panels/test_panel_collection_squeeze_observer.cc return panel->GetBounds().width() < panel->GetRestoredBounds().width(); width 81 chrome/browser/ui/pdf/pdf_browsertest.cc ASSERT_GT(screen_bounds.width(), kBrowserWidth); width 167 chrome/browser/ui/pdf/pdf_browsertest.cc for (snapshot_x_offset = 0; snapshot_x_offset < bitmap.width(); width 174 chrome/browser/ui/pdf/pdf_browsertest.cc w - ref_x_offset, bitmap.width() - snapshot_x_offset); width 224 chrome/browser/ui/tab_contents/core_tab_helper.cc gfx::JPEGCodec::FORMAT_SkBitmap, bitmap.width(), bitmap.height(), width 29 chrome/browser/ui/tabs/tab_resources.cc void TabResources::GetHitTestMask(int width, width 37 chrome/browser/ui/tabs/tab_resources.cc SkScalar right = SkIntToScalar(width) - kTabInset; width 20 chrome/browser/ui/tabs/tab_resources.h static void GetHitTestMask(int width, width 118 chrome/browser/ui/toolbar/wrench_icon_painter.cc center.x() - image->width() / 2, width 125 chrome/browser/ui/toolbar/wrench_icon_painter.cc int x = center.x() - image->width() / 2; width 138 chrome/browser/ui/toolbar/wrench_icon_painter.cc int x = center.x() - image->width() / 2; width 142 chrome/browser/ui/toolbar/wrench_icon_painter.cc int width = image->width(); width 153 chrome/browser/ui/toolbar/wrench_icon_painter.cc width = image->width() * width 155 chrome/browser/ui/toolbar/wrench_icon_painter.cc if (width == 0) width 160 chrome/browser/ui/toolbar/wrench_icon_painter.cc canvas->DrawImageInt(*image, 0, 0, width, image->height(), width 161 chrome/browser/ui/toolbar/wrench_icon_painter.cc x, y, width, image->height(), false, paint); width 119 chrome/browser/ui/views/accessibility/invert_bubble_view.cc title->SizeToFit(size.width()); width 54 chrome/browser/ui/views/app_list/linux/app_list_linux.cc : view_size.width(); width 59 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc void SetWorkArea(int x, int y, int width, int height) { width 60 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc display_.set_work_area(gfx::Rect(x, y, width, height)); width 60 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc void SetWorkArea(int x, int y, int width, int height) { width 61 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc display_.set_work_area(gfx::Rect(x, y, width, height)); width 78 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc gfx::Rect(work_area.x() + work_area.width() - kTaskbarSize, width 85 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc work_area.x(), work_area.y(), work_area.width(), kTaskbarSize); width 91 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc work_area.width(), width 286 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc preferred_size_ = gfx::Size(initial_window_bounds.width(), width 288 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc if (preferred_size_.width() == 0) width 290 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc else if (preferred_size_.width() < kMinPanelWidth) width 319 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc preferred_size_.width(), width 169 chrome/browser/ui/views/autofill/autofill_dialog_views.cc int width = 0; width 172 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (width > 0) width 173 chrome/browser/ui/views/autofill/autofill_dialog_views.cc width += kAroundTextPadding; width 177 chrome/browser/ui/views/autofill/autofill_dialog_views.cc width += size.width(); width 182 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(width + insets.width(), height + insets.height()); width 196 chrome/browser/ui/views/autofill/autofill_dialog_views.cc start_x += icon->bounds().width() + kAroundTextPadding; width 200 chrome/browser/ui/views/autofill/autofill_dialog_views.cc int end_x = bounds.width(); width 203 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const int preferred_width = textfield->GetPreferredSize().width(); width 204 chrome/browser/ui/views/autofill/autofill_dialog_views.cc textfield->SetBounds(bounds.width() - preferred_width, bounds.y(), width 319 chrome/browser/ui/views/autofill/autofill_dialog_views.cc virtual int GetHeightForWidth(int width) OVERRIDE { width 320 chrome/browser/ui/views/autofill/autofill_dialog_views.cc int label_width = width - GetInsets().width(); width 323 chrome/browser/ui/views/autofill/autofill_dialog_views.cc label_width -= tooltip_icon->GetPreferredSize().width() + width 341 chrome/browser/ui/views/autofill/autofill_dialog_views.cc int icon_width = icon_size.width() + kDialogEdgePadding; width 418 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Rect container_bounds((width() - container_size.width()) / 2, width 420 chrome/browser/ui/views/autofill/autofill_dialog_views.cc container_size.width(), width 568 chrome/browser/ui/views/autofill/autofill_dialog_views.cc int AutofillDialogViews::OverlayView::GetHeightForContentsForWidth(int width) { width 575 chrome/browser/ui/views/autofill/autofill_dialog_views.cc message_view_->GetHeightForWidth(width) + width 576 chrome/browser/ui/views/autofill/autofill_dialog_views.cc image_view_->GetHeightForWidth(width); width 615 chrome/browser/ui/views/autofill/autofill_dialog_views.cc int message_height = message_view_->GetHeightForWidth(bounds.width()); width 617 chrome/browser/ui/views/autofill/autofill_dialog_views.cc message_view_->SetBounds(bounds.x(), y, bounds.width(), message_height); width 621 chrome/browser/ui/views/autofill/autofill_dialog_views.cc image_view_->SetBounds(bounds.x(), y, bounds.width(), image_size.height()); width 649 chrome/browser/ui/views/autofill/autofill_dialog_views.cc arrow.rLineTo(rect.width() / 2 - arrow_half_width, 0); width 764 chrome/browser/ui/views/autofill/autofill_dialog_views.cc GetMirroredXInView(width() - arrow_centering_anchor_->width() / 2.0f), width 821 chrome/browser/ui/views/autofill/autofill_dialog_views.cc kSectionContainerWidth - proxy_button->GetPreferredSize().width(), width 975 chrome/browser/ui/views/autofill/autofill_dialog_views.cc size.Enlarge(insets.width(), insets.height()); width 1069 chrome/browser/ui/views/autofill/autofill_dialog_views.cc int AutofillDialogViews::SuggestionView::GetHeightForWidth(int width) { width 1071 chrome/browser/ui/views/autofill/autofill_dialog_views.cc CanUseVerticallyCompactText(width, &height); width 1093 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (layout->GetPreferredSize(&sizing_view).width() <= available_width) { width 1157 chrome/browser/ui/views/autofill/autofill_dialog_views.cc SetLabelText(CanUseVerticallyCompactText(width(), &unused) ? width 1404 chrome/browser/ui/views/autofill/autofill_dialog_views.cc int min_width = GetContentsBounds().width(); width 1482 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const int width = content_bounds.width(); width 1484 chrome/browser/ui/views/autofill/autofill_dialog_views.cc int notification_height = notification_area_->GetHeightForWidth(width); width 1485 chrome/browser/ui/views/autofill/autofill_dialog_views.cc notification_area_->SetBounds(x, y, width, notification_height); width 1499 chrome/browser/ui/views/autofill/autofill_dialog_views.cc scrollable_area_->SetBounds(x, scroll_y, width, scroll_bottom - scroll_y); width 1756 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const int width = scroll_size.width(); width 1761 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(width + insets.width(), size.height() + insets.height()); width 1765 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const int height = overlay_view_->GetHeightForContentsForWidth(width); width 1767 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(width + insets.width(), height + insets.height()); width 1771 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(width + insets.width(), width 1776 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const int notification_height = notification_area_->GetHeightForWidth(width); width 1783 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(width + insets.width(), height + insets.height()); width 1787 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(GetDialogClientView()->size().width() - GetInsets().width(), width 1806 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const int width = GetDialogClientView()->size().width() - GetInsets().width(); width 1807 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(width, height); width 222 chrome/browser/ui/views/autofill/autofill_dialog_views.h int GetHeightForContentsForWidth(int width); width 389 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual int GetHeightForWidth(int width) OVERRIDE; width 78 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc entry_rect.width() - value_text_width - kEndPadding : kEndPadding; width 91 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc int x_align_left = is_rtl ? kEndPadding : entry_rect.width() - kEndPadding; width 102 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc x_align_left += is_rtl ? 0 : -image->width(); width 106 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc x_align_left += is_rtl ? image->width() + kIconPadding : -kIconPadding; width 114 chrome/browser/ui/views/autofill/decorated_textfield.cc return gfx::Size(size.width(), std::max(size.height(), height)); width 125 chrome/browser/ui/views/autofill/decorated_textfield.cc bounds.right() - icon_size.width() - kTextfieldIconPadding; width 128 chrome/browser/ui/views/autofill/decorated_textfield.cc gfx::Rect icon_bounds(x, y, icon_size.width(), icon_size.height()); width 132 chrome/browser/ui/views/autofill/info_bubble.cc pref_width -= frame_->GetInsets().width(); width 126 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc x -= bounds.width() + kAnchorlessEndPadding; width 130 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc int width = bounds.width() - border_insets.width(); width 133 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc return gfx::Rect(gfx::Point(x, y), gfx::Size(width, height)); width 25 chrome/browser/ui/views/autofill/tooltip_icon.cc origin.Offset(-pref_size.width() / 2, -pref_size.height() / 2); width 29 chrome/browser/ui/views/autofill/tooltip_icon.cc local_bounds.right() - (origin.x() + pref_size.width())); width 62 chrome/browser/ui/views/avatar_label.cc gfx::Rect rect(1, 1, view.size().width() - 2, view.size().height() - 2); width 77 chrome/browser/ui/views/avatar_label.cc rect = gfx::Rect(2, 2, view.size().width() - 4, view.size().height() - 4); width 118 chrome/browser/ui/views/avatar_menu_bubble_view.cc canvas->DrawImageInt(icon_, 0, 0, icon_.width(), icon_.height(), 0, 0, width 119 chrome/browser/ui/views/avatar_menu_bubble_view.cc icon_size_.width(), icon_size_.height(), true); width 120 chrome/browser/ui/views/avatar_menu_bubble_view.cc canvas->DrawImageInt(badge_, size().width() - badge_.width(), width 128 chrome/browser/ui/views/avatar_menu_bubble_view.cc int width = icon_size.width() + badge.width() * kBadgeOverlapRatioX; width 131 chrome/browser/ui/views/avatar_menu_bubble_view.cc return gfx::Size(width, height); width 299 chrome/browser/ui/views/avatar_menu_bubble_view.cc int text_width = std::max(name_label_->GetPreferredSize().width(), width 300 chrome/browser/ui/views/avatar_menu_bubble_view.cc sync_state_label_->GetPreferredSize().width()); width 301 chrome/browser/ui/views/avatar_menu_bubble_view.cc text_width = std::max(edit_link_->GetPreferredSize().width(), text_width); width 317 chrome/browser/ui/views/avatar_menu_bubble_view.cc icon_rect = GetCenteredAndScaledRect(icon.width(), icon.height(), 0, 0, width 323 chrome/browser/ui/views/avatar_menu_bubble_view.cc int max_label_width = std::max(width() - label_x, 0); width 325 chrome/browser/ui/views/avatar_menu_bubble_view.cc name_size.set_width(std::min(name_size.width(), max_label_width)); width 327 chrome/browser/ui/views/avatar_menu_bubble_view.cc state_size.set_width(std::min(state_size.width(), max_label_width)); width 329 chrome/browser/ui/views/avatar_menu_bubble_view.cc edit_size.set_width(std::min(edit_size.width(), max_label_width)); width 335 chrome/browser/ui/views/avatar_menu_bubble_view.cc name_label_->SetBounds(label_x, y, name_size.width(), name_size.height()); width 339 chrome/browser/ui/views/avatar_menu_bubble_view.cc state_size.width(), state_size.height()); width 342 chrome/browser/ui/views/avatar_menu_bubble_view.cc edit_size.width(), edit_size.height()); width 397 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size icon_size = GetCenteredAndScaledRect(icon.width(), icon.height(), width 576 chrome/browser/ui/views/avatar_menu_bubble_view.cc preferred_size.width() - icon_view_->GetPreferredSize().width() - width 591 chrome/browser/ui/views/avatar_menu_bubble_view.cc int item_width = width(); width 600 chrome/browser/ui/views/avatar_menu_bubble_view.cc separator_->SetBounds(0, y, width(), separator_height); width 606 chrome/browser/ui/views/avatar_menu_bubble_view.cc width(), buttons_view_->GetPreferredSize().height()); width 609 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Rect icon_bounds(0, y, icon_size.width(), icon_size.height()); width 611 chrome/browser/ui/views/avatar_menu_bubble_view.cc int info_width = width() - icon_bounds.right() - width 618 chrome/browser/ui/views/avatar_menu_bubble_view.cc separator_switch_users_->SetBounds(0, y, width(), separator_height); width 621 chrome/browser/ui/views/avatar_menu_bubble_view.cc switch_profile_link_->SetBounds(0, y, width(), link_height); width 55 chrome/browser/ui/views/avatar_menu_button.cc *icon_, is_rectangle_, width(), height()).ToImageSkia(); width 59 chrome/browser/ui/views/avatar_menu_button.cc int dst_width = std::min(button_icon_.width(), width()); width 62 chrome/browser/ui/views/avatar_menu_button.cc int dst_x = (width() - dst_width) / 2; width 67 chrome/browser/ui/views/avatar_menu_button.cc static_cast<float>(dst_width) / static_cast<float>(button_icon_.width()); width 75 chrome/browser/ui/views/avatar_menu_button.cc canvas->DrawImageInt(button_icon_, 0, 0, button_icon_.width(), width 52 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc int ascent = 0, descent = 0, height = 0, width = 0; width 63 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc width += pref.width(); width 65 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc width += (child_count() - 1) * kViewPadding; width 68 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc return gfx::Size(width, height); width 72 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc int remaining_width = width(); width 83 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc int view_width = std::min(remaining_width, pref.width()); width 86 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc remaining_width = std::max(0, width() - x); width 265 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (text_size_.width() > GetTextBounds().width()) width 524 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (loc.x() < 0 || loc.x() >= width() || loc.y() < 0 || loc.y() >= height()) width 688 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int width = kLeftMargin; width 693 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc width += 2 * static_cast<int>(kNewtabHorizontalPadding * current_state); width 712 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc width += other_bookmarked_pref.width() + kButtonPadding + width 713 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc apps_page_shortcut_pref.width() + kButtonPadding + width 714 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc overflow_pref.width() + kButtonPadding + width 715 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc bookmarks_separator_pref.width(); width 717 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc return gfx::Size(width, height); width 758 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc GetBookmarkButton(index - 1)->width(); width 1461 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (old_pref.width() != new_pref.width()) { width 1533 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc other_delta_x < other_bookmarked_button_->width()) { width 1552 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int button_w = button->width(); width 1579 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc overflow_delta_x < overflow_button_->width()) { width 1720 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int width = View::width() - kRightMargin - kLeftMargin; width 1728 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc width -= static_cast<int>(kNewtabHorizontalPadding * current_state); width 1745 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int max_x = width - overflow_pref.width() - kButtonPadding - width 1746 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc bookmarks_separator_pref.width(); width 1748 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc max_x -= other_bookmarked_pref.width() + kButtonPadding; width 1756 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc apps_page_shortcut_->SetBounds(x, y, apps_page_shortcut_pref.width(), width 1759 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc x += apps_page_shortcut_pref.width() + kButtonPadding; width 1768 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc std::min(static_cast<int>(pref.width()), width 1780 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int next_x = x + pref.width() + kButtonPadding; width 1783 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc child->SetBounds(x, y, pref.width(), height); width 1801 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc overflow_button_->SetBounds(x, y, overflow_pref.width(), height); width 1804 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc x += overflow_pref.width(); width 1811 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc bookmarks_separator_pref.width(), width 1816 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc x += bookmarks_separator_pref.width(); width 1822 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc other_bookmarked_button_->SetBounds(x, y, other_bookmarked_pref.width(), width 1825 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc x += other_bookmarked_pref.width() + kButtonPadding; width 170 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc bb_view_pref_.set_width(bb_view_pref_.width() - 25); width 171 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc bb_view_->SetBounds(0, 0, bb_view_pref_.width(), bb_view_pref_.height()); width 677 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(other_button->width() / 2, other_button->height() / 2); width 699 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(other_button->width() / 2, other_button->height() / 2); width 777 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(other_button->width() / 2, other_button->height() / 2); width 798 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(other_button->width() / 2, other_button->height() / 2); width 812 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(button->width() / 2, button->height() / 2); width 882 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(scroll_down_button->width() / 2, width 1555 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point button_center(button->width() / 2, button->height() / 2); width 1627 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point button_center(button->width() / 2, button->height() / 2); width 1732 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc const int width = bb_view->width(); width 1734 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc bb_view->SetBounds(0,0, width - 22, height); width 1735 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc test_view->SetBounds(width - 20, 0, 20, height); width 59 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc gfx::Rect bounds(screen_loc.x(), screen_loc.y(), menu_button->width(), width 171 chrome/browser/ui/views/collected_cookies_views.cc width(), height() - views::kRelatedControlVerticalSpacing); width 146 chrome/browser/ui/views/conflicting_module_view_win.cc 0, views::GridLayout::FIXED, icon_size.width(), icon_size.height()); width 161 chrome/browser/ui/views/content_setting_bubble_contents.cc (kMinMultiLineContentsWidth > preferred_size.width())) ? width 162 chrome/browser/ui/views/content_setting_bubble_contents.cc kMinMultiLineContentsWidth : preferred_size.width(); width 461 chrome/browser/ui/views/content_setting_bubble_contents.cc int width = button->GetPreferredSize().width(); width 464 chrome/browser/ui/views/content_setting_bubble_contents.cc width = std::max(width, button->GetPreferredSize().width()); width 469 chrome/browser/ui/views/content_setting_bubble_contents.cc return width; width 184 chrome/browser/ui/views/create_application_shortcut_view.cc if (bitmap.width() == kIconPreviewSizePixels && width 468 chrome/browser/ui/views/create_application_shortcut_view.cc int preferred_size = std::max(unprocessed_icons_.back().width, width 558 chrome/browser/ui/views/desktop_media_picker_views.cc gfx::Rect label_rect(rect.x(), rect.y(), rect.width(), width 559 chrome/browser/ui/views/desktop_media_picker_views.cc label_->GetHeightForWidth(rect.width())); width 565 chrome/browser/ui/views/desktop_media_picker_views.cc rect.width(), rect.height() - scroll_view_top); width 36 chrome/browser/ui/views/detachable_toolbar_view.cc bounds.y(), bounds.width(), bounds.height()); width 44 chrome/browser/ui/views/detachable_toolbar_view.cc toolbar_left->width(), bounds.height()); width 48 chrome/browser/ui/views/detachable_toolbar_view.cc bounds.right() - toolbar_right->width(), bounds.y(), width 49 chrome/browser/ui/views/detachable_toolbar_view.cc toolbar_right->width(), bounds.height()); width 62 chrome/browser/ui/views/detachable_toolbar_view.cc SkDoubleToScalar(view->width() - horizontal_padding - 0.5), width 76 chrome/browser/ui/views/detachable_toolbar_view.cc canvas->FillRect(gfx::Rect(0, y, view->width(), thickness), color); width 346 chrome/browser/ui/views/download/download_item_view.cc int x = kLeftPadding + body_image_set->top_left->width() + width 347 chrome/browser/ui/views/download/download_item_view.cc warning_icon_->width() + kLabelPadding; width 350 chrome/browser/ui/views/download/download_item_view.cc dangerous_download_label_->width(), width 353 chrome/browser/ui/views/download/download_item_view.cc x += dangerous_download_label_->width() + kLabelPadding; width 356 chrome/browser/ui/views/download/download_item_view.cc save_button_->SetBounds(x, y, button_size.width(), button_size.height()); width 357 chrome/browser/ui/views/download/download_item_view.cc x += button_size.width() + kButtonPadding; width 359 chrome/browser/ui/views/download/download_item_view.cc discard_button_->SetBounds(x, y, button_size.width(), button_size.height()); width 365 chrome/browser/ui/views/download/download_item_view.cc int width, height; width 377 chrome/browser/ui/views/download/download_item_view.cc width = kLeftPadding + body_image_set->top_left->width(); width 378 chrome/browser/ui/views/download/download_item_view.cc width += warning_icon_->width() + kLabelPadding; width 379 chrome/browser/ui/views/download/download_item_view.cc width += dangerous_download_label_->width() + kLabelPadding; width 387 chrome/browser/ui/views/download/download_item_view.cc width += button_size.width() + kButtonPadding; width 388 chrome/browser/ui/views/download/download_item_view.cc width += button_size.width(); width 389 chrome/browser/ui/views/download/download_item_view.cc width += body_image_set->top_right->width(); width 391 chrome/browser/ui/views/download/download_item_view.cc width += normal_drop_down_image_set_.top->width(); width 393 chrome/browser/ui/views/download/download_item_view.cc width = kLeftPadding + normal_body_image_set_.top_left->width(); width 394 chrome/browser/ui/views/download/download_item_view.cc width += DownloadShelf::kSmallProgressIconSize; width 395 chrome/browser/ui/views/download/download_item_view.cc width += kTextWidth; width 396 chrome/browser/ui/views/download/download_item_view.cc width += normal_body_image_set_.top_right->width(); width 397 chrome/browser/ui/views/download/download_item_view.cc width += normal_drop_down_image_set_.top->width(); width 399 chrome/browser/ui/views/download/download_item_view.cc return gfx::Size(width, height); width 662 chrome/browser/ui/views/download/download_item_view.cc int center_width = width() - kLeftPadding - width 663 chrome/browser/ui/views/download/download_item_view.cc body_image_set->left->width() - width 664 chrome/browser/ui/views/download/download_item_view.cc body_image_set->right->width() - width 666 chrome/browser/ui/views/download/download_item_view.cc normal_drop_down_image_set_.center->width() : width 709 chrome/browser/ui/views/download/download_item_view.cc canvas->Translate(gfx::Vector2d(width(), 0)); width 715 chrome/browser/ui/views/download/download_item_view.cc x, box_y_, box_height_, body_image_set->top_left->width()); width 716 chrome/browser/ui/views/download/download_item_view.cc x += body_image_set->top_left->width(); width 725 chrome/browser/ui/views/download/download_item_view.cc x, box_y_, box_height_, body_image_set->top_right->width()); width 737 chrome/browser/ui/views/download/download_item_view.cc x, box_y_, box_height_, hot_body_image_set_.top_left->width()); width 738 chrome/browser/ui/views/download/download_item_view.cc x += body_image_set->top_left->width(); width 748 chrome/browser/ui/views/download/download_item_view.cc hot_body_image_set_.top_right->width()); width 752 chrome/browser/ui/views/download/download_item_view.cc x += body_image_set->top_right->width(); width 759 chrome/browser/ui/views/download/download_item_view.cc x, box_y_, box_height_, drop_down_image_set->top->width()); width 769 chrome/browser/ui/views/download/download_item_view.cc x, box_y_, box_height_, drop_down_image_set->top->width()); width 871 chrome/browser/ui/views/download/download_item_view.cc icon_x = kLeftPadding + body_image_set->top_left->width(); width 877 chrome/browser/ui/views/download/download_item_view.cc icon_x = GetMirroredXWithWidthInView(icon_x, icon->width()); width 1067 chrome/browser/ui/views/download/download_item_view.cc int x, int y, int height, int width) { width 1071 chrome/browser/ui/views/download/download_item_view.cc 0, 0, top_image->width(), top_image->height(), width 1072 chrome/browser/ui/views/download/download_item_view.cc x, y, width, top_image->height(), false); width 1076 chrome/browser/ui/views/download/download_item_view.cc 0, 0, center_image->width(), center_image->height(), width 1077 chrome/browser/ui/views/download/download_item_view.cc x, y, width, middle_height, false); width 1081 chrome/browser/ui/views/download/download_item_view.cc 0, 0, bottom_image->width(), bottom_image->height(), width 1082 chrome/browser/ui/views/download/download_item_view.cc x, y, width, bottom_image->height(), false); width 1215 chrome/browser/ui/views/download/download_item_view.cc if (cached_button_size_.width() != 0) width 1222 chrome/browser/ui/views/download/download_item_view.cc size.SetSize(std::max(size.width(), discard_size.width()), width 1225 chrome/browser/ui/views/download/download_item_view.cc if (size.width() != 0) width 1259 chrome/browser/ui/views/download/download_item_view.cc int min_width = size.width(); width 1283 chrome/browser/ui/views/download/download_item_view.cc if (size.width() > min_width) { width 1287 chrome/browser/ui/views/download/download_item_view.cc min_width = size.width(); width 1292 chrome/browser/ui/views/download/download_item_view.cc dangerous_download_label_->SetBounds(0, 0, size.width(), size.height()); width 1334 chrome/browser/ui/views/download/download_item_view.cc drop_down_x_right_ = normal_drop_down_image_set_.top->width(); width 1338 chrome/browser/ui/views/download/download_item_view.cc size.width() - normal_drop_down_image_set_.top->width(); width 1339 chrome/browser/ui/views/download/download_item_view.cc drop_down_x_right_ = size.width(); width 182 chrome/browser/ui/views/download/download_item_view.h int width); width 84 chrome/browser/ui/views/download/download_shelf_view.cc size->Enlarge(view_preferred.width(), 0); width 156 chrome/browser/ui/views/download/download_shelf_view.cc canvas->FillRect(gfx::Rect(0, 0, width(), 1), kBorderColor); width 222 chrome/browser/ui/views/download/download_shelf_view.cc std::max<int>(0, width() - kRightPadding - close_button_size.width() - width 223 chrome/browser/ui/views/download/download_shelf_view.cc kCloseAndLinkPadding - show_all_size.width() - width 224 chrome/browser/ui/views/download/download_shelf_view.cc kDownloadsTitlePadding - image_size.width() - width 231 chrome/browser/ui/views/download/download_shelf_view.cc image_size.width(), image_size.height()); width 232 chrome/browser/ui/views/download/download_shelf_view.cc next_x += image_size.width() + kDownloadsTitlePadding; width 235 chrome/browser/ui/views/download/download_shelf_view.cc show_all_size.width(), width 237 chrome/browser/ui/views/download/download_shelf_view.cc next_x += show_all_size.width() + kCloseAndLinkPadding; width 243 chrome/browser/ui/views/download/download_shelf_view.cc is_maximized ? width() - next_x : close_button_size.width(), width 261 chrome/browser/ui/views/download/download_shelf_view.cc int item_width = view_size.width(); width 263 chrome/browser/ui/views/download/download_shelf_view.cc item_width = static_cast<int>(static_cast<double>(view_size.width()) * width 327 chrome/browser/ui/views/download/download_shelf_view.cc int available_width = width() - kRightPadding - close_button_size.width() - width 328 chrome/browser/ui/views/download/download_shelf_view.cc kCloseAndLinkPadding - show_all_size.width() - kDownloadsTitlePadding - width 329 chrome/browser/ui/views/download/download_shelf_view.cc image_size.width() - kDownloadPadding - kLeftPadding; width 334 chrome/browser/ui/views/download/download_shelf_view.cc return item_size.width() < available_width; width 96 chrome/browser/ui/views/download/download_started_animation_views.cc web_contents_bounds_.right() - size.width() : web_contents_bounds_.x(); width 101 chrome/browser/ui/views/download/download_started_animation_views.cc size.width(), width 240 chrome/browser/ui/views/dropdown_bar_host.cc int w = new_pos.width() - 6; // -6 positions us at the left edge of the width 68 chrome/browser/ui/views/dropdown_bar_view.cc int left_edge_width = left_alpha_mask_->width(); width 69 chrome/browser/ui/views/dropdown_bar_view.cc int right_edge_width = right_alpha_mask_->width(); width 75 chrome/browser/ui/views/dropdown_bar_view.cc 0, 0, view->bounds().width(), height); width 84 chrome/browser/ui/views/dropdown_bar_view.cc int x_right_edge = view->bounds().width() - right_edge_width; width 114 chrome/browser/ui/views/dropdown_bar_view.cc gfx::Size(bounds().width(), kAnimatingEdgeHeight), width 53 chrome/browser/ui/views/extensions/extension_dialog.cc int width, width 65 chrome/browser/ui/views/extensions/extension_dialog.cc host->view()->SetPreferredSize(gfx::Size(width, height)); width 72 chrome/browser/ui/views/extensions/extension_dialog.cc dialog->InitWindow(parent_window, width, height); width 86 chrome/browser/ui/views/extensions/extension_dialog.cc int width, width 92 chrome/browser/ui/views/extensions/extension_dialog.cc int x = center.x() - width / 2; width 98 chrome/browser/ui/views/extensions/extension_dialog.cc gfx::Rect bounds_rect = gfx::Rect(x, y, width, height); width 139 chrome/browser/ui/views/extensions/extension_dialog.cc void ExtensionDialog::SetMinimumContentsSize(int width, int height) { width 140 chrome/browser/ui/views/extensions/extension_dialog.cc host_->view()->SetPreferredSize(gfx::Size(width, height)); width 44 chrome/browser/ui/views/extensions/extension_dialog.h int width, width 62 chrome/browser/ui/views/extensions/extension_dialog.h void SetMinimumContentsSize(int width, int height); width 94 chrome/browser/ui/views/extensions/extension_dialog.h void InitWindow(aura::Window* parent_window, int width, int height); width 401 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc SetBounds(x(), y(), width(), GetHeightForWidth(width())); width 903 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::Size size(image->width(), image->height()); width 904 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc if (size.width() > kIconSize || size.height() > kIconSize) width 1050 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc scroll_view_->SetBounds(0, 0, width(), height()); width 1062 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc int max_width = dialog_size_.width() - cancel_button->width() * 2 - width 1069 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc link_size.width(), link_size.height()); width 1076 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc label_size.width(), label_size.height()); width 1177 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc return gfx::Size(size.width(), size.height() * state_); width 169 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc gfx::Size size(icon->width(), icon->height()); width 170 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc if (size.width() > kIconSize || size.height() > kIconSize) width 339 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc offset_x, offset_y, link_size.width(), link_size.height()); width 344 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc gfx::ElideRectangleText(full_text, font_list, contents_area.width(), width 362 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc const gfx::Size size(contents_area.width(), width 379 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc int width = kHorizOuterMargin; width 380 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc width += kIconSize; width 381 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc width += views::kPanelHorizMargin; width 382 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc width += kRightColumnWidth; width 383 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc width += 2 * views::kPanelHorizMargin; width 384 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc width += kHorizOuterMargin; width 410 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc return gfx::Size(width, std::max(height, kIconSize + 2 * kVertOuterMargin)); width 452 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc manage_shortcut_->SetBounds(width() - 2 * kHorizOuterMargin - sz.width(), width 454 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc sz.width(), width 462 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc close_button_->GetPreferredSize().width(); width 467 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc close_button_->SetBounds(x - 1, y - 1, sz.width(), sz.height()); width 153 chrome/browser/ui/views/extensions/extension_popup.cc sz.set_width(std::max(kMinWidth, std::min(kMaxWidth, sz.width()))); width 163 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc gfx::Size size(icon->width(), icon->height()); width 164 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc if (size.width() > kIconSize || size.height() > kIconSize) width 203 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc int width = kRightColumnWidth; width 204 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc width += kIconSize; width 205 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc width += views::kButtonHEdgeMarginNew * 2; width 206 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc width += views::kRelatedControlHorizontalSpacing; width 211 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc return gfx::Size(width, width 52 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc int width = pref.width(); width 55 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc width = parent()->width(); width 58 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc SetBounds(x(), y(), width, height); width 49 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc int width = pref.width(); width 52 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc width = parent()->width(); width 55 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc SetBounds(x(), y(), width, height); width 87 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc if (GetPreferredSize().width() <= GetLocalBounds().width()) width 93 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc int checkbox_width = checkbox_->GetPreferredSize().width(); width 94 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc int folder_viewer_width = folder_viewer_button_->GetPreferredSize().width(); width 95 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc int secondary_text_width = secondary_text_->GetPreferredSize().width(); width 104 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc if (folder_viewer_width + secondary_text_width > area.width() / 2) { width 106 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc std::max(area.width() / 2 - folder_viewer_width, width 107 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc area.width() - folder_viewer_width - checkbox_width); width 109 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc checkbox_width = area.width() - folder_viewer_width - secondary_text_width; width 257 chrome/browser/ui/views/find_bar_host.cc return view()->width(); width 274 chrome/browser/ui/views/find_bar_host.cc if (widget_bounds.width() < prefsize.width()) width 275 chrome/browser/ui/views/find_bar_host.cc prefsize.set_width(widget_bounds.width()); width 286 chrome/browser/ui/views/find_bar_host.cc x += widget_bounds.width() - prefsize.width(); width 288 chrome/browser/ui/views/find_bar_host.cc view_location.SetRect(x, y, prefsize.width(), prefsize.height()); width 278 chrome/browser/ui/views/find_bar_view.cc int panel_width = GetPreferredSize().width(); width 281 chrome/browser/ui/views/find_bar_view.cc int view_width = width(); width 287 chrome/browser/ui/views/find_bar_view.cc close_button_->SetBounds(panel_width - sz.width() - width 290 chrome/browser/ui/views/find_bar_view.cc sz.width(), width 298 chrome/browser/ui/views/find_bar_view.cc find_next_button_->width() - width 301 chrome/browser/ui/views/find_bar_view.cc sz.width(), width 307 chrome/browser/ui/views/find_bar_view.cc find_previous_button_->width(), width 309 chrome/browser/ui/views/find_bar_view.cc sz.width(), width 319 chrome/browser/ui/views/find_bar_view.cc find_previous_button_->x() - kWhiteSpaceAfterMatchCountLabel - sz.width(); width 324 chrome/browser/ui/views/find_bar_view.cc sz.width(), sz.height()); width 335 chrome/browser/ui/views/find_bar_view.cc int find_text_edge = find_text_->x() + find_text_->width(); width 350 chrome/browser/ui/views/find_bar_view.cc prefsize.Enlarge(find_previous_button_->GetPreferredSize().width(), 0); width 351 chrome/browser/ui/views/find_bar_view.cc prefsize.Enlarge(find_next_button_->GetPreferredSize().width(), 0); width 352 chrome/browser/ui/views/find_bar_view.cc prefsize.Enlarge(close_button_->GetPreferredSize().width(), 0); width 121 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc min_size.set_width(std::max(min_size.width(), width 140 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc client_bounds.width() + (2 * border_thickness), width 191 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc window_mask->lineTo(SkIntToScalar(size.width() - 3), 0); width 192 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc window_mask->lineTo(SkIntToScalar(size.width() - 2), 1); width 193 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc window_mask->lineTo(SkIntToScalar(size.width() - 1), 1); width 194 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc window_mask->lineTo(SkIntToScalar(size.width() - 1), 2); width 195 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc window_mask->lineTo(SkIntToScalar(size.width()), 3); width 197 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc window_mask->lineTo(SkIntToScalar(size.width()), width 228 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc client_view_bounds_ = CalculateClientAreaBounds(width(), height()); width 341 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->FillRect(gfx::Rect(0, 0, width(), theme_frame->height()), width 347 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->FillRect(gfx::Rect(0, theme_frame->height(), left_edge->width(), width 349 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->FillRect(gfx::Rect(width() - right_edge->width(), width 350 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc theme_frame->height(), right_edge->width(), width 352 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc int center_width = width() - left_edge->width() - right_edge->width(); width 355 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->FillRect(gfx::Rect(left_edge->width(), width 362 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*theme_frame, 0, 0, width(), theme_frame->height()); width 366 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*top_edge, top_left_corner->width(), 0, width 367 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc width() - top_right_corner->width(), top_edge->height()); width 369 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc width() - top_right_corner->width(), 0); width 372 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*right_edge, width() - right_edge->width(), width 373 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc top_right_corner->height(), right_edge->width(), width 378 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc width() - bottom_right_corner->width(), width 380 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*bottom_edge, bottom_left_corner->width(), width 382 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc width() - bottom_left_corner->width() - bottom_right_corner->width(), width 389 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc left_edge->width(), width 397 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*frame_image, 0, FrameBorderThickness(), width(), width 406 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc width(), edge_height); width 419 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Rect client_area_bounds = CalculateClientAreaBounds(width(), height()); width 436 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->DrawImageInt(*top_left, client_area_bounds.x() - top_left->width(), width 439 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc client_area_bounds.width(), top->height()); width 447 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc right->width(), client_area_height); width 453 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc client_area_bounds.width(), bottom_right->height()); width 455 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc client_area_bounds.x() - bottom_left->width(), client_area_bottom); width 458 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*left, client_area_bounds.x() - left->width(), width 459 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc client_area_top, left->width(), client_area_height); width 465 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc client_area_bounds.width() + kClientEdgeThickness, width 482 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc close_button_->SetBounds(width() - FrameBorderThickness() - width 483 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc kCloseButtonFrameBorderSpacing - close_button_size.width(), width 485 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc close_button_size.width() + right_extra_width, width 508 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Rect AppPanelBrowserFrameView::CalculateClientAreaBounds(int width, width 513 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc std::max(0, width - (2 * border_thickness)), width 97 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h gfx::Rect CalculateClientAreaBounds(int width, int height) const; width 92 chrome/browser/ui/views/frame/browser_header_painter_ash.cc if (overlay_bounds.width() < bounds.width() - corner_radius) width 102 chrome/browser/ui/views/frame/browser_header_painter_ash.cc bounds.width(), bounds.height()); width 155 chrome/browser/ui/views/frame/browser_header_painter_ash.cc caption_button_container_->GetMinimumSize().width(); width 243 chrome/browser/ui/views/frame/browser_header_painter_ash.cc view_->width() - caption_button_container_size.width(), width 245 chrome/browser/ui/views/frame/browser_header_painter_ash.cc caption_button_container_size.width(), width 295 chrome/browser/ui/views/frame/browser_header_painter_ash.cc int top_left_width = top_left_corner.width(); width 299 chrome/browser/ui/views/frame/browser_header_painter_ash.cc int top_right_width = top_right_corner.width(); width 302 chrome/browser/ui/views/frame/browser_header_painter_ash.cc view_->width() - top_right_width, width 309 chrome/browser/ui/views/frame/browser_header_painter_ash.cc view_->width() - top_left_width - top_right_width, width 315 chrome/browser/ui/views/frame/browser_header_painter_ash.cc left_edge.width(), width 319 chrome/browser/ui/views/frame/browser_header_painter_ash.cc view_->width() - right_edge.width(), width 321 chrome/browser/ui/views/frame/browser_header_painter_ash.cc right_edge.width(), width 468 chrome/browser/ui/views/frame/browser_header_painter_ash.cc return gfx::Rect(view_->width(), painted_height_); width 143 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc std::max(0, width() - left_inset - right_inset), width 332 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc min_client_view_size.width()); width 337 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc browser_view()->tabstrip()->GetMinimumSize().width(); width 384 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc browser_view()->GetOTRAvatarIcon().width() + kAvatarSideSpacing : width 389 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc return caption_button_container_->GetPreferredSize().width() + width 434 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc incognito_icon.width(), width 459 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc canvas->TileImageInt(*frame_image, 0, 0, width(), frame_image->height()); width 471 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc int w = toolbar_bounds.width(); width 517 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc toolbar_left->width(), theme_toolbar->height()); width 522 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc w - toolbar_right->width() - 2 * kClientEdgeThickness, width 524 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc toolbar_right->width(), theme_toolbar->height()); width 539 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc width(), kClientEdgeThickness), width 216 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc EXPECT_GT(initial.width(), during_maximize.width()); width 154 chrome/browser/ui/views/frame/browser_root_view.cc event->location().x() <= browser_view_->GetBounds().width()) { width 219 chrome/browser/ui/views/frame/browser_view.cc SkIntToScalar(view->width()), y, paint); width 84 chrome/browser/ui/views/frame/browser_view_layout.cc const int middle_x = content_area.x() + content_area.width() / 2; width 86 chrome/browser/ui/views/frame/browser_view_layout.cc return gfx::Point(middle_x - size.width() / 2, top); width 93 chrome/browser/ui/views/frame/browser_view_layout.cc return gfx::Size(content_area.width(), content_area.bottom() - top); width 197 chrome/browser/ui/views/frame/browser_view_layout.cc tabstrip_size.width(), width 198 chrome/browser/ui/views/frame/browser_view_layout.cc toolbar_size.width(), width 199 chrome/browser/ui/views/frame/browser_view_layout.cc bookmark_bar_size.width(), width 200 chrome/browser/ui/views/frame/browser_view_layout.cc infobar_container_size.width(), width 201 chrome/browser/ui/views/frame/browser_view_layout.cc contents_size.width() }; width 246 chrome/browser/ui/views/frame/browser_view_layout.cc bounding_box.set_width(std::max(0, bounding_box.width() - scrollbar_width)); width 419 chrome/browser/ui/views/frame/browser_view_layout.cc int width = browser_view_->width(); width 421 chrome/browser/ui/views/frame/browser_view_layout.cc if (width > ps.width()) { width 422 chrome/browser/ui/views/frame/browser_view_layout.cc switcher_button->SetBounds(width - ps.width() - kWindowSwitcherOffsetX, width 424 chrome/browser/ui/views/frame/browser_view_layout.cc ps.width(), width 441 chrome/browser/ui/views/frame/browser_view_layout.cc int browser_view_width = vertical_layout_rect_.width(); width 479 chrome/browser/ui/views/frame/browser_view_layout.cc bookmark_bar_->SetBounds(0, y, browser_view_->width(), 0); width 488 chrome/browser/ui/views/frame/browser_view_layout.cc vertical_layout_rect_.width(), width 510 chrome/browser/ui/views/frame/browser_view_layout.cc vertical_layout_rect_.width(), width 520 chrome/browser/ui/views/frame/browser_view_layout.cc vertical_layout_rect_.width(), width 548 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Rect top_container_bounds(vertical_layout_rect_.width(), height); width 580 chrome/browser/ui/views/frame/browser_view_layout.cc vertical_layout_rect_.width(), height); width 94 chrome/browser/ui/views/frame/browser_view_unittest.cc EXPECT_EQ(browser_view()->width(), top_container->width()); width 45 chrome/browser/ui/views/frame/contents_layout_manager.cc int width = contents_container->width(); width 47 chrome/browser/ui/views/frame/contents_layout_manager.cc gfx::Size container_size(width, height); width 111 chrome/browser/ui/views/frame/glass_browser_frame_view.cc std::min(frame()->GetMinimizeButtonOffset(), width()); width 117 chrome/browser/ui/views/frame/glass_browser_frame_view.cc minimize_button_offset -= new_avatar_button()->width(); width 133 chrome/browser/ui/views/frame/glass_browser_frame_view.cc tabstrip_x = width() - minimize_button_offset; width 135 chrome/browser/ui/views/frame/glass_browser_frame_view.cc minimize_button_offset = width(); width 170 chrome/browser/ui/views/frame/glass_browser_frame_view.cc min_size.Enlarge(insets.width(), insets.height()); width 178 chrome/browser/ui/views/frame/glass_browser_frame_view.cc int min_tabstrip_width = tabstrip->GetMinimumSize().width(); width 180 chrome/browser/ui/views/frame/glass_browser_frame_view.cc width() - GetBoundsForTabStrip(tabstrip).width() + min_tabstrip_width; width 181 chrome/browser/ui/views/frame/glass_browser_frame_view.cc min_size.set_width(std::max(min_tabstrip_area_width, min_size.width())); width 211 chrome/browser/ui/views/frame/glass_browser_frame_view.cc client_bounds.width() + insets.width(), width 329 chrome/browser/ui/views/frame/glass_browser_frame_view.cc int w = toolbar_bounds.width(); width 367 chrome/browser/ui/views/frame/glass_browser_frame_view.cc x + w + kContentEdgeShadowThickness - toolbar_right_mask->width(); width 374 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->TileImageInt(*toolbar_center, left_x + toolbar_left->width(), y, width 375 chrome/browser/ui/views/frame/glass_browser_frame_view.cc right_x - (left_x + toolbar_left->width()), toolbar_center->height()); width 394 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Rect client_area_bounds = CalculateClientAreaBounds(width(), height()); width 408 chrome/browser/ui/views/frame/glass_browser_frame_view.cc right->width(), client_area_height); width 414 chrome/browser/ui/views/frame/glass_browser_frame_view.cc client_area_bottom, client_area_bounds.width(), width 419 chrome/browser/ui/views/frame/glass_browser_frame_view.cc client_area_bounds.x() - bottom_left->width(), client_area_bottom); width 421 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->TileImageInt(*left, client_area_bounds.x() - left->width(), width 422 chrome/browser/ui/views/frame/glass_browser_frame_view.cc client_area_top, left->width(), client_area_height); width 434 chrome/browser/ui/views/frame/glass_browser_frame_view.cc client_area_bounds.width(), kClientEdgeThickness), width 448 chrome/browser/ui/views/frame/glass_browser_frame_view.cc int button_size_with_offset = kNewAvatarButtonOffset + label_size.width(); width 451 chrome/browser/ui/views/frame/glass_browser_frame_view.cc kNewAvatarButtonOffset - label_size.width(); width 454 chrome/browser/ui/views/frame/glass_browser_frame_view.cc button_x = width() - frame()->GetMinimizeButtonOffset() + width 461 chrome/browser/ui/views/frame/glass_browser_frame_view.cc label_size.width(), width 477 chrome/browser/ui/views/frame/glass_browser_frame_view.cc avatar_x += width() - frame()->GetMinimizeButtonOffset(); width 485 chrome/browser/ui/views/frame/glass_browser_frame_view.cc avatar_bounds_.SetRect(avatar_x, avatar_y, incognito_icon.width(), width 492 chrome/browser/ui/views/frame/glass_browser_frame_view.cc client_view_bounds_ = CalculateClientAreaBounds(width(), height()); width 507 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Rect GlassBrowserFrameView::CalculateClientAreaBounds(int width, width 509 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Rect bounds(0, 0, width, height); width 79 chrome/browser/ui/views/frame/glass_browser_frame_view.h gfx::Rect CalculateClientAreaBounds(int width, int height) const; width 178 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc return layout_->GetBoundsForTabStrip(tabstrip->GetPreferredSize(), width()); width 197 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc return layout_->GetMinimumSize(width()); width 518 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc return button ? button->width() : 0; width 664 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc frame()->client_view()->y() - edge_height, width(), edge_height); width 677 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc int w = toolbar_bounds.width(); width 724 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*toolbar_left_mask, 0, 0, toolbar_left_mask->width(), width 725 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc split_point, left_x, y, toolbar_left_mask->width(), width 729 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc toolbar_left_mask->width(), bottom_edge_height, left_x, bottom_y, width 730 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc toolbar_left_mask->width(), bottom_edge_height, false, paint); width 734 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc x + w - toolbar_right_mask->width() + kContentEdgeShadowThickness; width 735 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*toolbar_right_mask, 0, 0, toolbar_right_mask->width(), width 736 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc split_point, right_x, y, toolbar_right_mask->width(), width 740 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc toolbar_right_mask->width(), bottom_edge_height, right_x, bottom_y, width 741 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc toolbar_right_mask->width(), bottom_edge_height, false, paint); width 744 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*toolbar_left, 0, 0, toolbar_left->width(), split_point, width 745 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc left_x, y, toolbar_left->width(), split_point, false); width 747 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc toolbar_left->height() - bottom_edge_height, toolbar_left->width(), width 748 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc bottom_edge_height, left_x, bottom_y, toolbar_left->width(), width 753 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->TileImageInt(*toolbar_center, 0, 0, left_x + toolbar_left->width(), width 754 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc y, right_x - (left_x + toolbar_left->width()), width 759 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*toolbar_right, 0, 0, toolbar_right->width(), width 760 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc split_point, right_x, y, toolbar_right->width(), split_point, false); width 762 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc toolbar_right->height() - bottom_edge_height, toolbar_right->width(), width 763 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc bottom_edge_height, right_x, bottom_y, toolbar_right->width(), width 782 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc layout_->CalculateClientAreaBounds(width(), height()); width 803 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*top_left, 0, 0, top_left->width(), height, width 804 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc client_area_bounds.x() - top_left->width(), top_edge_y, width 805 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc top_left->width(), height, false); width 807 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc client_area_bounds.width(), std::min(height, top_center->height())); width 808 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*top_right, 0, 0, top_right->width(), height, width 810 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc top_right->width(), height, false); width 815 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc client_area_bounds.width() + (2 * kClientEdgeThickness), width 826 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc right->width(), image_height); width 832 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc client_area_bottom, client_area_bounds.width(), width 837 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc client_area_bounds.x() - bottom_left->width(), client_area_bottom); width 839 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->TileImageInt(*left, client_area_bounds.x() - left->width(), width 840 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc image_top, left->width(), image_height); width 851 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc client_area_bounds.width(), kClientEdgeThickness), width 155 chrome/browser/ui/views/frame/opaque_browser_frame_view.h gfx::Rect CalculateClientAreaBounds(int width, int height) const; width 164 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc if (avatar_label_ && avatar_label_->bounds().width()) width 181 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc min_size.set_width(std::max(min_size.width(), minimum_size_for_buttons_)); width 187 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc const int min_tabstrip_width = preferred_size.width(); width 201 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc client_bounds.width() + (2 * border_thickness), width 262 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc int width, width 267 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc std::max(0, width - (2 * border_thickness)), width 376 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc 0, host->width() - trailing_button_start_ - kTitleLogoSpacing - width 405 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc int button_size_with_offset = kNewAvatarButtonOffset + label_size.width(); width 407 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc int button_x = host->width() - trailing_button_start_ - width 417 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc label_size.width(), width 432 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc host->width() - trailing_button_start_ - kAvatarOuterSpacing - width 433 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc incognito_icon.width() : width 441 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc incognito_icon.width(), width 457 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc (host->width() - trailing_button_start_ - label_size.width()) : width 462 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc label_size.width(), width 465 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc edge_offset = label_size.width(); width 467 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc edge_offset = kAvatarOuterSpacing + incognito_icon.width(); width 476 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc minimum_size_for_buttons_ += kAvatarOuterSpacing + incognito_icon.width(); width 569 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc button_size.width() + extra_width, width 572 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc leading_button_start_ += extra_width + button_size.width(); width 573 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc minimum_size_for_buttons_ += extra_width + button_size.width(); width 588 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc host->width() - trailing_button_start_ - extra_width - width 589 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc button_size.width(), width 591 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc button_size.width() + extra_width, width 594 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc trailing_button_start_ += extra_width + button_size.width(); width 595 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc minimum_size_for_buttons_ += extra_width + button_size.width(); width 692 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc host->width(), host->height()); width 84 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h gfx::Rect CalculateClientAreaBounds(int width, int height) const; width 19 chrome/browser/ui/views/frame/popup_non_client_frame_view.cc return gfx::Rect(0, 0, width(), height()); width 46 chrome/browser/ui/views/frame/popup_non_client_frame_view.cc return gfx::Rect(0, 0, width(), tabstrip->GetPreferredSize().height()); width 48 chrome/browser/ui/views/frame/taskbar_decorator_win.cc if ((bitmap->width() == profiles::kAvatarIconWidth) && width 65 chrome/browser/ui/views/frame/taskbar_decorator_win.cc source_bitmap->height() * kOverlayIconSize / source_bitmap->width(); width 296 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc view_->SetBounds(0, 0, size.width(), size.height()); width 441 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc int x = screen_bounds.x() + (screen_bounds.width() - size.width()) / 2; width 158 chrome/browser/ui/views/global_error_bubble_view.cc message_labels[i]->SizeToFit(layout->GetPreferredSize(this).width()); width 418 chrome/browser/ui/views/hung_renderer_view.cc GridLayout::FIXED, frozen_icon_->width(), 0); width 77 chrome/browser/ui/views/infobars/after_translate_infobar.cc EndX() - options_menu_button_->width(), OffsetY(options_menu_button_))); width 154 chrome/browser/ui/views/infobars/after_translate_infobar.cc return label_1_->GetMinimumSize().width() + width 155 chrome/browser/ui/views/infobars/after_translate_infobar.cc label_2_->GetMinimumSize().width() + label_3_->GetMinimumSize().width() + width 188 chrome/browser/ui/views/infobars/after_translate_infobar.cc int width = (label_1_->text().empty() ? 0 : kButtonInLabelSpacing) + width 189 chrome/browser/ui/views/infobars/after_translate_infobar.cc first_button->width() + width 192 chrome/browser/ui/views/infobars/after_translate_infobar.cc width += width 195 chrome/browser/ui/views/infobars/after_translate_infobar.cc second_button->width() + width 198 chrome/browser/ui/views/infobars/after_translate_infobar.cc return width + kEndOfLabelSpacing + revert_button_->width() + width 199 chrome/browser/ui/views/infobars/after_translate_infobar.cc kEndOfLabelSpacing + options_menu_button_->width(); width 43 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc used_width += (*i)->GetPreferredSize().width(); width 44 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc int last_label_width = std::min(last_label->GetPreferredSize().width(), width 46 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc if (last_label_width < last_label->GetMinimumSize().width()) { width 99 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc int label_1_width = label_1_->GetMinimumSize().width(); width 100 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc return label_1_width ? label_1_width : link_->GetMinimumSize().width(); width 74 chrome/browser/ui/views/infobars/before_translate_infobar.cc EndX() - options_menu_button_->width(), OffsetY(options_menu_button_))); width 142 chrome/browser/ui/views/infobars/before_translate_infobar.cc return label_1_->GetMinimumSize().width() + width 143 chrome/browser/ui/views/infobars/before_translate_infobar.cc label_2_->GetMinimumSize().width() + NonLabelWidth(); width 181 chrome/browser/ui/views/infobars/before_translate_infobar.cc language_menu_button_->width() + width 183 chrome/browser/ui/views/infobars/before_translate_infobar.cc kEndOfLabelSpacing + accept_button_->width() + kButtonButtonSpacing + width 184 chrome/browser/ui/views/infobars/before_translate_infobar.cc deny_button_->width() + width 186 chrome/browser/ui/views/infobars/before_translate_infobar.cc (kButtonButtonSpacing + never_translate_button_->width()) : 0) + width 188 chrome/browser/ui/views/infobars/before_translate_infobar.cc (kButtonButtonSpacing + always_translate_button_->width()) : 0) + width 189 chrome/browser/ui/views/infobars/before_translate_infobar.cc kEndOfLabelSpacing + options_menu_button_->width(); width 58 chrome/browser/ui/views/infobars/confirm_infobar.cc link_->SetPosition(gfx::Point(EndX() - link_->width(), OffsetY(link_))); width 109 chrome/browser/ui/views/infobars/confirm_infobar.cc return label_->GetMinimumSize().width() + link_->GetMinimumSize().width() + width 126 chrome/browser/ui/views/infobars/confirm_infobar.cc int width = (label_->text().empty() || (!ok_button_ && !cancel_button_)) ? width 129 chrome/browser/ui/views/infobars/confirm_infobar.cc width += ok_button_->width() + (cancel_button_ ? kButtonButtonSpacing : 0); width 130 chrome/browser/ui/views/infobars/confirm_infobar.cc width += (cancel_button_ ? cancel_button_->width() : 0); width 131 chrome/browser/ui/views/infobars/confirm_infobar.cc return width + ((link_->text().empty() || !width) ? 0 : kEndOfLabelSpacing); width 60 chrome/browser/ui/views/infobars/extension_infobar.cc canvas->DrawImageInt(icon_, 0, 0, icon_.width(), icon_.height(), 0, 0, width 69 chrome/browser/ui/views/infobars/extension_infobar.cc return gfx::Size(image_size + kDropArrowLeftMargin + drop_image.width(), width 174 chrome/browser/ui/views/infobars/extension_infobar.cc GetDelegate()->extension_view_host()->view()->GetMinimumSize().width(); width 227 chrome/browser/ui/views/infobars/extension_infobar.cc return infobar_icon_->width() + kIconHorizontalMargin; width 56 chrome/browser/ui/views/infobars/infobar_background.cc view->width(), InfoBar::kSeparatorLineHeight), width 30 chrome/browser/ui/views/infobars/infobar_container_view.cc size.SetToMax(gfx::Size(child_at(i)->GetPreferredSize().width(), 0)); width 45 chrome/browser/ui/views/infobars/infobar_container_view.cc child->SetBounds(0, top, width(), child_height); width 50 chrome/browser/ui/views/infobars/infobar_view.cc return label_1->GetPreferredSize().width() > width 51 chrome/browser/ui/views/infobars/infobar_view.cc label_2->GetPreferredSize().width(); width 252 chrome/browser/ui/views/infobars/infobar_view.cc SkIntToScalar(width()), SkIntToScalar(height() - kSeparatorLineHeight)); width 265 chrome/browser/ui/views/infobars/infobar_view.cc width() - kHorizontalPadding - close_button_->width()), width 323 chrome/browser/ui/views/infobars/infobar_view.cc canvas->ClipRect(gfx::Rect(0, arrow_height(), width(), bar_height())); width 384 chrome/browser/ui/views/infobars/infobar_view.cc std::min(back_label_size.width(), width 388 chrome/browser/ui/views/infobars/infobar_view.cc AssignWidthsSorted(labels, available_width - back_label_size.width()); width 436 chrome/browser/ui/views/infobars/infobar_view.cc kHorizontalPadding + (icon_ ? (icon_->width() + kHorizontalPadding) : 0) + width 437 chrome/browser/ui/views/infobars/infobar_view.cc ContentMinimumWidth() + kCloseButtonSpacing + close_button_->width() + width 25 chrome/browser/ui/views/infobars/translate_message_infobar.cc const int width = width 26 chrome/browser/ui/views/infobars/translate_message_infobar.cc std::min(label_->width(), std::max(0, EndX() - x - NonLabelWidth())); width 27 chrome/browser/ui/views/infobars/translate_message_infobar.cc label_->SetBounds(x, OffsetY(label_), width, label_->height()); width 65 chrome/browser/ui/views/infobars/translate_message_infobar.cc return label_->GetMinimumSize().width() + NonLabelWidth(); width 71 chrome/browser/ui/views/infobars/translate_message_infobar.cc return button_->width() + (label_->text().empty() ? 0 : kEndOfLabelSpacing); width 68 chrome/browser/ui/views/location_bar/content_setting_image_view.cc bitmap.getColor(bitmap.width() / 2, bitmap.height() / 2); width 174 chrome/browser/ui/views/location_bar/content_setting_image_view.cc size_fraction * (text_label_->GetPreferredSize().width() + width 182 chrome/browser/ui/views/location_bar/content_setting_image_view.cc const int icon_width = icon_->GetPreferredSize().width(); width 184 chrome/browser/ui/views/location_bar/content_setting_image_view.cc std::min((width() - icon_width) / 2, GetBubbleOuterPadding(true)), 0, width 188 chrome/browser/ui/views/location_bar/content_setting_image_view.cc std::max(width() - GetTotalSpacingWhileAnimating() - icon_width, 0), width 58 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc bitmap.getColor(bitmap.width() / 2, bitmap.height() / 2); width 85 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc return GetSizeForLabelWidth(label_->GetPreferredSize().width()); width 90 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc image_->GetPreferredSize().width(), height()); width 93 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc width() - pre_label_width - GetBubbleOuterPadding(false), width 97 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc gfx::Size IconLabelBubbleView::GetSizeForLabelWidth(int width) const { width 98 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc gfx::Size size(GetPreLabelWidth() + width + GetBubbleOuterPadding(false), 0); width 128 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc const int image_width = image_->GetPreferredSize().width(); width 55 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h gfx::Size GetSizeForLabelWidth(int width) const; width 70 chrome/browser/ui/views/location_bar/keyword_hint_view.cc return gfx::Size(leading_label_->GetPreferredSize().width() + width 71 chrome/browser/ui/views/location_bar/keyword_hint_view.cc tab_image_->GetPreferredSize().width() + width 72 chrome/browser/ui/views/location_bar/keyword_hint_view.cc trailing_label_->GetPreferredSize().width(), width 82 chrome/browser/ui/views/location_bar/keyword_hint_view.cc int tab_width = tab_image_->GetPreferredSize().width(); width 83 chrome/browser/ui/views/location_bar/keyword_hint_view.cc bool show_labels = (width() != tab_width); width 85 chrome/browser/ui/views/location_bar/keyword_hint_view.cc leading_label_->SetBounds(0, 0, show_labels ? leading_size.width() : 0, width 91 chrome/browser/ui/views/location_bar/keyword_hint_view.cc show_labels ? trailing_size.width() : 0, width 122 chrome/browser/ui/views/location_bar/location_bar_layout.cc (*i)->computed_width = (*i)->view->GetPreferredSize().width(); width 135 chrome/browser/ui/views/location_bar/location_bar_layout.cc std::min((*i)->view->GetPreferredSize().width(), width 136 chrome/browser/ui/views/location_bar/location_bar_layout.cc std::max((*i)->view->GetMinimumSize().width(), max_width)); width 151 chrome/browser/ui/views/location_bar/location_bar_layout.cc (*i)->computed_width = (*i)->view->GetPreferredSize().width(); width 153 chrome/browser/ui/views/location_bar/location_bar_layout.cc (*i)->computed_width = (*i)->view->GetMinimumSize().width(); width 174 chrome/browser/ui/views/location_bar/location_bar_layout.cc bounds->set_width(bounds->width() - padding - (*i)->computed_width + width 181 chrome/browser/ui/views/location_bar/location_bar_layout.cc bounds->set_width(bounds->width() - item_edit_padding_); width 526 chrome/browser/ui/views/location_bar/location_bar_view.cc *popup_width = parent()->width(); width 683 chrome/browser/ui/views/location_bar/location_bar_view.cc origin.set_x(width() - origin.x()); width 716 chrome/browser/ui/views/location_bar/location_bar_view.cc min_size.set_width(origin_chip_view_min_size.width() + width 717 chrome/browser/ui/views/location_bar/location_bar_view.cc background_min_size.width() + width 718 chrome/browser/ui/views/location_bar/location_bar_view.cc search_button_min_size.width()); width 778 chrome/browser/ui/views/location_bar/location_bar_view.cc animated_host_label_->GetPreferredSize().width(), height()); width 783 chrome/browser/ui/views/location_bar/location_bar_view.cc origin_chip_view_->GetPreferredSize().width() : 0; width 896 chrome/browser/ui/views/location_bar/location_bar_view.cc int full_width = width() - horizontal_edge_thickness - origin_chip_width; width 904 chrome/browser/ui/views/location_bar/location_bar_view.cc search_button_size.width() + kSearchButtonInset; width 946 chrome/browser/ui/views/location_bar/location_bar_view.cc if (suggested_text_size.width() > available_width || width 954 chrome/browser/ui/views/location_bar/location_bar_view.cc location_bounds.width() - suggested_text_size.width()); width 956 chrome/browser/ui/views/location_bar/location_bar_view.cc suggested_text_size.width(), width 971 chrome/browser/ui/views/location_bar/location_bar_view.cc omnibox_view_margin = suggested_text_bounds.width(); width 983 chrome/browser/ui/views/location_bar/location_bar_view.cc int width = width 986 chrome/browser/ui/views/location_bar/location_bar_view.cc ime_inline_autocomplete_view_->GetInsets().width(); width 990 chrome/browser/ui/views/location_bar/location_bar_view.cc if (width > entry_width) width 992 chrome/browser/ui/views/location_bar/location_bar_view.cc else if (location_needed_width + width > entry_width) width 993 chrome/browser/ui/views/location_bar/location_bar_view.cc x = entry_width - width; width 997 chrome/browser/ui/views/location_bar/location_bar_view.cc std::min(width, entry_width), location_bounds.height()); width 1003 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Point(width() - search_button_reserved_width, 0), width 276 chrome/browser/ui/views/location_bar/origin_chip_view.cc bitmap.getColor(bitmap.width() / 2, bitmap.height() / 2)); width 308 chrome/browser/ui/views/location_bar/origin_chip_view.cc return gfx::Size(kEdgeThickness + icon_size.width() + icon_spacing + width 309 chrome/browser/ui/views/location_bar/origin_chip_view.cc kIconTextSpacing + label_size.width() + width 321 chrome/browser/ui/views/location_bar/origin_chip_view.cc location_icon_view_->GetPreferredSize().width(), width 324 chrome/browser/ui/views/location_bar/origin_chip_view.cc int host_label_x = location_icon_view_->x() + location_icon_view_->width() + width 328 chrome/browser/ui/views/location_bar/origin_chip_view.cc width() - host_label_x - kEdgeThickness - kTrailingLabelMargin; width 350 chrome/browser/ui/views/location_bar/origin_chip_view.cc int width = GetPreferredSize().width(); width 351 chrome/browser/ui/views/location_bar/origin_chip_view.cc if (width <= target_max_width) width 352 chrome/browser/ui/views/location_bar/origin_chip_view.cc return width; width 355 chrome/browser/ui/views/location_bar/origin_chip_view.cc int padding_width = width - label_size.width(); width 360 chrome/browser/ui/views/location_bar/origin_chip_view.cc return GetPreferredSize().width(); width 38 chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc image_view_->SetBounds(0, y, width(), height()); width 44 chrome/browser/ui/views/location_bar/selected_keyword_view.cc return GetSizeForLabelWidth(full_label_.GetPreferredSize().width()); width 49 chrome/browser/ui/views/location_bar/selected_keyword_view.cc return GetSizeForLabelWidth(partial_label_.GetMinimumSize().width()); width 53 chrome/browser/ui/views/location_bar/selected_keyword_view.cc SetLabel(((width() == GetPreferredSize().width()) ? width 145 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc const size_t bubble_half_width = width() / 2; width 120 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc int MessageCenterWidgetDelegate::GetHeightForWidth(int width) { width 121 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc int height = MessageCenterView::GetHeightForWidth(width); width 170 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc int insetted_width = (calculated_size.width() * 4) / 5; width 222 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc size.Enlarge(border_insets_.width(), border_insets_.height()); width 234 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc bounds.set_x(corrected_anchor.x() - size.width()); width 77 chrome/browser/ui/views/message_center/message_center_widget_delegate.h virtual int GetHeightForWidth(int width) OVERRIDE; width 82 chrome/browser/ui/views/message_center/web_notification_tray.cc if (work_area.width() < screen_bounds.width()) { width 119 chrome/browser/ui/views/new_avatar_button.cc rect = gfx::Rect(-kInset, 0, size().width(), size().height()); width 121 chrome/browser/ui/views/new_avatar_button.cc rect = gfx::Rect(kInset, 0, size().width(), size().height()); width 261 chrome/browser/ui/views/notifications/balloon_view_views.cc bounds.Inset(bounds.width() - kShelfMargin - pref_size.width(), 0, width 272 chrome/browser/ui/views/notifications/balloon_view_views.cc pref_size.width()); width 273 chrome/browser/ui/views/notifications/balloon_view_views.cc bounds.set_width(pref_size.width()); width 282 chrome/browser/ui/views/notifications/balloon_view_views.cc bounds.Inset(kLabelLeftMargin, 0, bounds.width() - width 284 chrome/browser/ui/views/notifications/balloon_view_views.cc pref_size.set_width(bounds.width()); width 404 chrome/browser/ui/views/notifications/balloon_view_views.cc SkScalar right = SkIntToScalar(rect.width()); width 469 chrome/browser/ui/views/notifications/balloon_view_views.cc return balloon_->content_size().width() + width 488 chrome/browser/ui/views/notifications/balloon_view_views.cc content_size.width(), width 129 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc v->SetBounds(contents_rect.x(), top, contents_rect.width(), width 191 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc int width; width 193 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc &top_left_screen_coord, &width, &left_margin_, &right_margin_); width 195 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Size(width, CalculatePopupHeight())); width 439 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Rect(0, 0, width(), views::NonClientFrameView::kClientEdgeThickness), width 445 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc width(), bottom_shadow_->height()); width 108 chrome/browser/ui/views/omnibox/omnibox_result_view.cc void Initialize(int x, int width) { width 109 chrome/browser/ui/views/omnibox/omnibox_result_view.cc center_ = x + width / 2; width 110 chrome/browser/ui/views/omnibox/omnibox_result_view.cc right_ = x + width; width 155 chrome/browser/ui/views/omnibox/omnibox_result_view.cc AutocompleteMatchType::URL_WHAT_YOU_TYPED))->width(); width 495 chrome/browser/ui/views/omnibox/omnibox_result_view.cc ((icon.width() == default_icon_size_) ? width 497 chrome/browser/ui/views/omnibox/omnibox_result_view.cc (height() - icon.height()) / 2, icon.width(), icon.height()); width 500 chrome/browser/ui/views/omnibox/omnibox_result_view.cc int text_width = width() - text_x - edge_item_padding_; width 504 chrome/browser/ui/views/omnibox/omnibox_result_view.cc keyword_icon_->width() + edge_item_padding_; width 505 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const int max_kw_x = width() - kw_collapsed_size; width 508 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const int kw_text_x = kw_x + keyword_icon_->width() + item_padding_; width 513 chrome/browser/ui/views/omnibox/omnibox_result_view.cc std::max(width() - kw_text_x - edge_item_padding_, 0), height()); width 522 chrome/browser/ui/views/omnibox/omnibox_result_view.cc animation_->SetSlideDuration(width() / 4); width 536 chrome/browser/ui/views/omnibox/omnibox_result_view.cc mirroring_context_->Initialize(x, text_bounds_.width()); width 550 chrome/browser/ui/views/omnibox/omnibox_result_view.cc mirroring_context_->Initialize(x, keyword_text_bounds_.width()); width 720 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return GetRenderText()->GetContentWidth() + GetInsets().width(); width 724 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return location_bar_view_->width(); width 157 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc gfx::Vector2d(omnibox_bounds.width() / 4, omnibox_bounds.height() / 4); width 211 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc gfx::Vector2d(omnibox_bounds.width() / 4, omnibox_bounds.height() / 4); width 191 chrome/browser/ui/views/panels/panel_frame_view.cc int width = frame_size.width(); width 202 chrome/browser/ui/views/panels/panel_frame_view.cc } else if (x >= width - resize_area_size) { width 398 chrome/browser/ui/views/panels/panel_frame_view.cc std::max(0, width() - border_thickness * 2), width 410 chrome/browser/ui/views/panels/panel_frame_view.cc client_bounds.width() + border_thickness * 2, width 447 chrome/browser/ui/views/panels/panel_frame_view.cc int width = size.width(); width 456 chrome/browser/ui/views/panels/panel_frame_view.cc window_mask->lineTo(SkIntToScalar(width - 3), 0); width 457 chrome/browser/ui/views/panels/panel_frame_view.cc window_mask->lineTo(SkIntToScalar(width - 2), 1); width 458 chrome/browser/ui/views/panels/panel_frame_view.cc window_mask->lineTo(SkIntToScalar(width - 1), 1); width 459 chrome/browser/ui/views/panels/panel_frame_view.cc window_mask->lineTo(SkIntToScalar(width - 1), 2); width 460 chrome/browser/ui/views/panels/panel_frame_view.cc window_mask->lineTo(SkIntToScalar(width - 1), 3); width 463 chrome/browser/ui/views/panels/panel_frame_view.cc window_mask->lineTo(width, 0); width 467 chrome/browser/ui/views/panels/panel_frame_view.cc window_mask->lineTo(SkIntToScalar(width - 1), SkIntToScalar(height - 4)); width 468 chrome/browser/ui/views/panels/panel_frame_view.cc window_mask->lineTo(SkIntToScalar(width - 2), SkIntToScalar(height - 3)); width 469 chrome/browser/ui/views/panels/panel_frame_view.cc window_mask->lineTo(SkIntToScalar(width - 2), SkIntToScalar(height - 2)); width 470 chrome/browser/ui/views/panels/panel_frame_view.cc window_mask->lineTo(SkIntToScalar(width - 3), SkIntToScalar(height - 2)); width 471 chrome/browser/ui/views/panels/panel_frame_view.cc window_mask->lineTo(SkIntToScalar(width - 4), SkIntToScalar(height - 1)); width 478 chrome/browser/ui/views/panels/panel_frame_view.cc window_mask->lineTo(SkIntToScalar(width), SkIntToScalar(height)); width 500 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Rect bounds(0, 0, pref_size.width(), pref_size.height()); width 521 chrome/browser/ui/views/panels/panel_frame_view.cc int right = width(); width 523 chrome/browser/ui/views/panels/panel_frame_view.cc width() - panel::kTitlebarRightPadding - panel::kPanelButtonSize, width 699 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->TileImageInt(*image, 0, 0, width(), titlebar_height); width 709 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->TileImageInt(*image, width() - kNonAeroBorderThickness, width 713 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->TileImageInt(*image, 0, height() - kNonAeroBorderThickness, width(), width 737 chrome/browser/ui/views/panels/panel_frame_view.cc top_left_image.width(), width 739 chrome/browser/ui/views/panels/panel_frame_view.cc width() - top_right_image.width(), width 741 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->DrawImageInt(top_right_image, width() - top_right_image.width(), 0); width 745 chrome/browser/ui/views/panels/panel_frame_view.cc width() - right_image.width(), width 747 chrome/browser/ui/views/panels/panel_frame_view.cc right_image.width(), width 753 chrome/browser/ui/views/panels/panel_frame_view.cc width() - bottom_right_image.width(), width 756 chrome/browser/ui/views/panels/panel_frame_view.cc bottom_left_image.width(), width 758 chrome/browser/ui/views/panels/panel_frame_view.cc width() - bottom_left_image.width() - width 759 chrome/browser/ui/views/panels/panel_frame_view.cc bottom_right_image.width(), width 769 chrome/browser/ui/views/panels/panel_frame_view.cc left_image.width(), width 586 chrome/browser/ui/views/panels/panel_stack_view.cc bounds.width(), width 171 chrome/browser/ui/views/panels/panel_view.cc bitmap->width() == panel::kPanelAppIconSize && width 675 chrome/browser/ui/views/panels/panel_view.cc return gfx::Size(content_size.width() + frame.width(), width 682 chrome/browser/ui/views/panels/panel_view.cc return gfx::Size(window_size.width() - frame.width(), width 903 chrome/browser/ui/views/panels/panel_view.cc web_view_->SetBounds(0, 0, width(), height()); width 121 chrome/browser/ui/views/panels/panel_view_browsertest.cc EXPECT_GT(title_icon->width(), 0); width 124 chrome/browser/ui/views/panels/panel_view_browsertest.cc EXPECT_GT(title_text->width(), 0); width 127 chrome/browser/ui/views/panels/panel_view_browsertest.cc EXPECT_GT(minimize_button->width(), 0); width 130 chrome/browser/ui/views/panels/panel_view_browsertest.cc EXPECT_GT(close_button->width(), 0); width 133 chrome/browser/ui/views/panels/panel_view_browsertest.cc EXPECT_LT(title_icon->x() + title_icon->width(), title_text->x()); width 134 chrome/browser/ui/views/panels/panel_view_browsertest.cc EXPECT_LT(title_text->x() + title_text->width(), minimize_button->x()); width 135 chrome/browser/ui/views/panels/panel_view_browsertest.cc EXPECT_LT(minimize_button->x() + minimize_button->width(), close_button->x()); width 18 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc int width = bitmap.width(); width 22 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc gfx::CreateBitmapV4Header(width, height, &native_bitmap_header); width 34 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc bitmap.copyPixelsTo(bits, width * height * 4, width * 4); width 115 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc int width, int height, LRESULT* l_result) { width 122 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc if (capture_bitmap_->width() != width || width 124 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc double x_scale = static_cast<double>(width) / capture_bitmap_->width(); width 127 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc width = capture_bitmap_->width() * scale; width 130 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc *capture_bitmap_, skia::ImageOperations::RESIZE_GOOD, width, height); width 186 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc int width = enclosing_right - enclosing_x; width 188 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc if (!width || !height) width 191 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc gfx::Canvas canvas(gfx::Size(width, height), 1.0f, false); width 58 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.h bool OnDwmSendIconicThumbnail(int width, int height, LRESULT* l_result); width 88 chrome/browser/ui/views/password_generation_bubble_view.cc int button_x = (textfield_->GetPreferredSize().width() + width 101 chrome/browser/ui/views/password_generation_bubble_view.cc int width = (textfield_->GetPreferredSize().width() + width 102 chrome/browser/ui/views/password_generation_bubble_view.cc GetImageSize().width() + width 107 chrome/browser/ui/views/password_generation_bubble_view.cc return gfx::Size(width, height); width 193 chrome/browser/ui/views/password_generation_bubble_view.cc int button_x = (textfield_wrapper_->GetPreferredSize().width() + width 203 chrome/browser/ui/views/password_generation_bubble_view.cc int width = (textfield_wrapper_->GetPreferredSize().width() + width 209 chrome/browser/ui/views/password_generation_bubble_view.cc return gfx::Size(width, height); width 242 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc const size_t bubble_half_width = width() / 2; width 276 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc .width()); width 282 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc .width()); width 65 chrome/browser/ui/views/profile_chooser_view.cc views::GridLayout* CreateSingleColumnLayout(views::View* view, int width) { width 71 chrome/browser/ui/views/profile_chooser_view.cc views::GridLayout::FIXED, width, width); width 276 chrome/browser/ui/views/profile_chooser_view.cc profile_name_textfield_->SetBounds(0, 0, width(), height()); width 329 chrome/browser/ui/views/profile_chooser_view.cc return gfx::Size(width(), height); width 993 chrome/browser/ui/views/profile_chooser_view.cc int width) { width 1004 chrome/browser/ui/views/profile_chooser_view.cc width - menu_marker->width()), width 154 chrome/browser/ui/views/profile_chooser_view.h int width); width 200 chrome/browser/ui/views/sad_tab_view.cc message_->SizeToFit(static_cast<int>(width() * kMessageSize)); width 206 chrome/browser/ui/views/screen_capture_notification_ui_views.cc work_area.x() + work_area.width() / 2 - size.width() / 2, width 208 chrome/browser/ui/views/screen_capture_notification_ui_views.cc size.width(), size.height()); width 225 chrome/browser/ui/views/screen_capture_notification_ui_views.cc int width = kHorizontalMargin * 3 + grip_size.width() + label_size.width() + width 226 chrome/browser/ui/views/screen_capture_notification_ui_views.cc stop_button_size.width() + hide_link_size.width(); width 227 chrome/browser/ui/views/screen_capture_notification_ui_views.cc width = std::max(width, kMinimumWidth); width 228 chrome/browser/ui/views/screen_capture_notification_ui_views.cc width = std::min(width, kMaximumWidth); width 229 chrome/browser/ui/views/screen_capture_notification_ui_views.cc return gfx::Size(width, std::max(label_size.height(), width 242 chrome/browser/ui/views/screen_capture_notification_ui_views.cc hide_link_rect.set_x(bounds().width() - hide_link_rect.width()); width 247 chrome/browser/ui/views/screen_capture_notification_ui_views.cc hide_link_rect.x() - kHorizontalMargin - stop_button_rect.width()); width 259 chrome/browser/ui/views/screen_capture_notification_ui_views.cc stop_button_rect.width() + kHorizontalMargin + hide_link_rect.width(), width 111 chrome/browser/ui/views/speech_recognition_bubble_views.cc IDR_SPEECH_INPUT_MIC_EMPTY)->width()) { width 247 chrome/browser/ui/views/speech_recognition_bubble_views.cc int width = heading_->GetPreferredSize().width(); width 248 chrome/browser/ui/views/speech_recognition_bubble_views.cc int control_width = cancel_->GetPreferredSize().width(); width 250 chrome/browser/ui/views/speech_recognition_bubble_views.cc control_width += try_again_->GetPreferredSize().width() + width 253 chrome/browser/ui/views/speech_recognition_bubble_views.cc width = std::max(width, control_width); width 254 chrome/browser/ui/views/speech_recognition_bubble_views.cc control_width = std::max(icon_->GetPreferredSize().width(), width 256 chrome/browser/ui/views/speech_recognition_bubble_views.cc width = std::max(width, control_width); width 258 chrome/browser/ui/views/speech_recognition_bubble_views.cc control_width = mic_settings_->GetPreferredSize().width(); width 259 chrome/browser/ui/views/speech_recognition_bubble_views.cc width = std::max(width, control_width); width 264 chrome/browser/ui/views/speech_recognition_bubble_views.cc height += message_->GetHeightForWidth(width) + width 273 chrome/browser/ui/views/speech_recognition_bubble_views.cc width += kBubbleHorizMargin * 2; width 276 chrome/browser/ui/views/speech_recognition_bubble_views.cc return gfx::Size(width, height); width 282 chrome/browser/ui/views/speech_recognition_bubble_views.cc int available_width = width() - kBubbleHorizMargin * 2; width 289 chrome/browser/ui/views/speech_recognition_bubble_views.cc int try_again_width = try_again_->GetPreferredSize().width(); width 290 chrome/browser/ui/views/speech_recognition_bubble_views.cc int cancel_width = cancel_->GetPreferredSize().width(); width 323 chrome/browser/ui/views/speech_recognition_bubble_views.cc int width = cancel_->GetPreferredSize().width(); width 324 chrome/browser/ui/views/speech_recognition_bubble_views.cc cancel_->SetBounds(x + (available_width - width) / 2, y, width, width 432 chrome/browser/ui/views/status_bubble_views.cc int width = popup_bounds.width(); width 445 chrome/browser/ui/views/status_bubble_views.cc SkIntToScalar(width - kShadowThickness), width 457 chrome/browser/ui/views/status_bubble_views.cc width - (kShadowThickness * 2) - kTextPositionX - kTextHorizPadding); width 531 chrome/browser/ui/views/status_bubble_views.cc void SetBubbleWidth(int width); width 579 chrome/browser/ui/views/status_bubble_views.cc void StatusBubbleViews::StatusViewExpander::SetBubbleWidth(int width) { width 580 chrome/browser/ui/views/status_bubble_views.cc status_bubble_->SetBubbleWidth(width); width 650 chrome/browser/ui/views/status_bubble_views.cc SetBounds(origin.x(), origin.y(), base_view()->bounds().width() / 3, height); width 660 chrome/browser/ui/views/status_bubble_views.cc size_.width(), size_.height())); width 724 chrome/browser/ui/views/status_bubble_views.cc int text_width = static_cast<int>(popup_bounds.width() - width 788 chrome/browser/ui/views/status_bubble_views.cc int window_width = base_view_->GetLocalBounds().width(); width 805 chrome/browser/ui/views/status_bubble_views.cc relative_location.x() < size_.width() + kMousePadding) { width 813 chrome/browser/ui/views/status_bubble_views.cc if (relative_location.x() > size_.width()) { width 816 chrome/browser/ui/views/status_bubble_views.cc (relative_location.x() - size_.width())) / width 849 chrome/browser/ui/views/status_bubble_views.cc int right_position_x = window_width - (position_.x() + size_.width()); width 852 chrome/browser/ui/views/status_bubble_views.cc size_.width(), size_.height())); width 857 chrome/browser/ui/views/status_bubble_views.cc size_.width(), size_.height())); width 865 chrome/browser/ui/views/status_bubble_views.cc size_.width(), size_.height())); width 898 chrome/browser/ui/views/status_bubble_views.cc expand_view_->StartExpansion(url_text_, popup_bounds.width(), width 903 chrome/browser/ui/views/status_bubble_views.cc return base_view_->bounds().width() / 3; width 908 chrome/browser/ui/views/status_bubble_views.cc return static_cast<int>(std::max(0, base_view_->bounds().width() - width 913 chrome/browser/ui/views/status_bubble_views.cc void StatusBubbleViews::SetBubbleWidth(int width) { width 914 chrome/browser/ui/views/status_bubble_views.cc size_.set_width(width); width 916 chrome/browser/ui/views/status_bubble_views.cc size_.width(), size_.height()); width 54 chrome/browser/ui/views/status_bubble_views.h void SetBubbleWidth(int width); width 71 chrome/browser/ui/views/tab_icon_view.cc throbber_frame_count = throbber.width() / throbber.height(); width 105 chrome/browser/ui/views/tab_icon_view.cc PaintIcon(canvas, image, 0, 0, image.width(), image.height(), true); width 129 chrome/browser/ui/views/tab_icon_view.cc float scale = std::min(static_cast<float>(width()) / scalable_w, width 136 chrome/browser/ui/views/tab_icon_view.cc (width() - dest_w) / 2, (height() - dest_h) / 2, dest_w, width 51 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc void StackedTabStripLayout::SetWidth(int width) { width 52 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc if (width_ == width) width 55 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc width_ = width; width 136 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc const int max_x = width_ - size_.width(); width 163 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc width_ - size_.width() : ideal_x(index + 1); width 262 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc int width, width 266 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc width_ = width; width 300 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc SetIdealBoundsAt(tab_count() - 1, width_ - size_.width()); width 311 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc ideal_x(tab_count() - 1) != width_ - size_.width()); width 364 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc int max_x = width_ - size_.width() - width 506 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc int max_stacked_x = width_ - size_.width() - max_stacked_width(); width 520 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc int x = width_ - size_.width() - width 549 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc return std::min(width_ - trailing_offset - size_.width(), leading_size); width 559 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc return width_ - trailing_offset - size_.width(); width 47 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.h void SetWidth(int width); width 49 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.h int width() const { return width_; } width 102 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.h void Reset(int x, int width, int mini_tab_count, int active_index); width 177 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.h return (count * size_.width()) + (std::max(count - 1, 0) * padding_); width 205 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.h int tab_offset() const { return size_.width() + padding_; } width 19 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc const int width; width 38 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc int width, width 41 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc layout->Reset(x, width, mini_tab_count, active_index); width 54 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc layout_->Reset(data.initial_x, data.width, data.mini_tab_count, width 58 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc layout_->Reset(data.initial_x, data.width, data.mini_tab_count, width 280 chrome/browser/ui/views/tabs/tab.cc int dst_x = bounds.x() - (icon_width - bounds.width()) / 2; width 690 chrome/browser/ui/views/tabs/tab.cc standard_size.width() + kFaviconTitleSpacing + kStandardTitleWidth); width 762 chrome/browser/ui/views/tabs/tab.cc if (width() < GetMinimumUnselectedSize().width() && !data().mini) width 829 chrome/browser/ui/views/tabs/tab.cc int right_border = width() - (lb.width() + close_button_size.width() + width 833 chrome/browser/ui/views/tabs/tab.cc close_button_->SetPosition(gfx::Point(lb.width(), 0)); width 853 chrome/browser/ui/views/tabs/tab.cc std::max(lb.x(), right - media_indicator_bounds_.width())); width 865 chrome/browser/ui/views/tabs/tab.cc if (!data().mini || width() >= kMiniTabRendererAsNormalTabWidth) { width 885 chrome/browser/ui/views/tabs/tab.cc title_width = lb.width() - title_left; width 922 chrome/browser/ui/views/tabs/tab.cc TabResources::GetHitTestMask(width(), height(), include_top_shadow, path); width 1097 chrome/browser/ui/views/tabs/tab.cc if (!data().mini || width() >= kMiniTabRendererAsNormalTabWidth) width 1100 chrome/browser/ui/views/tabs/tab.cc const int ideal_delta = width() - GetMiniWidth(); width 1101 chrome/browser/ui/views/tabs/tab.cc const int ideal_x = (GetMiniWidth() - bounds->width()) / 2; width 1138 chrome/browser/ui/views/tabs/tab.cc if (!data().mini || width() > kMiniTabRendererAsNormalTabWidth) width 1179 chrome/browser/ui/views/tabs/tab.cc int eye_width = bar_rect.width() / 3; width 1180 chrome/browser/ui/views/tabs/tab.cc int eye_offset = bar_rect.width() * immersive_loading_step_ / width 1182 chrome/browser/ui/views/tabs/tab.cc if (eye_offset + eye_width < bar_rect.width()) { width 1190 chrome/browser/ui/views/tabs/tab.cc int right_eye_width = bar_rect.width() - eye_offset; width 1195 chrome/browser/ui/views/tabs/tab.cc int left_eye_width = eye_offset + eye_width - bar_rect.width(); width 1239 chrome/browser/ui/views/tabs/tab.cc int x0 = width() + radius - kMiniTitleChangeInitialXOffset; width 1303 chrome/browser/ui/views/tabs/tab.cc if (cached_image.width() == 0) { width 1349 chrome/browser/ui/views/tabs/tab.cc 0, 0, theme_l.width(), theme_l.height() - kToolbarOverlap, width 1350 chrome/browser/ui/views/tabs/tab.cc 0, 0, theme_l.width(), theme_l.height() - kToolbarOverlap, width 1355 chrome/browser/ui/views/tabs/tab.cc offset + width() - tab_image->r_width, bg_offset_y, width 1360 chrome/browser/ui/views/tabs/tab.cc 0, 0, theme_r.width(), theme_r.height() - kToolbarOverlap, width 1361 chrome/browser/ui/views/tabs/tab.cc width() - theme_r.width(), 0, theme_r.width(), width 1372 chrome/browser/ui/views/tabs/tab.cc width() - tab_image->l_width - tab_image->r_width, width 1388 chrome/browser/ui/views/tabs/tab.cc width() - tab_inactive_image->l_width - width 1392 chrome/browser/ui/views/tabs/tab.cc width() - tab_inactive_image->r_width, 0); width 1413 chrome/browser/ui/views/tabs/tab.cc offset + width() - tab_image->r_width, 0, tab_image->r_width, height()); width 1416 chrome/browser/ui/views/tabs/tab.cc canvas->DrawImageInt(theme_r, width() - tab_image->r_width, 0); width 1425 chrome/browser/ui/views/tabs/tab.cc width() - tab_image->l_width - tab_image->r_width, width 1431 chrome/browser/ui/views/tabs/tab.cc width() - tab_image->l_width - tab_image->r_width, height()); width 1432 chrome/browser/ui/views/tabs/tab.cc canvas->DrawImageInt(*tab_image->image_r, width() - tab_image->r_width, 0); width 1460 chrome/browser/ui/views/tabs/tab.cc crashed_favicon.width(), width 1466 chrome/browser/ui/views/tabs/tab.cc data().favicon.width(), width 1490 chrome/browser/ui/views/tabs/tab.cc bounds.x(), bounds.y(), media_indicator_image.width(), width 1520 chrome/browser/ui/views/tabs/tab.cc loading_animation.width() / loading_animation.height(); width 1524 chrome/browser/ui/views/tabs/tab.cc waiting_animation.width() / waiting_animation.height(); width 1572 chrome/browser/ui/views/tabs/tab.cc std::max(0, width() - left_padding() - right_padding()); width 1669 chrome/browser/ui/views/tabs/tab.cc int main_bar_right = width() - tab_active_.r_width + kBarPadding; width 1727 chrome/browser/ui/views/tabs/tab.cc tab_active_.l_width = tab_active_.image_l->width(); width 1728 chrome/browser/ui/views/tabs/tab.cc tab_active_.r_width = tab_active_.image_r->width(); width 1733 chrome/browser/ui/views/tabs/tab.cc tab_inactive_.l_width = tab_inactive_.image_l->width(); width 1734 chrome/browser/ui/views/tabs/tab.cc tab_inactive_.r_width = tab_inactive_.image_r->width(); width 272 chrome/browser/ui/views/tabs/tab_drag_controller.cc if (source_tab->width() > 0) { width 275 chrome/browser/ui/views/tabs/tab_drag_controller.cc static_cast<float>(source_tab->width()); width 782 chrome/browser/ui/views/tabs/tab_drag_controller.cc double ratio = unselected / Tab::GetStandardSize().width(); width 896 chrome/browser/ui/views/tabs/tab_drag_controller.cc if (attached_point.x() >= attached_tabstrip_->width()) width 1036 chrome/browser/ui/views/tabs/tab_drag_controller.cc tabs[source_tab_index_]->width() + width 1038 chrome/browser/ui/views/tabs/tab_drag_controller.cc tabs[source_tab_index_]->width()); width 1367 chrome/browser/ui/views/tabs/tab_drag_controller.cc source_tab_drag_data()->attached_tab->width(), width 1392 chrome/browser/ui/views/tabs/tab_drag_controller.cc const int max_x = attached_tabstrip_->width() - size; width 1777 chrome/browser/ui/views/tabs/tab_drag_controller.cc std::max(max_size.width() / 2, new_bounds.width())); width 1788 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point right_edge(source->width(), 0); width 1833 chrome/browser/ui/views/tabs/tab_drag_controller.cc static_cast<int>((*drag_bounds)[source_tab_index_].width() * width 105 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point center(view->width() / 2, view->height() / 2); width 183 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Size(work_area.width() / 3 - 10, work_area.height() / 2 - 10); width 186 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc work_area.x() + half_size.width(), work_area.y(), width 187 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc half_size.width(), half_size.height())); width 330 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_1_center(tab1->width() / 2, tab1->height() / 2); width 585 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point target_point(target_tab_strip->width() -1, width 1079 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point target_point(target_tab_strip->width() - 1, width 1152 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point target_point(target_tab_strip->width() - 1, width 1576 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc target_point.x() - target_tab_strip->tab_at(0)->width() / 2 + 10); width 1670 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc work_area.set_width(work_area.width()/2); width 1672 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc work_area2.set_x(work_area2.x() + work_area2.width()/2); width 1673 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc work_area2.set_width(work_area2.width()/2); width 96 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point target_point(tab_strip2->width() -1, tab_strip2->height() / 2); width 293 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point target_point(tab_strip2->width() - 1, width 341 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point target_point(tab_strip2->width() - 1, width 380 chrome/browser/ui/views/tabs/tab_strip.cc SkScalar w = SkIntToScalar(width()); width 469 chrome/browser/ui/views/tabs/tab_strip.cc int width = mask->width(); width 475 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Canvas canvas(gfx::Size(width, height), scale, false); width 492 chrome/browser/ui/views/tabs/tab_strip.cc x += width; width 495 chrome/browser/ui/views/tabs/tab_strip.cc x_scale, 1.0f, 0, 0, width, height); width 502 chrome/browser/ui/views/tabs/tab_strip.cc canvas.DrawRect(gfx::Rect(0, 0, width, height), paint); width 521 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Size(overlay->width(), overlay->height()), width 623 chrome/browser/ui/views/tabs/tab_strip.cc current_unselected_width_(Tab::GetStandardSize().width()), width 624 chrome/browser/ui/views/tabs/tab_strip.cc current_selected_width_(Tab::GetStandardSize().width()), width 675 chrome/browser/ui/views/tabs/tab_strip.cc ideal_bounds(active_index).width() / 2; width 683 chrome/browser/ui/views/tabs/tab_strip.cc active_center - ideal_bounds(active_index).width() / 2); width 834 chrome/browser/ui/views/tabs/tab_strip.cc available_width_for_tabs_ = last_tab->x() + last_tab->width() - width 835 chrome/browser/ui/views/tabs/tab_strip.cc tab_being_removed->width() - tab_h_offset(); width 1110 chrome/browser/ui/views/tabs/tab_strip.cc x = size_to_selected - tab->width() + x; width 1228 chrome/browser/ui/views/tabs/tab_strip.cc clip->SetRect(x, 0, tab_bounds.width() - x, tab_bounds.height()); width 1340 chrome/browser/ui/views/tabs/tab_strip.cc canvas->DrawRect(gfx::Rect(0, 0, width(), height() - 2), paint); width 1383 chrome/browser/ui/views/tabs/tab_strip.cc needed_width = Tab::GetMinimumSelectedSize().width(); width 1677 chrome/browser/ui/views/tabs/tab_strip.cc drop_indicator_width = drop_image->width(); width 1775 chrome/browser/ui/views/tabs/tab_strip.cc touch_layout_->SetWidth(size().width() - new_tab_button_width()); width 1828 chrome/browser/ui/views/tabs/tab_strip.cc const int active_width = ideal_bounds(active_index).width(); width 1835 chrome/browser/ui/views/tabs/tab_strip.cc new_bounds.width() != active_width) width 1836 chrome/browser/ui/views/tabs/tab_strip.cc new_x += (active_width - new_bounds.width()); width 1842 chrome/browser/ui/views/tabs/tab_strip.cc const int last_tab_width = ideal_bounds(tab_count() - 1).width(); width 1843 chrome/browser/ui/views/tabs/tab_strip.cc const int last_tab_x = width() - new_tab_button_width() - last_tab_width; width 1862 chrome/browser/ui/views/tabs/tab_strip.cc new_bounds.width() != last_tab_width) width 1863 chrome/browser/ui/views/tabs/tab_strip.cc new_x += (last_tab_width - new_bounds.width()); width 1929 chrome/browser/ui/views/tabs/tab_strip.cc x += tab->width() + tab_h_offset(); width 1934 chrome/browser/ui/views/tabs/tab_strip.cc int width = 0; width 1937 chrome/browser/ui/views/tabs/tab_strip.cc width += tab->width(); width 1939 chrome/browser/ui/views/tabs/tab_strip.cc width += kMiniToNonMiniGap; width 1942 chrome/browser/ui/views/tabs/tab_strip.cc width += tab_h_offset() * static_cast<int>(tabs.size() - 1); width 1943 chrome/browser/ui/views/tabs/tab_strip.cc return width; width 2195 chrome/browser/ui/views/tabs/tab_strip.cc const double min_unselected_width = Tab::GetMinimumUnselectedSize().width(); width 2196 chrome/browser/ui/views/tabs/tab_strip.cc const double min_selected_width = Tab::GetMinimumSelectedSize().width(); width 2209 chrome/browser/ui/views/tabs/tab_strip.cc available_width = width() - new_tab_button_width(); width 2227 chrome/browser/ui/views/tabs/tab_strip.cc *selected_width = *unselected_width = Tab::GetStandardSize().width(); width 2240 chrome/browser/ui/views/tabs/tab_strip.cc static_cast<double>(Tab::GetStandardSize().width())); width 2345 chrome/browser/ui/views/tabs/tab_strip.cc center_x = tab->x() + (tab->width() / 2); width 2348 chrome/browser/ui/views/tabs/tab_strip.cc center_x = last_tab->x() + last_tab->width() + (tab_h_offset() / 2); width 2379 chrome/browser/ui/views/tabs/tab_strip.cc const int tab_max_x = tab->x() + tab->width(); width 2380 chrome/browser/ui/views/tabs/tab_strip.cc const int hot_width = tab->width() / kTabEdgeRatioInverse; width 2526 chrome/browser/ui/views/tabs/tab_strip.cc if (abs(Round(unselected) - Tab::GetStandardSize().width()) > 1 && width 2531 chrome/browser/ui/views/tabs/tab_strip.cc new_tab_x = width() - newtab_button_bounds_.width(); width 2566 chrome/browser/ui/views/tabs/tab_strip.cc return width() - new_tab_button_width(); width 2589 chrome/browser/ui/views/tabs/tab_strip.cc int delta = tab_closing->width() + tab_h_offset(); width 2714 chrome/browser/ui/views/tabs/tab_strip.cc touch_layout_->SetWidth(width() - new_tab_button_width()); width 2739 chrome/browser/ui/views/tabs/tab_strip.cc int available_width = width() - x - new_tab_button_width(); width 153 chrome/browser/ui/views/tabs/tab_unittest.cc if (tab.title_bounds_.width() > 0) width 161 chrome/browser/ui/views/tabs/tab_unittest.cc if (tab.title_bounds_.width() > 0) width 177 chrome/browser/ui/views/tabs/tab_unittest.cc if (tab.title_bounds_.width() > 0) { width 202 chrome/browser/ui/views/tabs/tab_unittest.cc int middle_x = tab.width() / 2; width 216 chrome/browser/ui/views/tabs/tab_unittest.cc EXPECT_FALSE(tab.HitTestPoint(gfx::Point(tab.width() - 1, 0))); width 265 chrome/browser/ui/views/tabs/tab_unittest.cc min_width = is_active_tab ? Tab::GetMinimumSelectedSize().width() : width 266 chrome/browser/ui/views/tabs/tab_unittest.cc Tab::GetMinimumUnselectedSize().width(); width 268 chrome/browser/ui/views/tabs/tab_unittest.cc while (bounds.width() >= min_width) { width 272 chrome/browser/ui/views/tabs/tab_unittest.cc bounds.set_width(bounds.width() - 1); width 400 chrome/browser/ui/views/task_manager_view.cc col.width = 90; width 434 chrome/browser/ui/views/task_manager_view.cc int x = width() - size.width() - horizontal_margin; width 436 chrome/browser/ui/views/task_manager_view.cc kill_button_->SetBounds(x, y_buttons, size.width(), size.height()); width 442 chrome/browser/ui/views/task_manager_view.cc size.width(), size.height()); width 69 chrome/browser/ui/views/toolbar/browser_action_view.cc button_->SetBounds(0, y(), width(), height()); width 236 chrome/browser/ui/views/toolbar/browser_actions_container.cc int max_x = GetPreferredSize().width(); width 241 chrome/browser/ui/views/toolbar/browser_actions_container.cc ToolbarView::kStandardSpacing + chevron_size.width() + kChevronSpacing; width 243 chrome/browser/ui/views/toolbar/browser_actions_container.cc width() - ToolbarView::kStandardSpacing - chevron_size.width(), width 245 chrome/browser/ui/views/toolbar/browser_actions_container.cc chevron_size.width(), width 302 chrome/browser/ui/views/toolbar/browser_actions_container.cc (chevron_->GetPreferredSize().width() + kChevronSpacing) : 0); width 643 chrome/browser/ui/views/toolbar/browser_actions_container.cc IDR_BROWSER_ACTION)->width(); width 835 chrome/browser/ui/views/toolbar/browser_actions_container.cc (kChevronSpacing + chevron_->GetPreferredSize().width()) : 0; width 848 chrome/browser/ui/views/toolbar/browser_actions_container.cc chevron_->GetPreferredSize().width() - kChevronSpacing - width 858 chrome/browser/ui/views/toolbar/browser_actions_container.cc chevron_->GetPreferredSize().width() + ToolbarView::kStandardSpacing; width 52 chrome/browser/ui/views/toolbar/toolbar_button.cc if (label_size.width() > 0) width 53 chrome/browser/ui/views/toolbar/toolbar_button.cc size.Enlarge(label_size.width() + LocationBarView::GetItemPadding(), 0); width 165 chrome/browser/ui/views/toolbar/toolbar_button.cc menu_position.Offset(lb.width() - 1, 0); width 270 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc return gfx::Size(kEdgeThickness + icon_size.width() + icon_spacing + width 271 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc kIconTextSpacing + label_size.width() + width 283 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc location_icon_view_->GetPreferredSize().width(), width 286 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc int host_label_x = location_icon_view_->x() + location_icon_view_->width() + width 290 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc width() - host_label_x - kEdgeThickness - kTrailingLabelMargin; width 310 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc int width = GetPreferredSize().width(); width 311 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc if (width <= target_max_width) width 312 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc return width; width 315 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc int padding_width = width - label_size.width(); width 320 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc return GetPreferredSize().width(); width 554 chrome/browser/ui/views/toolbar/toolbar_view.cc kLeftEdgeSpacing + back_->GetPreferredSize().width() + button_spacing + width 555 chrome/browser/ui/views/toolbar/toolbar_view.cc forward_->GetPreferredSize().width() + button_spacing + width 556 chrome/browser/ui/views/toolbar/toolbar_view.cc reload_->GetPreferredSize().width() + kStandardSpacing + width 558 chrome/browser/ui/views/toolbar/toolbar_view.cc (home_->GetPreferredSize().width() + button_spacing) : 0) + width 560 chrome/browser/ui/views/toolbar/toolbar_view.cc (origin_chip_view_->GetPreferredSize().width() + width 563 chrome/browser/ui/views/toolbar/toolbar_view.cc browser_actions_->GetPreferredSize().width() + width 564 chrome/browser/ui/views/toolbar/toolbar_view.cc app_menu_->GetPreferredSize().width() + kRightEdgeSpacing, width 587 chrome/browser/ui/views/toolbar/toolbar_view.cc location_bar_->SetBounds(0, PopupTopSpacing(), width(), width 607 chrome/browser/ui/views/toolbar/toolbar_view.cc int back_width = back_->GetPreferredSize().width(); width 619 chrome/browser/ui/views/toolbar/toolbar_view.cc forward_->GetPreferredSize().width(), child_height); width 623 chrome/browser/ui/views/toolbar/toolbar_view.cc reload_->GetPreferredSize().width(), child_height); width 630 chrome/browser/ui/views/toolbar/toolbar_view.cc home_->GetPreferredSize().width(), child_height); width 637 chrome/browser/ui/views/toolbar/toolbar_view.cc int browser_actions_width = browser_actions_->GetPreferredSize().width(); width 638 chrome/browser/ui/views/toolbar/toolbar_view.cc int app_menu_width = app_menu_->GetPreferredSize().width(); width 639 chrome/browser/ui/views/toolbar/toolbar_view.cc int available_width = std::max(0, width() - kRightEdgeSpacing - width 718 chrome/browser/ui/views/toolbar/toolbar_view.cc canvas->FillRect(gfx::Rect(0, height() - 1, width(), 1), SK_ColorBLACK); width 105 chrome/browser/ui/views/toolbar/wrench_menu.cc pref.Enlarge(insets.width(), insets.height()); width 184 chrome/browser/ui/views/toolbar/wrench_menu.cc int w = view->width(); width 491 chrome/browser/ui/views/toolbar/wrench_menu.cc bitmap.width(), bitmap.height(), 0); width 498 chrome/browser/ui/views/toolbar/wrench_menu.cc for (int x = 0; x < bitmap.width(); ++x) { width 555 chrome/browser/ui/views/toolbar/wrench_menu.cc int width = GetMaxChildViewPreferredWidth(); width 557 chrome/browser/ui/views/toolbar/wrench_menu.cc child_at(i)->SetBounds(i * width, 0, width, height()); width 569 chrome/browser/ui/views/toolbar/wrench_menu.cc int width = 0; width 571 chrome/browser/ui/views/toolbar/wrench_menu.cc width = std::max(width, child_at(i)->GetPreferredSize().width()); width 572 chrome/browser/ui/views/toolbar/wrench_menu.cc return width; width 692 chrome/browser/ui/views/toolbar/wrench_menu.cc int button_width = std::max(increment_button_->GetPreferredSize().width(), width 693 chrome/browser/ui/views/toolbar/wrench_menu.cc decrement_button_->GetPreferredSize().width()); width 696 chrome/browser/ui/views/toolbar/wrench_menu.cc int fullscreen_width = fullscreen_button_->GetPreferredSize().width() + width 707 chrome/browser/ui/views/toolbar/wrench_menu.cc int button_width = std::max(increment_button_->GetPreferredSize().width(), width 708 chrome/browser/ui/views/toolbar/wrench_menu.cc decrement_button_->GetPreferredSize().width()); width 713 chrome/browser/ui/views/toolbar/wrench_menu.cc x += bounds.width(); width 718 chrome/browser/ui/views/toolbar/wrench_menu.cc x += bounds.width(); width 723 chrome/browser/ui/views/toolbar/wrench_menu.cc x += bounds.width() + (menu()->use_new_menu() ? 0 : kZoomPadding); width 725 chrome/browser/ui/views/toolbar/wrench_menu.cc bounds.set_width(fullscreen_button_->GetPreferredSize().width() + width 771 chrome/browser/ui/views/toolbar/wrench_menu.cc zoom_label_->border() ? zoom_label_->border()->GetInsets().width() : 0; width 269 chrome/browser/ui/views/translate/translate_bubble_view.cc int width = 0; width 272 chrome/browser/ui/views/translate/translate_bubble_view.cc width = std::max(width, child->GetPreferredSize().width()); width 275 chrome/browser/ui/views/translate/translate_bubble_view.cc return gfx::Size(width, height); width 35 chrome/browser/ui/views/validation_message_bubble_delegate.cc icon->SetBounds(kPadding, kPadding, size.width(), size.height()); width 42 chrome/browser/ui/views/validation_message_bubble_delegate.cc int text_start_x = kPadding + size.width() + kIconTextMargin; width 45 chrome/browser/ui/views/validation_message_bubble_delegate.cc int label_width = label->GetPreferredSize().width(); width 55 chrome/browser/ui/views/validation_message_bubble_delegate.cc label_width = std::max(label_width, sub_label->GetPreferredSize().width()); width 23 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc short_main_empty_sub_size.width()); width 30 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc long_main_empty_sub_size.width()); width 36 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc EXPECT_GT(short_main_medium_sub_size.width(), width 37 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc short_main_empty_sub_size.width()); width 44 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc EXPECT_GT(short_main_long_sub_size.width(), width 45 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc short_main_medium_sub_size.width()); width 47 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc short_main_long_sub_size.width()); width 134 chrome/browser/ui/views/web_dialog_view_browsertest.cc EXPECT_LT(0, rwhv_bounds.width()); width 136 chrome/browser/ui/views/web_dialog_view_browsertest.cc EXPECT_GE(set_bounds.width(), rwhv_bounds.width()); width 150 chrome/browser/ui/views/web_dialog_view_browsertest.cc EXPECT_LT(0, rwhv_bounds.width()); width 152 chrome/browser/ui/views/web_dialog_view_browsertest.cc EXPECT_GE(set_bounds.width(), rwhv_bounds.width()); width 166 chrome/browser/ui/views/web_dialog_view_browsertest.cc EXPECT_LT(0, rwhv_bounds.width()); width 168 chrome/browser/ui/views/web_dialog_view_browsertest.cc EXPECT_GE(set_bounds.width(), rwhv_bounds.width()); width 178 chrome/browser/ui/views/web_dialog_view_browsertest.cc EXPECT_LT(0, actual_bounds.width()); width 105 chrome/browser/ui/views/website_settings/permission_selector_view.cc gfx::Size prefsize(text_size_.width() + insets.width(), width 108 chrome/browser/ui/views/website_settings/permission_selector_view.cc prefsize.set_width(std::min(max_width_, prefsize.width())); width 110 chrome/browser/ui/views/website_settings/permission_selector_view.cc prefsize.Enlarge(menu_marker()->width() + width 133 chrome/browser/ui/views/website_settings/permission_selector_view.cc p.Offset(-source->width(), 0); width 415 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc int width = kPermissionsSectionContentMinWidth; width 417 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc width = std::max(width, site_data_content_->GetPreferredSize().width()); width 419 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc width = std::max(width, permissions_content_->GetPreferredSize().width()); width 420 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc width += kPermissionsSectionPaddingLeft; width 421 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc width = std::min(width, kMaxPopupWidth); width 423 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc return gfx::Size(width, height); width 78 chrome/browser/ui/webui/chromeos/first_run/first_run_actor.h virtual void AddRectangularHole(int x, int y, int width, int height) = 0; width 27 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc void FirstRunHandler::AddRectangularHole(int x, int y, int width, int height) { width 31 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc base::FundamentalValue(width), width 25 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.h virtual void AddRectangularHole(int x, int y, int width, int height) OVERRIDE; width 99 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc int width = app_data.icon.width(); width 104 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc if (width <= kMaxAppIconSize && height <= kMaxAppIconSize) { width 105 chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc app_info->SetString("iconWidth", base::IntToString(width) + "px"); width 749 chrome/browser/ui/webui/ntp/app_launcher_handler.cc icon.width = icon.data.width(); width 153 chrome/browser/ui/webui/ntp/ntp_login_handler.cc double width = 0; width 159 chrome/browser/ui/webui/ntp/ntp_login_handler.cc success = args->GetDouble(2, &width); width 165 chrome/browser/ui/webui/ntp/ntp_login_handler.cc gfx::Rect rect(x * zoom, y * zoom, width * zoom, height * zoom); width 212 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc js_display->SetInteger("width", bounds.width()); width 228 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc float tmp = base_size.width(); width 263 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc -current_overscan.width(), -current_overscan.height()); width 265 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc resolution_info->SetInteger("width", resolution.width()); width 389 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc double width = 0.0f; width 391 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc if (!args->GetDouble(1, &width) || width == 0.0f) { width 403 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc gfx::Size new_resolution = gfx::ToFlooredSize(gfx::SizeF(width, height)); width 404 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc new_resolution.Enlarge(current_overscan.width(), current_overscan.height()); width 747 chrome/browser/ui/webui/print_preview/print_preview_handler.cc int width = 0; width 752 chrome/browser/ui/webui/print_preview/print_preview_handler.cc !settings->GetInteger(printing::kSettingPageWidth, &width) || width 754 chrome/browser/ui/webui/print_preview/print_preview_handler.cc width <= 0 || height <= 0) { width 762 chrome/browser/ui/webui/print_preview/print_preview_handler.cc printer_name, print_ticket, capabilities, gfx::Size(width, height)); width 489 chrome/browser/ui/webui/print_preview/print_preview_ui.cc printable_area.width() <= 0 || printable_area.height() <= 0) { width 504 chrome/browser/ui/webui/print_preview/print_preview_ui.cc printable_area.width()); width 317 chrome/browser/ui/window_sizer/window_sizer.cc int default_width = std::min(work_area.width() - 2 * kWindowTilePixels, 1050); width 324 chrome/browser/ui/window_sizer/window_sizer.cc static_cast<double>(screen_size.width()) / screen_size.height(); width 331 chrome/browser/ui/window_sizer/window_sizer.cc work_area.width() > kMinScreenWidthForWindowHalving) { width 335 chrome/browser/ui/window_sizer/window_sizer.cc default_width = static_cast<int>(work_area.width() / 2. - width 355 chrome/browser/ui/window_sizer/window_sizer.cc if (bounds->width() <= 0) width 356 chrome/browser/ui/window_sizer/window_sizer.cc bounds->set_width(default_bounds.width()); width 361 chrome/browser/ui/window_sizer/window_sizer.cc bounds->set_width(std::max(kMinVisibleWidth, bounds->width())); width 374 chrome/browser/ui/window_sizer/window_sizer.cc bounds->set_width(std::min(bounds->width(), work_area.width())); width 378 chrome/browser/ui/window_sizer/window_sizer.cc std::min(bounds->x(), work_area.right() - bounds->width()))); width 406 chrome/browser/ui/window_sizer/window_sizer.cc const int min_x = work_area.x() + kMinVisibleWidth - bounds->width(); width 132 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc taskbar_right_work_area.width() - width 146 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc taskbar_left_work_area.width() - width 81 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc int area = overlap.width() * overlap.height(); width 36 chrome/browser/ui/window_sizer/window_sizer_gtk.cc std::min(x + kWindowTilePixels, monitor_bounds.right() - size.width()), width 41 chrome/browser/ui/window_sizer/window_sizer_unittest.cc taskbar_right_work_area.width() - kWindowTilePixels*2, width 53 chrome/browser/ui/window_sizer/window_sizer_unittest.cc taskbar_left_work_area.width() - kWindowTilePixels * 2, width 86 chrome/browser/web_applications/update_shortcut_worker_win.cc int preferred_size = std::max(unprocessed_icons_.back().width, width 64 chrome/browser/web_applications/web_app.cc return left.width < right.width; width 373 chrome/browser/web_applications/web_app.cc if (app_info.icons[i].width == app_info.icons[i].height) { width 86 chrome/browser/webdata/web_apps_table.cc s.BindInt(1, image.width()); width 76 chrome/browser/webdata/web_apps_table_unittest.cc ASSERT_EQ(16, images[0].width()); width 97 chrome/browser/webdata/web_apps_table_unittest.cc ASSERT_EQ(16, images[0].width()); width 116 chrome/browser/webdata/web_apps_table_unittest.cc if (images[0].width() == 16) { width 117 chrome/browser/webdata/web_apps_table_unittest.cc ASSERT_EQ(16, images[0].width()); width 119 chrome/browser/webdata/web_apps_table_unittest.cc ASSERT_EQ(32, images[1].width()); width 122 chrome/browser/webdata/web_apps_table_unittest.cc ASSERT_EQ(32, images[0].width()); width 124 chrome/browser/webdata/web_apps_table_unittest.cc ASSERT_EQ(16, images[1].width()); width 112 chrome/common/badge_util.cc if (SkScalarRoundToInt(text_width) > (icon.width() - kMinPadding * 2)) { width 121 chrome/common/badge_util.cc int badge_width = icon.width(); width 188 chrome/common/badge_util.cc bounds.x() + (bounds.width() - badge_width) / 2 : width 209 chrome/common/badge_util.cc rect.x() + gradient_left->width(), width 211 chrome/common/badge_util.cc rect.width() - gradient_left->width() - gradient_right->width(), width 214 chrome/common/badge_util.cc rect.right() - gradient_right->width(), rect.y()); width 223 chrome/common/badge_util.cc static_cast<float>(rect.width() - text_width) / 2), width 22 chrome/common/extensions/chrome_extension_messages.h IPC_STRUCT_TRAITS_MEMBER(width) width 33 chrome/common/icon_with_badge_image_source.cc gfx::Rect bounds(size_.width() + spacing_.width(), width 38 chrome/common/icon_with_badge_image_source.cc background_color_, size_.width(), width 7 chrome/common/web_application_info.cc WebApplicationInfo::IconInfo::IconInfo() : width(0), height(0) { width 23 chrome/common/web_application_info.h int width; width 352 chrome/installer/gcapi/gcapi.cc int width; width 368 chrome/installer/gcapi/gcapi.cc params->y, params->width, params->height, params->flags)) { width 526 chrome/installer/gcapi/gcapi.cc int width, width 559 chrome/installer/gcapi/gcapi.cc if (width == -1 && height == -1) width 562 chrome/installer/gcapi/gcapi.cc SetWindowPosParams enum_params = { x, y, width, height, set_window_flags, width 86 chrome/installer/gcapi/gcapi.h int width, width 38 chrome/renderer/chrome_render_frame_observer.cc if (image_size.width() <= thumbnail_max_size_pixels.width() && width 44 chrome/renderer/chrome_render_frame_observer.cc if (scaled_size.width() > thumbnail_max_size_pixels.width()) { width 45 chrome/renderer/chrome_render_frame_observer.cc scaled_size.Scale(thumbnail_max_size_pixels.width() / scaled_size.width()); width 55 chrome/renderer/chrome_render_frame_observer.cc static_cast<int>(scaled_size.width()), width 72 chrome/renderer/extensions/cast_streaming_native_handler.cc cast_params->width = ext_params.width ? *ext_params.width : 0; width 112 chrome/renderer/extensions/cast_streaming_native_handler.cc if (cast_params.width) width 113 chrome/renderer/extensions/cast_streaming_native_handler.cc ext_params->width.reset(new int(cast_params.width)); width 42 chrome/renderer/extensions/set_icon_natives.cc int width = width 47 chrome/renderer/extensions/set_icon_natives.cc if (width <= 0 || height <= 0) { width 56 chrome/renderer/extensions/set_icon_natives.cc if (width > max_width) { width 64 chrome/renderer/extensions/set_icon_natives.cc if (data_length != 4 * width * height) { width 71 chrome/renderer/extensions/set_icon_natives.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); width 80 chrome/renderer/extensions/set_icon_natives.cc for (int t = 0; t < width*height; t++) { width 70 chrome/renderer/media/cast_rtp_stream.cc payload.width = 1280; width 86 chrome/renderer/media/cast_rtp_stream.cc payload.width = 1280; width 157 chrome/renderer/media/cast_rtp_stream.cc config->width = params.payload.width; width 404 chrome/renderer/media/cast_rtp_stream.cc width(0), width 465 chrome/renderer/media/cast_rtp_stream.cc gfx::Size(config.width, config.height), width 60 chrome/renderer/media/cast_rtp_stream.h int width; width 253 chrome/renderer/mock_printer.cc return pages_[page]->width(); width 34 chrome/renderer/mock_printer.h int width() const { return image_.size().width(); } width 242 chrome/renderer/pepper/pepper_flash_renderer_host.cc SkIntToScalar(params.clip.point.x + params.clip.size.width), width 376 chrome/renderer/pepper/pepper_flash_renderer_host.cc gfx::Rect(rect.point.x, rect.point.y,rect.size.width, rect.size.height))) width 289 chrome/renderer/pepper/pepper_pdf_host.cc pp_size.width = image_skia_rep.pixel_width(); width 106 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(page_params.page_size.width(), dpi, kPixelsPerInch), width 111 chrome/renderer/printing/print_web_view_helper.cc page_params.page_size.width() - width 112 chrome/renderer/printing/print_web_view_helper.cc page_params.content_size.width() - page_params.margin_left, width 133 chrome/renderer/printing/print_web_view_helper.cc int new_content_width = page_size_in_pixels.width - width 151 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(page_size_in_pixels.width, kPixelsPerInch, dpi), width 170 chrome/renderer/printing/print_web_view_helper.cc static_cast<double>(params_to_fit->content_size.width()); width 174 chrome/renderer/printing/print_web_view_helper.cc int default_page_size_width = page_params.page_size.width(); width 176 chrome/renderer/printing/print_web_view_helper.cc int css_page_size_width = params_to_fit->page_size.width(); width 208 chrome/renderer/printing/print_web_view_helper.cc int content_width = params.content_size.width(); width 213 chrome/renderer/printing/print_web_view_helper.cc int margin_right = params.page_size.width() - width 232 chrome/renderer/printing/print_web_view_helper.cc if ((page_params->page_size.width() > page_params->page_size.height()) == width 233 chrome/renderer/printing/print_web_view_helper.cc (css_params.page_size.width() > css_params.page_size.height())) { width 239 chrome/renderer/printing/print_web_view_helper.cc page_params->page_size.width()); width 241 chrome/renderer/printing/print_web_view_helper.cc page_params->content_size.width()); width 244 chrome/renderer/printing/print_web_view_helper.cc page_params->printable_area.width())); width 254 chrome/renderer/printing/print_web_view_helper.cc webkit_print_params->printContentArea.width = width 255 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.content_size.width(), dpi, width 267 chrome/renderer/printing/print_web_view_helper.cc webkit_print_params->printableArea.width = width 268 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.printable_area.width(), dpi, width 274 chrome/renderer/printing/print_web_view_helper.cc webkit_print_params->paperSize.width = width 275 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.page_size.width(), dpi, width 384 chrome/renderer/printing/print_web_view_helper.cc int default_margin_right = params.page_size.width() - width 385 chrome/renderer/printing/print_web_view_helper.cc params.content_size.width() - params.margin_left; width 389 chrome/renderer/printing/print_web_view_helper.cc result_params.page_size.width() - result_params.margin_left - width 485 chrome/renderer/printing/print_web_view_helper.cc options->SetDouble("width", page_size.width); width 521 chrome/renderer/printing/print_web_view_helper.cc content_area.size().width() / scale_factor, width 642 chrome/renderer/printing/print_web_view_helper.cc gfx::Size print_layout_size(web_print_params_.printContentArea.width, width 736 chrome/renderer/printing/print_web_view_helper.cc return gfx::Size(web_print_params_.printContentArea.width, width 1088 chrome/renderer/printing/print_web_view_helper.cc ConvertUnit(print_params.printable_area.width(), dpi, kPointsPerInch), width 333 chrome/renderer/printing/print_web_view_helper_browsertest.cc EXPECT_NE(0, image1.size().width()); width 346 chrome/renderer/printing/print_web_view_helper_browsertest.cc int width; width 402 chrome/renderer/printing/print_web_view_helper_browsertest.cc int width = chrome_render_thread_->printer()->GetWidth(0); width 408 chrome/renderer/printing/print_web_view_helper_browsertest.cc EXPECT_GT(kTestPages[i].width * (100 + kErrorMargin) / 100, width); width 409 chrome/renderer/printing/print_web_view_helper_browsertest.cc EXPECT_LT(kTestPages[i].width * (100 - kErrorMargin) / 100, width); width 139 chrome/renderer/printing/print_web_view_helper_win.cc static_cast<int>(ConvertUnitDouble(page_size.width(), kPointsPerInch, width 151 chrome/renderer/printing/print_web_view_helper_win.cc static_cast<int>(ConvertUnitDouble(content_area.width(), kPointsPerInch, width 92 chrome/renderer/web_apps.cc icon_info.width = icon_sizes[0].width(); width 112 chrome/renderer/web_apps.cc if (size.width() <= 0 || size.height() <= 0) width 53 chrome/renderer/web_apps_unittest.cc ASSERT_EQ(data[i].width1, sizes[0].width()); width 57 chrome/renderer/web_apps_unittest.cc ASSERT_EQ(data[i].width2, sizes[1].width()); width 113 chrome/service/cloud_print/cdd_conversion_win.cc int width = media.value().width_um / kFromUm; width 115 chrome/service/cloud_print/cdd_conversion_win.cc if (width > 0) { width 117 chrome/service/cloud_print/cdd_conversion_win.cc dev_mode->dmPaperWidth = width; width 161 chrome/service/cloud_print/cdd_conversion_win.cc semantic_info.default_paper.size_um.width(), width 169 chrome/service/cloud_print/cdd_conversion_win.cc if (paper_size.width() > paper_size.height()) width 170 chrome/service/cloud_print/cdd_conversion_win.cc paper_size.SetSize(paper_size.height(), paper_size.width()); width 171 chrome/service/cloud_print/cdd_conversion_win.cc Media new_media(semantic_info.papers[i].name, paper_size.width(), width 204 chrome/service/cloud_print/cdd_conversion_win.cc Dpi default_dpi(semantic_info.default_dpi.width(), width 208 chrome/service/cloud_print/cdd_conversion_win.cc Dpi new_dpi(semantic_info.dpis[i].width(), width 79 chrome/test/base/interactive_test_utils_gtk.cc bounds.x() + bounds.width() / 2, width 59 chrome/test/base/interactive_test_utils_views.cc gfx::Point view_center(view->width() / 2, view->height() / 2); width 66 chrome/test/base/view_event_test_base.cc child_view->SetBounds(0, 0, width(), height()); width 18 chrome/test/chromedriver/basic_types.cc WebSize::WebSize() : width(0), height(0) {} width 20 chrome/test/chromedriver/basic_types.cc WebSize::WebSize(int width, int height) : width(width), height(height) {} width 26 chrome/test/chromedriver/basic_types.cc WebRect::WebRect(int x, int y, int width, int height) width 27 chrome/test/chromedriver/basic_types.cc : origin(x, y), size(width, height) {} width 38 chrome/test/chromedriver/basic_types.cc int WebRect::Width() const { return size.width; } width 21 chrome/test/chromedriver/basic_types.h WebSize(int width, int height); width 24 chrome/test/chromedriver/basic_types.h int width; width 30 chrome/test/chromedriver/basic_types.h WebRect(int x, int y, int width, int height); width 46 chrome/test/chromedriver/chrome/automation_extension.cc Status AutomationExtension::GetWindowSize(int* width, int* height) { width 48 chrome/test/chromedriver/chrome/automation_extension.cc return GetWindowInfo(&temp_x, &temp_y, width, height); width 51 chrome/test/chromedriver/chrome/automation_extension.cc Status AutomationExtension::SetWindowSize(int width, int height) { width 53 chrome/test/chromedriver/chrome/automation_extension.cc update_info.SetInteger("width", width); width 67 chrome/test/chromedriver/chrome/automation_extension.cc int* width, width 90 chrome/test/chromedriver/chrome/automation_extension.cc *width = temp_width; width 40 chrome/test/chromedriver/chrome/automation_extension.h Status GetWindowSize(int* width, int* height); width 43 chrome/test/chromedriver/chrome/automation_extension.h Status SetWindowSize(int width, int height); width 49 chrome/test/chromedriver/chrome/automation_extension.h Status GetWindowInfo(int* x, int* y, int* width, int* height); width 42 chrome/test/chromedriver/element_util.cc double width, height; width 43 chrome/test/chromedriver/element_util.cc if (!dict_value->GetDouble("width", &width) || width 46 chrome/test/chromedriver/element_util.cc size->width = static_cast<int>(width); width 55 chrome/test/chromedriver/element_util.cc double x, y, width, height; width 58 chrome/test/chromedriver/element_util.cc !dict_value->GetDouble("width", &width) || width 63 chrome/test/chromedriver/element_util.cc rect->size.width = static_cast<int>(width); width 513 chrome/test/chromedriver/session_commands.cc int width, height; width 514 chrome/test/chromedriver/session_commands.cc status = extension->GetWindowSize(&width, &height); width 519 chrome/test/chromedriver/session_commands.cc size.SetInteger("width", width); width 529 chrome/test/chromedriver/session_commands.cc double width, height; width 530 chrome/test/chromedriver/session_commands.cc if (!params.GetDouble("width", &width) || width 547 chrome/test/chromedriver/session_commands.cc static_cast<int>(width), static_cast<int>(height)); width 477 chrome/test/chromedriver/window_commands.cc location.Offset(size.width / 2, size.height / 2); width 53 chrome/test/data/nacl/ppapi/ppp_instance/ppapi_ppp_instance.cc EXPECT(position.size.width == 15 && clip.size.width == 15); width 523 chrome/test/gpu/gpu_feature_browsertest.cc int w_start = bounds.width(); width 432 chrome/test/remoting/remote_desktop_browsertest.cc int width = ExecuteScriptAndExtractInt("clientPluginRect.width"); width 436 chrome/test/remoting/remote_desktop_browsertest.cc ASSERT_LT(x, width); width 666 chrome/utility/chrome_content_utility_client.cc settings.area().y(), settings.area().width(), width 735 chrome/utility/chrome_content_utility_client.cc image.size().width(), width 75 chrome/utility/cloud_print/pwg_encoder.cc base::WriteBigEndian<uint32>(header + kHeaderCupsWidth, image.size().width()); width 81 chrome/utility/cloud_print/pwg_encoder.cc (kBitsPerPixel * image.size().width() + 7) / 8); width 89 chrome/utility/cloud_print/pwg_encoder.cc bool PwgEncoder::EncodeRowFrom32Bit(const uint8* row, const int width, width 110 chrome/utility/cloud_print/pwg_encoder.cc const uint32* row_end = pos + width; width 156 chrome/utility/cloud_print/pwg_encoder.cc return image.pixel_data() + row * image.size().width() * image.channels(); width 175 chrome/utility/cloud_print/pwg_encoder.cc int row_size = image.size().width() * image.channels(); width 204 chrome/utility/cloud_print/pwg_encoder.cc current_row, image.size().width(), image.colorspace(), output)) { width 31 chrome/utility/cloud_print/pwg_encoder.h const int width, width 26 chrome/utility/importer/favicon_reencode.cc if (decoded.width() != gfx::kFaviconSize || width 29 chrome/utility/importer/favicon_reencode.cc int new_width = decoded.width(); width 47 chrome/utility/media_galleries/media_metadata_parser.cc if (extractor.height() >= 0 && extractor.width() >= 0) { width 49 chrome/utility/media_galleries/media_metadata_parser.cc metadata->width.reset(new int(extractor.width())); width 168 chromeos/process_proxy/process_proxy.cc bool ProcessProxy::OnTerminalResize(int width, int height) { width 169 chromeos/process_proxy/process_proxy.cc if (width < 0 || height < 0) width 176 chromeos/process_proxy/process_proxy.cc ws.ws_col = width; width 49 chromeos/process_proxy/process_proxy.h bool OnTerminalResize(int width, int height); width 131 chromeos/process_proxy/process_proxy_registry.cc bool ProcessProxyRegistry::OnTerminalResize(pid_t pid, int width, int height) { width 138 chromeos/process_proxy/process_proxy_registry.cc return it->second.proxy->OnTerminalResize(width, height); width 51 chromeos/process_proxy/process_proxy_registry.h bool OnTerminalResize(pid_t pid, int width, int height); width 140 components/autofill/content/browser/risk/fingerprint.cc machine->mutable_screen_size()->set_width(screen_size.width()); width 150 components/autofill/content/browser/risk/fingerprint.cc unavailable_rect.width()); width 472 components/autofill/content/browser/risk/fingerprint.cc inner_window_size->set_width(content_bounds_.width()); width 476 components/autofill/content/browser/risk/fingerprint.cc outer_window_size->set_width(window_bounds_.width()); width 141 components/autofill/content/browser/risk/fingerprint_browsertest.cc EXPECT_EQ(unavailable_screen_bounds_.width(), width 142 components/autofill/content/browser/risk/fingerprint_browsertest.cc machine.unavailable_screen_size().width()); width 147 components/autofill/content/browser/risk/fingerprint_browsertest.cc EXPECT_EQ(content_bounds_.width(), width 148 components/autofill/content/browser/risk/fingerprint_browsertest.cc transient_state.inner_window_size().width()); width 151 components/autofill/content/browser/risk/fingerprint_browsertest.cc EXPECT_EQ(window_bounds_.width(), width 152 components/autofill/content/browser/risk/fingerprint_browsertest.cc transient_state.outer_window_size().width()); width 1176 components/autofill/content/renderer/form_autofill_util.cc bounding_box.width() * scale, width 704 components/autofill/content/renderer/password_autofill_agent.cc bounding_box.width() * scale, width 159 components/cloud_devices/printer_description.cc #define MAP_CLOUD_PRINT_MEDIA_TYPE(type, width, height, unit_um) \ width 161 components/cloud_devices/printer_description.cc static_cast<int>(width * unit_um + 0.5), \ width 152 components/plugins/renderer/webview_plugin.cc WebSize newSize(frame_rect.width, frame_rect.height); width 136 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java final int width = root.getMeasuredWidth(); width 139 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java (width * 3 / 4 - arrowWidth / 2) : (width / 4 + arrowWidth / 2); width 150 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java final int width = mPopup.getContentView().getMeasuredWidth(); width 154 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java } else if (x + width > viewWidth) { width 155 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java x = viewWidth - width; width 42 components/web_contents_delegate_android/validation_message_bubble_android.cc anchor_in_root_view.width(), width 61 components/web_contents_delegate_android/validation_message_bubble_android.cc anchor_in_root_view.width(), width 136 content/browser/accessibility/accessibility_tree_formatter_win.cc LONG left, top, width, height; width 138 content/browser/accessibility/accessibility_tree_formatter_win.cc if (acc_obj->accLocation(&left, &top, &width, &height, variant_self) width 149 content/browser/accessibility/accessibility_tree_formatter_win.cc size->SetInteger("width", width); width 168 content/browser/accessibility/browser_accessibility.cc parent->location().width() > 0 && width 281 content/browser/accessibility/browser_accessibility.cc child_rect.width(), bottom - top); width 288 content/browser/accessibility/browser_accessibility.cc child_rect.width(), bottom - top); width 295 content/browser/accessibility/browser_accessibility.cc if (bounds.width() == 0 && bounds.height() == 0) width 57 content/browser/accessibility/browser_accessibility_gtk.cc AtkComponent* component, gint* x, gint* y, gint* width, gint* height, width 66 content/browser/accessibility/browser_accessibility_gtk.cc *width = bounds.width(); width 264 content/browser/accessibility/browser_accessibility_manager_android.cc absolute_rect.width(), absolute_rect.height(), width 269 content/browser/accessibility/browser_accessibility_win.cc LONG* width, width 275 content/browser/accessibility/browser_accessibility_win.cc if (!x_left || !y_top || !width || !height) width 285 content/browser/accessibility/browser_accessibility_win.cc *width = bounds.width(); width 824 content/browser/accessibility/browser_accessibility_win.cc *this, gfx::Rect(r.x(), r.y(), r.width(), 0)); width 828 content/browser/accessibility/browser_accessibility_win.cc *this, gfx::Rect(r.x(), r.bottom(), r.width(), 0)); width 1013 content/browser/accessibility/browser_accessibility_win.cc STDMETHODIMP BrowserAccessibilityWin::get_imageSize(LONG* height, LONG* width) { width 1017 content/browser/accessibility/browser_accessibility_win.cc if (!height || !width) width 1021 content/browser/accessibility/browser_accessibility_win.cc *width = location().width(); width 1954 content/browser/accessibility/browser_accessibility_win.cc *out_width = character_bounds.width(); width 2732 content/browser/accessibility/browser_accessibility_win.cc *out_width = bounds.width(); width 125 content/browser/accessibility/browser_accessibility_win.h LONG* width, width 282 content/browser/accessibility/browser_accessibility_win.h CONTENT_EXPORT STDMETHODIMP get_imageSize(LONG* height, LONG* width); width 86 content/browser/android/content_video_view.cc void ContentVideoView::OnVideoSizeChanged(int width, int height) { width 91 content/browser/android/content_video_view.cc width, height); width 70 content/browser/android/content_video_view.h void OnVideoSizeChanged(int width, int height); width 485 content/browser/android/content_view_core_impl.cc content_size.width(), width 487 content/browser/android/content_view_core_impl.cc viewport_size.width(), width 1750 content/browser/android/content_view_core_impl.cc jint width, width 1755 content/browser/android/content_view_core_impl.cc static_cast<int>((width > 0 && width < dpi_scale()) ? width 1756 content/browser/android/content_view_core_impl.cc 1 : (int)(width / dpi_scale())), width 232 content/browser/android/content_view_core_impl.h jint width, width 81 content/browser/android/content_view_render_view.cc jint format, jint width, jint height, jobject surface) { width 86 content/browser/android/content_view_render_view.cc compositor_->SetWindowBounds(gfx::Size(width, height)); width 34 content/browser/android/content_view_render_view.h jint format, jint width, jint height, jobject surface); width 86 content/browser/android/edge_effect.cc (-size.width() + height) / 2 , width 87 content/browser/android/edge_effect.cc (size.width() - height) / 2); width 92 content/browser/android/edge_effect.cc (-size.width() - height) / 2 + size.height(), width 93 content/browser/android/edge_effect.cc (size.width() - height) / 2); width 112 content/browser/android/edge_effect.cc layer->SetBounds(gfx::Size(size.width(), height)); width 351 content/browser/android/edge_effect.cc const int glow_width = glow_image_bounds.width(); width 219 content/browser/android/in_process/synchronous_compositor_output_surface.cc surface_size_ = gfx::Size(canvas->getDeviceSize().width(), width 35 content/browser/android/overscroll_glow.cc bitmap, skia::ImageOperations::RESIZE_BOX, size.width(), size.height()); width 196 content/browser/android/overscroll_glow.cc size_, gfx::SizeF(size_.height(), size_.width()), width 197 content/browser/android/overscroll_glow.cc size_, gfx::SizeF(size_.height(), size_.width()) width 278 content/browser/android/overscroll_glow.cc 1.f / size_.width(), width 981 content/browser/browser_plugin/browser_plugin_guest.cc return size.width() <= max_auto_size_.width() && width 1000 content/browser/browser_plugin/browser_plugin_guest.cc base::Value::CreateIntegerValue(initial_bounds.width())); width 1864 content/browser/browser_plugin/browser_plugin_guest.cc params.bitmap_rect.width() * width 362 content/browser/browser_plugin/browser_plugin_host_browsertest.cc "SetSize(%d, %d);", nxt_size.width(), nxt_size.height()); width 806 content/browser/browser_plugin/browser_plugin_host_browsertest.cc EXPECT_EQ(expected_bitmap.width(), bitmap.width()); width 807 content/browser/browser_plugin/browser_plugin_host_browsertest.cc if (expected_bitmap.width() != bitmap.width()) width 820 content/browser/browser_plugin/browser_plugin_host_browsertest.cc for (int i = 0; i < bitmap.width() && fails < 10; ++i) { width 207 content/browser/compositor/reflector_impl.cc gfx::Rect new_rect(rect.x(), y, rect.width(), rect.height()); width 31 content/browser/compositor/software_output_device_ozone_unittest.cc SkImageInfo::MakeN32Premul(size.width(), size.height()))); width 167 content/browser/compositor/software_output_device_ozone_unittest.cc gfx::Size canvas_size(canvas->getDeviceSize().width(), width 176 content/browser/compositor/software_output_device_ozone_unittest.cc canvas_size.SetSize(canvas->getDeviceSize().width(), width 183 content/browser/compositor/software_output_device_ozone_unittest.cc const int width = 6; width 185 content/browser/compositor/software_output_device_ozone_unittest.cc const gfx::Rect area(width, height); width 196 content/browser/compositor/software_output_device_ozone_unittest.cc gfx::Rect damage(area.width() / 2, area.height() / 2); width 203 content/browser/compositor/software_output_device_ozone_unittest.cc SkPMColor pixels[width * height]; width 211 content/browser/compositor/software_output_device_ozone_unittest.cc for (int j = 0; j < area.width(); ++j) { width 212 content/browser/compositor/software_output_device_ozone_unittest.cc if (j < damage.width() && i < damage.height()) width 213 content/browser/compositor/software_output_device_ozone_unittest.cc EXPECT_EQ(white, pixels[i * area.width() + j]); width 215 content/browser/compositor/software_output_device_ozone_unittest.cc EXPECT_EQ(black, pixels[i * area.width() + j]); width 41 content/browser/compositor/software_output_device_win.cc gfx::CreateBitmapHeader(viewport_size_.width(), viewport_size_.height(), width 98 content/browser/compositor/software_output_device_win.cc SkImageInfo info = SkImageInfo::MakeN32Premul(rect.width(), rect.height()); width 62 content/browser/compositor/software_output_device_x11.cc viewport_size_.width(), width 68 content/browser/compositor/software_output_device_x11.cc rect.width(), width 236 content/browser/devtools/renderer_overrides_handler.cc *scale = std::min(*scale, max_width / view_bounds.width()); width 537 content/browser/devtools/renderer_overrides_handler.cc gfx::Size(bitmap.width(), bitmap.height()), width 538 content/browser/devtools/renderer_overrides_handler.cc bitmap.width() * bitmap.bytesPerPixel(), width 544 content/browser/devtools/renderer_overrides_handler.cc bitmap.width(), width 546 content/browser/devtools/renderer_overrides_handler.cc bitmap.width() * bitmap.bytesPerPixel(), width 593 content/browser/devtools/renderer_overrides_handler.cc metadata.viewport_size.width()); width 59 content/browser/frame_host/navigation_controller_impl_unittest.cc if (a_bitmap.width() != b_bitmap.width() || width 58 content/browser/frame_host/navigation_entry_screenshot_manager.cc bitmap.width(), width 128 content/browser/frame_host/render_widget_host_view_guest.cc shifted_rect.set_width(size_.width()); width 376 content/browser/gpu/browser_gpu_channel_host_factory.cc size_t width, width 382 content/browser/gpu/browser_gpu_channel_host_factory.cc size_t size = width * height * width 389 content/browser/gpu/browser_gpu_channel_host_factory.cc new GpuMemoryBufferImplShm(gfx::Size(width, height), internalformat)); width 41 content/browser/gpu/browser_gpu_channel_host_factory.h size_t width, width 258 content/browser/media/android/browser_media_player_manager.cc int player_id, base::TimeDelta duration, int width, int height, width 261 content/browser/media/android/browser_media_player_manager.cc routing_id(), player_id, duration, width, height, success)); width 305 content/browser/media/android/browser_media_player_manager.cc int player_id, int width, int height) { width 307 content/browser/media/android/browser_media_player_manager.cc width, height)); width 309 content/browser/media/android/browser_media_player_manager.cc video_view_->OnVideoSizeChanged(width, height); width 76 content/browser/media/android/browser_media_player_manager.h int width, width 87 content/browser/media/android/browser_media_player_manager.h int player_id, int width, int height) OVERRIDE; width 54 content/browser/media/capture/content_video_capture_device_core.cc MakeEven(params.requested_format.frame_size.width()), width 145 content/browser/media/capture/content_video_capture_device_core.cc if (source_size.width() > params_.requested_format.frame_size.width() || width 149 content/browser/media/capture/content_video_capture_device_core.cc capture_size_ = gfx::Size(MakeEven(capture_rect.width()), width 152 content/browser/media/capture/content_video_capture_device_core.cc capture_size_ = gfx::Size(MakeEven(source_size.width()), width 214 content/browser/media/capture/content_video_capture_device_core.cc if (params.requested_format.frame_size.width() < kMinFrameWidth || width 40 content/browser/media/capture/desktop_capture_device.cc gfx::Rect(0, 0, max_size.width(), max_size.height()), width 41 content/browser/media/capture/desktop_capture_device.cc gfx::Size(source_size.width(), source_size.height())); width 192 content/browser/media/capture/desktop_capture_device.cc webrtc::DesktopSize output_size(capture_format_.frame_size.width(), width 194 content/browser/media/capture/desktop_capture_device.cc size_t output_bytes = output_size.width() * output_size.height() * width 210 content/browser/media/capture/desktop_capture_device.cc frame->size().width() * webrtc::DesktopFrame::kBytesPerPixel; width 238 content/browser/media/capture/desktop_capture_device.cc frame->size().width(), frame->size().height(), width 240 content/browser/media/capture/desktop_capture_device.cc output_rect_.width(), output_rect_.height(), width 292 content/browser/media/capture/desktop_capture_device.cc if (frame_size.width() > width 293 content/browser/media/capture/desktop_capture_device.cc requested_params_.requested_format.frame_size.width() || width 298 content/browser/media/capture/desktop_capture_device.cc requested_params_.requested_format.frame_size.width(), width 305 content/browser/media/capture/desktop_capture_device.cc capture_format_.frame_size.SetSize(output_rect_.width(), width 311 content/browser/media/capture/desktop_capture_device.cc webrtc::DesktopSize(capture_format_.frame_size.width(), width 50 content/browser/media/capture/desktop_capture_device_aura.cc gfx::Rect(cursor_bitmap.width(), cursor_bitmap.height()) + width 269 content/browser/media/capture/desktop_capture_device_aura.cc gfx::Rect(desktop_window_->bounds().width(), width 309 content/browser/media/capture/desktop_capture_device_aura.cc region_in_frame.width() & ~1, width 366 content/browser/media/capture/desktop_capture_device_aura.cc cursor_bitmap.width() * region_in_frame.width() / width 367 content/browser/media/capture/desktop_capture_device_aura.cc desktop_bounds.width(), width 384 content/browser/media/capture/desktop_capture_device_aura.cc region_in_frame.x() + cursor_position.x() * region_in_frame.width() / width 385 content/browser/media/capture/desktop_capture_device_aura.cc desktop_bounds.width(), width 30 content/browser/media/capture/desktop_capture_device_unittest.cc MATCHER_P2(EqualsCaptureCapability, width, height, "") { width 31 content/browser/media/capture/desktop_capture_device_unittest.cc return arg.width == width && arg.height == height; width 182 content/browser/media/capture/desktop_capture_device_unittest.cc EXPECT_GT(format.frame_size.width(), 0); width 229 content/browser/media/capture/desktop_capture_device_unittest.cc EXPECT_EQ(kTestFrameWidth1, format.frame_size.width()); width 276 content/browser/media/capture/desktop_capture_device_unittest.cc EXPECT_EQ(kTestFrameWidth1, format.frame_size.width()); width 97 content/browser/media/capture/web_contents_video_capture_device.cc result.set_width(std::max(kMinFrameWidth, MakeEven(result.width()))); width 479 content/browser/media/capture/web_contents_video_capture_device.cc input.width() < 2 || input.height() < 2) { width 496 content/browser/media/capture/web_contents_video_capture_device.cc output->coded_size(), gfx::Size(input.width(), input.height())); width 500 content/browser/media/capture/web_contents_video_capture_device.cc if (input.width() != region_in_frame.width() || width 504 content/browser/media/capture/web_contents_video_capture_device.cc if (input.width() < region_in_frame.width() || width 515 content/browser/media/capture/web_contents_video_capture_device.cc region_in_frame.width(), width 654 content/browser/media/capture/web_contents_video_capture_device.cc view_size.width() * view_size.height() / 1024); width 93 content/browser/media/capture/web_contents_video_capture_device_unittest.cc void SetCopyResultSize(int width, int height) { width 95 content/browser/media/capture/web_contents_video_capture_device_unittest.cc copy_result_size_ = gfx::Size(width, height); width 259 content/browser/media/capture/web_contents_video_capture_device_unittest.cc EXPECT_TRUE(output.Allocate(size.width(), size.height(), false)); width 38 content/browser/plugin_process_host_mac.cc { window_rect.width(), window_rect.height() } width 44 content/browser/renderer_host/backing_store_aura.cc pixel_size.width(), pixel_size.height()); width 69 content/browser/renderer_host/backing_store_aura.cc pixel_size.width(), pixel_size.height()); width 76 content/browser/renderer_host/backing_store_aura.cc SkIRect src_rect = SkIRect::MakeWH(old_pixel_size.width(), width 78 content/browser/renderer_host/backing_store_aura.cc SkRect dst_rect = SkRect::MakeWH(pixel_size.width(), pixel_size.height()); width 106 content/browser/renderer_host/backing_store_aura.cc const int width = pixel_bitmap_rect.width(); width 109 content/browser/renderer_host/backing_store_aura.cc if (width <= 0 || width > kMaxVideoLayerSize || width 121 content/browser/renderer_host/backing_store_aura.cc sk_bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); width 129 content/browser/renderer_host/backing_store_aura.cc pixel_copy_rect.width(), width 137 content/browser/renderer_host/backing_store_aura.cc SkIntToScalar(pixel_copy_dst_rect.width()), width 153 content/browser/renderer_host/backing_store_aura.cc int w = pixel_rect.width() + abs(pixel_delta.x()); width 161 content/browser/renderer_host/backing_store_aura.cc const int width = width 162 content/browser/renderer_host/backing_store_aura.cc std::min(size().width(), rect.width()) * device_scale_factor_; width 165 content/browser/renderer_host/backing_store_aura.cc if (!output->Allocate(width, height, true)) width 168 content/browser/renderer_host/backing_store_aura.cc SkIRect skrect = SkIRect::MakeXYWH(rect.x(), rect.y(), width, height); width 264 content/browser/renderer_host/backing_store_gtk.cc size.width(), size.height(), depth); width 317 content/browser/renderer_host/backing_store_gtk.cc const int width = bitmap_rect.width(); width 319 content/browser/renderer_host/backing_store_gtk.cc Pixmap pixmap = XCreatePixmap(display_, root_window_, width, height, width 325 content/browser/renderer_host/backing_store_gtk.cc width, height); width 335 content/browser/renderer_host/backing_store_gtk.cc copy_rect.width(), // width width 362 content/browser/renderer_host/backing_store_gtk.cc const int width = pixel_bitmap_rect.width(); width 365 content/browser/renderer_host/backing_store_gtk.cc if (width <= 0 || width > kMaxVideoLayerSize || width 391 content/browser/renderer_host/backing_store_gtk.cc width, height, 32); width 395 content/browser/renderer_host/backing_store_gtk.cc pixmap = XCreatePixmap(display_, root_window_, width, height, 32); width 409 content/browser/renderer_host/backing_store_gtk.cc width, height); width 427 content/browser/renderer_host/backing_store_gtk.cc pixel_copy_rect.width(), pixel_copy_rect.height(), width 433 content/browser/renderer_host/backing_store_gtk.cc width, height, False /* send_event */); width 445 content/browser/renderer_host/backing_store_gtk.cc image.width = width; width 453 content/browser/renderer_host/backing_store_gtk.cc image.bytes_per_line = width * 4; width 461 content/browser/renderer_host/backing_store_gtk.cc width, height); width 491 content/browser/renderer_host/backing_store_gtk.cc copy_rect.width(), // width width 528 content/browser/renderer_host/backing_store_gtk.cc const int width = std::min(size().width(), rect.width()); width 538 content/browser/renderer_host/backing_store_gtk.cc ZPixmap, NULL, &shminfo, width, height); width 582 content/browser/renderer_host/backing_store_gtk.cc rect.x(), rect.y(), width, height, width 589 content/browser/renderer_host/backing_store_gtk.cc if (!output->Allocate(width, height, true) || width 609 content/browser/renderer_host/backing_store_gtk.cc for (int x = 0; x < width; ++x, ++dest_row) { width 640 content/browser/renderer_host/backing_store_gtk.cc clip_rect.width(), width 648 content/browser/renderer_host/backing_store_gtk.cc if (abs(delta.x()) < clip_rect.width()) { width 652 content/browser/renderer_host/backing_store_gtk.cc clip_rect.width() - abs(delta.x()), width 663 content/browser/renderer_host/backing_store_gtk.cc rect.x(), rect.y(), rect.width(), rect.height(), width 671 content/browser/renderer_host/backing_store_gtk.cc size().width(), size().height()); width 675 content/browser/renderer_host/backing_store_gtk.cc double x_scale = static_cast<double>(rect.width()) / size().width(); width 686 content/browser/renderer_host/backing_store_gtk.cc cairo_rectangle(cr, rect.x(), rect.y(), rect.width(), rect.height()); width 137 content/browser/renderer_host/compositing_iosurface_mac.h float vw = static_cast<float>(vertex_size.width()); width 139 content/browser/renderer_host/compositing_iosurface_mac.h float tw = static_cast<float>(texcoord_size.width()); width 28 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc glViewport(0, 0, dst_size.width(), dst_size.height()); width 31 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc glOrtho(0, dst_size.width(), 0, dst_size.height(), -1, 1); width 154 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc src_subrect.width(), src_subrect.height(), width 156 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc dst_size.width(), dst_size.height()); width 191 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc *packed_y_size = gfx::Size((dst_size.width() + 3) / 4, dst_size.height()); width 192 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc *packed_uv_size = gfx::Size((packed_y_size->width() + 1) / 2, width 221 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc static_cast<float>(src_subrect.width()) / dst_size.width()); width 225 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc ((packed_y_size->width() * 4.0f) / dst_size.width()) * width 226 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc src_subrect.width(), width 229 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc packed_y_size->width(), packed_y_size->height()); width 251 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc packed_uv_size->width() * 2.0f, width 254 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc packed_uv_size->width(), packed_uv_size->height()); width 287 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc glTexImage2D(texture_target_, 0, GL_RGBA, size.width(), size.height(), 0, width 113 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, size.width(), size.height()); width 119 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc for (int x = 0; x < size.width(); ++x, ++p) { width 120 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc if ((x < (size.width() / 2)) && (y < (size.height() / 2))) width 139 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc kGLTextureTarget, 0, GL_RGBA, bitmap.width(), bitmap.height(), 0, width 149 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc result.setConfig(SkBitmap::kARGB_8888_Config, size.width(), size.height()); width 165 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc 0, 0, size.width(), size.height(), format, GL_UNSIGNED_INT_8_8_8_8_REV, width 180 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc if (src_rect == gfx::Rect(0, 0, src.width(), src.height())) { width 186 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc src_rect.width(), src_rect.height()))); width 190 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc result.setConfig(cropped_src.config(), to_size.width(), to_size.height()); width 194 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc canvas.scale(static_cast<double>(result.width()) / cropped_src.width(), width 216 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc DCHECK_EQ(expected.width(), actual.width()); width 226 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc for (int x = 0; x < expected.width(); ++x, ++p, ++q) { width 251 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc const uint8* p = expected + y * dst_size.width(); width 252 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc const uint8* const p_end = p + dst_size.width(); width 294 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc << ")x[" << src_rect.width() << 'x' << src_rect.height() width 295 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc << "]; dst_size=[" << dst_size.width() << 'x' width 315 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc EXPECT_GE(std::max(expected_bitmap.width(), expected_bitmap.height()) * 2, width 324 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc << ")x[" << src_rect.width() << 'x' << src_rect.height() width 325 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc << "]; dst_size=[" << dst_size.width() << 'x' width 362 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc (dst_size.width() + 1) / 2, (dst_size.height() + 1) / 2); width 364 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc new uint8[dst_size.width() * dst_size.height()]); width 366 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc new uint8[dst_uv_size.width() * dst_uv_size.height()]); width 368 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc new uint8[dst_uv_size.width() * dst_uv_size.height()]); width 375 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc expected_bitmap.width(), expected_bitmap.height(), width 377 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc dst_size.width(), (dst_size.width() + 1) / 2); width 380 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc std::max(expected_bitmap.width(), expected_bitmap.height()) * 2, width 384 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc std::max(expected_bitmap.width(), expected_bitmap.height()), width 389 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc std::max(expected_bitmap.width(), expected_bitmap.height()), width 472 content/browser/renderer_host/compositor_impl_android.cc DCHECK_LT(0, size.width()); width 474 content/browser/renderer_host/compositor_impl_android.cc DCHECK_EQ(0, size.width() % 4); width 477 content/browser/renderer_host/compositor_impl_android.cc size_t data_size = size.width() * size.height() / 2; width 478 content/browser/renderer_host/compositor_impl_android.cc SkImageInfo info = {size.width(), size.height() / 2, kAlpha_8_SkColorType, width 27 content/browser/renderer_host/compositor_resize_lock_aura.cc "width", expected_size().width(), width 41 content/browser/renderer_host/compositor_resize_lock_aura.cc "width", expected_size().width(), width 20 content/browser/renderer_host/gtk_plugin_container.cc void set_size(int width, int height) { width 21 content/browser/renderer_host/gtk_plugin_container.cc width_ = width; width 67 content/browser/renderer_host/gtk_plugin_container.cc requisition->width = container->width_; width 83 content/browser/renderer_host/gtk_plugin_container.cc void gtk_plugin_container_set_size(GtkWidget *widget, int width, int height) { width 84 content/browser/renderer_host/gtk_plugin_container.cc GtkPluginContainer::CastChecked(widget)->set_size(width, height); width 26 content/browser/renderer_host/gtk_plugin_container.h void gtk_plugin_container_set_size(GtkWidget *widget, int width, int height); width 121 content/browser/renderer_host/gtk_plugin_container_manager.cc move.window_rect.width(), width 55 content/browser/renderer_host/gtk_window_utils.cc unsigned int width, height, border, depth; width 57 content/browser/renderer_host/gtk_window_utils.cc display, root, &root_ret, &x, &y, &width, &height, &border, &depth); width 63 content/browser/renderer_host/gtk_window_utils.cc results.rect = blink::WebRect(x, y, width, height); width 80 content/browser/renderer_host/gtk_window_utils.cc monitor_rect.width, monitor_rect.height); width 249 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.showPress.width = width 250 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().width() * scale; width 258 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.width = data.details.bounding_box_f().width() * scale; width 265 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.width = data.details.bounding_box_f().width() * scale; width 272 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.width = data.details.bounding_box_f().width() * scale; width 277 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.longPress.width = width 278 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().width() * scale; width 284 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.longPress.width = width 285 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().width() * scale; width 329 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tapDown.width = width 330 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().width() * scale; width 76 content/browser/renderer_host/legacy_render_widget_host_win.cc ::SetWindowPos(hwnd(), NULL, bounds.x(), bounds.y(), bounds.width(), width 35 content/browser/renderer_host/media/video_capture_controller.cc #define UMA_HISTOGRAM_ASPECT_RATIO(name, width, height) \ width 38 content/browser/renderer_host/media/video_capture_controller.cc (height) ? ((width) * 100) / (height) : kInfiniteRatio); width 304 content/browser/renderer_host/media/video_capture_controller.cc int new_unrotated_width = frame_format.frame_size.width(); width 340 content/browser/renderer_host/media/video_capture_controller.cc int yplane_stride = dimensions.width(); width 407 content/browser/renderer_host/media/video_capture_controller.cc frame_format.frame_size.width(), width 448 content/browser/renderer_host/media/video_capture_controller.cc frame_format.frame_size.width()); width 452 content/browser/renderer_host/media/video_capture_controller.cc frame_format.frame_size.width(), width 496 content/browser/renderer_host/media/video_capture_controller.cc DCHECK_EQ(dimensions.width(), 0); width 61 content/browser/renderer_host/media/video_capture_host_unittest.cc void StartDump(int width, int height) { width 63 content/browser/renderer_host/media/video_capture_host_unittest.cc FILE_PATH_LITERAL("dump_w%d_h%d.yuv"), width, height)); width 66 content/browser/renderer_host/media/video_capture_host_unittest.cc media::VideoFrame::I420, gfx::Size(width, height)); width 227 content/browser/renderer_host/media/video_capture_host_unittest.cc dumper_.StartDump(frame_format.frame_size.width(), width 231 content/browser/renderer_host/media/video_capture_host_unittest.cc ASSERT_EQ(format_.frame_size.width(), frame_format.frame_size.width()) width 417 content/browser/renderer_host/media/video_capture_host_unittest.cc void CaptureAndDumpVideo(int width, int height, int frame_rate) { width 429 content/browser/renderer_host/media/video_capture_host_unittest.cc media::VideoCaptureFormat(gfx::Size(width, height), frame_rate); width 266 content/browser/renderer_host/media/video_capture_manager_unittest.cc EXPECT_GT(supported_formats[0].frame_size.width(), 1); width 269 content/browser/renderer_host/media/video_capture_manager_unittest.cc EXPECT_GT(supported_formats[1].frame_size.width(), 1); width 280 content/browser/renderer_host/media/video_capture_manager_unittest.cc EXPECT_GT(supported_formats[0].frame_size.width(), 1); width 283 content/browser/renderer_host/media/video_capture_manager_unittest.cc EXPECT_GT(supported_formats[1].frame_size.width(), 1); width 293 content/browser/renderer_host/media/video_capture_manager_unittest.cc EXPECT_GT(supported_formats[0].frame_size.width(), 1); width 296 content/browser/renderer_host/media/video_capture_manager_unittest.cc EXPECT_GT(supported_formats[1].frame_size.width(), 1); width 337 content/browser/renderer_host/media/video_capture_manager_unittest.cc EXPECT_GT(format_in_use.frame_size.width(), 1); width 193 content/browser/renderer_host/overscroll_controller.cc ratio = fabs(overscroll_delta_x_) / bounds.width(); width 27 content/browser/renderer_host/pepper/pepper_print_settings_manager.cc result.width = DeviceUnitsInPoints(print_size.width(), device_units_per_inch); width 60 content/browser/renderer_host/pepper/pepper_printing_host_unittest.cc return lhs.width == rhs.width && lhs.height == rhs.height; width 51 content/browser/renderer_host/pepper/pepper_truetype_font_list_pango.cc desc.width = static_cast<PP_TrueTypeFontWidth_Dev>( width 51 content/browser/renderer_host/pepper/pepper_truetype_font_list_win.cc desc.width = PP_TRUETYPEFONTWIDTH_NORMAL; // TODO(bbudge) support widths. width 1254 content/browser/renderer_host/render_message_filter.cc uint32 width, width 1275 content/browser/renderer_host/render_message_filter.cc width); width 1324 content/browser/renderer_host/render_message_filter.cc uint64 stride = static_cast<uint64>(width) * width 276 content/browser/renderer_host/render_message_filter.h void OnAllocateGpuMemoryBuffer(uint32 width, width 35 content/browser/renderer_host/render_widget_host_browsertest.cc for (int i = 0; i < bitmap.width(); ++i) { width 115 content/browser/renderer_host/render_widget_host_impl.cc std::ceil(metadata.page_scale_factor * metadata.viewport_size.width()); width 116 content/browser/renderer_host/render_widget_host_impl.cc const float content_width_css = metadata.root_layer_size.width(); width 840 content/browser/renderer_host/render_widget_host_impl.cc "width", base::IntToString(view_size.width()), width 1660 content/browser/renderer_host/render_widget_host_impl.cc const size_t size = pixel_size.height() * pixel_size.width() * 4; width 1893 content/browser/renderer_host/render_widget_host_impl.cc size.width(), size.height())); width 1897 content/browser/renderer_host/render_widget_host_impl.cc size.width(), size.height()); width 965 content/browser/renderer_host/render_widget_host_unittest.cc EXPECT_EQ(4, view->GetBackground().width()); width 241 content/browser/renderer_host/render_widget_host_view_android.cc DCHECK_LE(src_subrect.width() + src_subrect.x(), bounds.width()); width 387 content/browser/renderer_host/render_widget_host_view_android.cc size.Enlarge(-offset.width(), -offset.height()); width 783 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Size(texture_size_in_layer_.width() - offset.x(), width 893 content/browser/renderer_host/render_widget_host_view_android.cc dst_size_in_pixel.width(), width 898 content/browser/renderer_host/render_widget_host_view_android.cc (float)dst_size_in_pixel.width() / (float)src_subrect_in_pixel.width(), width 964 content/browser/renderer_host/render_widget_host_view_android.cc ceiled_viewport_size.width() < frame_metadata.root_layer_size.width()); width 1309 content/browser/renderer_host/render_widget_host_view_android.cc dst_size_in_pixel.width(), width 831 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect view_port(scroll_offset.x(), scroll_offset.y(), view_bounds.width(), width 1699 content/browser/renderer_host/render_widget_host_view_aura.cc damage_rect.width(), width 1720 content/browser/renderer_host/render_widget_host_view_aura.cc params_in_pixel.width, width 1822 content/browser/renderer_host/render_widget_host_view_aura.cc dst_size_in_pixel.width(), dst_size_in_pixel.height(), width 1885 content/browser/renderer_host/render_widget_host_view_aura.cc dst_size_in_pixel.width(), width 1962 content/browser/renderer_host/render_widget_host_view_aura.cc region_in_frame.width() & ~1, width 1972 content/browser/renderer_host/render_widget_host_view_aura.cc if (result->size().width() != region_in_frame.width() || width 1977 content/browser/renderer_host/render_widget_host_view_aura.cc region_in_frame.width(), width 2022 content/browser/renderer_host/render_widget_host_view_aura.cc if (result_rect.size().width() < region_in_frame.size().width() && width 3330 content/browser/renderer_host/render_widget_host_view_aura.cc int border_x = rect.width() * kMouseLockBorderPercentage / 100; width 361 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc int horiz = bounds_in_screen.width() / 4; width 1009 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc post_params.width = 80; width 175 content/browser/renderer_host/render_widget_host_view_base.cc lparam = MAKELPARAM(rect_in_pixels.width(), rect_in_pixels.height()); width 321 content/browser/renderer_host/render_widget_host_view_base.cc window_rect_in_pixel.width(), width 525 content/browser/renderer_host/render_widget_host_view_browsertest.cc EXPECT_EQ(expected_bitmap.width(), bitmap.width()); width 531 content/browser/renderer_host/render_widget_host_view_browsertest.cc for (int i = 0; i < bitmap.width() && fails < 10; ++i) { width 586 content/browser/renderer_host/render_widget_host_view_browsertest.cc bitmap.allocPixels(SkImageInfo::Make(video_frame->visible_rect().width(), width 631 content/browser/renderer_host/render_widget_host_view_browsertest.cc const gfx::Size box_size(html_rect_size.width() / 2, width 656 content/browser/renderer_host/render_widget_host_view_browsertest.cc box_size.width(), width 658 content/browser/renderer_host/render_widget_host_view_browsertest.cc box_size.width(), width 659 content/browser/renderer_host/render_widget_host_view_browsertest.cc box_size.width(), width 699 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect(output_size.width() / 2 - 1, 0, 2, output_size.height())); width 725 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect(output_size.width() / 2 - 1, 0, 2, output_size.height())); width 746 content/browser/renderer_host/render_widget_host_view_browsertest.cc SkBitmap::kARGB_8888_Config, copy_size.width(), copy_size.height()); width 753 content/browser/renderer_host/render_widget_host_view_browsertest.cc for (int i = 0; i < copy_size.width() / 2; ++i) { width 755 content/browser/renderer_host/render_widget_host_view_browsertest.cc *(bitmap->getAddr32(copy_size.width() / 2 + i, j)) = width 214 content/browser/renderer_host/render_widget_host_view_gtk.cc host_view->SetSize(gfx::Size(allocation->width, allocation->height)); width 339 content/browser/renderer_host/render_widget_host_view_gtk.cc bool click_in_popup = x >= 0 && y >= 0 && x < allocation.width && width 683 content/browser/renderer_host/render_widget_host_view_gtk.cc gtk_window_resize(window, bounds.width(), bounds.height()); width 714 content/browser/renderer_host/render_widget_host_view_gtk.cc int width = std::min(size.width(), kMaxWindowWidth); width 718 content/browser/renderer_host/render_widget_host_view_gtk.cc gtk_widget_set_size_request(view_.get(), width, height); width 722 content/browser/renderer_host/render_widget_host_view_gtk.cc if (requested_size_.width() != width || width 724 content/browser/renderer_host/render_widget_host_view_gtk.cc requested_size_ = gfx::Size(width, height); width 816 content/browser/renderer_host/render_widget_host_view_gtk.cc requested_size_.width(), requested_size_.height()); width 1014 content/browser/renderer_host/render_widget_host_view_gtk.cc requested_size_.SetSize(std::min(bounds.width(), kMaxWindowWidth), width 1025 content/browser/renderer_host/render_widget_host_view_gtk.cc view_.get(), requested_size_.width(), requested_size_.height()); width 1138 content/browser/renderer_host/render_widget_host_view_gtk.cc drag_monitor_size.SetSize(geometry.width, geometry.height); width 1145 content/browser/renderer_host/render_widget_host_view_gtk.cc } else if (allocation.width - 1 == static_cast<gint>(event->x) && width 1146 content/browser/renderer_host/render_widget_host_view_gtk.cc drag_monitor_size.width() - 1 == static_cast<gint>(event->x_root)) { width 1298 content/browser/renderer_host/render_widget_host_view_gtk.cc frame_extents.width, frame_extents.height); width 1318 content/browser/renderer_host/render_widget_host_view_gtk.cc gdk_window_resize(window, size.width(), size.height()); width 152 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.tap.width = event.details().bounding_box().width(); width 157 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.tapDown.width = width 158 content/browser/renderer_host/ui_events_helper.cc event.details().bounding_box().width(); width 164 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.showPress.width = width 165 content/browser/renderer_host/ui_events_helper.cc event.details().bounding_box().width(); width 207 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.longPress.width = width 208 content/browser/renderer_host/ui_events_helper.cc event.details().bounding_box().width(); width 214 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.longPress.width = width 215 content/browser/renderer_host/ui_events_helper.cc event.details().bounding_box().width(); width 204 content/browser/web_contents/aura/gesture_nav_simple.cc completion_threshold_ = window_bounds.width() * width 209 content/browser/web_contents/aura/gesture_nav_simple.cc (window_bounds.width() - kArrowWidth); width 43 content/browser/web_contents/aura/overscroll_navigation_overlay.cc if (size.width() != image_size_.width() || width 139 content/browser/web_contents/aura/window_slider.cc translate = owner_->bounds().width() + width 141 content/browser/web_contents/aura/window_slider.cc static_cast<float>(-owner_->bounds().width())); width 145 content/browser/web_contents/aura/window_slider.cc static_cast<float>(owner_->bounds().width())); width 163 content/browser/web_contents/aura/window_slider.cc int width = owner_->bounds().width(); width 164 content/browser/web_contents/aura/window_slider.cc float ratio = (fabs(delta_x_) - active_start_threshold_) / width; width 184 content/browser/web_contents/aura/window_slider.cc transform.Translate(delta_x_ < 0 ? 0 : width, 0); width 205 content/browser/web_contents/aura/window_slider.cc transform.Translate(translate_layer->bounds().width(), 0); width 118 content/browser/web_contents/web_contents_impl_browsertest.cc size.Enlarge(size_insets_.width(), size_insets_.height()); width 299 content/browser/web_contents/web_contents_impl_browsertest.cc size.Enlarge(size_insets.width(), size_insets.height()); width 308 content/browser/web_contents/web_contents_impl_browsertest.cc exp_wcv_size.Enlarge(size_insets.width(), size_insets.height()); width 325 content/browser/web_contents/web_contents_impl_browsertest.cc init_size.Enlarge(size_insets.width(), size_insets.height()); width 332 content/browser/web_contents/web_contents_impl_browsertest.cc new_size.Enlarge(size_insets.width(), size_insets.height()); width 754 content/browser/web_contents/web_contents_view_aura.cc bounds.Offset(base::i18n::IsRTL() ? -bounds.width() : bounds.width(), 0); width 826 content/browser/web_contents/web_contents_view_aura.cc web_contents_->GetRenderWidgetHostView()->GetViewBounds().width(); width 853 content/browser/web_contents/web_contents_view_aura.cc return gfx::Vector2d(std::max(-bounds.width(), delta_x), 0); width 855 content/browser/web_contents/web_contents_view_aura.cc return gfx::Vector2d(std::min(bounds.width(), delta_x), 0); width 878 content/browser/web_contents/web_contents_view_aura.cc float ratio = fabs(delta_x) / GetViewBounds().width(); width 1136 content/browser/web_contents/web_contents_view_aura.cc gfx::Size(image.width(), image.height()), image_offset, &data); width 1320 content/browser/web_contents/web_contents_view_aura.cc gfx::Point((new_bounds.width() - bounds.width()) / 2, width 328 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.x() + bounds.width() / 2, bounds.y() + 5), width 355 content/browser/web_contents/web_contents_view_aura_browsertest.cc for (int x = bounds.x() + 10; x <= bounds.width() - 10; x+= 10) { width 365 content/browser/web_contents/web_contents_view_aura_browsertest.cc for (int x = bounds.width() - 10; x >= bounds.x() + 10; x-= 10) { width 144 content/browser/web_contents/web_contents_view_gtk.cc requested_size_.width(), requested_size_.height()); width 187 content/browser/web_contents/web_contents_view_gtk.cc rect.SetRect(0, 0, requested_size_.width(), requested_size_.height()); width 404 content/browser/web_contents/web_contents_view_gtk.cc int width = allocation->width; width 409 content/browser/web_contents/web_contents_view_gtk.cc gfx::Size size(width, height); width 410 content/child/browser_font_resource_trusted.cc clip->size.width, clip->size.height); width 24 content/child/child_shared_bitmap_manager.cc size.width(), width 139 content/child/npapi/webplugin.h virtual void AcceleratedPluginAllocatedIOSurface(int32 width, width 340 content/child/npapi/webplugin_delegate_impl.h void EnsurePixmapAtLeastSize(int width, int height); width 191 content/child/npapi/webplugin_delegate_impl_gtk.cc if (window_rect_.width() <= 0 || window_rect_.height() <= 0) { width 202 content/child/npapi/webplugin_delegate_impl_gtk.cc window_.clipRect.right = clip_rect_.x() + clip_rect_.width(); width 204 content/child/npapi/webplugin_delegate_impl_gtk.cc window_.width = window_rect_.width(); width 228 content/child/npapi/webplugin_delegate_impl_gtk.cc void WebPluginDelegateImpl::EnsurePixmapAtLeastSize(int width, int height) { width 232 content/child/npapi/webplugin_delegate_impl_gtk.cc if (cur_width >= width && cur_height >= height) width 243 content/child/npapi/webplugin_delegate_impl_gtk.cc std::max(1, width), std::max(1, height), width 263 content/child/npapi/webplugin_delegate_impl_gtk.cc rect.width(), rect.height()); width 372 content/child/npapi/webplugin_delegate_impl_gtk.cc window_.clipRect.right = draw_rect.width(); width 374 content/child/npapi/webplugin_delegate_impl_gtk.cc window_.width = window_rect_.width(); width 396 content/child/npapi/webplugin_delegate_impl_gtk.cc event.width = pixmap_draw_rect.width(); width 414 content/child/npapi/webplugin_delegate_impl_gtk.cc std::max(1, pixmap_rect.width()), width 421 content/child/npapi/webplugin_delegate_impl_gtk.cc pixmap_draw_rect.width(), pixmap_draw_rect.height(), width 439 content/child/npapi/webplugin_delegate_impl_gtk.cc pixmap_draw_rect.width(), pixmap_draw_rect.height(), width 449 content/child/npapi/webplugin_delegate_impl_gtk.cc EnsurePixmapAtLeastSize(pixmap_rect.width(), pixmap_rect.height()); width 468 content/child/npapi/webplugin_delegate_impl_gtk.cc draw_rect.width(), draw_rect.height()); width 500 content/child/npapi/webplugin_delegate_impl_gtk.cc clip_rect_.x() + clip_rect_.width() + window_rect_.x(); width 502 content/child/npapi/webplugin_delegate_impl_gtk.cc window_.width = window_rect_.width(); width 812 content/child/npapi/webplugin_delegate_impl_win.cc window_rect.width(), width 842 content/child/npapi/webplugin_delegate_impl_win.cc window_.clipRect.right = std::max(0, clip_rect_.x() + clip_rect_.width()); width 844 content/child/npapi/webplugin_delegate_impl_win.cc window_.width = window_rect_.width(); width 1062 content/child/npapi/webplugin_delegate_impl_win.cc win_pos.cx = window_rect_.width(); width 1081 content/child/npapi/webplugin_delegate_impl_win.cc damage_rect_win.right = damage_rect_win.left + damage_rect.width(); width 1111 content/child/npapi/webplugin_delegate_impl_win.cc window_.clipRect.right = clip_rect_.x() + clip_rect_.width(); width 1113 content/child/npapi/webplugin_delegate_impl_win.cc window_.width = window_rect_.width(); width 85 content/child/touch_fling_gesture_curve.cc : cumulative_scroll_(WebFloatSize(cumulative_scroll.width, width 145 content/child/touch_fling_gesture_curve.cc WebFloatSize scroll_increment(scroll.width - cumulative_scroll_.width, width 29 content/child/touch_fling_gesture_curve_unittest.cc cumulative_delta_.width += delta.width; width 60 content/child/touch_fling_gesture_curve_unittest.cc EXPECT_NEAR(target.current_velocity().width, 1878, 1); width 65 content/child/touch_fling_gesture_curve_unittest.cc EXPECT_NEAR(target.cumulative_delta().width, 1193, 1); width 67 content/child/touch_fling_gesture_curve_unittest.cc EXPECT_EQ(target.current_velocity().width, 0); width 40 content/child/webthemeengine_impl_mac.cc trackInfo.bounds = CGRectMake(rect.x, rect.y, rect.width, rect.height); width 156 content/common/cc_messages.h IPC_STRUCT_TRAITS_MEMBER(width) width 134 content/common/cc_messages_unittest.cc EXPECT_EQ(a->width, b->width); width 307 content/common/child_process_host_impl.cc uint32 width, width 313 content/common/child_process_host_impl.cc width * height * GpuMemoryBufferImpl::BytesPerPixel(internalformat), width 80 content/common/child_process_host_impl.h void OnAllocateGpuMemoryBuffer(uint32 width, width 99 content/common/common_param_traits_unittest.cc EXPECT_EQ(bitmap.width(), output.width()); width 139 content/common/cursors/webcursor.cc !pickle->WriteInt(custom_size_.width()) || width 238 content/common/cursors/webcursor.cc custom_size_.set_width(bitmap.width()); width 247 content/common/cursors/webcursor.cc custom_size_.width(), width 260 content/common/cursors/webcursor.cc std::min(custom_size_.width() - 1, hotspot_.x()))); width 29 content/common/cursors/webcursor_aurax11.cc custom_size_.width(), custom_size_.height()); width 169 content/common/cursors/webcursor_gtk.cc if (custom_size_.width() == 0 || custom_size_.height() == 0) { width 177 content/common/cursors/webcursor_gtk.cc custom_size_.width(), custom_size_.height()); width 307 content/common/gpu/client/command_buffer_proxy_impl.cc size_t width, width 320 content/common/gpu/client/command_buffer_proxy_impl.cc channel_->factory()->AllocateGpuMemoryBuffer(width, width 340 content/common/gpu/client/command_buffer_proxy_impl.cc width, width 106 content/common/gpu/client/command_buffer_proxy_impl.h size_t width, width 56 content/common/gpu/client/gl_helper.cc size.width(), width 399 content/common/gpu/client/gl_helper.cc dst_size.width(), width 457 content/common/gpu/client/gl_helper.cc dst_size.width(), width 517 content/common/gpu/client/gl_helper.cc dst_size.width() * bytes_per_pixel, width 518 content/common/gpu/client/gl_helper.cc dst_size.width() * bytes_per_pixel, width 547 content/common/gpu/client/gl_helper.cc src_rect.width(), width 574 content/common/gpu/client/gl_helper.cc dst_size.width() * bytes_per_pixel, width 575 content/common/gpu/client/gl_helper.cc dst_size.width() * bytes_per_pixel, width 628 content/common/gpu/client/gl_helper.cc if (request->bytes_per_row == request->size.width() * bytes_per_pixel && width 637 content/common/gpu/client/gl_helper.cc data += request->size.width() * bytes_per_pixel; width 818 content/common/gpu/client/gl_helper.cc rect.width(), width 872 content/common/gpu/client/gl_helper.cc size.width(), width 888 content/common/gpu/client/gl_helper.cc rect.width(), width 895 content/common/gpu/client/gl_helper.cc GL_TEXTURE_2D, 0, GL_RGB, 0, 0, size.width(), size.height(), 0); width 914 content/common/gpu/client/gl_helper.cc dst_subrect.width() >> size_shift, width 959 content/common/gpu/client/gl_helper.cc (dst_subrect.width() + 3) & ~3, width 961 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 3) / 4, dst_subrect.height()), width 970 content/common/gpu/client/gl_helper.cc (dst_subrect.width() + 7) & ~7, width 972 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 7) / 8, width 982 content/common/gpu/client/gl_helper.cc (dst_subrect.width() + 7) & ~7, width 984 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 7) / 8, width 989 content/common/gpu/client/gl_helper.cc DCHECK(!(dst_size.width() & 1)); width 991 content/common/gpu/client/gl_helper.cc DCHECK(!(dst_subrect.width() & 1)); width 1084 content/common/gpu/client/gl_helper.cc gfx::Rect(0, 0, (dst_subrect.width() + 3) & ~3, dst_subrect.height()), width 1085 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 3) / 4, dst_subrect.height()), width 1090 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 3) / 4, dst_subrect.height()), width 1093 content/common/gpu/client/gl_helper.cc (dst_subrect.width() + 7) / 8 * 2, width 1095 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 7) / 8, width 1100 content/common/gpu/client/gl_helper.cc y_(gl, gfx::Size((dst_subrect.width() + 3) / 4, dst_subrect.height())), width 1103 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 7) / 8, width 1106 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 7) / 8, width 1113 content/common/gpu/client/gl_helper.cc (dst_subrect.width() + 3) / 4, width 1120 content/common/gpu/client/gl_helper.cc DCHECK(!(dst_size.width() & 1)); width 1122 content/common/gpu/client/gl_helper.cc DCHECK(!(dst_subrect.width() & 1)); width 101 content/common/gpu/client/gl_helper_benchmark.cc gfx::Size(bitmap->width(), bitmap->height()), width 149 content/common/gpu/client/gl_helper_benchmark.cc src_size.width(), width 156 content/common/gpu/client/gl_helper_benchmark.cc dst_size.width(), width 166 content/common/gpu/client/gl_helper_benchmark.cc dst_size.width(), width 176 content/common/gpu/client/gl_helper_benchmark.cc src_size.width(), width 184 content/common/gpu/client/gl_helper_benchmark.cc src_size.width(), src_size.height()); width 220 content/common/gpu/client/gl_helper_benchmark.cc src_size.width(), width 222 content/common/gpu/client/gl_helper_benchmark.cc dst_size.width(), width 260 content/common/gpu/client/gl_helper_benchmark.cc const gfx::Size src_size(input.width(), input.height()); width 266 content/common/gpu/client/gl_helper_benchmark.cc src_size.width(), width 275 content/common/gpu/client/gl_helper_benchmark.cc const gfx::Size dst_size(input.width() * percents[p] / 100, width 286 content/common/gpu/client/gl_helper_benchmark.cc dst_size.width(), width 294 content/common/gpu/client/gl_helper_benchmark.cc dst_size.width(), width 149 content/common/gpu/client/gl_helper_scaling.cc spec_.src_size.width(), width 201 content/common/gpu/client/gl_helper_scaling.cc gl_->Viewport(0, 0, spec_.dst_size.width(), spec_.dst_size.height()); width 416 content/common/gpu/client/gl_helper_scaling.cc GLHelperScaling::ScaleOp::AddOps(src_subrect.width(), width 417 content/common/gpu/client/gl_helper_scaling.cc dst_size.width(), width 909 content/common/gpu/client/gl_helper_scaling.cc static_cast<float>(src_subrect.x()) / src_size.width(), width 911 content/common/gpu/client/gl_helper_scaling.cc static_cast<float>(src_subrect.width()) / src_size.width(), width 919 content/common/gpu/client/gl_helper_scaling.cc gl_->Uniform2f(src_pixelsize_location_, src_size.width(), src_size.height()); width 921 content/common/gpu/client/gl_helper_scaling.cc static_cast<float>(dst_size.width()), width 150 content/common/gpu/client/gl_helper_unittest.cc pixels->getAddr32(std::max(0, std::min(x, pixels->width() - 1)), width 159 content/common/gpu/client/gl_helper_unittest.cc DCHECK_LT(x, pixels->width()); width 171 content/common/gpu/client/gl_helper_unittest.cc for (int x = 0; x < pixels->width(); x++) { width 184 content/common/gpu/client/gl_helper_unittest.cc scaler_stages[i].src_size.width(), width 186 content/common/gpu/client/gl_helper_unittest.cc scaler_stages[i].dst_size.width(), width 271 content/common/gpu/client/gl_helper_unittest.cc EXPECT_EQ(scaler_stages[i - 1].dst_size.width(), width 272 content/common/gpu/client/gl_helper_unittest.cc scaler_stages[i].src_size.width()); width 277 content/common/gpu/client/gl_helper_unittest.cc EXPECT_EQ(scaler_stages[i].src_subrect.width(), width 278 content/common/gpu/client/gl_helper_unittest.cc scaler_stages[i].src_size.width()); width 291 content/common/gpu/client/gl_helper_unittest.cc static_cast<double>(scaler_stages[i].src_subrect.width()) / width 292 content/common/gpu/client/gl_helper_unittest.cc static_cast<double>(scaler_stages[i].dst_size.width()); width 387 content/common/gpu/client/gl_helper_unittest.cc EXPECT_EQ(truth->width(), other->width()); width 389 content/common/gpu/client/gl_helper_unittest.cc for (int x = 0; x < truth->width(); x++) { width 437 content/common/gpu/client/gl_helper_unittest.cc float xscale = static_cast<float>(input->width()) / output->width(); width 442 content/common/gpu/client/gl_helper_unittest.cc for (int dst_x = 0; dst_x < output->width(); dst_x++) { width 457 content/common/gpu/client/gl_helper_unittest.cc for (int src_x = -10; src_x < input->width() + 10; ++src_x) { width 473 content/common/gpu/client/gl_helper_unittest.cc while ((output->width() << xshift) < input->width()) { width 481 content/common/gpu/client/gl_helper_unittest.cc if (xmag == 4 && output->width() * 3 >= input->width()) { width 518 content/common/gpu/client/gl_helper_unittest.cc for (int x = 0; x < bitmap->width(); x++) { width 538 content/common/gpu/client/gl_helper_unittest.cc float xscale = static_cast<float>(output->width()) / input->width(); width 553 content/common/gpu/client/gl_helper_unittest.cc int xtmp = input->width(); width 562 content/common/gpu/client/gl_helper_unittest.cc xtmp = output->width(); width 563 content/common/gpu/client/gl_helper_unittest.cc while (xtmp < input->width() && xtmp * 2 != input->width()) { width 933 content/common/gpu/client/gl_helper_unittest.cc if (bmp1.width() != bmp2.width() || width 948 content/common/gpu/client/gl_helper_unittest.cc for (int x = 0; x < bmp1.width(); ++x) { width 972 content/common/gpu/client/gl_helper_unittest.cc src_size.width(), width 1012 content/common/gpu/client/gl_helper_unittest.cc input_pixels.setConfig(bitmap_config, src_size.width(), width 1024 content/common/gpu/client/gl_helper_unittest.cc output_pixels.setConfig(bitmap_config, src_size.width(), width 1041 content/common/gpu/client/gl_helper_unittest.cc DrawGridToBitmap(src_size.width(), src_size.height(), width 1056 content/common/gpu/client/gl_helper_unittest.cc DrawCheckerToBitmap(src_size.width(), width 79 content/common/gpu/client/gpu_channel_host.h size_t width, width 45 content/common/gpu/client/gpu_memory_buffer_impl.cc return size_.width() * BytesPerPixel(internalformat_); width 60 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc size_.width(), width 80 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc DCHECK_LE(size_.width(), buffer.stride); width 520 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc int x, int y, int width, int height) { width 545 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc WGC3Dsizei width, width 551 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc target, level, xoffset, yoffset, width, height, format, type, access); width 177 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h int width, int height, float scale_factor); width 180 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h virtual void postSubBufferCHROMIUM(int x, int y, int width, int height); width 219 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, width 228 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, width 238 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, width 247 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, width 371 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, width 380 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, width 384 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, WGC3Dsizei height); width 404 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, width 422 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, width 492 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, WGC3Dsizei height); width 532 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, width 556 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, WGC3Dsizei height); width 569 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Denum target, WGC3Dint width, WGC3Dint height, width 574 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dint width, WGC3Dint height); width 624 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, width 635 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, width 656 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, WGC3Dsizei height, WGC3Denum internalformat); width 672 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei width, WGC3Dsizei height); width 877 content/common/gpu/gpu_command_buffer_stub.cc uint32 width, width 893 content/common/gpu/gpu_command_buffer_stub.cc width, width 197 content/common/gpu/gpu_command_buffer_stub.h uint32 width, width 85 content/common/gpu/gpu_messages.h IPC_STRUCT_MEMBER(int, width) width 102 content/common/gpu/image_transport_surface.cc "width", params.size.width()); width 287 content/common/gpu/image_transport_surface.cc int x, int y, int width, int height) { width 289 content/common/gpu/image_transport_surface.cc bool result = gfx::GLSurfaceAdapter::PostSubBuffer(x, y, width, height); width 307 content/common/gpu/image_transport_surface.cc params.width = width; width 354 content/common/gpu/image_transport_surface.cc "width", size.width(), "height", size.height()); width 191 content/common/gpu/image_transport_surface.h virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE; width 52 content/common/gpu/image_transport_surface_mac.cc virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE; width 262 content/common/gpu/image_transport_surface_mac.cc int x, int y, int width, int height) { width 272 content/common/gpu/image_transport_surface_mac.cc params.width = width; width 313 content/common/gpu/image_transport_surface_mac.cc "old_width", size_.width(), "new_width", size.width()); width 367 content/common/gpu/image_transport_surface_mac.cc gfx::Size new_rounded_size(RoundUpSurfaceDimension(size_.width()), width 377 content/common/gpu/image_transport_surface_mac.cc "width", new_rounded_size.width(), width 428 content/common/gpu/image_transport_surface_mac.cc rounded_size_.width(), rounded_size_.height()); width 450 content/common/gpu/image_transport_surface_mac.cc rounded_size_.width()); width 471 content/common/gpu/image_transport_surface_mac.cc rounded_size_.width(), width 238 content/common/gpu/media/android_video_decode_accelerator.cc int32 width, height; width 239 content/common/gpu/media/android_video_decode_accelerator.cc media_codec_->GetOutputFormat(&width, &height); width 243 content/common/gpu/media/android_video_decode_accelerator.cc size_ = gfx::Size(width, height); width 254 content/common/gpu/media/android_video_decode_accelerator.cc RETURN_ON_FAILURE(size_ == gfx::Size(width, height), width 362 content/common/gpu/media/android_video_decode_accelerator.cc picture_buffer_texture_id, 0, size_.width(), width 318 content/common/gpu/media/android_video_encode_accelerator.cc frame->coded_size().width(), width 219 content/common/gpu/media/dxva_video_decode_accelerator.cc EGL_WIDTH, buffer.size().width(), width 246 content/common/gpu/media/dxva_video_decode_accelerator.cc buffer.size().width(), width 930 content/common/gpu/media/dxva_video_decode_accelerator.cc static_cast<uint32>(index->second->size().width()) || width 1003 content/common/gpu/media/dxva_video_decode_accelerator.cc void DXVAVideoDecodeAccelerator::RequestPictureBuffers(int width, int height) { width 1008 content/common/gpu/media/dxva_video_decode_accelerator.cc gfx::Size(width, height), width 1152 content/common/gpu/media/dxva_video_decode_accelerator.cc void DXVAVideoDecodeAccelerator::HandleResolutionChanged(int width, width 1164 content/common/gpu/media/dxva_video_decode_accelerator.cc width, width 124 content/common/gpu/media/dxva_video_decode_accelerator.h void RequestPictureBuffers(int width, int height); width 143 content/common/gpu/media/dxva_video_decode_accelerator.h void HandleResolutionChanged(int width, int height); width 150 content/common/gpu/media/exynos_v4l2_video_device.cc attrs[1] = frame_buffer_size.width(); width 155 content/common/gpu/media/exynos_v4l2_video_device.cc attrs[11] = frame_buffer_size.width(); width 158 content/common/gpu/media/exynos_v4l2_video_device.cc attrs[17] = frame_buffer_size.width(); width 145 content/common/gpu/media/exynos_video_encode_accelerator.cc input_allocated_size_.SetSize((input_visible_size_.width() + 0xF) & ~0xF, width 147 content/common/gpu/media/exynos_video_encode_accelerator.cc converted_visible_size_.SetSize((input_visible_size_.width() + 0x1) & ~0x1, width 150 content/common/gpu/media/exynos_video_encode_accelerator.cc (converted_visible_size_.width() + 0xF) & ~0xF, width 1189 content/common/gpu/media/exynos_video_encode_accelerator.cc format.fmt.pix_mp.width = input_allocated_size_.width(); width 1197 content/common/gpu/media/exynos_video_encode_accelerator.cc input_allocated_size_.width() * 4; width 1204 content/common/gpu/media/exynos_video_encode_accelerator.cc input_allocated_size_.width(); width 1208 content/common/gpu/media/exynos_video_encode_accelerator.cc input_allocated_size_.width() / 2; width 1212 content/common/gpu/media/exynos_video_encode_accelerator.cc input_allocated_size_.width() / 2; width 1227 content/common/gpu/media/exynos_video_encode_accelerator.cc crop.c.width = input_visible_size_.width(); width 1255 content/common/gpu/media/exynos_video_encode_accelerator.cc format.fmt.pix_mp.width = converted_allocated_size_.width(); width 1263 content/common/gpu/media/exynos_video_encode_accelerator.cc converted_allocated_size_.width(); width 1265 content/common/gpu/media/exynos_video_encode_accelerator.cc converted_allocated_size_.width(); width 1274 content/common/gpu/media/exynos_video_encode_accelerator.cc crop.c.width = converted_visible_size_.width(); width 1302 content/common/gpu/media/exynos_video_encode_accelerator.cc format.fmt.pix_mp.width = input_allocated_size_.width(); width 1312 content/common/gpu/media/exynos_video_encode_accelerator.cc static_cast<__u32>(input_allocated_size_.width())); width 1316 content/common/gpu/media/exynos_video_encode_accelerator.cc static_cast<__u32>(input_allocated_size_.width())); width 1323 content/common/gpu/media/exynos_video_encode_accelerator.cc crop.c.width = input_visible_size_.width(); width 1331 content/common/gpu/media/exynos_video_encode_accelerator.cc format.fmt.pix_mp.width = output_visible_size_.width(); width 166 content/common/gpu/media/gpu_video_decode_accelerator.cc if (dimensions.width() > media::limits::kMaxDimension || width 358 content/common/gpu/media/gpu_video_decode_accelerator.cc texture_dimensions_.width(), width 367 content/common/gpu/media/gpu_video_decode_accelerator.cc GLsizei width = 0, height = 0; width 368 content/common/gpu/media/gpu_video_decode_accelerator.cc info->GetLevelSize(texture_target_, 0, &width, &height); width 369 content/common/gpu/media/gpu_video_decode_accelerator.cc if (width != texture_dimensions_.width() || width 73 content/common/gpu/media/gpu_video_encode_accelerator.cc if (input_visible_size.width() > media::limits::kMaxDimension || width 185 content/common/gpu/media/rendering_helper.cc int width = window_dimensions_[j].width(); width 187 content/common/gpu/media/rendering_helper.cc CHECK_GT(width, 0); width 189 content/common/gpu/media/rendering_helper.cc int top_left_x = (width + 20) * (i % 4); width 196 content/common/gpu/media/rendering_helper.cc top_left_y, width, height, NULL, NULL, NULL, width 214 content/common/gpu/media/rendering_helper.cc top_left_x, top_left_y, width, height, width 241 content/common/gpu/media/rendering_helper.cc CHECK_GE(max_texture_size, params.thumbnails_page_size.width()); width 253 content/common/gpu/media/rendering_helper.cc thumbnails_fbo_size_.width(), width 397 content/common/gpu/media/rendering_helper.cc frame_dimensions_[dimensions_id].width(), width 421 content/common/gpu/media/rendering_helper.cc int width = window_dimensions_[dimensions_id].width(); width 427 content/common/gpu/media/rendering_helper.cc thumbnails_fbo_size_.width() / thumbnail_size_.width(); width 432 content/common/gpu/media/rendering_helper.cc const int x = col * thumbnail_size_.width(); width 435 content/common/gpu/media/rendering_helper.cc glViewport(x, y, thumbnail_size_.width(), thumbnail_size_.height()); width 436 content/common/gpu/media/rendering_helper.cc glScissor(x, y, thumbnail_size_.width(), thumbnail_size_.height()); width 439 content/common/gpu/media/rendering_helper.cc glViewport(0, 0, width, height); width 440 content/common/gpu/media/rendering_helper.cc glScissor(0, 0, width, height); width 466 content/common/gpu/media/rendering_helper.cc glViewport(0, 0, width, height); width 467 content/common/gpu/media/rendering_helper.cc glScissor(0, 0, width, height); width 543 content/common/gpu/media/rendering_helper.cc thumbnails_fbo_size_.width(), width 1628 content/common/gpu/media/v4l2_video_decode_accelerator.cc format.fmt.pix_mp.width, format.fmt.pix_mp.height); width 1731 content/common/gpu/media/v4l2_video_decode_accelerator.cc << ", width=" << frame_buffer_size_.width() width 1917 content/common/gpu/media/v4l2_video_decode_accelerator.cc gfx::Size new_size(base::checked_cast<int>(format.fmt.pix_mp.width), width 195 content/common/gpu/media/vaapi_h264_decoder_unittest.cc int width = image->width; width 198 content/common/gpu/media/vaapi_h264_decoder_unittest.cc DVLOG(1) << "CopyNV12ToI420 width=" << width << ", height=" << height; width 200 content/common/gpu/media/vaapi_h264_decoder_unittest.cc const gfx::Size coded_size(width, height); width 201 content/common/gpu/media/vaapi_h264_decoder_unittest.cc const gfx::Rect visible_rect(width, height); width 202 content/common/gpu/media/vaapi_h264_decoder_unittest.cc const gfx::Size natural_size(width, height); width 234 content/common/gpu/media/vaapi_h264_decoder_unittest.cc width, width 170 content/common/gpu/media/vaapi_video_decode_accelerator.cc size_.width(), size_.height(), win_attr.depth); width 242 content/common/gpu/media/vaapi_wrapper.cc size.width(), size.height(), width 255 content/common/gpu/media/vaapi_wrapper.cc size.width(), size.height(), VA_PROGRESSIVE, width 378 content/common/gpu/media/vaapi_wrapper.cc 0, 0, dest_size.width(), dest_size.height(), width 379 content/common/gpu/media/vaapi_wrapper.cc 0, 0, dest_size.width(), dest_size.height(), width 126 content/common/gpu/media/video_decode_accelerator_unittest.cc width(-1), width 137 content/common/gpu/media/video_decode_accelerator_unittest.cc int width; width 1053 content/common/gpu/media/video_decode_accelerator_unittest.cc CHECK(base::StringToInt(fields[1], &video_file->width)); width 1217 content/common/gpu/media/video_decode_accelerator_unittest.cc gfx::Size frame_size(test_video_files_[0]->width, width 1225 content/common/gpu/media/video_decode_accelerator_unittest.cc gfx::Size frame_size(test_video_files_[index]->width, width 1256 content/common/gpu/media/video_decode_accelerator_unittest.cc video_file->width, width 1361 content/common/gpu/media/video_decode_accelerator_unittest.cc kThumbnailsPageSize.width() * 3, width 1485 content/common/gpu/media/video_decode_accelerator_unittest.cc gfx::Size frame_size(test_video_files_[0]->width, width 1502 content/common/gpu/media/video_decode_accelerator_unittest.cc test_video_files_[0]->width, width 78 content/common/gpu/media/video_encode_accelerator_unittest.cc int width, height; width 79 content/common/gpu/media/video_encode_accelerator_unittest.cc CHECK(base::StringToInt(fields[1], &width)); width 81 content/common/gpu/media/video_encode_accelerator_unittest.cc test_stream->size = gfx::Size(width, height); width 547 content/common/gpu/media/video_encode_accelerator_unittest.cc input_coded_size_.width(), width 548 content/common/gpu/media/video_encode_accelerator_unittest.cc input_coded_size_.width() / 2, width 549 content/common/gpu/media/video_encode_accelerator_unittest.cc input_coded_size_.width() / 2, width 50 content/common/gpu/stream_texture_android.cc size.width(), width 168 content/common/gpu/texture_image_transport_surface.cc DCHECK_GE(size.width(), 1); width 240 content/common/gpu/texture_image_transport_surface.cc int x, int y, int width, int height) { width 245 content/common/gpu/texture_image_transport_surface.cc const gfx::Rect new_damage_rect(x, y, width, height); width 263 content/common/gpu/texture_image_transport_surface.cc params.width = width; width 403 content/common/gpu/texture_image_transport_surface.cc current_size_.width(), current_size_.height(), 0, width 430 content/common/gpu/texture_image_transport_surface.cc current_size_.width(), width 42 content/common/gpu/texture_image_transport_surface.h virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE; width 66 content/common/gpu/texture_image_transport_surface.h GLsizei width = 0; width 68 content/common/gpu/texture_image_transport_surface.h backbuffer_->texture()->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height); width 69 content/common/gpu/texture_image_transport_surface.h return gfx::Size(width, height); width 93 content/common/input/synthetic_web_input_event_builders.cc result.data.tap.width = 10; width 65 content/common/media/media_param_traits.cc m->WriteInt(p.frame_size.width()); width 126 content/common/view_messages.h IPC_STRUCT_TRAITS_MEMBER(width) width 64 content/plugin/webplugin_accelerated_surface_proxy_mac.cc size.width(), size.height(), io_surface_id); width 156 content/plugin/webplugin_proxy.cc delegate_->GetRect().width(), width 466 content/plugin/webplugin_proxy.cc skia::CreatePlatformCanvas(window_rect.width(), width 509 content/plugin/webplugin_proxy.cc window_rect.width(), width 512 content/plugin/webplugin_proxy.cc 4 * window_rect.width(), width 548 content/plugin/webplugin_proxy.cc dib->GetPlatformCanvas(window_rect.width(), window_rect.height())); width 571 content/plugin/webplugin_proxy.cc window_rect.width(), window_rect.height(), width 662 content/plugin/webplugin_proxy.cc void WebPluginProxy::AcceleratedPluginAllocatedIOSurface(int32 width, width 666 content/plugin/webplugin_proxy.cc route_id_, width, height, surface_id)); width 108 content/plugin/webplugin_proxy.h virtual void AcceleratedPluginAllocatedIOSurface(int32 width, width 103 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java int width = getDefaultSize(mVideoWidth, widthMeasureSpec); width 106 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java if (mVideoWidth * height > width * mVideoHeight) { width 107 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java height = width * mVideoHeight / mVideoWidth; width 108 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java } else if (mVideoWidth * height < width * mVideoHeight) { width 109 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java width = height * mVideoWidth / mVideoHeight; width 112 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java setMeasuredDimension(width, height); width 243 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java private void onVideoSizeChanged(int width, int height) { width 244 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java mVideoWidth = width; width 274 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { width 443 content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java public void setAnchorViewPosition(View view, float x, float y, float width, float height) { width 195 content/public/android/java/src/org/chromium/content/browser/ContentVideoViewLegacy.java public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { width 196 content/public/android/java/src/org/chromium/content/browser/ContentVideoViewLegacy.java super.surfaceChanged(holder, format, width, height); width 539 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View view, float x, float y, float width, float height) { width 547 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java int scaledWidth = Math.round(width * scale); width 1638 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java if (rect.width() == mFocusPreOSKViewportRect.width()) { width 3106 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java public void extractSmartClipData(int x, int y, int width, int height) { width 3108 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java nativeExtractSmartClipData(mNativeContentViewCore, x, y, width, height); width 70 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { width 73 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java format, width, height, holder.getSurface()); width 76 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java width, height); width 340 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java int format, int width, int height, Surface surface); width 37 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java private MediaMetadata(int durationInMilliseconds, int width, int height, boolean success) { width 39 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java mWidth = width; width 61 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java int width = 0; width 80 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java return new MediaMetadata(durationInMilliseconds, width, height, success); width 89 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java return new MediaMetadata(durationInMilliseconds, width, height, success); width 106 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java return new MediaMetadata(durationInMilliseconds, width, height, success); width 125 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java return new MediaMetadata(durationInMilliseconds, width, height, success); width 128 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java width = Integer.parseInt(videoWidth); width 136 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java return new MediaMetadata(durationInMilliseconds, width, height, success); width 324 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java mScale = (float) mZoomedBitmap.getWidth() / mTargetBounds.width(); width 331 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java int width = getWidth(); width 336 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java width - ZOOM_BOUNDS_MARGIN, width 353 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java } else if (mClipRect.right > width - ZOOM_BOUNDS_MARGIN) { width 354 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java mShiftX = (width - ZOOM_BOUNDS_MARGIN - mClipRect.right); width 393 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java (mTouch.x - mTargetBounds.centerX()) / (mTargetBounds.width() / 2.f) + .5f; width 508 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java int width, int height, boolean isRootNode) { width 511 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java parentRelativeLeft + width, parentRelativeTop + height); width 519 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java Rect rect = new Rect(absoluteLeft, absoluteTop, absoluteLeft + width, absoluteTop + height); width 288 content/public/android/java/src/org/chromium/content/browser/input/InsertionHandleController.java int width = contentView.getMeasuredWidth(); width 293 content/public/android/java/src/org/chromium/content/browser/input/InsertionHandleController.java mPositionX = (int) (mHandle.getAdjustedPositionX() - width / 2.0f); width 306 content/public/android/java/src/org/chromium/content/browser/input/InsertionHandleController.java width = contentView.getMeasuredWidth(); width 318 content/public/android/java/src/org/chromium/content/browser/input/InsertionHandleController.java if (mHandle.getAdjustedPositionX() + width < screenWidth) { width 319 content/public/android/java/src/org/chromium/content/browser/input/InsertionHandleController.java coords[0] += handleHalfWidth + width / 2; width 321 content/public/android/java/src/org/chromium/content/browser/input/InsertionHandleController.java coords[0] -= handleHalfWidth + width / 2; width 326 content/public/android/java/src/org/chromium/content/browser/input/InsertionHandleController.java coords[0] = Math.min(screenWidth - width, coords[0]); width 48 content/public/browser/web_contents_view.h return gfx::Size(rc.width(), rc.height()); width 33 content/public/common/common_param_traits.cc fWidth = bitmap.width(); width 222 content/public/common/common_param_traits.cc DCHECK_GE(p.width(), 0); width 224 content/public/common/common_param_traits.cc int values[2] = { p.width(), p.height() }; width 243 content/public/common/common_param_traits.cc l->append(base::StringPrintf("(%d, %d)", p.width(), p.height())); width 247 content/public/common/common_param_traits.cc float values[2] = { p.width(), p.height() }; width 264 content/public/common/common_param_traits.cc l->append(base::StringPrintf("(%f, %f)", p.width(), p.height())); width 310 content/public/common/common_param_traits.cc int values[4] = { p.x(), p.y(), p.width(), p.height() }; width 329 content/public/common/common_param_traits.cc p.width(), p.height())); width 333 content/public/common/common_param_traits.cc float values[4] = { p.x(), p.y(), p.width(), p.height() }; width 350 content/public/common/common_param_traits.cc p.width(), p.height())); width 52 content/public/common/common_param_traits_macros.h IPC_STRUCT_TRAITS_MEMBER(width) width 216 content/public/common/common_param_traits_macros.h IPC_STRUCT_TRAITS_MEMBER(width) width 91 content/public/renderer/render_view.h virtual bool ShouldDisplayScrollbars(int width, int height) const = 0; width 224 content/public/test/browser_test_utils.cc int x = web_contents->GetView()->GetContainerSize().width() / 2; width 431 content/renderer/accessibility/blink_ax_tree_source.cc dst->AddIntAttribute(ui::AX_ATTR_SCROLL_X, scroll_offset.width()); width 435 content/renderer/accessibility/blink_ax_tree_source.cc dst->AddIntAttribute(ui::AX_ATTR_SCROLL_X_MIN, min_offset.width()); width 439 content/renderer/accessibility/blink_ax_tree_source.cc dst->AddIntAttribute(ui::AX_ATTR_SCROLL_X_MAX, max_offset.width()); width 292 content/renderer/accessibility/renderer_accessibility_complete.cc subfocus.width(), subfocus.height())); width 231 content/renderer/browser_plugin/browser_plugin.cc return max_width ? max_width : width(); width 247 content/renderer/browser_plugin/browser_plugin.cc min_width = min_width ? min_width : width(); width 569 content/renderer/browser_plugin/browser_plugin.cc if ((!auto_size && (width() != params.view_size.width() || width 623 content/renderer/browser_plugin/browser_plugin.cc int backing_store_width = auto_size ? GetAdjustedMaxWidth() : width(); width 672 content/renderer/browser_plugin/browser_plugin.cc return size.width() <= GetAdjustedMaxWidth() && width 1009 content/renderer/browser_plugin/browser_plugin.cc SkIntToScalar(plugin_rect_.width()), width 1055 content/renderer/browser_plugin/browser_plugin.cc int old_width = width(); width 1068 content/renderer/browser_plugin/browser_plugin.cc (old_width == window_rect.width && old_height == window_rect.height) || width 1107 content/renderer/browser_plugin/browser_plugin.cc const size_t stride = skia::PlatformCanvasStrideForWidth(view_rect.width()); width 1135 content/renderer/browser_plugin/browser_plugin.cc auto_size_params->max_size : gfx::Size(width(), height()); width 221 content/renderer/browser_plugin/browser_plugin.h int width() const { return plugin_rect_.width(); } width 26 content/renderer/browser_plugin/browser_plugin_backing_store.cc pixel_size.width(), pixel_size.height()); width 44 content/renderer/browser_plugin/browser_plugin_backing_store.cc const int width = pixel_bitmap_rect.width(); width 47 content/renderer/browser_plugin/browser_plugin_backing_store.cc if (width <= 0 || width > kMaxSize || width 58 content/renderer/browser_plugin/browser_plugin_backing_store.cc sk_bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); width 66 content/renderer/browser_plugin/browser_plugin_backing_store.cc pixel_copy_rect.width(), width 72 content/renderer/browser_plugin/browser_plugin_backing_store.cc SkIntToScalar(pixel_copy_rect.width()), width 89 content/renderer/browser_plugin/browser_plugin_backing_store.cc int w = pixel_rect.width() + abs(pixel_delta.x()); width 205 content/renderer/browser_plugin/browser_plugin_browsertest.cc EXPECT_EQ(640, params.resize_guest_params.view_rect.width()); width 360 content/renderer/browser_plugin/browser_plugin_browsertest.cc EXPECT_EQ(641, params.view_rect.width()); width 591 content/renderer/browser_plugin/browser_plugin_browsertest.cc EXPECT_EQ(42, params.auto_size_params.min_size.width()); width 593 content/renderer/browser_plugin/browser_plugin_browsertest.cc EXPECT_EQ(1337, params.auto_size_params.max_size.width()); width 640 content/renderer/browser_plugin/browser_plugin_browsertest.cc EXPECT_EQ(0, auto_size_params.min_size.width()); width 642 content/renderer/browser_plugin/browser_plugin_browsertest.cc EXPECT_EQ(0, auto_size_params.max_size.width()); width 555 content/renderer/child_frame_compositing_helper.cc dest_size.width(), width 232 content/renderer/devtools/devtools_agent.cc params.viewSize = blink::WebSize(view_rect.width, view_rect.height); width 38 content/renderer/disambiguation_popup_helper.cc float smallest_target = min(target_rects[0].width * total_scale, width 41 content/renderer/disambiguation_popup_helper.cc smallest_target = min(smallest_target, target_rects[i].width * total_scale); width 77 content/renderer/disambiguation_popup_helper.cc TrimEdges(&left, &right, max_size.width()); width 147 content/renderer/gpu/compositor_software_output_device.cc SkImageInfo info = SkImageInfo::MakeN32Premul(viewport_size_.width(), width 170 content/renderer/gpu/compositor_software_output_device.cc viewport_size_.width(), width 491 content/renderer/gpu/gpu_benchmarking_extension.cc anchor.SetPoint(rect.width / 2, rect.height / 2); width 570 content/renderer/gpu/gpu_benchmarking_extension.cc start.SetPoint(rect.width / 2, rect.height / 2); width 753 content/renderer/gpu/gpu_benchmarking_extension.cc v8::Number::New(isolate, size.width())); width 86 content/renderer/gpu/mailbox_output_surface.cc surface_size_.width(), width 108 content/renderer/gpu/render_widget_compositor.cc int default_tile_width = settings.default_tile_size.width(); width 121 content/renderer/gpu/render_widget_compositor.cc int max_untiled_layer_width = settings.max_untiled_layer_size.width(); width 36 content/renderer/image_loading_helper.cc uint32_t max_dimension = std::max(image.width(), image.height()); width 44 content/renderer/image_loading_helper.cc static_cast<uint64_t>(image.width()) * max_image_size / max_dimension, width 75 content/renderer/image_loading_helper.cc uint32_t current_size = std::max(it->width(), it->height()); width 80 content/renderer/image_loading_helper.cc if (static_cast<uint32_t>(image.width()) <= max_image_size && width 83 content/renderer/image_loading_helper.cc original_image_sizes->push_back(gfx::Size(image.width(), image.height())); width 93 content/renderer/image_loading_helper.cc gfx::Size(min_image->width(), min_image->height())); width 118 content/renderer/image_loading_helper.cc gfx::Size(data_image.width(), data_image.height())); width 433 content/renderer/input/input_handler_proxy.cc synthetic_wheel.deltaX = increment.width; width 469 content/renderer/input/input_handler_proxy.cc return gfx::Vector2dF(-increment.width, -increment.height); width 477 content/renderer/input/input_handler_proxy.cc clipped_increment.width = increment.width; width 478 content/renderer/input/input_handler_proxy.cc clipped_velocity.width = velocity.width; width 492 content/renderer/input/input_handler_proxy.cc clipped_increment.width, width 511 content/renderer/input/input_handler_proxy.cc fling_parameters_.cumulativeScroll.width += clipped_increment.width; width 96 content/renderer/input/input_handler_proxy_unittest.cc blink::WebFloatSize displacement(velocity_.width * time, width 99 content/renderer/input/input_handler_proxy_unittest.cc displacement.width - cumulative_scroll_.width, width 132 content/renderer/input/input_handler_proxy_unittest.cc blink::WebFloatSize(cumulative_scroll.width, cumulative_scroll.height)); width 556 content/renderer/input/input_handler_proxy_unittest.cc testing::Field(&WebSize::width, testing::Gt(0)))))); width 665 content/renderer/input/input_handler_proxy_unittest.cc testing::Field(&WebSize::width, testing::Gt(0)))))); width 401 content/renderer/media/android/media_source_delegate.cc DVLOG(1) << "Video config is changed: " << size.width() << "x" width 125 content/renderer/media/android/renderer_media_player_manager.cc int width, width 130 content/renderer/media/android/renderer_media_player_manager.cc player->OnMediaMetadataChanged(duration, width, height, success); width 169 content/renderer/media/android/renderer_media_player_manager.cc int width, width 173 content/renderer/media/android/renderer_media_player_manager.cc player->OnVideoSizeChanged(width, height); width 155 content/renderer/media/android/renderer_media_player_manager.h int width, width 163 content/renderer/media/android/renderer_media_player_manager.h void OnVideoSizeChanged(int player_id, int width, int height); width 472 content/renderer/media/android/webmediaplayer_android.cc (cached_stream_texture_size_.width != natural_size_.width || width 475 content/renderer/media/android/webmediaplayer_android.cc stream_id_, gfx::Size(natural_size_.width, natural_size_.height)); width 563 content/renderer/media/android/webmediaplayer_android.cc const base::TimeDelta& duration, int width, int height, bool success) { width 595 content/renderer/media/android/webmediaplayer_android.cc OnVideoSizeChanged(width, height); width 668 content/renderer/media/android/webmediaplayer_android.cc void WebMediaPlayerAndroid::OnVideoSizeChanged(int width, int height) { width 670 content/renderer/media/android/webmediaplayer_android.cc if (natural_size_.width == width && natural_size_.height == height) width 699 content/renderer/media/android/webmediaplayer_android.cc natural_size_.width = width; width 898 content/renderer/media/android/webmediaplayer_android.cc static_cast<int>(video_size_css_px.width() * device_scale_factor), width 903 content/renderer/media/android/webmediaplayer_android.cc SkBitmap::kARGB_8888_Config, canvas_size.width(), canvas_size.height()); width 930 content/renderer/media/android/webmediaplayer_android.cc if (display_text_width + (kMinPadding * 2) > canvas_size.width()) { width 942 content/renderer/media/android/webmediaplayer_android.cc canvas_size.width() - (kMinPadding * 2) - sk_ellipse_width); width 958 content/renderer/media/android/webmediaplayer_android.cc (canvas_size.width() - display_text_width) / 2.0; width 980 content/renderer/media/android/webmediaplayer_android.cc bitmap.width(), width 160 content/renderer/media/android/webmediaplayer_android.h void OnMediaMetadataChanged(const base::TimeDelta& duration, int width, width 167 content/renderer/media/android/webmediaplayer_android.h void OnVideoSizeChanged(int width, int height); width 16 content/renderer/media/media_stream_video_capturer_source.cc int width; width 65 content/renderer/media/media_stream_video_capturer_source.cc const int width = max_requested_width ? width 71 content/renderer/media/media_stream_video_capturer_source.cc gfx::Size(width, height), width 210 content/renderer/media/media_stream_video_capturer_source.cc gfx::Size(kVideoFormats[i].width, kVideoFormats[i].height), width 100 content/renderer/media/media_stream_video_source.cc double ratio = static_cast<double>(format->frame_size.width()) / width 115 content/renderer/media/media_stream_video_source.cc return (value <= format->frame_size.width()); width 117 content/renderer/media/media_stream_video_source.cc return (value * kMaxCropFactor >= format->frame_size.width()); width 243 content/renderer/media/media_stream_video_source.cc int diff = abs(area - it->frame_size.width() * it->frame_size.height()); width 276 content/renderer/media/media_stream_video_source.cc if (max_width < frame_output_size->width()) width 403 content/renderer/media/media_stream_video_source.cc const int visible_width = std::min(frame_output_size_.width(), width 404 content/renderer/media/media_stream_video_source.cc frame->visible_rect().width()); width 411 content/renderer/media/media_stream_video_source.cc ((frame->visible_rect().width() - visible_width) / 2); width 450 content/renderer/media/media_stream_video_source.cc << " width = " << current_format_.frame_size.width() width 67 content/renderer/media/media_stream_video_source_unittest.cc EXPECT_EQ(expected_width, format.requested_format.frame_size.width()); width 247 content/renderer/media/media_stream_video_source_unittest.cc static_cast<double>(params.requested_format.frame_size.width()) / width 136 content/renderer/media/mock_media_stream_dependency_factory.cc width_ = frame->visible_rect().width(); width 165 content/renderer/media/mock_media_stream_dependency_factory.cc bool MockVideoRenderer::SetSize(int width, int height, int reserved) { width 166 content/renderer/media/mock_media_stream_dependency_factory.cc width_ = width; width 24 content/renderer/media/mock_media_stream_dependency_factory.h virtual bool SetSize(int width, int height, int reserved) OVERRIDE; width 27 content/renderer/media/mock_media_stream_dependency_factory.h int width() const { return width_; } width 127 content/renderer/media/renderer_gpu_video_accelerator_factories.cc size.width(), width 214 content/renderer/media/renderer_gpu_video_accelerator_factories.cc visible_rect.width(), width 64 content/renderer/media/rtc_video_decoder.cc int width, width 69 content/renderer/media/rtc_video_decoder.cc width(width), width 230 content/renderer/media/rtc_video_decoder.cc frame_size_.width(), width 368 content/renderer/media/rtc_video_decoder.cc uint32_t timestamp = 0, width = 0, height = 0; width 371 content/renderer/media/rtc_video_decoder.cc picture.bitstream_buffer_id(), ×tamp, &width, &height, &size); width 373 content/renderer/media/rtc_video_decoder.cc CreateVideoFrame(picture, pb, timestamp, width, height, size); width 383 content/renderer/media/rtc_video_decoder.cc webrtc::TextureVideoFrame decoded_image(handle, width, height, timestamp, 0); width 427 content/renderer/media/rtc_video_decoder.cc uint32_t width, width 430 content/renderer/media/rtc_video_decoder.cc gfx::Rect visible_rect(width, height); width 781 content/renderer/media/rtc_video_decoder.cc uint32_t* width, width 790 content/renderer/media/rtc_video_decoder.cc *width = it->width; width 98 content/renderer/media/rtc_video_decoder.h int width, width 105 content/renderer/media/rtc_video_decoder.h uint32_t width; width 146 content/renderer/media/rtc_video_decoder.h uint32_t width, width 185 content/renderer/media/rtc_video_decoder.h uint32_t* width, width 372 content/renderer/media/rtc_video_encoder.cc image->_encodedWidth = input_visible_size_.width(); width 535 content/renderer/media/rtc_video_encoder.cc << ", width=" << codec_settings->width width 549 content/renderer/media/rtc_video_encoder.cc gfx::Size(codec_settings->width, codec_settings->height), width 22 content/renderer/media/rtc_video_encoder_factory.cc int width = 0, height = 0, fps = 0; width 35 content/renderer/media/rtc_video_encoder_factory.cc width = profile.max_resolution.width(); width 42 content/renderer/media/rtc_video_encoder_factory.cc type, name, width, height, fps); width 430 content/renderer/media/video_capture_impl.cc int width = 0; width 434 content/renderer/media/video_capture_impl.cc width = std::max(width, it->second.requested_format.frame_size.width()); width 439 content/renderer/media/video_capture_impl.cc width = std::max(width, it->second.requested_format.frame_size.width()); width 444 content/renderer/media/video_capture_impl.cc params_.requested_format.frame_size.SetSize(width, height); width 95 content/renderer/media/video_frame_compositor_unittest.cc EXPECT_EQ(0, natural_size().width()); width 101 content/renderer/media/video_frame_compositor_unittest.cc EXPECT_EQ(0, natural_size().width()); width 107 content/renderer/media/video_frame_compositor_unittest.cc EXPECT_EQ(larger_size.width(), natural_size().width()); width 112 content/renderer/media/video_frame_compositor_unittest.cc EXPECT_EQ(larger_size.width(), natural_size().width()); width 118 content/renderer/media/video_frame_compositor_unittest.cc EXPECT_EQ(initial_size.width(), natural_size().width()); width 123 content/renderer/media/video_frame_compositor_unittest.cc EXPECT_EQ(initial_size.width(), natural_size().width()); width 36 content/renderer/media/video_source_handler.cc virtual bool SetSize(int width, int height, int reserved) OVERRIDE { width 64 content/renderer/media/video_source_handler_unittest.cc size_t width = 640; width 68 content/renderer/media/video_source_handler_unittest.cc size_t size = VideoFrame::SizeOf(width, height); width 76 content/renderer/media/video_source_handler_unittest.cc captured_frame.width = width; width 89 content/renderer/media/video_source_handler_unittest.cc EXPECT_TRUE(i420_frame.Alias(&captured_frame, width, height)); width 97 content/renderer/media/video_source_handler_unittest.cc EXPECT_EQ(width, frame->GetWidth()); width 1284 content/renderer/media/webmediaplayer_impl.cc media_log_->CreateVideoSizeSetEvent(size.width(), size.height())); width 55 content/renderer/media/webmediaplayer_ms.cc bitmap.allocN32Pixels(frame->visible_rect().width(), width 326 content/renderer/media/webmediaplayer_ms.cc gfx::RectF dest_rect(rect.x, rect.y, rect.width, rect.height); width 81 content/renderer/media/webrtc/video_destination_handler.cc const gfx::Size frame_size(bitmap->width(), bitmap->height()); width 118 content/renderer/media/webrtc/video_destination_handler.cc frame_size.width(), frame_size.height()); width 30 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc DVLOG(3) << " WebRtcVideoCapturerAdapter::Start w = " << capture_format.width width 65 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc << " w = " << desired.width width 71 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc best_format->width = desired.width; width 86 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc captured_frame.width = frame->visible_rect().width(); width 123 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc const int src_width = src->coded_size().width(); width 125 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc const int dst_width = src->visible_rect().width(); width 48 content/renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc output_frame_width_ = frame->width; width 44 content/renderer/media/webrtc/webrtc_video_sink_adapter.cc void WebRtcVideoSinkAdapter::SetSize(int width, int height) { width 37 content/renderer/media/webrtc/webrtc_video_sink_adapter.h virtual void SetSize(int width, int height) OVERRIDE; width 578 content/renderer/npapi/webplugin_delegate_proxy.cc if (window_rect.width() < 0 || window_rect.width() > kMaxPluginSideLength || width 581 content/renderer/npapi/webplugin_delegate_proxy.cc static_cast<uint32>(window_rect.width()) * width 593 content/renderer/npapi/webplugin_delegate_proxy.cc (window_rect.width() != front_buffer_canvas()->getDevice()->width() || width 629 content/renderer/npapi/webplugin_delegate_proxy.cc skia::PlatformCanvasStrideForWidth(plugin_rect.width()); width 642 content/renderer/npapi/webplugin_delegate_proxy.cc plugin_rect_.width(), plugin_rect_.height(), true, &((*memory)[0]), width 669 content/renderer/npapi/webplugin_delegate_proxy.cc canvas->reset((*memory)->GetPlatformCanvas(plugin_rect_.width(), width 1024 content/renderer/npapi/webplugin_delegate_proxy.cc skia::PlatformCanvasStrideForWidth(plugin_rect_.width()); width 1025 content/renderer/npapi/webplugin_delegate_proxy.cc const size_t chunk_size = 4 * rect.width(); width 1198 content/renderer/npapi/webplugin_delegate_proxy.cc int32 width, width 1202 content/renderer/npapi/webplugin_delegate_proxy.cc plugin_->AcceleratedPluginAllocatedIOSurface(width, height, surface_id); width 189 content/renderer/npapi/webplugin_delegate_proxy.h void OnAcceleratedPluginAllocatedIOSurface(int32 width, width 844 content/renderer/npapi/webplugin_impl.cc void WebPluginImpl::AcceleratedPluginAllocatedIOSurface(int32 width, width 848 content/renderer/npapi/webplugin_impl.cc next_io_surface_width_ = width; width 144 content/renderer/npapi/webplugin_impl.h virtual void AcceleratedPluginAllocatedIOSurface(int32 width, width 69 content/renderer/paint_aggregator.cc damaged_rect.set_width(scroll_rect.width()); width 450 content/renderer/pepper/content_decryptor_delegate.cc pp_decoder_config.width = decoder_config.coded_size().width(); width 800 content/renderer/pepper/content_decryptor_delegate.cc gfx::Size frame_size(frame_info->width, frame_info->height); width 29 content/renderer/pepper/gfx_conversion.h return gfx::Rect(r.point.x, r.point.y, r.size.width, r.size.height); width 33 content/renderer/pepper/gfx_conversion.h return PP_MakeRectFromXYWH(r.x(), r.y(), r.width(), r.height()); width 37 content/renderer/pepper/gfx_conversion.h return gfx::Size(s.width, s.height); width 41 content/renderer/pepper/gfx_conversion.h return PP_MakeSize(s.width(), s.height()); width 64 content/renderer/pepper/pepper_graphics_2d_host.cc rect->size.width <= 0 || rect->size.height <= 0) width 69 content/renderer/pepper/pepper_graphics_2d_host.cc static_cast<int64>(rect->size.width) > width 78 content/renderer/pepper/pepper_graphics_2d_host.cc rect->size.width, rect->size.height); width 111 content/renderer/pepper/pepper_graphics_2d_host.cc if (src_rect.width() == src_image->width() && width 112 content/renderer/pepper/pepper_graphics_2d_host.cc dest_rect.width() == dest_image->width()) { width 117 content/renderer/pepper/pepper_graphics_2d_host.cc src_rect.width() * src_rect.height(), width 126 content/renderer/pepper/pepper_graphics_2d_host.cc src_rect.width(), width 175 content/renderer/pepper/pepper_graphics_2d_host.cc if (!resource_host->Init(size.width, size.height, width 204 content/renderer/pepper/pepper_graphics_2d_host.cc int width, width 211 content/renderer/pepper/pepper_graphics_2d_host.cc width, height, true) || width 266 content/renderer/pepper/pepper_graphics_2d_host.cc static_cast<int64>(x) + static_cast<int64>(image_resource->width()) > width 267 content/renderer/pepper/pepper_graphics_2d_host.cc image_data_->width()) width 280 content/renderer/pepper/pepper_graphics_2d_host.cc x + image_resource->width(), width 284 content/renderer/pepper/pepper_graphics_2d_host.cc SkIntToScalar(image_resource->width()), width 343 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Size pixel_image_size(image_data_->width(), image_data_->height()); width 427 content/renderer/pepper/pepper_graphics_2d_host.cc return gfx::Size(image_data_->width(), image_data_->height()); width 446 content/renderer/pepper/pepper_graphics_2d_host.cc image_resource->width(), width 457 content/renderer/pepper/pepper_graphics_2d_host.cc image_data_->width()) width 477 content/renderer/pepper/pepper_graphics_2d_host.cc image_data_->width(), width 486 content/renderer/pepper/pepper_graphics_2d_host.cc if (dx <= -image_data_->width() || dx >= image_data_->width() || width 511 content/renderer/pepper/pepper_graphics_2d_host.cc if (image_resource->width() != image_data_->width() || width 577 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Size pixel_image_size(image_data_->width(), image_data_->height()); width 732 content/renderer/pepper/pepper_graphics_2d_host.cc DCHECK(image->width() == image_data_->width() && width 735 content/renderer/pepper/pepper_graphics_2d_host.cc SkIRect src_irect = { 0, 0, image->width(), image->height() }; width 738 content/renderer/pepper/pepper_graphics_2d_host.cc SkIntToScalar(image_data_->width()), width 752 content/renderer/pepper/pepper_graphics_2d_host.cc image_data_->width(), image_data_->height()); width 93 content/renderer/pepper/pepper_graphics_2d_host.h bool Init(int width, width 73 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc gfx::Rect(0, 0, plugin_rect.width(), plugin_rect.height())); width 78 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc int width = plugin_rect.point.x + plugin_rect.size.width; width 80 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc if (bitmap->isNull() || bitmap->width() != width || width 82 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc bitmap->setConfig(SkBitmap::kARGB_8888_Config, width, height); width 56 content/renderer/pepper/pepper_media_stream_video_track_host.cc return gfx::Size(plugin.width() ? plugin.width() : source.width(), width 82 content/renderer/pepper/pepper_media_stream_video_track_host.cc dst_size.width() * 4, width 83 content/renderer/pepper/pepper_media_stream_video_track_host.cc dst_size.width(), width 90 content/renderer/pepper/pepper_media_stream_video_track_host.cc src->coded_size().width(), width 92 content/renderer/pepper/pepper_media_stream_video_track_host.cc dst_size.width(), width 96 content/renderer/pepper/pepper_media_stream_video_track_host.cc dst_size.width() * 4, width 108 content/renderer/pepper/pepper_media_stream_video_track_host.cc int dst_width = dst_size.width(); width 112 content/renderer/pepper/pepper_media_stream_video_track_host.cc src->coded_size().width(), width 117 content/renderer/pepper/pepper_media_stream_video_track_host.cc const int src_halfwidth = (src->coded_size().width() + 1) >> 1; width 169 content/renderer/pepper/pepper_media_stream_video_track_host.cc frame_data_size_ = size.width() * size.height() * 4; width 223 content/renderer/pepper/pepper_media_stream_video_track_host.cc buffer->size.width = size.width(); width 255 content/renderer/pepper/pepper_media_stream_video_track_host.cc gfx::Size new_size(attributes.width, attributes.height); width 699 content/renderer/pepper/pepper_plugin_instance_impl.cc view_data_.rect.size.width == 0 || view_data_.rect.size.height == 0) width 1259 content/renderer/pepper/pepper_plugin_instance_impl.cc 0, 0, image_data->width(), image_data->height()); width 1524 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Size plugin_size_in_dip(view_data_.rect.size.width, width 1530 content/renderer/pepper/pepper_plugin_instance_impl.cc plugin_size_in_dip.width() / graphics_2d_size_in_dip.width(), width 1915 content/renderer/pepper/pepper_plugin_instance_impl.cc current_print_settings_.printable_area.size.width, width 1932 content/renderer/pepper/pepper_plugin_instance_impl.cc double dynamic_scale = gfx::CalculatePageScale(dc, size_in_pixels.width(), width 1947 content/renderer/pepper/pepper_plugin_instance_impl.cc current_print_settings_.dpi, 0, 0, size_in_pixels.width(), width 2099 content/renderer/pepper/pepper_plugin_instance_impl.cc view_data_.rect.point.x + view_data_.rect.size.width / 2, width 2462 content/renderer/pepper/pepper_plugin_instance_impl.cc tickmarks[i].size.width, width 2481 content/renderer/pepper/pepper_plugin_instance_impl.cc *size = PP_MakeSize(info.rect.width, info.rect.height); width 3115 content/renderer/pepper/pepper_plugin_instance_impl.cc screen_size_for_fullscreen_ = gfx::Size(info.rect.width, info.rect.height); width 3116 content/renderer/pepper/pepper_plugin_instance_impl.cc std::string width = StringPrintf("%d", screen_size_for_fullscreen_.width()); width 3120 content/renderer/pepper/pepper_plugin_instance_impl.cc element.setAttribute(WebString::fromUTF8(kWidth), WebString::fromUTF8(width)); width 3131 content/renderer/pepper/pepper_plugin_instance_impl.cc style += StringPrintf("width: %s !important; ", width.c_str()); width 123 content/renderer/pepper/pepper_truetype_font_win.cc desc->width = PP_TRUETYPEFONTWIDTH_NORMAL; width 182 content/renderer/pepper/pepper_video_capture_host.cc static_cast<uint32_t>(resolution.width()), width 189 content/renderer/pepper/pepper_video_capture_host.cc media::VideoFrame::I420, gfx::Size(info.width, info.height)); width 375 content/renderer/pepper/pepper_video_capture_host.cc gfx::Size(device_info.width, device_info.height), width 137 content/renderer/pepper/pepper_video_source_host.cc int32_t width = base::checked_cast<int32_t>(frame->GetWidth()); width 148 content/renderer/pepper/pepper_video_source_host.cc PP_MakeSize(width, height), width 72 content/renderer/pepper/ppb_image_data_impl.cc int width, int height, width 77 content/renderer/pepper/ppb_image_data_impl.cc if (width <= 0 || height <= 0) width 79 content/renderer/pepper/ppb_image_data_impl.cc if (static_cast<int64>(width) * static_cast<int64>(height) >= width 84 content/renderer/pepper/ppb_image_data_impl.cc width_ = width; width 86 content/renderer/pepper/ppb_image_data_impl.cc return backend_->Init(this, format, width, height, init_to_zero); width 97 content/renderer/pepper/ppb_image_data_impl.cc if (!data->Init(format, size.width, size.height, !!init_to_zero)) width 116 content/renderer/pepper/ppb_image_data_impl.cc desc->size.width = width_; width 172 content/renderer/pepper/ppb_image_data_impl.cc int width, int height, width 175 content/renderer/pepper/ppb_image_data_impl.cc width_ = width; width 280 content/renderer/pepper/ppb_image_data_impl.cc int width, int height, width 283 content/renderer/pepper/ppb_image_data_impl.cc impl->width(), impl->height()); width 40 content/renderer/pepper/ppb_image_data_impl.h int width, int height, bool init_to_zero) = 0; width 63 content/renderer/pepper/ppb_image_data_impl.h int width, int height, width 72 content/renderer/pepper/ppb_image_data_impl.h int width() const { return width_; } width 117 content/renderer/pepper/ppb_image_data_impl.h int width, int height, bool init_to_zero) OVERRIDE; width 149 content/renderer/pepper/ppb_image_data_impl.h int width, int height, bool init_to_zero) OVERRIDE; width 103 content/renderer/pepper/ppb_scrollbar_impl.cc tick_marks[i].size.width, width 147 content/renderer/pepper/ppb_scrollbar_impl.cc skia::MakeOpaque(canvas, rect.x(), rect.y(), rect.width(), rect.height()); width 167 content/renderer/pepper/ppb_scrollbar_impl.cc location->size.width, width 213 content/renderer/pepper/ppb_scrollbar_impl.cc rect.width, width 245 content/renderer/pepper/ppb_scrollbar_impl.cc pp_rect.size.width = dirty_.width(); width 190 content/renderer/pepper/ppb_video_decoder_impl.cc gfx::Size(in_buf.size.width, in_buf.size.height), width 250 content/renderer/pepper/ppb_video_decoder_impl.cc PP_Size out_dim = PP_MakeSize(dimensions.width(), dimensions.height()); width 41 content/renderer/pepper/ppb_widget_impl.cc rect->size.width, rect->size.height), width 150 content/renderer/render_process_impl.cc int width = rect.width(); width 152 content/renderer/render_process_impl.cc const size_t stride = skia::PlatformCanvasStrideForWidth(rect.width()); width 173 content/renderer/render_process_impl.cc return (*memory)->GetPlatformCanvas(width, height); width 1176 content/renderer/render_thread_impl.cc size_t width, width 1187 content/renderer/render_thread_impl.cc new ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer(width, width 1203 content/renderer/render_thread_impl.cc gfx::Size(width, height), width 399 content/renderer/render_thread_impl.h size_t width, width 1864 content/renderer/render_view_browsertest.cc EXPECT_LT(0, bounds[i].width()); width 1875 content/renderer/render_view_browsertest.cc EXPECT_LT(0, bounds[i].width()); width 1888 content/renderer/render_view_browsertest.cc EXPECT_LT(0, bounds[0].width()); width 1889 content/renderer/render_view_browsertest.cc EXPECT_EQ(0, bounds[1].width()); width 1908 content/renderer/render_view_browsertest.cc EXPECT_EQ(0, bounds[i].width()); width 1910 content/renderer/render_view_browsertest.cc EXPECT_LT(0, bounds[i].width()); width 2643 content/renderer/render_view_impl.cc size.set_width(static_cast<int>(size.width() * zoom_factor)); width 2714 content/renderer/render_view_impl.cc bool is_pinned_to_left = offset.width <= minimum_offset.width; width 2715 content/renderer/render_view_impl.cc bool is_pinned_to_right = offset.width >= maximum_offset.width; width 2964 content/renderer/render_view_impl.cc bool RenderViewImpl::ShouldDisplayScrollbars(int width, int height) const { width 2966 content/renderer/render_view_impl.cc (disable_scrollbars_size_limit_.width() <= width || width 3691 content/renderer/render_view_impl.cc ShouldDisplayScrollbars(params.new_size.width(), width 3799 content/renderer/render_view_impl.cc return gfx::Vector2d(scroll_offset.width, scroll_offset.height); width 4607 content/renderer/render_view_impl.cc event.x - event.data.tap.width / 2, event.y - event.data.tap.height / 2, width 4608 content/renderer/render_view_impl.cc event.data.tap.width, event.data.tap.height); width 4703 content/renderer/render_view_impl.cc new_size.width(), width 632 content/renderer/render_view_impl.h virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE; width 259 content/renderer/render_widget.cc std::max(original_size_.width() - 2 * params_.viewInsets.width, 1); width 263 content/renderer/render_widget.cc static_cast<float>(applied_widget_rect_.width()) / width_with_gutter; width 271 content/renderer/render_widget.cc (original_size_.width() - scale_ * applied_widget_rect_.width()) / 2); width 816 content/renderer/render_widget.cc didInvalidateRect(gfx::Rect(size_.width(), size_.height())); width 1275 content/renderer/render_widget.cc "width", rect.width(), "height", rect.height()); width 1351 content/renderer/render_widget.cc int64 painted_pixel_count = rect.width() * rect.height(); width 1655 content/renderer/render_widget.cc DCHECK_EQ(pixel_bounds.width(), canvas->getDevice()->width()); width 1657 content/renderer/render_widget.cc pixel_bounds.set_width(canvas->getDevice()->width()); width 1659 content/renderer/render_widget.cc bounds.set_width(pixel_bounds.width() / device_scale_factor_); width 1809 content/renderer/render_widget.cc if (size_.width() != new_size.width || size_.height() != new_size.height) { width 1821 content/renderer/render_widget.cc new_size.width, width 2253 content/renderer/render_widget.cc skia::CreatePlatformCanvas(viewport_size.width(), width 2291 content/renderer/render_widget.cc gfx::Rect repaint_rect(size_to_paint.width(), size_to_paint.height()); width 2351 content/renderer/render_widget.cc didInvalidateRect(gfx::Rect(size_.width(), size_.height())); width 2410 content/renderer/render_widget.cc didInvalidateRect(gfx::Rect(size_.width(), size_.height())); width 159 content/renderer/render_widget_fullscreen_pepper.cc WebRect plugin_rect(0, 0, size_.width, size_.height); width 182 content/renderer/render_widget_fullscreen_pepper.cc WebRect plugin_rect(0, 0, size_.width, size_.height); width 373 content/renderer/render_widget_fullscreen_pepper.cc InvalidateRect(gfx::Rect(size_.width(), size_.height())); width 52 content/renderer/renderer_clipboard_client.cc uint32 buf_size = 4 * size.width() * size.height(); width 19 content/renderer/sad_plugin.cc const int width = plugin_rect.width(); width 31 content/renderer/sad_plugin.cc canvas->drawRectCoords(0, 0, SkIntToScalar(width), SkIntToScalar(height), width 35 content/renderer/sad_plugin.cc SkIntToScalar(std::max(0, (width - sad_plugin_bitmap.width()) / 2)), width 157 content/renderer/skia_benchmarking_extension.cc if (!bitmap.setConfig(SkBitmap::kARGB_8888_Config, snapped_clip.width(), width 171 content/renderer/skia_benchmarking_extension.cc SkDebugCanvas debug_canvas(picture->LayerRect().width(), width 199 content/renderer/skia_benchmarking_extension.cc v8::Number::New(isolate, snapped_clip.width())); width 220 content/renderer/skia_benchmarking_extension.cc SkDebugCanvas canvas(bounds.width(), bounds.height()); width 266 content/renderer/skia_benchmarking_extension.cc bitmap.allocN32Pixels(bounds.width(), bounds.height()); width 274 content/renderer/skia_benchmarking_extension.cc skia::BenchmarkingCanvas benchmarking_canvas(bounds.width(), bounds.height()); width 303 content/renderer/skia_benchmarking_extension.cc v8::Number::New(isolate, picture->LayerRect().width())); width 42 content/renderer/webscrollbarbehavior_impl_gtkoraura.cc const int thickness = isHorizontal ? noSnapRect.height() : noSnapRect.width(); width 99 content/shell/browser/shell.cc shell->PlatformCreateWindow(initial_size.width(), initial_size.height()); width 187 content/shell/browser/shell.h void PlatformCreateWindow(int width, int height); width 53 content/shell/browser/shell_android.cc void Shell::PlatformCreateWindow(int width, int height) { width 44 content/shell/browser/shell_aura.cc void Shell::PlatformCreateWindow(int width, int height) { width 48 content/shell/browser/shell_aura.cc platform_->ResizeWindow(gfx::Size(width, height)); width 107 content/shell/browser/shell_gtk.cc void Shell::PlatformCreateWindow(int width, int height) { width 110 content/shell/browser/shell_gtk.cc content_size_ = gfx::Size(width, height); width 225 content/shell/browser/shell_gtk.cc SizeTo(gfx::Size(width, height)); width 246 content/shell/browser/shell_gtk.cc content_size.width(), width 235 content/shell/browser/shell_views.cc back_button_size.width(), width 236 content/shell/browser/shell_views.cc back_button_size.width() / 2); width 245 content/shell/browser/shell_views.cc forward_button_size.width(), width 246 content/shell/browser/shell_views.cc forward_button_size.width() / 2); width 255 content/shell/browser/shell_views.cc refresh_button_size.width(), width 256 content/shell/browser/shell_views.cc refresh_button_size.width() / 2); width 264 content/shell/browser/shell_views.cc stop_button_size.width(), width 265 content/shell/browser/shell_views.cc stop_button_size.width() / 2); width 479 content/shell/browser/shell_views.cc void Shell::PlatformCreateWindow(int width, int height) { width 481 content/shell/browser/shell_views.cc content_size_ = gfx::Size(width, height); width 492 content/shell/browser/shell_views.cc gfx::Rect(0, 0, width, height)); width 496 content/shell/browser/shell_views.cc params.bounds = gfx::Rect(0, 0, width, height); width 503 content/shell/browser/shell_views.cc content_size_ = gfx::Size(width, height); width 535 content/shell/browser/webkit_test_controller.cc gfx::Size(image.width(), image.height()), width 25 content/shell/renderer/test_runner/MockWebSpeechInputController.cpp snprintf(buffer, sizeof(buffer), "%d,%d,%d,%d", rect.x, rect.y, rect.width, rect.height); width 261 content/shell/renderer/test_runner/TestPlugin.cpp m_context->viewport(0, 0, m_rect.width, m_rect.height); width 275 content/shell/renderer/test_runner/TestPlugin.cpp m_rect.width, width 297 content/shell/renderer/test_runner/TestPlugin.cpp size_t bytes = 4 * m_rect.width * m_rect.height; width 305 content/shell/renderer/test_runner/TestPlugin.cpp bitmap.get(), gfx::Size(m_rect.width, m_rect.height)); width 408 content/shell/renderer/test_runner/TestPlugin.cpp m_context->viewport(0, 0, m_rect.width, m_rect.height); width 421 content/shell/renderer/test_runner/TestPlugin.cpp m_context->viewport(0, 0, m_rect.width, m_rect.height); width 429 content/shell/renderer/test_runner/TestPlugin.cpp DCHECK_EQ(bytes, m_rect.width * m_rect.height * 4u); width 438 content/shell/renderer/test_runner/TestPlugin.cpp bitmap.setConfig(SkBitmap::kARGB_8888_Config, m_rect.width, m_rect.height); width 451 content/shell/renderer/test_runner/TestPlugin.cpp trianglePath.moveTo(0.5f * m_rect.width, 0.9f * m_rect.height); width 452 content/shell/renderer/test_runner/TestPlugin.cpp trianglePath.lineTo(0.1f * m_rect.width, 0.1f * m_rect.height); width 453 content/shell/renderer/test_runner/TestPlugin.cpp trianglePath.lineTo(0.9f * m_rect.width, 0.1f * m_rect.height); width 291 content/shell/renderer/test_runner/WebTestProxy.cpp if (offset.width > 0 || offset.height > 0) { width 295 content/shell/renderer/test_runner/WebTestProxy.cpp snprintf(data, sizeof(data), "scrolled to %d,%d\n", offset.width, offset.height); width 522 content/shell/renderer/test_runner/WebTestProxy.cpp int width = viewSize.width; width 525 content/shell/renderer/test_runner/WebTestProxy.cpp for (WebRect column(0, 0, 1, height); column.x < width; column.x++) width 528 content/shell/renderer/test_runner/WebTestProxy.cpp for (WebRect line(0, 0, width, 1); line.y < height; line.y++) width 550 content/shell/renderer/test_runner/WebTestProxy.cpp rect.set(wr.x, wr.y, wr.x + wr.width, wr.y + wr.height); width 571 content/shell/renderer/test_runner/WebTestProxy.cpp int scaledWidth = static_cast<int>(ceil(static_cast<float>(rect.width) * deviceScaleFactor)); width 583 content/shell/renderer/test_runner/WebTestProxy.cpp WebRect clientRect(0, 0, widgetSize.width, widgetSize.height); width 595 content/shell/renderer/test_runner/WebTestProxy.cpp int right = min(damageRect.x + damageRect.width, clientRect.x + clientRect.width); width 621 content/shell/renderer/test_runner/WebTestProxy.cpp SkCanvas* testCanvas = skia::TryCreateBitmapCanvas(pageSizeInPixels.width, totalHeight, false); width 642 content/shell/renderer/test_runner/WebTestProxy.cpp int scaledWidth = static_cast<int>(ceil(static_cast<float>(widgetSize.width) * deviceScaleFactor)); width 654 content/shell/renderer/test_runner/WebTestProxy.cpp WebRect rect(0, 0, size.width, size.height); width 713 content/shell/renderer/test_runner/WebTestProxy.cpp int right = max(m_paintRect.x + m_paintRect.width, rect.x + rect.width); width 84 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp webRect.x + webRect.width - 1, webRect.y + webRect.height - 1); width 98 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp int controlSize = std::min(rect.width(), rect.height()); width 101 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp retval.fLeft = rect.fLeft + (rect.width() / 2) - (controlSize / 2); width 192 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp int width = irect.width(); width 197 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp SkScalar cx = SkIntToScalar(left + width / 2); width 316 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp int halfWidth = irect.width() / 2; width 318 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp int quarterWidth = irect.width() / 4; width 411 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp int shortOffset = irect.width() - notchShortOffset; width 444 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp SkIRect cornerRect = {rect.x, rect.y, rect.x + rect.width, rect.y + rect.height}; width 517 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp halfWidth = irect.width() / 2; width 518 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp quarterWidth = irect.width() / 4; width 564 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp lirect.set(rect.x, rect.y, rect.x + rect.width - 1, rect.y + halfHeight - 1); width 574 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp lirect.set(rect.x, rect.y + halfHeight, rect.x + rect.width - 1, width 1867 content/shell/renderer/test_runner/event_sender.cc float width; width 1868 content/shell/renderer/test_runner/event_sender.cc if (!args->GetNext(&width)) { width 1872 content/shell/renderer/test_runner/event_sender.cc event.data.tapDown.width = width; width 1887 content/shell/renderer/test_runner/event_sender.cc float width; width 1888 content/shell/renderer/test_runner/event_sender.cc if (!args->GetNext(&width)) { width 1892 content/shell/renderer/test_runner/event_sender.cc event.data.showPress.width = width; width 1911 content/shell/renderer/test_runner/event_sender.cc float width; width 1912 content/shell/renderer/test_runner/event_sender.cc if (!args->GetNext(&width)) { width 1916 content/shell/renderer/test_runner/event_sender.cc event.data.longPress.width = width; width 1931 content/shell/renderer/test_runner/event_sender.cc float width; width 1932 content/shell/renderer/test_runner/event_sender.cc if (!args->GetNext(&width)) { width 1936 content/shell/renderer/test_runner/event_sender.cc event.data.longPress.width = width; width 1308 content/shell/renderer/test_runner/test_runner.cc SkRect rect = SkRect::MakeWH(web_view_->size().width, width 241 content/shell/renderer/test_runner/text_input_controller.cc int_array[2] = rect.width; width 340 content/shell/renderer/test_runner/web_ax_object_proxy.cc int width = character_offsets[localIndex] - width 343 content/shell/renderer/test_runner/web_ax_object_proxy.cc width, inline_text_box_rect.height); width 350 content/shell/renderer/test_runner/web_ax_object_proxy.cc int right = inline_text_box_rect.x + inline_text_box_rect.width; width 354 content/shell/renderer/test_runner/web_ax_object_proxy.cc int width = character_offsets[localIndex] - width 357 content/shell/renderer/test_runner/web_ax_object_proxy.cc width, inline_text_box_rect.height); width 370 content/shell/renderer/test_runner/web_ax_object_proxy.cc inline_text_box_rect.width, height); width 373 content/shell/renderer/test_runner/web_ax_object_proxy.cc inline_text_box_rect.width, character_offsets[0]); width 383 content/shell/renderer/test_runner/web_ax_object_proxy.cc inline_text_box_rect.width, height); width 387 content/shell/renderer/test_runner/web_ax_object_proxy.cc inline_text_box_rect.width, character_offsets[0]); width 629 content/shell/renderer/test_runner/web_ax_object_proxy.cc return accessibility_object().boundingBoxRect().width; width 802 content/shell/renderer/test_runner/web_ax_object_proxy.cc int right = std::max(bounds.x + bounds.width, next.x + next.width); width 806 content/shell/renderer/test_runner/web_ax_object_proxy.cc bounds.width = right - bounds.x; width 811 content/shell/renderer/test_runner/web_ax_object_proxy.cc bounds.x, bounds.y, bounds.width, bounds.height); width 938 content/shell/renderer/test_runner/web_ax_object_proxy.cc int width, int height) { width 940 content/shell/renderer/test_runner/web_ax_object_proxy.cc blink::WebRect(x, y, width, height)); width 126 content/shell/renderer/test_runner/web_ax_object_proxy.h void ScrollToMakeVisibleWithSubFocus(int x, int y, int width, int height); width 111 content/shell/renderer/webkit_test_runner.cc for (int x = 0; x < bitmap->width(); ++x) width 698 content/shell/renderer/webkit_test_runner.cc WebSize(params.initial_size.width(), params.initial_size.height())); width 362 content/shell/tools/plugin/PluginObject.cpp (unsigned)plugin->lastWindow.width, width 53 content/shell/tools/plugin/Tests/LogNPPSetWindow.cpp window->window ? "non-NULL" : "NULL", window->x, window->y, window->width, window->height, width 375 content/shell/tools/plugin/main.cpp pluginLog(instance, "NPP_SetWindow: %d %d", (int)window->width, (int)window->height); width 61 content/test/image_decoder_test.cc web_image.getSkBitmap().width() * width 89 content/test/image_decoder_test.cc web_image.getSkBitmap().width() * width 23 content/test/mock_render_process.cc size_t stride = skia::PlatformCanvasStrideForWidth(rect.width()); width 32 content/test/mock_render_process.cc return (*memory)->GetPlatformCanvas(rect.width(), rect.height()); width 104 content/test/mock_webclipboard_impl.cc gfx::Size(bitmap.width(), bitmap.height()), width 28 content/test/plugin/plugin_window_size_test.cc window_rect.right = pNPWindow->width; width 113 content/test/ppapi_unittest.cc void PpapiUnittest::SetViewSize(int width, int height) const { width 114 content/test/ppapi_unittest.cc instance_->view_data_.rect = PP_FromGfxRect(gfx::Rect(0, 0, width, height)); width 41 content/test/ppapi_unittest.h void SetViewSize(int width, int height) const; width 23 content/test/web_gesture_curve_mock.cc blink::WebFloatSize increment(displacement.width - cumulative_scroll_.width, width 439 google_apis/drive/drive_api_parser.h int width() const { return width_; } width 445 google_apis/drive/drive_api_parser.h void set_width(int width) { width_ = width; } width 156 google_apis/drive/drive_api_parser_unittest.cc EXPECT_EQ(640, file1.image_media_metadata().width()); width 202 google_apis/drive/drive_api_parser_unittest.cc EXPECT_EQ(-1, file2.image_media_metadata().width()); width 21 google_apis/gaia/google_service_auth_error.cc const GURL& unlock, int width, int height) width 23 google_apis/gaia/google_service_auth_error.cc image_width(width), image_height(height) { width 100 google_apis/gaia/google_service_auth_error.h int width, width 22 gpu/GLES2/gl2extchromium.h GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, width 26 gpu/GLES2/gl2extchromium.h GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, width 111 gpu/GLES2/gl2extchromium.h GLsizei width, GLsizei height, GLenum internalformat); width 119 gpu/GLES2/gl2extchromium.h GLsizei width, GLsizei height, GLenum internalformat); width 146 gpu/GLES2/gl2extchromium.h GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, width 155 gpu/GLES2/gl2extchromium.h GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, width 213 gpu/GLES2/gl2extchromium.h GLint x, GLint y, GLint width, GLint height); width 216 gpu/GLES2/gl2extchromium.h GLint x, GLint y, GLint width, GLint height); width 248 gpu/GLES2/gl2extchromium.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECHROMIUMPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 593 gpu/GLES2/gl2extchromium.h GLuint width, GLuint height, GLfloat scale_factor); width 596 gpu/GLES2/gl2extchromium.h GLuint width, GLuint height); width 93 gpu/command_buffer/client/client_test_helper.h gfx::GpuMemoryBuffer*(size_t width, width 133 gpu/command_buffer/client/gl_in_process_context.cc DCHECK(size.width() >= 0 && size.height() >= 0); width 95 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 101 gpu/command_buffer/client/gles2_c_lib_autogen.h target, level, internalformat, width, height, border, imageSize, data); width 107 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 113 gpu/command_buffer/client/gles2_c_lib_autogen.h target, level, xoffset, yoffset, width, height, format, imageSize, data); width 120 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 124 gpu/command_buffer/client/gles2_c_lib_autogen.h target, level, internalformat, x, y, width, height, border); width 132 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 135 gpu/command_buffer/client/gles2_c_lib_autogen.h target, level, xoffset, yoffset, x, y, width, height); width 354 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2LineWidth(GLfloat width) { gles2::GetGLContext()->LineWidth(width); } width 366 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 371 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->ReadPixels(x, y, width, height, format, type, pixels); width 378 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 381 gpu/command_buffer/client/gles2_c_lib_autogen.h target, internalformat, width, height); width 386 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2Scissor(GLint x, GLint y, GLsizei width, GLsizei height) { width 387 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->Scissor(x, y, width, height); width 433 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 442 gpu/command_buffer/client/gles2_c_lib_autogen.h width, width 465 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 471 gpu/command_buffer/client/gles2_c_lib_autogen.h target, level, xoffset, yoffset, width, height, format, type, pixels); width 586 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { width 587 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->Viewport(x, y, width, height); width 605 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 608 gpu/command_buffer/client/gles2_c_lib_autogen.h target, samples, internalformat, width, height); width 613 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 616 gpu/command_buffer/client/gles2_c_lib_autogen.h target, samples, internalformat, width, height); width 630 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 633 gpu/command_buffer/client/gles2_c_lib_autogen.h target, levels, internalFormat, width, height); width 728 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 734 gpu/command_buffer/client/gles2_c_lib_autogen.h target, level, xoffset, yoffset, width, height, format, type, access); width 739 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2ResizeCHROMIUM(GLuint width, GLuint height, GLfloat scale_factor) { width 740 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->ResizeCHROMIUM(width, height, scale_factor); width 767 gpu/command_buffer/client/gles2_c_lib_autogen.h GLuint GLES2CreateImageCHROMIUM(GLsizei width, width 771 gpu/command_buffer/client/gles2_c_lib_autogen.h width, height, internalformat); width 788 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) { width 789 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height); width 792 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 797 gpu/command_buffer/client/gles2_c_lib_autogen.h target, width, height, ioSurfaceId, plane); width 854 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 860 gpu/command_buffer/client/gles2_c_lib_autogen.h target, level, xoffset, yoffset, width, height, format, type, data); width 865 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei width, width 874 gpu/command_buffer/client/gles2_c_lib_autogen.h width, width 199 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 211 gpu/command_buffer/client/gles2_cmd_helper_autogen.h width, width 223 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 230 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(target, level, internalformat, width, height, border, bucket_id); width 238 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 251 gpu/command_buffer/client/gles2_cmd_helper_autogen.h width, width 264 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 271 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(target, level, xoffset, yoffset, width, height, format, bucket_id); width 280 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 285 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(target, level, internalformat, x, y, width, height, border); width 295 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 300 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(target, level, xoffset, yoffset, x, y, width, height); width 906 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void LineWidth(GLfloat width) { width 909 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(width); width 936 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 949 gpu/command_buffer/client/gles2_cmd_helper_autogen.h width, width 971 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 976 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(target, internalformat, width, height); width 987 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) { width 990 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(x, y, width, height); width 1079 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 1091 gpu/command_buffer/client/gles2_cmd_helper_autogen.h width, width 1159 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 1172 gpu/command_buffer/client/gles2_cmd_helper_autogen.h width, width 1599 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { width 1602 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(x, y, width, height); width 1627 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 1632 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(target, samples, internalformat, width, height); width 1639 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 1644 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(target, samples, internalformat, width, height); width 1664 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 1668 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(target, levels, internalFormat, width, height); width 1874 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void ResizeCHROMIUM(GLuint width, GLuint height, GLfloat scale_factor) { width 1877 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(width, height, scale_factor); width 1931 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) { width 1935 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(x, y, width, height); width 1940 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 1947 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(target, width, height, ioSurfaceId, plane); width 2095 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 2111 gpu/command_buffer/client/gles2_cmd_helper_autogen.h width, width 2126 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei width, width 2142 gpu/command_buffer/client/gles2_cmd_helper_autogen.h width, width 1596 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLint level, GLenum internalformat, GLsizei width, width 1603 gpu/command_buffer/client/gles2_implementation.cc << width << ", " << height << ", " << border << ", " width 1606 gpu/command_buffer/client/gles2_implementation.cc if (width < 0 || height < 0 || level < 0) { width 1610 gpu/command_buffer/client/gles2_implementation.cc if (height == 0 || width == 0) { width 1622 gpu/command_buffer/client/gles2_implementation.cc target, level, internalformat, width, height, border, image_size, width 1630 gpu/command_buffer/client/gles2_implementation.cc target, level, internalformat, width, height, border, kResultBucketId); width 1639 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, width 1646 gpu/command_buffer/client/gles2_implementation.cc << width << ", " << height << ", " width 1650 gpu/command_buffer/client/gles2_implementation.cc if (width < 0 || height < 0 || level < 0) { width 1663 gpu/command_buffer/client/gles2_implementation.cc target, level, xoffset, yoffset, width, height, format, image_size, width 1672 gpu/command_buffer/client/gles2_implementation.cc target, level, xoffset, yoffset, width, height, format, kResultBucketId); width 1716 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLint level, GLint internalformat, GLsizei width, width 1724 gpu/command_buffer/client/gles2_implementation.cc << width << ", " << height << ", " << border << ", " width 1728 gpu/command_buffer/client/gles2_implementation.cc if (level < 0 || height < 0 || width < 0) { width 1736 gpu/command_buffer/client/gles2_implementation.cc width, height, format, type, unpack_alignment_, &size, width 1750 gpu/command_buffer/client/gles2_implementation.cc target, level, internalformat, width, height, border, format, type, width 1761 gpu/command_buffer/client/gles2_implementation.cc target, level, internalformat, width, height, border, format, type, width 1801 gpu/command_buffer/client/gles2_implementation.cc target, level, internalformat, width, height, border, format, type, width 1809 gpu/command_buffer/client/gles2_implementation.cc target, level, internalformat, width, height, border, format, type, width 1812 gpu/command_buffer/client/gles2_implementation.cc target, level, 0, 0, width, height, format, type, unpadded_row_size, width 1818 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, width 1825 gpu/command_buffer/client/gles2_implementation.cc << width << ", " << height << ", " width 1830 gpu/command_buffer/client/gles2_implementation.cc if (level < 0 || height < 0 || width < 0) { width 1834 gpu/command_buffer/client/gles2_implementation.cc if (height == 0 || width == 0) { width 1842 gpu/command_buffer/client/gles2_implementation.cc width, height, format, type, unpack_alignment_, &temp_size, width 1856 gpu/command_buffer/client/gles2_implementation.cc target, level, xoffset, yoffset, width, height, format, type, width 1889 gpu/command_buffer/client/gles2_implementation.cc target, level, xoffset, yoffset, width, height, format, type, width 1907 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, width 1914 gpu/command_buffer/client/gles2_implementation.cc DCHECK_GT(width, 0); width 1937 gpu/command_buffer/client/gles2_implementation.cc target, level, xoffset, y, width, num_rows, format, type, width 2280 gpu/command_buffer/client/gles2_implementation.cc GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, width 2285 gpu/command_buffer/client/gles2_implementation.cc << width << ", " << height << ", " width 2289 gpu/command_buffer/client/gles2_implementation.cc if (width < 0 || height < 0) { width 2293 gpu/command_buffer/client/gles2_implementation.cc if (width == 0 || height == 0) { width 2311 gpu/command_buffer/client/gles2_implementation.cc width, 2, format, type, pack_alignment_, &temp_size, &unpadded_row_size, width 2323 gpu/command_buffer/client/gles2_implementation.cc helper_->ReadPixels(xoffset, yoffset, width, height, format, type, width 2355 gpu/command_buffer/client/gles2_implementation.cc xoffset, yoffset, width, num_rows, format, type, width 2829 gpu/command_buffer/client/gles2_implementation.cc sub_buffer.width(), width 2933 gpu/command_buffer/client/gles2_implementation.cc GLsizei width, width 2942 gpu/command_buffer/client/gles2_implementation.cc << width << ", " << height << ", " width 2953 gpu/command_buffer/client/gles2_implementation.cc if (level < 0 || xoffset < 0 || yoffset < 0 || width < 0 || height < 0) { width 2960 gpu/command_buffer/client/gles2_implementation.cc width, height, format, type, unpack_alignment_, &size, NULL, NULL)) { width 2978 gpu/command_buffer/client/gles2_implementation.cc target, level, xoffset, yoffset, width, height, format, type))); width 2996 gpu/command_buffer/client/gles2_implementation.cc mt.target, mt.level, mt.xoffset, mt.yoffset, mt.width, mt.height, width 3003 gpu/command_buffer/client/gles2_implementation.cc void GLES2Implementation::ResizeCHROMIUM(GLuint width, GLuint height, width 3007 gpu/command_buffer/client/gles2_implementation.cc << width << ", " << height << ", " << scale_factor << ")"); width 3008 gpu/command_buffer/client/gles2_implementation.cc helper_->ResizeCHROMIUM(width, height, scale_factor); width 3266 gpu/command_buffer/client/gles2_implementation.cc GLint x, GLint y, GLint width, GLint height) { width 3269 gpu/command_buffer/client/gles2_implementation.cc << x << ", " << y << ", " << width << ", " << height << ")"); width 3271 gpu/command_buffer/client/gles2_implementation.cc "width", width, "height", height); width 3275 gpu/command_buffer/client/gles2_implementation.cc helper_->PostSubBufferCHROMIUM(x, y, width, height); width 3770 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLint level, GLint internalformat, GLsizei width, width 3778 gpu/command_buffer/client/gles2_implementation.cc << width << ", " << height << ", " << border << ", " width 3782 gpu/command_buffer/client/gles2_implementation.cc if (level < 0 || height < 0 || width < 0) { width 3790 gpu/command_buffer/client/gles2_implementation.cc width, height, format, type, unpack_alignment_, &size, width 3799 gpu/command_buffer/client/gles2_implementation.cc target, level, internalformat, width, height, border, format, type, width 3821 gpu/command_buffer/client/gles2_implementation.cc target, level, internalformat, width, height, border, format, type, width 3829 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, width 3836 gpu/command_buffer/client/gles2_implementation.cc << width << ", " << height << ", " width 3840 gpu/command_buffer/client/gles2_implementation.cc if (level < 0 || height < 0 || width < 0) { width 3850 gpu/command_buffer/client/gles2_implementation.cc width, height, format, type, unpack_alignment_, &size, width 3874 gpu/command_buffer/client/gles2_implementation.cc target, level, xoffset, yoffset, width, height, format, type, width 3905 gpu/command_buffer/client/gles2_implementation.cc GLsizei width, GLsizei height, GLenum internalformat) { width 3906 gpu/command_buffer/client/gles2_implementation.cc if (width <= 0) { width 3921 gpu/command_buffer/client/gles2_implementation.cc width, height, internalformat); width 3930 gpu/command_buffer/client/gles2_implementation.cc GLsizei width, GLsizei height, GLenum internalformat) { width 3933 gpu/command_buffer/client/gles2_implementation.cc << width << ", " width 3936 gpu/command_buffer/client/gles2_implementation.cc GLuint image_id = CreateImageCHROMIUMHelper(width, height, internalformat); width 325 gpu/command_buffer/client/gles2_implementation.h width(_width), width 336 gpu/command_buffer/client/gles2_implementation.h GLsizei width; width 547 gpu/command_buffer/client/gles2_implementation.h GLsizei width, GLsizei height, GLenum internalformat); width 566 gpu/command_buffer/client/gles2_implementation.h GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, width 81 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 91 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 102 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 112 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 288 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void LineWidth(GLfloat width) OVERRIDE; width 298 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 308 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 313 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) OVERRIDE; width 351 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 374 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 473 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) OVERRIDE; width 489 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 495 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 508 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 583 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 591 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void ResizeCHROMIUM(GLuint width, width 613 gpu/command_buffer/client/gles2_implementation_autogen.h virtual GLuint CreateImageCHROMIUM(GLsizei width, width 628 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) width 632 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 681 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 690 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei width, width 217 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GLsizei width, width 225 gpu/command_buffer/client/gles2_implementation_impl_autogen.h << x << ", " << y << ", " << width << ", " << height << ", " << border width 227 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (width < 0) { width 236 gpu/command_buffer/client/gles2_implementation_impl_autogen.h target, level, internalformat, x, y, width, height, border); width 246 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GLsizei width, width 252 gpu/command_buffer/client/gles2_implementation_impl_autogen.h << ", " << y << ", " << width << ", " << height << ")"); width 253 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (width < 0) { width 262 gpu/command_buffer/client/gles2_implementation_impl_autogen.h target, level, xoffset, yoffset, x, y, width, height); width 1057 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::LineWidth(GLfloat width) { width 1059 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glLineWidth(" << width << ")"); width 1060 gpu/command_buffer/client/gles2_implementation_impl_autogen.h helper_->LineWidth(width); width 1082 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GLsizei width, width 1088 gpu/command_buffer/client/gles2_implementation_impl_autogen.h << ", " << width << ", " << height << ")"); width 1089 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (width < 0) { width 1097 gpu/command_buffer/client/gles2_implementation_impl_autogen.h helper_->RenderbufferStorage(target, internalformat, width, height); width 1111 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GLsizei width, width 1115 gpu/command_buffer/client/gles2_implementation_impl_autogen.h << ", " << width << ", " << height << ")"); width 1116 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (width < 0) { width 1124 gpu/command_buffer/client/gles2_implementation_impl_autogen.h helper_->Scissor(x, y, width, height); width 1652 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GLsizei width, width 1656 gpu/command_buffer/client/gles2_implementation_impl_autogen.h << ", " << width << ", " << height << ")"); width 1657 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (width < 0) { width 1665 gpu/command_buffer/client/gles2_implementation_impl_autogen.h helper_->Viewport(x, y, width, height); width 1694 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GLsizei width, width 1701 gpu/command_buffer/client/gles2_implementation_impl_autogen.h << ", " << width << ", " << height << ")"); width 1708 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (width < 0) { width 1721 gpu/command_buffer/client/gles2_implementation_impl_autogen.h target, samples, internalformat, width, height); width 1729 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GLsizei width, width 1736 gpu/command_buffer/client/gles2_implementation_impl_autogen.h << ", " << width << ", " << height << ")"); width 1742 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (width < 0) { width 1753 gpu/command_buffer/client/gles2_implementation_impl_autogen.h target, samples, internalformat, width, height); width 1784 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GLsizei width, width 1791 gpu/command_buffer/client/gles2_implementation_impl_autogen.h << ", " << width << ", " << height << ")"); width 1796 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (width < 0) { width 1804 gpu/command_buffer/client/gles2_implementation_impl_autogen.h helper_->TexStorage2DEXT(target, levels, internalFormat, width, height); width 1956 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GLsizei width, width 1963 gpu/command_buffer/client/gles2_implementation_impl_autogen.h << width << ", " << height << ", " << ioSurfaceId << ", " width 1965 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (width < 0) { width 1974 gpu/command_buffer/client/gles2_implementation_impl_autogen.h target, width, height, ioSurfaceId, plane); width 2247 gpu/command_buffer/client/gles2_implementation_unittest.cc int width, int height, GLenum format, GLenum type, int alignment, width 2253 gpu/command_buffer/client/gles2_implementation_unittest.cc width, height, format, type, alignment, &size, &unpadded_row_size, width 2273 gpu/command_buffer/client/gles2_implementation_unittest.cc ACTION_P8(CheckRectAction, width, height, format, type, alignment, flip_y, width 2276 gpu/command_buffer/client/gles2_implementation_unittest.cc width, height, format, type, alignment, flip_y, r1, r2)); width 60 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 69 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 79 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 88 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 201 gpu/command_buffer/client/gles2_interface_autogen.h virtual void LineWidth(GLfloat width) = 0; width 207 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 215 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 218 gpu/command_buffer/client/gles2_interface_autogen.h virtual void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) = 0; width 245 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 263 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 320 gpu/command_buffer/client/gles2_interface_autogen.h virtual void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) = 0; width 334 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 339 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 350 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 395 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 401 gpu/command_buffer/client/gles2_interface_autogen.h virtual void ResizeCHROMIUM(GLuint width, width 416 gpu/command_buffer/client/gles2_interface_autogen.h virtual GLuint CreateImageCHROMIUM(GLsizei width, width 429 gpu/command_buffer/client/gles2_interface_autogen.h GLint width, width 432 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 466 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 474 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei width, width 59 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 68 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 78 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 87 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 211 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void LineWidth(GLfloat width) OVERRIDE; width 217 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 225 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 228 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) OVERRIDE; width 255 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 273 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 341 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) OVERRIDE; width 355 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 360 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 371 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 419 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 425 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void ResizeCHROMIUM(GLuint width, width 440 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual GLuint CreateImageCHROMIUM(GLsizei width, width 451 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) width 454 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 490 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 498 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei width, width 59 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 68 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 78 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 87 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 211 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void LineWidth(GLfloat width) OVERRIDE; width 217 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 225 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 228 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) OVERRIDE; width 255 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 273 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 341 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) OVERRIDE; width 355 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 360 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 371 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 419 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 425 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void ResizeCHROMIUM(GLuint width, width 440 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual GLuint CreateImageCHROMIUM(GLsizei width, width 451 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) width 454 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 490 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 498 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei width, width 146 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 153 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h target, level, internalformat, width, height, border, imageSize, data); width 160 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 167 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h target, level, xoffset, yoffset, width, height, format, imageSize, data); width 175 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 180 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h target, level, internalformat, x, y, width, height, border); width 189 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 192 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); width 587 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::LineWidth(GLfloat width) { width 589 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->LineWidth(width); width 609 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 615 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->ReadPixels(x, y, width, height, format, type, pixels); width 625 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 628 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->RenderbufferStorage(target, internalformat, width, height); width 639 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 642 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->Scissor(x, y, width, height); width 715 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 725 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h width, width 765 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 772 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h target, level, xoffset, yoffset, width, height, format, type, pixels); width 984 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 987 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->Viewport(x, y, width, height); width 1009 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 1014 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h target, samples, internalformat, width, height); width 1021 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 1026 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h target, samples, internalformat, width, height); width 1045 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 1048 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->TexStorage2DEXT(target, levels, internalFormat, width, height); width 1210 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 1217 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h target, level, xoffset, yoffset, width, height, format, type, access); width 1226 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::ResizeCHROMIUM(GLuint width, width 1230 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->ResizeCHROMIUM(width, height, scale_factor); width 1273 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLuint GLES2TraceImplementation::CreateImageCHROMIUM(GLsizei width, width 1277 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h return gl_->CreateImageCHROMIUM(width, height, internalformat); width 1304 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLint width, width 1307 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->PostSubBufferCHROMIUM(x, y, width, height); width 1311 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 1317 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->TexImageIOSurface2DCHROMIUM(target, width, height, ioSurfaceId, plane); width 1406 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 1414 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h target, level, xoffset, yoffset, width, height, format, type, data); width 1420 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei width, width 1430 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h width, width 19 gpu/command_buffer/client/gpu_memory_buffer_factory.h size_t width, width 25 gpu/command_buffer/client/gpu_memory_buffer_tracker.cc size_t width, size_t height, int32 internalformat) { width 29 gpu/command_buffer/client/gpu_memory_buffer_tracker.cc width, height, internalformat, &image_id); width 27 gpu/command_buffer/client/gpu_memory_buffer_tracker.h int32 CreateBuffer(size_t width, size_t height, int32 internalformat); width 938 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 972 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 990 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(CompressedTexImage2D, width) == 16, width 1026 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 1049 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 1065 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(CompressedTexImage2DBucket, width) == 16, width 1101 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 1138 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 1158 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(CompressedTexSubImage2D, width) == 20, width 1196 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 1227 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 1245 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(CompressedTexSubImage2DBucket, width) == 20, width 1280 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 1305 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 1323 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(CopyTexImage2D, width) == 24, width 1357 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 1382 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 1402 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(CopyTexSubImage2D, width) == 28, width 4452 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 4461 gpu/command_buffer/common/gles2_cmd_format_autogen.h float width; width 4467 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(LineWidth, width) == 4, OffsetOf_LineWidth_width_not_4); width 4604 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 4644 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 4660 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(ReadPixels, width) == 12, width 4725 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 4742 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 4754 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(RenderbufferStorage, width) == 12, width 4811 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 4823 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 4831 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(Scissor, width) == 12, OffsetOf_Scissor_width_not_12); width 5263 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 5300 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 5318 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(TexImage2D, width) == 16, width 5633 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 5673 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 5693 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(TexSubImage2D, width) == 20, width 7820 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 7832 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 7840 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(Viewport, width) == 12, OffsetOf_Viewport_width_not_12); width 7963 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 7982 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 7997 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(RenderbufferStorageMultisampleCHROMIUM, width) == 16, width 8024 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 8043 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 8058 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(RenderbufferStorageMultisampleEXT, width) == 16, width 8149 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 8168 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 8181 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(TexStorage2DEXT, width) == 16, width 9112 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 9123 gpu/command_buffer/common/gles2_cmd_format_autogen.h uint32 width; width 9131 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(ResizeCHROMIUM, width) == 4, width 9375 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 9387 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 9399 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(PostSubBufferCHROMIUM, width) == 12, width 9423 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 9442 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 9454 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(TexImageIOSurface2DCHROMIUM, width) == 8, width 10114 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 10160 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 10183 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(AsyncTexSubImage2DCHROMIUM, width) == 20, width 10231 gpu/command_buffer/common/gles2_cmd_format_autogen.h width = _width; width 10277 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 width; width 10299 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(AsyncTexImage2DCHROMIUM, width) == 16, width 328 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(14), cmd.width); width 354 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(14), cmd.width); width 382 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(15), cmd.width); width 410 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(15), cmd.width); width 436 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(16), cmd.width); width 462 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(17), cmd.width); width 1448 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLfloat>(11), cmd.width); width 1502 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(13), cmd.width); width 1536 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(13), cmd.width); width 1564 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(13), cmd.width); width 1722 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(14), cmd.width); width 1854 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(15), cmd.width); width 2733 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(13), cmd.width); width 2784 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(14), cmd.width); width 2805 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(14), cmd.width); width 2847 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(14), cmd.width); width 3169 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLuint>(11), cmd.width); width 3258 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLint>(13), cmd.width); width 3276 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(12), cmd.width); width 3652 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(15), cmd.width); width 3687 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(14), cmd.width); width 404 gpu/command_buffer/common/gles2_cmd_utils.cc int width, int format, int type, int unpack_alignment, width 408 gpu/command_buffer/common/gles2_cmd_utils.cc if (!SafeMultiplyUint32(width, bytes_per_group, &unpadded_row_size)) { width 421 gpu/command_buffer/common/gles2_cmd_utils.cc int width, int height, int format, int type, int unpack_alignment, width 425 gpu/command_buffer/common/gles2_cmd_utils.cc if (!SafeMultiplyUint32(width, bytes_per_group, &row_size)) { width 701 gpu/command_buffer/common/gles2_cmd_utils.cc ss.width(value < 0x10000 ? 4 : 8); width 112 gpu/command_buffer/common/gles2_cmd_utils.h int width, int format, int type, int unpack_alignment, width 120 gpu/command_buffer/common/gles2_cmd_utils.h int width, int height, int format, int type, int unpack_alignment, width 34 gpu/command_buffer/common/gpu_control.h size_t width, width 30 gpu/command_buffer/service/async_pixel_transfer_delegate.h GLsizei width; width 42 gpu/command_buffer/service/async_pixel_transfer_delegate.h GLsizei width; width 51 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc tex_params.width, tex_params.height, width 60 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc tex_params.width, tex_params.height, width 68 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc 0, 0, tex_params.width, tex_params.height, width 157 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc "width", define_params_.width, width 247 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc tex_params.width, width 308 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc tex_params.width, width 524 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc "width", tex_params.width, width 561 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc bool DimensionsSupportImgFastPath(int width, int height) { width 563 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc return IsMultipleOfEight(width) && width 565 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc !(IsPowerOfTwo(width) && width 610 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc if (DimensionsSupportImgFastPath(tex_params.width, tex_params.height)) { width 628 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc if (DimensionsSupportImgFastPath(tex_params.width, tex_params.height)) width 639 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc DCHECK_EQ(state_->define_params_.width, tex_params.width); width 144 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc "width", tex_params.width, width 158 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc tex_params.width, width 180 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc "width", tex_params.width, width 194 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc tex_params.width == define_params_.width && width 201 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc define_params_.width, width 214 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc tex_params.width, width 213 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc "width", define_params_.width, width 289 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc tex_params.width, width 305 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc tex_params.width, width 327 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc tex_params.width, width 343 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc tex_params.width, width 459 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc "width", tex_params.width, width 55 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc tex_params.width, width 78 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc tex_params.width, width 518 gpu/command_buffer/service/feature_info.cc GLsizei width = 16; width 525 gpu/command_buffer/service/feature_info.cc glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, width, width, 0, GL_RGBA, width 531 gpu/command_buffer/service/feature_info.cc glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB32F, width, width, 0, GL_RGB, width 52 gpu/command_buffer/service/framebuffer_manager.cc return renderbuffer_->width(); width 425 gpu/command_buffer/service/framebuffer_manager.cc GLsizei width = -1; width 435 gpu/command_buffer/service/framebuffer_manager.cc if (width < 0) { width 436 gpu/command_buffer/service/framebuffer_manager.cc width = attachment->width(); width 438 gpu/command_buffer/service/framebuffer_manager.cc if (width == 0 || height == 0) { width 442 gpu/command_buffer/service/framebuffer_manager.cc if (attachment->width() != width || attachment->height() != height) { width 32 gpu/command_buffer/service/framebuffer_manager.h virtual GLsizei width() const = 0; width 320 gpu/command_buffer/service/framebuffer_manager_unittest.cc EXPECT_EQ(kWidth1, attachment->width()); width 349 gpu/command_buffer/service/framebuffer_manager_unittest.cc EXPECT_EQ(kWidth4, attachment->width()); width 363 gpu/command_buffer/service/framebuffer_manager_unittest.cc EXPECT_EQ(kWidth4 + 1, attachment->width()); width 495 gpu/command_buffer/service/framebuffer_manager_unittest.cc EXPECT_EQ(kWidth1, attachment->width()); width 529 gpu/command_buffer/service/framebuffer_manager_unittest.cc EXPECT_EQ(kWidth2, attachment->width()); width 549 gpu/command_buffer/service/framebuffer_manager_unittest.cc EXPECT_EQ(kWidth3, attachment->width()); width 22 gpu/command_buffer/service/gl_surface_mock.h MOCK_METHOD4(PostSubBuffer, bool(int x, int y, int width, int height)); width 328 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc GLsizei width, width 339 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc dest_id, level, width, height, flip_y, premultiply_alpha, width 350 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc GLsizei width, width 421 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc glViewport(0, 0, width, height); width 30 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h GLint level, GLsizei width, GLsizei height, width 39 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h GLsizei width, GLsizei height, bool flip_y, width 707 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 848 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 860 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 873 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 888 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 899 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 911 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 928 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 946 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 1148 gpu/command_buffer/service/gles2_cmd_decoder.cc int width, width 1375 gpu/command_buffer/service/gles2_cmd_decoder.cc GLenum target, GLenum internalformat, GLsizei width, GLsizei height); width 1380 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, GLsizei height); width 1386 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, GLsizei height); width 1391 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 1449 gpu/command_buffer/service/gles2_cmd_decoder.cc void DoViewport(GLint x, GLint y, GLsizei width, GLsizei height); width 1570 gpu/command_buffer/service/gles2_cmd_decoder.cc GLint level, GLsizei width, GLsizei height, GLenum format); width 1573 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, GLsizei height, GLenum format, size_t size); width 1577 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, GLsizei height, GLenum format, width 1936 gpu/command_buffer/service/gles2_cmd_decoder.cc const int width = decoder_->offscreen_size_.width(); width 1941 gpu/command_buffer/service/gles2_cmd_decoder.cc width, width 1945 gpu/command_buffer/service/gles2_cmd_decoder.cc width, width 2012 gpu/command_buffer/service/gles2_cmd_decoder.cc size.width(), size.height(), format, GL_UNSIGNED_BYTE, 8, &image_size, width 2028 gpu/command_buffer/service/gles2_cmd_decoder.cc size.width(), width 2055 gpu/command_buffer/service/gles2_cmd_decoder.cc size.width(), width 2110 gpu/command_buffer/service/gles2_cmd_decoder.cc size.width(), size.height(), samples, format, &estimated_size)) { width 2121 gpu/command_buffer/service/gles2_cmd_decoder.cc size.width(), width 2128 gpu/command_buffer/service/gles2_cmd_decoder.cc size.width(), width 2589 gpu/command_buffer/service/gles2_cmd_decoder.cc state_.viewport_width = size.width(); width 3140 gpu/command_buffer/service/gles2_cmd_decoder.cc return gfx::Size(attachment->width(), attachment->height()); width 3194 gpu/command_buffer/service/gles2_cmd_decoder.cc offscreen_size_.width(), width 3485 gpu/command_buffer/service/gles2_cmd_decoder.cc int w = offscreen_size_.width(); width 3593 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint width = static_cast<GLuint>(c.width); width 3596 gpu/command_buffer/service/gles2_cmd_decoder.cc TRACE_EVENT2("gpu", "glResizeChromium", "width", width, "height", height); width 3598 gpu/command_buffer/service/gles2_cmd_decoder.cc width = std::max(1U, width); width 3608 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!ResizeOffscreenFrameBuffer(gfx::Size(width, height))) { width 3616 gpu/command_buffer/service/gles2_cmd_decoder.cc resize_callback_.Run(gfx::Size(width, height), scale_factor); width 5195 gpu/command_buffer/service/gles2_cmd_decoder.cc *params = renderbuffer->width(); width 5241 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 5247 gpu/command_buffer/service/gles2_cmd_decoder.cc target, samples, internal_format, width, height); width 5250 gpu/command_buffer/service/gles2_cmd_decoder.cc target, samples, internal_format, width, height); width 5253 gpu/command_buffer/service/gles2_cmd_decoder.cc target, samples, internal_format, width, height); width 5284 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 5293 gpu/command_buffer/service/gles2_cmd_decoder.cc if (width > renderbuffer_manager()->max_renderbuffer_size() || width 5303 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, samples, internalformat, &estimated_size)) { width 5322 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, GLsizei height) { width 5339 gpu/command_buffer/service/gles2_cmd_decoder.cc samples, internalformat, width, height)) { width 5349 gpu/command_buffer/service/gles2_cmd_decoder.cc feature_info_, target, samples, impl_format, width, height); width 5368 gpu/command_buffer/service/gles2_cmd_decoder.cc renderbuffer, samples, internalformat, width, height); width 5375 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, GLsizei height) { width 5392 gpu/command_buffer/service/gles2_cmd_decoder.cc samples, internalformat, width, height)) { width 5402 gpu/command_buffer/service/gles2_cmd_decoder.cc target, samples, impl_format, width, height); width 5405 gpu/command_buffer/service/gles2_cmd_decoder.cc target, samples, impl_format, width, height); width 5413 gpu/command_buffer/service/gles2_cmd_decoder.cc renderbuffer, samples, internalformat, width, height); width 5519 gpu/command_buffer/service/gles2_cmd_decoder.cc GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { width 5529 gpu/command_buffer/service/gles2_cmd_decoder.cc if (width > renderbuffer_manager()->max_renderbuffer_size() || width 5538 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, 1, internalformat, &estimated_size)) { width 5555 gpu/command_buffer/service/gles2_cmd_decoder.cc width, width 5563 gpu/command_buffer/service/gles2_cmd_decoder.cc renderbuffer, 1, internalformat, width, height); width 7161 gpu/command_buffer/service/gles2_cmd_decoder.cc void GLES2DecoderImpl::DoViewport(GLint x, GLint y, GLsizei width, width 7165 gpu/command_buffer/service/gles2_cmd_decoder.cc state_.viewport_width = std::min(width, viewport_max_width_); width 7167 gpu/command_buffer/service/gles2_cmd_decoder.cc glViewport(x, y, width, height); width 7220 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width = c.width; width 7238 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, format, type, state_.pack_alignment, &pixels_size, width 7280 gpu/command_buffer/service/gles2_cmd_decoder.cc width, 2, format, type, state_.pack_alignment, &temp_size, width 7330 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width = c.width; width 7335 gpu/command_buffer/service/gles2_cmd_decoder.cc if (width < 0 || height < 0) { width 7342 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, format, type, state_.pack_alignment, &pixels_size, width 7384 gpu/command_buffer/service/gles2_cmd_decoder.cc if (width == 0 || height == 0) { width 7393 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!SafeAddInt32(x, width, &max_x) || !SafeAddInt32(y, height, &max_y)) { width 7407 gpu/command_buffer/service/gles2_cmd_decoder.cc if (x < 0 || y < 0 || max_x > max_size.width() || max_y > max_size.height()) { width 7414 gpu/command_buffer/service/gles2_cmd_decoder.cc width, 2, format, type, state_.pack_alignment, &temp_size, width 7434 gpu/command_buffer/service/gles2_cmd_decoder.cc GLint read_end_x = std::max(0, std::min(max_size.width(), max_x)); width 7457 gpu/command_buffer/service/gles2_cmd_decoder.cc glReadPixels(x, y, width, height, format, type, 0); width 7472 gpu/command_buffer/service/gles2_cmd_decoder.cc glReadPixels(x, y, width, height, format, type, pixels); width 7551 gpu/command_buffer/service/gles2_cmd_decoder.cc if (surface_->PostSubBuffer(c.x, c.y, c.width, c.height)) { width 7776 gpu/command_buffer/service/gles2_cmd_decoder.cc int width, width 7822 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, format, type, state_.unpack_alignment, &size, width 7840 gpu/command_buffer/service/gles2_cmd_decoder.cc width, tile_height, format, type, state_.unpack_alignment, &size, width 7857 gpu/command_buffer/service/gles2_cmd_decoder.cc glTexSubImage2D(target, level, 0, y, width, h, format, type, zero.get()); width 7860 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, internal_format, width, h, 0, format, type, width 7890 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, GLsizei height, GLenum format, size_t size) { width 7897 gpu/command_buffer/service/gles2_cmd_decoder.cc (width + kS3TCBlockWidth - 1) / kS3TCBlockWidth; width 7907 gpu/command_buffer/service/gles2_cmd_decoder.cc (width + kS3TCBlockWidth - 1) / kS3TCBlockWidth; width 7916 gpu/command_buffer/service/gles2_cmd_decoder.cc (width + kETC1BlockWidth - 1) / kETC1BlockWidth; width 7939 gpu/command_buffer/service/gles2_cmd_decoder.cc GLint level, GLsizei width, GLsizei height, GLenum format) { width 7945 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!IsValidDXTSize(level, width) || !IsValidDXTSize(level, height)) { width 7954 gpu/command_buffer/service/gles2_cmd_decoder.cc if (width <= 0 || height <= 0) { width 7969 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, GLsizei height, GLenum format, width 7993 gpu/command_buffer/service/gles2_cmd_decoder.cc width - xoffset > tex_width || width 8000 gpu/command_buffer/service/gles2_cmd_decoder.cc function_name, level, width, height, format); width 8017 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 8034 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!texture_manager()->ValidForTarget(target, level, width, height, 1) || width 8058 gpu/command_buffer/service/gles2_cmd_decoder.cc "glCompressedTexImage2D", level, width, height, internal_format) || width 8060 gpu/command_buffer/service/gles2_cmd_decoder.cc "glCompressedTexImage2D", width, height, internal_format, image_size)) { width 8082 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, internal_format, width, height, border, image_size, data); width 8087 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, 1, border, 0, 0, true); width 8097 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width = static_cast<GLsizei>(c.width); width 8112 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, internal_format, width, height, border, image_size, data); width 8120 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width = static_cast<GLsizei>(c.width); width 8134 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, internal_format, width, height, border, width 8145 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width = static_cast<GLsizei>(c.width); width 8168 gpu/command_buffer/service/gles2_cmd_decoder.cc if (width < 0) { width 8184 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, format, imageSize, data); width 8198 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width = static_cast<GLsizei>(c.width); width 8207 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, format, type, state_.unpack_alignment, &pixels_size, NULL, width 8221 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, internal_format, width, height, border, format, type, width 8233 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 8262 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, type)) { width 8269 gpu/command_buffer/service/gles2_cmd_decoder.cc "glCompressedTexSubImage2D", width, height, format, image_size) || width 8272 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, format, texture)) { width 8282 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, format, image_size, data); width 8308 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 8325 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!texture_manager()->ValidForTarget(target, level, width, height, 1) || width 8357 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, internal_format, GL_UNSIGNED_BYTE, state_.unpack_alignment, width 8386 gpu/command_buffer/service/gles2_cmd_decoder.cc Clip(x, width, size.width(), ©X, ©Width); width 8391 gpu/command_buffer/service/gles2_cmd_decoder.cc copyWidth != width || width 8397 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, texture->IsImmutable())) { width 8420 gpu/command_buffer/service/gles2_cmd_decoder.cc texture_ref, target, level, internal_format, width, height, 1, width 8432 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 8448 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, type)) { width 8489 gpu/command_buffer/service/gles2_cmd_decoder.cc Clip(x, width, size.width(), ©X, ©Width); width 8500 gpu/command_buffer/service/gles2_cmd_decoder.cc copyWidth != width || width 8505 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, format, type, state_.unpack_alignment, &pixels_size, width 8515 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, width 8538 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 8548 gpu/command_buffer/service/gles2_cmd_decoder.cc if (width < 0) { width 8589 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, type)) { width 8612 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 8619 gpu/command_buffer/service/gles2_cmd_decoder.cc xoffset, yoffset, width, height, format, type, data)) { width 8630 gpu/command_buffer/service/gles2_cmd_decoder.cc width != tex_width || height != tex_height) { width 8639 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, format, type, data); width 8652 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, internal_format, width, height, 0, format, type, data); width 8656 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, format, type, data); width 8673 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width = static_cast<GLsizei>(c.width); width 8679 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, format, type, state_.unpack_alignment, &data_size, width 8686 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, format, type, pixels); width 9020 gpu/command_buffer/service/gles2_cmd_decoder.cc "width", (is_offscreen ? offscreen_size_.width() : width 9021 gpu/command_buffer/service/gles2_cmd_decoder.cc surface_->GetSize().width())); width 9042 gpu/command_buffer/service/gles2_cmd_decoder.cc "width", offscreen_size_.width(), "height", offscreen_size_.height()); width 9059 gpu/command_buffer/service/gles2_cmd_decoder.cc if (offscreen_size_.width() != 0 && offscreen_size_.height() != 0) { width 9084 gpu/command_buffer/service/gles2_cmd_decoder.cc if (offscreen_size_.width() == 0 || offscreen_size_.height() == 0) width 9693 gpu/command_buffer/service/gles2_cmd_decoder.cc GLenum target, GLsizei width, GLsizei height, width 9761 gpu/command_buffer/service/gles2_cmd_decoder.cc width, width 9776 gpu/command_buffer/service/gles2_cmd_decoder.cc texture_ref, target, 0, GL_RGBA, width, height, 1, 0, width 9865 gpu/command_buffer/service/gles2_cmd_decoder.cc source_width = size.width(); width 10033 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width, width 10036 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!texture_manager()->ValidForTarget(target, 0, width, height, 1) || width 10037 gpu/command_buffer/service/gles2_cmd_decoder.cc TextureManager::ComputeMipMapCount(target, width, height, 1) < levels) { width 10065 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei level_width = width; width 10089 gpu/command_buffer/service/gles2_cmd_decoder.cc glTexStorage2DEXT(target, levels, internal_format, width, height); width 10092 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei level_width = width; width 10272 gpu/command_buffer/service/gles2_cmd_decoder.cc texture_ref, target, 0, GL_RGBA, size.width(), size.height(), 1, 0, width 10451 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width = static_cast<GLsizei>(c.width); width 10478 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, format, type, state_.unpack_alignment, &pixels_size, NULL, width 10492 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, internal_format, width, height, border, format, type, width 10524 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, border, format, type}; width 10556 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei width = static_cast<GLsizei>(c.width); width 10580 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, format, type, state_.unpack_alignment, &data_size, width 10590 gpu/command_buffer/service/gles2_cmd_decoder.cc target, level, xoffset, yoffset, width, height, format, type, pixels)) { width 10620 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, format, type}; width 10631 gpu/command_buffer/service/gles2_cmd_decoder.cc texture->GetLevelSize(target, level, &define_params.width, width 199 gpu/command_buffer/service/gles2_cmd_decoder.h int width, width 332 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei width = static_cast<GLsizei>(c.width); width 344 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (width < 0) { width 368 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h target, level, xoffset, yoffset, width, height, format, imageSize, data); width 384 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei width = static_cast<GLsizei>(c.width); width 396 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (width < 0) { width 409 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DoCopyTexImage2D(target, level, internalformat, x, y, width, height, border); width 426 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei width = static_cast<GLsizei>(c.width); width 432 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (width < 0) { width 440 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DoCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); width 1516 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLfloat width = static_cast<GLfloat>(c.width); width 1517 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (width <= 0.0f) { width 1521 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (state_.line_width != width) { width 1522 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h state_.line_width = width; width 1523 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h glLineWidth(width); width 1562 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei width = static_cast<GLsizei>(c.width); width 1573 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (width < 0) { width 1581 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DoRenderbufferStorage(target, internalformat, width, height); width 1598 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei width = static_cast<GLsizei>(c.width); width 1600 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (width < 0) { width 1609 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h state_.scissor_width != width || state_.scissor_height != height) { width 1612 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h state_.scissor_width = width; width 1614 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h glScissor(x, y, width, height); width 2723 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei width = static_cast<GLsizei>(c.width); width 2725 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (width < 0) { width 2733 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DoViewport(x, y, width, height); width 2773 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei width = static_cast<GLsizei>(c.width); width 2792 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (width < 0) { width 2805 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h target, samples, internalformat, width, height); width 2815 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei width = static_cast<GLsizei>(c.width); width 2833 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (width < 0) { width 2844 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h target, samples, internalformat, width, height); width 2895 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei width = static_cast<GLsizei>(c.width); width 2910 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (width < 0) { width 2918 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DoTexStorage2DEXT(target, levels, internalFormat, width, height); width 3165 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei width = static_cast<GLsizei>(c.width); width 3174 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (width < 0) { width 3184 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DoTexImageIOSurface2DCHROMIUM(target, width, height, ioSurfaceId, plane); width 100 gpu/command_buffer/service/gles2_cmd_decoder_mock.h int width, width 1906 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint width = 0; width 1908 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, 2, &width, &height)); width 1922 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, 2, &width, &height)); width 2280 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc ReadPixelsEmulator(GLsizei width, GLsizei height, GLint bytes_per_pixel, width 2283 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc : width_(width), width 2292 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint x, GLint y, GLsizei width, GLsizei height, width 2296 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc DCHECK_LE(x + width, width_); width 2300 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc const void* dst = ComputePackAlignmentAddress(0, yy, width, pixels); width 2301 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc memcpy(const_cast<void*>(dst), src, width * bytes_per_pixel_); width 2306 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint x, GLint y, GLsizei width, const void* data) const { width 2307 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc DCHECK(x + width <= width_ || width == 0); width 2309 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc width * bytes_per_pixel_) == 0; width 2314 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint x, GLint y, GLsizei width, const void* address) const { width 2315 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint unpadded_row_size = ComputeImageDataSize(width, 1); width 2316 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint two_rows_size = ComputeImageDataSize(width, 2); width 2322 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint ComputeImageDataSize(GLint width, GLint height) const { width 2323 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint row_size = width * bytes_per_pixel_; width 4698 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLsizei width = 2; width 4708 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, level, &width, &height)); width 4714 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc width, height, border, format, type, _)) width 4718 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc cmd.Init(target, level, internal_format, width, height, border, format, width 4722 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, level, &width, &height)); width 4751 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLsizei width = 2; width 4759 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, level, &width, &height)); width 4765 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc target, level, internal_format, 0, 0, width, height, border)) width 4769 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc cmd.Init(target, level, internal_format, 0, 0, width, height, border); width 4772 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, level, &width, &height)); width 5014 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLsizei width = 2; width 5027 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc *gl_, ReadPixels(x, y, width, height, kFormat, GL_UNSIGNED_BYTE, _)) width 5031 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc cmd.Init(x, y, width, height, kFormat, GL_UNSIGNED_BYTE, width 5300 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc for (GLsizei width = 4; width <= 8; width += 4) { width 5301 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLsizei size = test.block_size * (width / 4) * (height / 4); width 5304 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GL_TEXTURE_2D, 0, xoffset, yoffset, width, height, test.format, width 5309 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GL_TEXTURE_2D, 0, xoffset, yoffset, width, height, test.format, width 5623 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLsizei width = 2; width 5631 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc cmd.Init(target, level, internal_format, width, height, border, format, width 5832 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLsizei width = 2; width 5841 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc cmd.Init(target, level, internal_format, width, height, border, format, width 6563 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLsizei width = 2; width 6581 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc cmd.Init(target, level, internal_format, 0, 0, width, height, border); width 7065 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLsizei width; width 7070 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_TRUE(texture->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height)); width 7071 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_EQ(3, width); width 7077 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_TRUE(texture->GetLevelSize(GL_TEXTURE_2D, 1, &width, &height)); width 7078 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_EQ(2, width); width 7108 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_TRUE(texture->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height)); width 7109 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_EQ(3, width); width 7115 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_TRUE(texture->GetLevelSize(GL_TEXTURE_2D, 1, &width, &height)); width 7116 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_EQ(2, width); width 7635 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLsizei width; width 7640 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_TRUE(texture->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height)); width 7641 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_EQ(3, width); width 7657 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_TRUE(texture->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height)); width 7664 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_TRUE(texture->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height)); width 7710 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLsizei width; width 7715 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_TRUE(texture->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height)); width 7716 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_EQ(3, width); width 7732 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_TRUE(texture->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height)); width 7745 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_TRUE(texture->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height)); width 8062 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLsizei width, height; width 8063 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height)); width 8090 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLsizei width, height; width 8091 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_TRUE(texture->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height)); width 8092 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc EXPECT_EQ(width, 8); width 8408 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLsizei width = 4; width 8428 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc target, level, internal_format, 0, 0, width, height, border)) width 8432 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc cmd.Init(target, level, internal_format, 0, 0, width, height, border); width 447 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc GLsizei width, width 453 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc target, level, internal_format, width, height, 0, format, type, _)) width 815 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc GLsizei width, GLsizei height, GLint border, width 822 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc width, height, border, format, type, _)) width 829 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc cmd.Init(target, level, internal_format, width, height, border, format, width 836 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc GLsizei width, GLsizei height, GLint border, width 844 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc width, height, border, format, type, _)) width 851 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc cmd.Init(target, level, requested_internal_format, width, height, border, width 858 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc GLsizei width, GLsizei height, GLint border, width 864 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc target, level, format, width, height, border, size, _)) width 874 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc target, level, format, width, height, border, width 881 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc GLsizei width, GLsizei height, GLenum error) { width 886 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc target, actual_format, width, height)) width 893 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc cmd.Init(target, internal_format, width, height); width 241 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h GLsizei width, GLsizei height, GLint border, width 245 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h GLsizei width, GLsizei height, GLint border, width 250 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h GLsizei width, GLsizei height, GLint border, width 256 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h GLsizei width, GLsizei height, GLenum error); width 297 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h GLsizei width, width 37 gpu/command_buffer/service/gpu_control_service.cc size_t width, width 45 gpu/command_buffer/service/gpu_control_service.cc gpu_memory_buffer_factory_->CreateGpuMemoryBuffer(width, width 56 gpu/command_buffer/service/gpu_control_service.cc width, width 116 gpu/command_buffer/service/gpu_control_service.cc size_t width, width 121 gpu/command_buffer/service/gpu_control_service.cc width, width 36 gpu/command_buffer/service/gpu_control_service.h size_t width, width 56 gpu/command_buffer/service/gpu_control_service.h size_t width, width 20 gpu/command_buffer/service/gpu_memory_buffer_manager.h size_t width, width 51 gpu/command_buffer/service/gpu_state_tracer.cc screenshot_pixels_.resize(screenshot_size_.width() * width 57 gpu/command_buffer/service/gpu_state_tracer.cc screenshot_size_.width(), width 65 gpu/command_buffer/service/gpu_state_tracer.cc int bytes_per_row = screenshot_size_.width() * kBytesPerPixel; width 80 gpu/command_buffer/service/gpu_state_tracer.cc int bytes_per_row = screenshot_size_.width() * kBytesPerPixel; width 20 gpu/command_buffer/service/image_manager.cc size_t width, width 35 gpu/command_buffer/service/image_manager.cc gfx::Size(width, height), width 31 gpu/command_buffer/service/image_manager.h size_t width, width 309 gpu/command_buffer/service/in_process_command_buffer.cc DCHECK(params.size.width() >= 0 && params.size.height() >= 0); width 606 gpu/command_buffer/service/in_process_command_buffer.cc size_t width, width 612 gpu/command_buffer/service/in_process_command_buffer.cc return gpu_control_->CreateGpuMemoryBuffer(width, width 100 gpu/command_buffer/service/in_process_command_buffer.h size_t width, width 45 gpu/command_buffer/service/mailbox_manager_unittest.cc GLsizei width, width 56 gpu/command_buffer/service/mailbox_manager_unittest.cc width, width 347 gpu/command_buffer/service/mailbox_manager_unittest.cc GLsizei width, height; width 348 gpu/command_buffer/service/mailbox_manager_unittest.cc new_texture->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height); width 349 gpu/command_buffer/service/mailbox_manager_unittest.cc EXPECT_EQ(16, width); width 377 gpu/command_buffer/service/mailbox_manager_unittest.cc new_texture->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height); width 378 gpu/command_buffer/service/mailbox_manager_unittest.cc EXPECT_EQ(64, width); width 102 gpu/command_buffer/service/renderbuffer_manager.cc GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { width 108 gpu/command_buffer/service/renderbuffer_manager.cc renderbuffer->SetInfo(samples, internalformat, width, height); width 154 gpu/command_buffer/service/renderbuffer_manager.cc bool RenderbufferManager::ComputeEstimatedRenderbufferSize(int width, width 162 gpu/command_buffer/service/renderbuffer_manager.cc if (!SafeMultiplyUint32(width, height, &temp)) { width 50 gpu/command_buffer/service/renderbuffer_manager.h GLsizei width() const { width 85 gpu/command_buffer/service/renderbuffer_manager.h GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { width 88 gpu/command_buffer/service/renderbuffer_manager.h width_ = width; width 147 gpu/command_buffer/service/renderbuffer_manager.h GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 167 gpu/command_buffer/service/renderbuffer_manager.h bool ComputeEstimatedRenderbufferSize(int width, width 134 gpu/command_buffer/service/renderbuffer_manager_unittest.cc EXPECT_EQ(0, renderbuffer1->width()); width 147 gpu/command_buffer/service/renderbuffer_manager_unittest.cc EXPECT_EQ(kWidth, renderbuffer1->width()); width 114 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc size.width(), width 311 gpu/command_buffer/service/test_helper.cc const GLsizei width = 16; width 331 gpu/command_buffer/service/test_helper.cc EXPECT_CALL(*gl, TexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, width, width, 0, width 345 gpu/command_buffer/service/test_helper.cc EXPECT_CALL(*gl, TexImage2D(GL_TEXTURE_2D, 0, GL_RGB32F, width, width, 0, width 294 gpu/command_buffer/service/texture_definition.cc GLsizei width, width 303 gpu/command_buffer/service/texture_definition.cc width(width), width 333 gpu/command_buffer/service/texture_definition.cc DCHECK(texture->level_infos_[0][0].width); width 344 gpu/command_buffer/service/texture_definition.cc level.width, width 393 gpu/command_buffer/service/texture_definition.cc base_info.target, base_info.width, base_info.height, base_info.depth); width 402 gpu/command_buffer/service/texture_definition.cc info.width, width 90 gpu/command_buffer/service/texture_definition.h GLsizei width, width 101 gpu/command_buffer/service/texture_definition.h GLsizei width; width 171 gpu/command_buffer/service/texture_manager.cc width(0), width 185 gpu/command_buffer/service/texture_manager.cc width(rhs.width), width 208 gpu/command_buffer/service/texture_manager.cc if (first_face.width == 0 || width 270 gpu/command_buffer/service/texture_manager.cc info.width, info.height, info.depth, info.border, width 289 gpu/command_buffer/service/texture_manager.cc GLsizei width = info1.width; width 295 gpu/command_buffer/service/texture_manager.cc TextureManager::ComputeMipMapCount(target_, width, height, depth); width 297 gpu/command_buffer/service/texture_manager.cc width = std::max(1, width >> 1); width 304 gpu/command_buffer/service/texture_manager.cc width, width 358 gpu/command_buffer/service/texture_manager.cc if ((info.target == 0) || (info.width != first.width) || width 391 gpu/command_buffer/service/texture_manager.cc target_, first_face.width, first_face.height, first_face.depth); width 396 gpu/command_buffer/service/texture_manager.cc if (info.width > 0 && info.height > 0 && info.depth > 0 && width 468 gpu/command_buffer/service/texture_manager.cc GLsizei width, width 480 gpu/command_buffer/service/texture_manager.cc DCHECK_GE(width, 0); width 488 gpu/command_buffer/service/texture_manager.cc info.width = width; width 498 gpu/command_buffer/service/texture_manager.cc width, height, format, type, 4, &info.estimated_size, NULL, NULL); width 519 gpu/command_buffer/service/texture_manager.cc GLsizei width, width 528 gpu/command_buffer/service/texture_manager.cc return SafeAddInt32(xoffset, width, &right) && width 532 gpu/command_buffer/service/texture_manager.cc right <= info.width && width 540 gpu/command_buffer/service/texture_manager.cc GLint target, GLint level, GLsizei* width, GLsizei* height) const { width 541 gpu/command_buffer/service/texture_manager.cc DCHECK(width); width 548 gpu/command_buffer/service/texture_manager.cc *width = info.width; width 680 gpu/command_buffer/service/texture_manager.cc if (GLES2Util::IsNPOT(info.width) || width 691 gpu/command_buffer/service/texture_manager.cc target_, first_face.width, first_face.height, first_face.depth); width 695 gpu/command_buffer/service/texture_manager.cc (first_face.width == first_face.height); width 697 gpu/command_buffer/service/texture_manager.cc if (first_face.width == 0 || first_face.height == 0) { width 716 gpu/command_buffer/service/texture_manager.cc level0.width != first_face.width || width 725 gpu/command_buffer/service/texture_manager.cc GLsizei width = level0.width; width 730 gpu/command_buffer/service/texture_manager.cc width = std::max(1, width >> 1); width 735 gpu/command_buffer/service/texture_manager.cc info.width != width || width 756 gpu/command_buffer/service/texture_manager.cc target_, first_face.width, first_face.height, first_face.depth); width 807 gpu/command_buffer/service/texture_manager.cc info.width == 0 || width 818 gpu/command_buffer/service/texture_manager.cc info.format, info.type, info.width, info.height, immutable_); width 1029 gpu/command_buffer/service/texture_manager.cc GLenum target, GLint level, GLsizei width, GLsizei height, GLsizei depth) { width 1032 gpu/command_buffer/service/texture_manager.cc width >= 0 && width 1036 gpu/command_buffer/service/texture_manager.cc width <= max_size && width 1040 gpu/command_buffer/service/texture_manager.cc (!GLES2Util::IsNPOT(width) && width 1043 gpu/command_buffer/service/texture_manager.cc (target != GL_TEXTURE_CUBE_MAP || (width == height && depth == 1)) && width 1085 gpu/command_buffer/service/texture_manager.cc GLsizei width, width 1100 gpu/command_buffer/service/texture_manager.cc width, width 1270 gpu/command_buffer/service/texture_manager.cc GLsizei width, width 1278 gpu/command_buffer/service/texture_manager.cc base::bits::Log2Floor(std::max(std::max(width, height), depth)); width 1446 gpu/command_buffer/service/texture_manager.cc if (!ValidForTarget(args.target, args.level, args.width, args.height, 1) || width 1517 gpu/command_buffer/service/texture_manager.cc args.width == tex_width && args.height == tex_height && width 1524 gpu/command_buffer/service/texture_manager.cc args.target, args.level, args.internal_format, args.width, args.height, width 1538 gpu/command_buffer/service/texture_manager.cc glTexSubImage2D(args.target, args.level, 0, 0, args.width, args.height, width 1550 gpu/command_buffer/service/texture_manager.cc args.target, args.level, args.internal_format, args.width, args.height, width 1557 gpu/command_buffer/service/texture_manager.cc args.target, args.level, args.internal_format, args.width, args.height, width 104 gpu/command_buffer/service/texture_manager.h GLint target, GLint level, GLsizei* width, GLsizei* height) const; width 125 gpu/command_buffer/service/texture_manager.h GLsizei width, width 202 gpu/command_buffer/service/texture_manager.h GLsizei width; width 218 gpu/command_buffer/service/texture_manager.h GLsizei width, width 522 gpu/command_buffer/service/texture_manager.h GLsizei width, width 529 gpu/command_buffer/service/texture_manager.h GLsizei width, GLsizei height, GLsizei depth); width 556 gpu/command_buffer/service/texture_manager.h GLsizei width, width 569 gpu/command_buffer/service/texture_manager.h params.width, params.height, 1 /* depth */, width 695 gpu/command_buffer/service/texture_manager.h GLsizei width; width 985 gpu/command_buffer/service/texture_manager_unittest.cc GLsizei width = -1; width 988 gpu/command_buffer/service/texture_manager_unittest.cc EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, -1, &width, &height)); width 989 gpu/command_buffer/service/texture_manager_unittest.cc EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, 1000, &width, &height)); width 990 gpu/command_buffer/service/texture_manager_unittest.cc EXPECT_FALSE(texture->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height)); width 991 gpu/command_buffer/service/texture_manager_unittest.cc EXPECT_TRUE(texture->GetLevelSize(GL_TEXTURE_2D, 1, &width, &height)); width 992 gpu/command_buffer/service/texture_manager_unittest.cc EXPECT_EQ(4, width); width 995 gpu/command_buffer/service/texture_manager_unittest.cc EXPECT_TRUE(texture->GetLevelSize(GL_TEXTURE_2D, 1, &width, &height)); width 996 gpu/command_buffer/service/texture_manager_unittest.cc EXPECT_EQ(4, width); width 1837 gpu/command_buffer/service/texture_manager_unittest.cc GLsizei width, width 1845 gpu/command_buffer/service/texture_manager_unittest.cc width(width), width 1855 gpu/command_buffer/service/texture_manager_unittest.cc width(-1), width 1864 gpu/command_buffer/service/texture_manager_unittest.cc width == other.width && height == other.height && width 1871 gpu/command_buffer/service/texture_manager_unittest.cc GLsizei width; width 1886 gpu/command_buffer/service/texture_manager_unittest.cc info.width, width 1901 gpu/command_buffer/service/texture_manager_unittest.cc EXPECT_TRUE(texture->GetLevelSize(target, level, &info.width, width 61 gpu/command_buffer/tests/compressed_texture_test.cc GLsizei width, width 71 gpu/command_buffer/tests/compressed_texture_test.cc GL_TEXTURE_2D, 0, format, width, height, 0, size, data); width 74 gpu/command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc const GLuint width = 100; width 86 gpu/command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc GL_RENDERBUFFER, num_samples, GL_RGBA8_OES, width, height); width 108 gpu/command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc width, width 129 gpu/command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc glViewport(0, 0, width, height); width 142 gpu/command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc width, width 146 gpu/command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc width, width 156 gpu/command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc GLTestHelper::CheckPixels(width / 4, (3 * height) / 4, 1, 1, 0, green)); width 157 gpu/command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc EXPECT_TRUE(GLTestHelper::CheckPixels(width - 1, 0, 1, 1, 0, black)); width 40 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc MockGpuMemoryBuffer(int width, int height) {} width 130 gpu/command_buffer/tests/gl_test_utils.cc GLint x, GLint y, GLsizei width, GLsizei height, GLint tolerance, width 132 gpu/command_buffer/tests/gl_test_utils.cc GLsizei size = width * height * 4; width 135 gpu/command_buffer/tests/gl_test_utils.cc glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels.get()); width 138 gpu/command_buffer/tests/gl_test_utils.cc for (GLint xx = 0; xx < width; ++xx) { width 139 gpu/command_buffer/tests/gl_test_utils.cc int offset = yy * width * 4 + xx * 4; width 184 gpu/command_buffer/tests/gl_test_utils.cc uint8 width[4]; width 199 gpu/command_buffer/tests/gl_test_utils.cc const char* filename, int width, int height) { width 203 gpu/command_buffer/tests/gl_test_utils.cc int num_pixels = width * height; width 207 gpu/command_buffer/tests/gl_test_utils.cc glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels); width 227 gpu/command_buffer/tests/gl_test_utils.cc Set32BitValue(bih.width, width); width 45 gpu/command_buffer/tests/gl_test_utils.h GLint x, GLint y, GLsizei width, GLsizei height, GLint tolerance, width 49 gpu/command_buffer/tests/gl_test_utils.h static bool SaveBackbufferAsBMP(const char* filename, int width, int height); width 42 gpu/gles2_conform_support/egl/display.h void SetCreateOffscreen(int width, int height) { width 44 gpu/gles2_conform_support/egl/display.h create_offscreen_width_ = width; width 14 gpu/gles2_conform_support/native/egl_native.cc const char *title, int width, int height, width 24 gpu/gles2_conform_support/native/egl_native.cc int width, int height, int format, width 36 gpu/gles2_conform_support/native/egl_native_aura.cc const char* title, int width, int height, width 40 gpu/gles2_conform_support/native/egl_native_gtk.cc const char* title, int width, int height, width 51 gpu/gles2_conform_support/native/egl_native_gtk.cc gtk_window_set_default_size(GTK_WINDOW(hwnd), width, height); width 54 gpu/gles2_conform_support/native/egl_native_win.cc const char* title, int width, int height, width 71 gpu/gles2_conform_support/native/egl_native_win.cc wnd_rect.right = width; width 109 gpu/gles2_conform_support/native/egl_native_win.cc EGLImageKHR GTFCreateEGLImage(int width, int height, width 25 gpu/gles2_conform_support/native/egl_native_windowless.cc const char* title, int width, int height, width 28 gpu/gles2_conform_support/native/egl_native_windowless.cc display->SetCreateOffscreen(width, height); width 36 gpu/gles2_conform_support/native/egl_native_windowless.cc EGLImageKHR GTFCreateEGLImage(int width, int height, width 15 gpu/gles2_conform_support/native/egl_native_x11.cc EGLImageKHR GTFCreateEGLImage(int width, int height, width 39 gpu/gles2_conform_support/native/egl_native_x11.cc width, width 138 gpu/tools/compositor_model_bench/compositor_model_bench.cc Resize(e.xconfigure.width, e.xconfigure.height); width 332 gpu/tools/compositor_model_bench/compositor_model_bench.cc void Resize(int width, int height) { width 333 gpu/tools/compositor_model_bench/compositor_model_bench.cc window_width_ = width; width 26 gpu/tools/compositor_model_bench/forward_render_model.cc DrawQuad(v->width(), v->height()); width 67 gpu/tools/compositor_model_bench/forward_render_model.cc void ForwardRenderSimulator::Resize(int width, int height) { width 68 gpu/tools/compositor_model_bench/forward_render_model.cc glViewport(0, 0, width, height); width 24 gpu/tools/compositor_model_bench/forward_render_model.h virtual void Resize(int width, int height) OVERRIDE; width 46 gpu/tools/compositor_model_bench/render_model_utils.cc HandleTexture(&i->texID, i->width, i->height, i->format); width 109 gpu/tools/compositor_model_bench/render_model_utils.cc int width, width 126 gpu/tools/compositor_model_bench/render_model_utils.cc GenerateImageForTexture(*texID, width, height, format); width 133 gpu/tools/compositor_model_bench/render_model_utils.cc int width, width 139 gpu/tools/compositor_model_bench/render_model_utils.cc image_data_[imgID].reset(new uint8[width*height*bytes_per_pixel]); width 146 gpu/tools/compositor_model_bench/render_model_utils.cc for (int x = 0; x < width; ++x) { width 148 gpu/tools/compositor_model_bench/render_model_utils.cc int pix_addr = (y * width + x) * bytes_per_pixel; width 168 gpu/tools/compositor_model_bench/render_model_utils.cc width, height, width 49 gpu/tools/compositor_model_bench/render_model_utils.h void HandleTexture(int* texID, int width, int height, GLenum format); width 50 gpu/tools/compositor_model_bench/render_model_utils.h void GenerateImageForTexture(int texID, int width, int height, GLenum format); width 26 gpu/tools/compositor_model_bench/render_models.h virtual void Resize(int width, int height) = 0; width 200 gpu/tools/compositor_model_bench/render_tree.cc int width; width 201 gpu/tools/compositor_model_bench/render_tree.cc node->GetInteger("width", &width); width 202 gpu/tools/compositor_model_bench/render_tree.cc c->set_width(width); width 309 gpu/tools/compositor_model_bench/render_tree.cc tex->GetInteger("width", &t.width); width 34 gpu/tools/compositor_model_bench/render_tree.h int width; width 58 gpu/tools/compositor_model_bench/render_tree.h int width() { width 62 gpu/tools/compositor_model_bench/render_tree.h void set_width(int width) { width 63 gpu/tools/compositor_model_bench/render_tree.h width_ = width; width 112 gpu/tools/compositor_model_bench/render_tree.h void set_tile_width(int width) { width 113 gpu/tools/compositor_model_bench/render_tree.h tile_width_ = width; width 339 gpu/tools/compositor_model_bench/shaders.cc g_current_tile_layer_width = n->width(); width 399 gpu/tools/compositor_model_bench/shaders.cc void DrawQuad(float width, float height) { width 402 gpu/tools/compositor_model_bench/shaders.cc Scale(g_current_layer_transform, mv_transform, width, height, 1.0); width 419 gpu/tools/compositor_model_bench/shaders.cc float width = right-left; width 425 gpu/tools/compositor_model_bench/shaders.cc float u_scale = width / g_current_tile_width; width 437 gpu/tools/compositor_model_bench/shaders.cc Scale(g_current_layer_transform, mv_transform, width, height, 1.0); width 46 gpu/tools/compositor_model_bench/shaders.h void DrawQuad(float width, float height); width 463 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java private static MediaFormat createVideoDecoderFormat(String mime, int width, int height) { width 464 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java return MediaFormat.createVideoFormat(mime, width, height); width 468 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java private static MediaFormat createVideoEncoderFormat(String mime, int width, int height, width 470 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java MediaFormat format = MediaFormat.createVideoFormat(mime, width, height); width 80 media/base/android/java/src/org/chromium/media/MediaPlayerListener.java public void onVideoSizeChanged(MediaPlayer mp, int width, int height) { width 81 media/base/android/java/src/org/chromium/media/MediaPlayerListener.java nativeOnVideoSizeChanged(mNativeMediaPlayerListener, width, height); width 154 media/base/android/java/src/org/chromium/media/MediaPlayerListener.java int width, int height); width 37 media/base/android/java/src/org/chromium/media/VideoCapture.java int width, int height, int framerate, int pixelformat) { width 38 media/base/android/java/src/org/chromium/media/VideoCapture.java mWidth = width; width 90 media/base/android/java/src/org/chromium/media/VideoCapture.java boolean allocate(int width, int height, int frameRate) { width 91 media/base/android/java/src/org/chromium/media/VideoCapture.java Log.d(TAG, "allocate: requested (" + width + "x" + height + ")@" + width 144 media/base/android/java/src/org/chromium/media/VideoCapture.java int matchedWidth = width; width 147 media/base/android/java/src/org/chromium/media/VideoCapture.java int diff = Math.abs(size.width - width) + width 150 media/base/android/java/src/org/chromium/media/VideoCapture.java size.width + ", " + size.height + "), diff=" + diff); width 155 media/base/android/java/src/org/chromium/media/VideoCapture.java if (diff < minDiff && (size.width % 32 == 0)) { width 157 media/base/android/java/src/org/chromium/media/VideoCapture.java matchedWidth = size.width; width 282 media/base/android/java/src/org/chromium/media/VideoCapture.java int width, width 134 media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java formatList.add(new CaptureFormat(size.width, width 153 media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java int width, width 158 media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java width, height, frameRate, BuggyDeviceHack.getImageFormat()); width 36 media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java CamParams(int id, String name, int width, int height) { width 39 media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java mWidth = width; width 83 media/base/android/java/src/org/chromium/media/VideoCaptureTango.java int width, width 220 media/base/android/media_codec_bridge.cc void MediaCodecBridge::GetOutputFormat(int* width, int* height) { width 223 media/base/android/media_codec_bridge.cc *width = Java_MediaCodecBridge_getOutputWidth(env, j_media_codec_.obj()); width 658 media/base/android/media_codec_bridge.cc env, j_mime.obj(), size.width(), size.height())); width 696 media/base/android/media_codec_bridge.cc size.width(), width 96 media/base/android/media_codec_bridge.h void GetOutputFormat(int* width, int* height); width 219 media/base/android/media_player_bridge.cc base::TimeDelta duration, int width, int height, bool success) { width 222 media/base/android/media_player_bridge.cc width_ = width; width 335 media/base/android/media_player_bridge.cc void MediaPlayerBridge::OnVideoSizeChanged(int width, int height) { width 336 media/base/android/media_player_bridge.cc width_ = width; width 338 media/base/android/media_player_bridge.cc manager()->OnVideoSizeChanged(player_id(), width, height); width 79 media/base/android/media_player_bridge.h void OnVideoSizeChanged(int width, int height); width 131 media/base/android/media_player_bridge.h void OnMediaMetadataExtracted(base::TimeDelta duration, int width, int height, width 61 media/base/android/media_player_listener.cc JNIEnv* /* env */, jobject /* obj */, jint width, jint height) { width 64 media/base/android/media_player_listener.cc width, height)); width 38 media/base/android/media_player_listener.h jint width, jint height); width 40 media/base/android/media_player_manager.h int width, width 63 media/base/android/media_player_manager.h virtual void OnVideoSizeChanged(int player_id, int width, int height) = 0; width 327 media/base/android/media_source_player.cc width_ = configs.video_size.width(); width 54 media/base/android/media_source_player_unittest.cc int player_id, base::TimeDelta duration, int width, int height, width 66 media/base/android/media_source_player_unittest.cc virtual void OnVideoSizeChanged(int player_id, int width, width 107 media/base/audio_video_metadata_extractor.cc if (stream->codec->width > 0 && stream->codec->width > width_ && width 109 media/base/audio_video_metadata_extractor.cc width_ = stream->codec->width; width 35 media/base/audio_video_metadata_extractor.h int width() const; width 34 media/base/audio_video_metadata_extractor_unittest.cc EXPECT_EQ(expected_width, extractor->width()); width 214 media/base/container_names.cc int width = Read32LE(buffer + 20); width 215 media/base/container_names.cc RCHECK(width > 0 && width <= 32767); width 179 media/base/media_log.cc size_t width, size_t height) { width 181 media/base/media_log.cc event->params.SetInteger("width", width); width 65 media/base/media_log.h size_t width, size_t height); width 20 media/base/simd/convert_rgb_to_yuv.h int width, width 30 media/base/simd/convert_rgb_to_yuv.h int width, width 40 media/base/simd/convert_rgb_to_yuv.h int width, width 50 media/base/simd/convert_rgb_to_yuv.h int width, width 60 media/base/simd/convert_rgb_to_yuv.h int width, width 70 media/base/simd/convert_rgb_to_yuv.h int width, width 22 media/base/simd/convert_rgb_to_yuv_c.cc int width, width 38 media/base/simd/convert_rgb_to_yuv_c.cc for (int j = 0; j < width; ++j) { width 63 media/base/simd/convert_rgb_to_yuv_c.cc int width, width 69 media/base/simd/convert_rgb_to_yuv_c.cc for (int j = 0; j < width; ++j) { width 168 media/base/simd/convert_rgb_to_yuv_sse2.cc int width) { width 169 media/base/simd/convert_rgb_to_yuv_sse2.cc while (width >= 4) { width 292 media/base/simd/convert_rgb_to_yuv_sse2.cc width -= 4; width 296 media/base/simd/convert_rgb_to_yuv_sse2.cc if (width >= 2) { width 304 media/base/simd/convert_rgb_to_yuv_sse2.cc width -= 2; width 307 media/base/simd/convert_rgb_to_yuv_sse2.cc if (width) width 315 media/base/simd/convert_rgb_to_yuv_sse2.cc int width, width 327 media/base/simd/convert_rgb_to_yuv_sse2.cc width); width 339 media/base/simd/convert_rgb_to_yuv_sse2.cc while (width >= 2) { width 345 media/base/simd/convert_rgb_to_yuv_sse2.cc width -= 2; width 348 media/base/simd/convert_rgb_to_yuv_sse2.cc if (width) width 356 media/base/simd/convert_rgb_to_yuv_sse2.cc int width, width 365 media/base/simd/convert_rgb_to_yuv_sse2.cc while (i + 2 <= width) { width 376 media/base/simd/convert_rgb_to_yuv_sse2.cc if (i < width) { width 396 media/base/simd/convert_rgb_to_yuv_sse2.cc while (width >= 2) { width 402 media/base/simd/convert_rgb_to_yuv_sse2.cc width -= 2; width 406 media/base/simd/convert_rgb_to_yuv_sse2.cc if (width) width 16 media/base/simd/convert_rgb_to_yuv_ssse3.cc int width, width 22 media/base/simd/convert_rgb_to_yuv_ssse3.cc ConvertARGBToYUVRow_SSSE3(rgbframe, yplane, uplane, vplane, width); width 26 media/base/simd/convert_rgb_to_yuv_ssse3.cc ConvertARGBToYUVRow_SSSE3(rgbframe, yplane, NULL, NULL, width); width 35 media/base/simd/convert_rgb_to_yuv_ssse3.cc ConvertARGBToYUVRow_SSSE3(rgbframe, yplane, uplane, vplane, width); width 42 media/base/simd/convert_rgb_to_yuv_ssse3.cc int width, width 48 media/base/simd/convert_rgb_to_yuv_ssse3.cc ConvertRGBToYUVRow_SSSE3(rgbframe, yplane, uplane, vplane, width); width 52 media/base/simd/convert_rgb_to_yuv_ssse3.cc ConvertRGBToYUVRow_SSSE3(rgbframe, yplane, NULL, NULL, width); width 61 media/base/simd/convert_rgb_to_yuv_ssse3.cc ConvertRGBToYUVRow_SSSE3(rgbframe, yplane, uplane, vplane, width); width 27 media/base/simd/convert_rgb_to_yuv_ssse3.h ptrdiff_t width); width 34 media/base/simd/convert_rgb_to_yuv_ssse3.h ptrdiff_t width); width 20 media/base/simd/convert_yuv_to_rgb.h int width, width 31 media/base/simd/convert_yuv_to_rgb.h ptrdiff_t width); width 38 media/base/simd/convert_yuv_to_rgb.h int width, width 51 media/base/simd/convert_yuv_to_rgb.h ptrdiff_t width); width 57 media/base/simd/convert_yuv_to_rgb.h int width, width 68 media/base/simd/convert_yuv_to_rgb.h int width, width 80 media/base/simd/convert_yuv_to_rgb.h int width, width 92 media/base/simd/convert_yuv_to_rgb.h ptrdiff_t width, width 99 media/base/simd/convert_yuv_to_rgb.h ptrdiff_t width, width 126 media/base/simd/convert_yuv_to_rgb.h ptrdiff_t width); width 133 media/base/simd/convert_yuv_to_rgb.h ptrdiff_t width); width 139 media/base/simd/convert_yuv_to_rgb.h ptrdiff_t width); width 145 media/base/simd/convert_yuv_to_rgb.h ptrdiff_t width, width 152 media/base/simd/convert_yuv_to_rgb.h ptrdiff_t width, width 159 media/base/simd/convert_yuv_to_rgb.h ptrdiff_t width, width 166 media/base/simd/convert_yuv_to_rgb.h ptrdiff_t width, width 173 media/base/simd/convert_yuv_to_rgb.h ptrdiff_t width, width 180 media/base/simd/convert_yuv_to_rgb.h ptrdiff_t width, width 103 media/base/simd/convert_yuv_to_rgb_c.cc ptrdiff_t width) { width 104 media/base/simd/convert_yuv_to_rgb_c.cc for (int x = 0; x < width; x += 2) { width 109 media/base/simd/convert_yuv_to_rgb_c.cc if ((x + 1) < width) { width 122 media/base/simd/convert_yuv_to_rgb_c.cc ptrdiff_t width) { width 123 media/base/simd/convert_yuv_to_rgb_c.cc for (int x = 0; x < width; x += 2) { width 129 media/base/simd/convert_yuv_to_rgb_c.cc if ((x + 1) < width) { width 146 media/base/simd/convert_yuv_to_rgb_c.cc ptrdiff_t width, width 149 media/base/simd/convert_yuv_to_rgb_c.cc for (int i = 0; i < width; i += 2) { width 155 media/base/simd/convert_yuv_to_rgb_c.cc if ((i + 1) < width) { width 168 media/base/simd/convert_yuv_to_rgb_c.cc ptrdiff_t width, width 174 media/base/simd/convert_yuv_to_rgb_c.cc LinearScaleYUVToRGB32RowWithRange_C(y_buf, u_buf, v_buf, rgb_buf, width, width 215 media/base/simd/convert_yuv_to_rgb_c.cc int width, width 232 media/base/simd/convert_yuv_to_rgb_c.cc width); width 241 media/base/simd/convert_yuv_to_rgb_c.cc int width, width 261 media/base/simd/convert_yuv_to_rgb_c.cc width); width 20 media/base/simd/convert_yuv_to_rgb_x86.cc int width, width 37 media/base/simd/convert_yuv_to_rgb_x86.cc width); width 48 media/base/simd/convert_yuv_to_rgb_x86.cc int width, width 68 media/base/simd/convert_yuv_to_rgb_x86.cc width); width 78 media/base/simd/convert_yuv_to_rgb_x86.cc int width, width 95 media/base/simd/convert_yuv_to_rgb_x86.cc width); width 26 media/base/simd/filter_yuv_mmx.cc int width, width 33 media/base/simd/filter_yuv_mmx.cc while (pixel < width && pixel < unaligned_width) { width 46 media/base/simd/filter_yuv_mmx.cc reinterpret_cast<uintptr_t>(dest + width) & ~7); width 68 media/base/simd/filter_yuv_mmx.cc while (pixel < width) { width 19 media/base/simd/filter_yuv_sse2.cc int width, width 26 media/base/simd/filter_yuv_sse2.cc while (pixel < width && pixel < unaligned_width) { width 41 media/base/simd/filter_yuv_sse2.cc reinterpret_cast<uintptr_t>(dest + width) & ~15); width 65 media/base/simd/filter_yuv_sse2.cc while (pixel < width) { width 112 media/base/test_helpers.cc gfx::Rect visible_rect(coded_size.width(), coded_size.height()); width 221 media/base/test_helpers.cc pickle.WriteInt(config.coded_size().width()); width 241 media/base/test_helpers.cc int width = 0; width 243 media/base/test_helpers.cc bool success = pickle.ReadString(&header) && pickle.ReadInt(&width) && width 246 media/base/test_helpers.cc width == config.coded_size().width() && width 51 media/base/video_decoder_config.cc size.height() ? (size.width() * 100) / size.height() : kInfiniteRatio, width 75 media/base/video_decoder_config.cc UMA_HISTOGRAM_COUNTS_10000("Media.VideoCodedWidth", coded_size.width()); width 77 media/base/video_decoder_config.cc UMA_HISTOGRAM_COUNTS_10000("Media.VideoVisibleWidth", visible_rect.width()); width 95 media/base/video_decoder_config.cc natural_size_.width() > 0 && width 119 media/base/video_decoder_config.cc << " coded size: [" << coded_size().width() width 123 media/base/video_decoder_config.cc << "," << visible_rect().width() width 125 media/base/video_decoder_config.cc << " natural size: [" << natural_size().width() width 46 media/base/video_frame.cc new_coded_size.set_width((new_coded_size.width() + 1) / 2 * 2); width 92 media/base/video_frame.cc coded_size.width() > limits::kMaxDimension || width 95 media/base/video_frame.cc visible_rect.right() > coded_size.width() || width 98 media/base/video_frame.cc natural_size.width() > limits::kMaxDimension || width 117 media/base/video_frame.cc if (static_cast<size_t>(coded_size.width()) < width 184 media/base/video_frame.cc frame->strides_[kYPlane] = coded_size.width(); width 185 media/base/video_frame.cc frame->strides_[kUPlane] = coded_size.width() / 2; width 186 media/base/video_frame.cc frame->strides_[kVPlane] = coded_size.width() / 2; width 330 media/base/video_frame.cc const int width = RoundUp(coded_size.width(), 2); width 338 media/base/video_frame.cc return gfx::Size(width, height); width 341 media/base/video_frame.cc return gfx::Size(width / 2, height / 2); width 350 media/base/video_frame.cc return gfx::Size(width, height); width 353 media/base/video_frame.cc return gfx::Size(width / 2, height / 2); width 361 media/base/video_frame.cc return gfx::Size(width, height); width 364 media/base/video_frame.cc return gfx::Size(width / 2, height); width 487 media/base/video_frame.cc int width = coded_size_.width(); width 492 media/base/video_frame.cc return width; width 499 media/base/video_frame.cc return width; width 500 media/base/video_frame.cc return RoundUp(width, 2) / 2; width 52 media/base/video_frame_unittest.cc yv12_frame->coded_size().width() & (VideoFrame::kFrameSizeAlignment - 1), width 58 media/base/video_frame_unittest.cc size_t bytes_per_row = yv12_frame->coded_size().width() * 4u; width 68 media/base/video_frame_unittest.cc yv12_frame->coded_size().width(), width 78 media/base/video_frame_unittest.cc for (int col = 0; col < yv12_frame->coded_size().width(); ++col) { width 178 media/base/video_frame_unittest.cc EXPECT_EQ(kWidth, frame->coded_size().width()); width 26 media/base/video_util.cc int width = floor(visible_size.width() * aspect_ratio + 0.5); width 31 media/base/video_util.cc return gfx::Size(width & ~1, height); width 119 media/base/video_util.cc if (view_area.width() < row_bytes) { width 144 media/base/video_util.cc DCHECK(!(view_area.width() & 1)); width 152 media/base/video_util.cc view_area.width() / 2, width 161 media/base/video_util.cc int width, width 166 media/base/video_util.cc DCHECK((width > 0) && (height > 0) && width 167 media/base/video_util.cc ((width & 1) == 0) && ((height & 1) == 0) && width 178 media/base/video_util.cc int num_cols = width; width 179 media/base/video_util.cc int src_stride = width; width 182 media/base/video_util.cc int dest_row_step = width; width 193 media/base/video_util.cc dest_row_step = -width; width 194 media/base/video_util.cc dest += height * width - 1; width 196 media/base/video_util.cc dest += width - 1; width 201 media/base/video_util.cc dest += width * (height - 1); width 203 media/base/video_util.cc memcpy(dest, src, width); width 204 media/base/video_util.cc src += width; width 205 media/base/video_util.cc dest -= width; width 208 media/base/video_util.cc memcpy(dest, src, width * height); width 214 media/base/video_util.cc if (width > height) { width 215 media/base/video_util.cc offset = (width - height) / 2; width 219 media/base/video_util.cc offset = (height - width) / 2; width 220 media/base/video_util.cc src += width * offset; width 221 media/base/video_util.cc num_rows = num_cols = width; width 224 media/base/video_util.cc dest_col_step = (flip_vert ? -width : width); width 228 media/base/video_util.cc dest += (width > height ? width * (height - 1) + offset : width 229 media/base/video_util.cc width * (height - offset - 1)); width 231 media/base/video_util.cc dest += (width > height ? offset : width * offset); width 235 media/base/video_util.cc dest += (width > height ? width * height - offset - 1 : width 236 media/base/video_util.cc width * (height - offset) - 1); width 238 media/base/video_util.cc dest += (width > height ? width - offset - 1 : width 239 media/base/video_util.cc width * (offset + 1) - 1); width 266 media/base/video_util.cc int64 x = static_cast<int64>(content.width()) * bounds.height(); width 267 media/base/video_util.cc int64 y = static_cast<int64>(content.height()) * bounds.width(); width 269 media/base/video_util.cc gfx::Size letterbox(bounds.width(), bounds.height()); width 271 media/base/video_util.cc letterbox.set_height(static_cast<int>(y / content.width())); width 302 media/base/video_util.cc region_in_frame.width(), width 68 media/base/video_util.h int width, width 23 media/base/video_util_unittest.cc void CreateSourceFrame(int width, int height, width 25 media/base/video_util_unittest.cc EXPECT_GE(y_stride, width); width 26 media/base/video_util_unittest.cc EXPECT_GE(u_stride, width / 2); width 27 media/base/video_util_unittest.cc EXPECT_GE(v_stride, width / 2); width 39 media/base/video_util_unittest.cc void CreateDestinationFrame(int width, int height) { width 40 media/base/video_util_unittest.cc gfx::Size size(width, height); width 245 media/base/video_util_unittest.cc int width; width 300 media/base/video_util_unittest.cc dest_.reset(new uint8[GetParam().width * GetParam().height]); width 317 media/base/video_util_unittest.cc int size = GetParam().width * GetParam().height; width 321 media/base/video_util_unittest.cc RotatePlaneByPixels(GetParam().src, dest, GetParam().width, width 352 media/base/video_util_unittest.cc int width = 40; width 354 media/base/video_util_unittest.cc gfx::Size size(width, height); width 364 media/base/video_util_unittest.cc width - left_margin - right_margin, width 368 media/base/video_util_unittest.cc for (int x = 0; x < width; x++) { width 371 media/base/video_util_unittest.cc x < view_area.x() + view_area.width() && width 200 media/base/yuv_convert.cc int width, width 211 media/base/yuv_convert.cc width == 0 || height == 0) width 249 media/base/yuv_convert.cc int source_dx = source_width * kFractionMax / width; width 253 media/base/yuv_convert.cc height = width; width 254 media/base/yuv_convert.cc width = tmp; width 357 media/base/yuv_convert.cc g_convert_yuv_to_rgb32_row_proc_(y_ptr, u_ptr, v_ptr, dest_pixel, width); width 361 media/base/yuv_convert.cc y_ptr, u_ptr, v_ptr, dest_pixel, width, source_dx); width 364 media/base/yuv_convert.cc y_ptr, u_ptr, v_ptr, dest_pixel, width, source_dx); width 532 media/base/yuv_convert.cc int width, width 541 media/base/yuv_convert.cc width, width 552 media/base/yuv_convert.cc int width, width 561 media/base/yuv_convert.cc width, width 572 media/base/yuv_convert.cc int width, width 575 media/base/yuv_convert.cc for (int j = 0; j < (width / 2); ++j) { width 585 media/base/yuv_convert.cc for (int j = 0; j < (width / 2); ++j) { width 598 media/base/yuv_convert.cc int width, width 600 media/base/yuv_convert.cc int y_plane_size = width * height; width 615 media/base/yuv_convert.cc int width, width 625 media/base/yuv_convert.cc width, width 638 media/base/yuv_convert.cc int width, width 650 media/base/yuv_convert.cc width, width 60 media/base/yuv_convert.h int width, width 74 media/base/yuv_convert.h int width, width 90 media/base/yuv_convert.h int width, width 122 media/base/yuv_convert.h int width, width 132 media/base/yuv_convert.h int width, width 142 media/base/yuv_convert.h int width, width 149 media/base/yuv_convert.h int width, width 507 media/base/yuv_convert_unittest.cc sub_rect.set_x(sub_rect.x() + sub_rect.width() / 2); width 510 media/base/yuv_convert_unittest.cc sub_rect.set_width(sub_rect.width() / 2); width 16 media/cast/cast_config.cc width(0), width 62 media/cast/cast_config.h int width; // Incoming frames will be scaled to this size. width 50 media/cast/test/encode_decode_test.cc EXPECT_EQ(original_frame_->coded_size().width(), width 51 media/cast/test/encode_decode_test.cc decoded_frame->coded_size().width()); width 88 media/cast/test/encode_decode_test.cc encoder_config_.width = kWidth; width 105 media/cast/test/encode_decode_test.cc gfx::Size size(encoder_config_.width, encoder_config_.height); width 330 media/cast/test/end2end_unittest.cc int width; width 338 media/cast/test/end2end_unittest.cc int width, width 344 media/cast/test/end2end_unittest.cc expected_video_frame.width = width; width 368 media/cast/test/end2end_unittest.cc EXPECT_EQ(expected_video_frame.width, video_frame->visible_rect().width()); width 372 media/cast/test/end2end_unittest.cc gfx::Size size(expected_video_frame.width, expected_video_frame.height); width 455 media/cast/test/end2end_unittest.cc video_sender_config_.width = kVideoHdWidth; width 581 media/cast/test/end2end_unittest.cc gfx::Size size(video_sender_config_.width, video_sender_config_.height); width 657 media/cast/test/end2end_unittest.cc video_sender_config_.width = kVideoQcifWidth; width 674 media/cast/test/end2end_unittest.cc video_sender_config_.width, width 776 media/cast/test/end2end_unittest.cc video_sender_config_.width, width 804 media/cast/test/end2end_unittest.cc video_sender_config_.width, width 849 media/cast/test/end2end_unittest.cc video_sender_config_.width, width 879 media/cast/test/end2end_unittest.cc video_sender_config_.width, width 910 media/cast/test/end2end_unittest.cc video_sender_config_.width, width 942 media/cast/test/end2end_unittest.cc video_sender_config_.width, width 979 media/cast/test/end2end_unittest.cc video_sender_config_.width, width 1032 media/cast/test/end2end_unittest.cc video_sender_config_.width, width 18 media/cast/test/linux_output_window.cc int width, width 21 media/cast/test/linux_output_window.cc CreateWindow(x_pos, y_pos, width, height, name); width 37 media/cast/test/linux_output_window.cc int width, width 72 media/cast/test/linux_output_window.cc width, width 101 media/cast/test/linux_output_window.cc display_, CopyFromParent, 24, ZPixmap, NULL, &shminfo_, width, height); width 121 media/cast/test/linux_output_window.cc CHECK_LE(video_frame->coded_size().width(), image_->width); width 131 media/cast/test/linux_output_window.cc video_frame->coded_size().width(), width 143 media/cast/test/linux_output_window.cc video_frame->coded_size().width(), width 31 media/cast/test/linux_output_window.h int width, width 41 media/cast/test/linux_output_window.h int width, width 180 media/cast/test/sender.cc video_config->width = input_width.GetIntInput(); width 272 media/cast/test/sender.cc gfx::Size size(video_config_.width, video_config_.height); width 28 media/cast/test/utility/generate_barcode_video.cc int width = atoi(argv[1]); width 33 media/cast/test/utility/generate_barcode_video.cc media::VideoFrame::CreateBlackFrame(gfx::Size(width, height)); width 34 media/cast/test/utility/generate_barcode_video.cc printf("YUV4MPEG2 W%d H%d F%d:1 Ip C420mpeg2\n", width, height, fps); width 18 media/cast/test/utility/video_utility.cc if (frame1->coded_size().width() != frame2->coded_size().width() || width 34 media/cast/test/utility/video_utility.cc frame1->coded_size().width(), width 71 media/cast/test/utility/video_utility.cc int width = frame->coded_size().width(); width 73 media/cast/test/utility/video_utility.cc int half_width = (width + 1) / 2; width 75 media/cast/test/utility/video_utility.cc size_t frame_size = width * height + 2 * half_width * half_height; width 85 media/cast/test/utility/video_utility.cc memcpy(y_plane, raw_data, width * height); width 86 media/cast/test/utility/video_utility.cc memcpy(u_plane, raw_data + width * height, half_width * half_height); width 88 media/cast/test/utility/video_utility.cc raw_data + width * height + half_width * half_height, width 76 media/cast/video_sender/codecs/vp8/vp8_encoder.cc NULL, IMG_FMT_I420, cast_config_.width, cast_config_.height, 1, NULL); width 91 media/cast/video_sender/codecs/vp8/vp8_encoder.cc config_->g_w = cast_config_.width; width 106 media/cast/video_sender/codecs/vp8/vp8_encoder.cc if (cast_config_.width * cast_config_.height > 640 * 480 && width 113 media/cast/video_sender/external_video_encoder.cc gfx::Size(video_config.width, video_config.height), width 91 media/cast/video_sender/external_video_encoder_unittest.cc video_config_.width = 320; width 101 media/cast/video_sender/external_video_encoder_unittest.cc gfx::Size size(video_config_.width, video_config_.height); width 72 media/cast/video_sender/video_encoder_impl_unittest.cc video_config_.width = 320; width 82 media/cast/video_sender/video_encoder_impl_unittest.cc gfx::Size size(video_config_.width, video_config_.height); width 143 media/cast/video_sender/video_sender_unittest.cc video_config.width = kWidth; width 443 media/cdm/ppapi/cdm_adapter.cc cdm_decoder_config.coded_size.width = decoder_config.width; width 759 media/cdm/ppapi/cdm_adapter.cc decrypted_frame_info.width = video_frame->Size().width; width 54 media/cdm/ppapi/external_clear_key/fake_cdm_video_decoder.cc int width = video_size_.width; width 56 media/cdm/ppapi/external_clear_key/fake_cdm_video_decoder.cc DCHECK_EQ(width % 2, 0); width 59 media/cdm/ppapi/external_clear_key/fake_cdm_video_decoder.cc int y_stride = (width + kAlignment - 1) / kAlignment * kAlignment + kPadding; width 61 media/cdm/ppapi/external_clear_key/fake_cdm_video_decoder.cc (width / 2 + kAlignment - 1) / kAlignment * kAlignment + kPadding; width 93 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc codec_context->coded_width = config.coded_size.width; width 198 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc (data_size.width % 2) == 0 && (data_size.height % 2) == 0 && width 199 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc data_size.width > 0 && data_size.height > 0 && width 200 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc data_size.width <= limits::kMaxDimension && width 202 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc data_size.width * data_size.height <= limits::kMaxCanvas); width 268 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc DCHECK_EQ(av_frame_->width % 2, 0); width 271 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc const int y_size = av_frame_->width * av_frame_->height; width 285 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc av_frame_->width, width 287 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc av_frame_->width, width 290 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc const int uv_stride = av_frame_->width / 2; width 310 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc video_frame_size.width = av_frame_->width; width 319 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc cdm_video_frame->SetStride(cdm::VideoFrame::kYPlane, av_frame_->width); width 56 media/cdm/ppapi/external_clear_key/libvpx_cdm_video_decoder.cc vpx_config.w = config.coded_size.width; width 94 media/cdm/ppapi/external_clear_key/libvpx_cdm_video_decoder.cc (data_size.width % 2) == 0 && (data_size.height % 2) == 0 && width 95 media/cdm/ppapi/external_clear_key/libvpx_cdm_video_decoder.cc data_size.width > 0 && data_size.height > 0 && width 96 media/cdm/ppapi/external_clear_key/libvpx_cdm_video_decoder.cc data_size.width <= limits::kMaxDimension && width 98 media/cdm/ppapi/external_clear_key/libvpx_cdm_video_decoder.cc data_size.width * data_size.height <= limits::kMaxCanvas); width 176 media/cdm/ppapi/external_clear_key/libvpx_cdm_video_decoder.cc video_frame_size.width = vpx_image_->d_w; width 370 media/ffmpeg/ffmpeg_common.cc gfx::Rect visible_rect(stream->codec->width, stream->codec->height); width 408 media/ffmpeg/ffmpeg_common.cc coded_size.set_width((coded_size.width() + 1) / 2 * 2); width 438 media/ffmpeg/ffmpeg_common.cc codec_context->coded_width = config.coded_size().width(); width 2534 media/filters/chunk_demuxer_unittest.cc EXPECT_EQ(video_config_1.natural_size().width(), 320); width 2547 media/filters/chunk_demuxer_unittest.cc EXPECT_EQ(video_config_2.natural_size().width(), 640); width 2625 media/filters/chunk_demuxer_unittest.cc EXPECT_EQ(video_config_1.natural_size().width(), 320); width 2639 media/filters/chunk_demuxer_unittest.cc EXPECT_EQ(video_config_2.natural_size().width(), 640); width 721 media/filters/ffmpeg_demuxer.cc media_log_->SetIntegerProperty("width", video_codec->width); width 244 media/filters/ffmpeg_demuxer_unittest.cc EXPECT_EQ(320, video_config.coded_size().width()); width 248 media/filters/ffmpeg_demuxer_unittest.cc EXPECT_EQ(320, video_config.visible_rect().width()); width 250 media/filters/ffmpeg_demuxer_unittest.cc EXPECT_EQ(320, video_config.natural_size().width()); width 74 media/filters/ffmpeg_video_decoder.cc gfx::Size size(codec_context->width, codec_context->height); width 76 media/filters/ffmpeg_video_decoder.cc if ((ret = av_image_check_size(size.width(), size.height(), 0, NULL)) < 0) width 104 media/filters/ffmpeg_video_decoder.cc frame->width = codec_context->width; width 206 media/filters/ffmpeg_video_decoder_unittest.cc EXPECT_EQ(original_size.width(), width 207 media/filters/ffmpeg_video_decoder_unittest.cc output_frames[0]->visible_rect().size().width()); width 211 media/filters/ffmpeg_video_decoder_unittest.cc output_frames[1]->visible_rect().size().width()); width 310 media/filters/ffmpeg_video_decoder_unittest.cc int width = kVisibleRect.size().width(); width 311 media/filters/ffmpeg_video_decoder_unittest.cc int num = ceil(static_cast<double>(limits::kMaxDimension + 1) / width); width 321 media/filters/ffmpeg_video_decoder_unittest.cc int den = kVisibleRect.size().width() + 1; width 120 media/filters/gpu_video_decoder.cc if (coded_size.width() <= 1920 && coded_size.height() <= 1088) width 352 media/filters/gpu_video_decoder.cc << size.width() << "x" << size.height() << ")"; width 129 media/filters/skcanvas_video_renderer.cc DCHECK_NE(0, dest_rect.width()); width 131 media/filters/skcanvas_video_renderer.cc size_t frame_clip_width = local_dest_irect.width() * width 132 media/filters/skcanvas_video_renderer.cc video_frame->visible_rect().width() / local_dest_irect_saved.width(); width 142 media/filters/skcanvas_video_renderer.cc video_frame->visible_rect().width() / local_dest_irect_saved.width(); width 173 media/filters/skcanvas_video_renderer.cc local_dest_irect.width(), width 199 media/filters/skcanvas_video_renderer.cc bitmap->width() != video_frame->visible_rect().width() || width 202 media/filters/skcanvas_video_renderer.cc video_frame->visible_rect().width(), width 235 media/filters/skcanvas_video_renderer.cc video_frame->visible_rect().width(), width 249 media/filters/skcanvas_video_renderer.cc video_frame->visible_rect().width(), width 264 media/filters/skcanvas_video_renderer.cc video_frame->visible_rect().width(), width 81 media/filters/skcanvas_video_renderer_unittest.cc static SkBitmap AllocBitmap(int width, int height, bool isOpaque) { width 85 media/filters/skcanvas_video_renderer_unittest.cc bitmap.allocPixels(SkImageInfo::MakeN32(width, height, alpha_type)); width 112 media/filters/skcanvas_video_renderer_unittest.cc EXPECT_EQ(cropped_frame()->visible_rect().width() * kHeight, width 60 media/filters/vpx_video_decoder.cc if (config.coded_size().width() >= 2048) width 62 media/filters/vpx_video_decoder.cc else if (config.coded_size().width() >= 1024) width 238 media/filters/vpx_video_decoder.cc vpx_config.w = config.coded_size().width(); width 292 media/formats/mp2t/es_parser_h264.cc (coded_size.width() - sps->frame_crop_right_offset) - width 296 media/formats/mp2t/es_parser_h264.cc if (visible_rect.width() <= 0 || visible_rect.height() <= 0) width 299 media/formats/mp2t/es_parser_h264.cc (visible_rect.width() * sar_width) / sar_height, width 301 media/formats/mp2t/es_parser_h264.cc if (natural_size.width() == 0) width 317 media/formats/mp2t/es_parser_h264.cc DVLOG(1) << "Pic width: " << coded_size.width(); width 193 media/formats/mp4/box_definitions.cc width(0), width 220 media/formats/mp4/box_definitions.cc reader->Read4(&width) && width 222 media/formats/mp4/box_definitions.cc width >>= 16; width 399 media/formats/mp4/box_definitions.cc width(0), width 414 media/formats/mp4/box_definitions.cc reader->Read2(&width) && width 121 media/formats/mp4/box_definitions.h uint32 width; width 178 media/formats/mp4/box_definitions.h uint16 width; width 272 media/formats/mp4/mp4_stream_parser.cc gfx::Size coded_size(entry.width, entry.height); width 79 media/formats/webm/chromeos/webm_encoder.cc width_ = sprite.width(); width 80 media/formats/webm/chromeos/webm_encoder.cc height_ = sprite.width(); width 142 media/formats/webm/webm_tracks_parser_unittest.cc EXPECT_EQ(320, video_config.coded_size().width()); width 130 media/tools/player_x11/gl_video_renderer.cc unsigned int width = video_frame->stride(i); width 134 media/tools/player_x11/gl_video_renderer.cc glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, width, height, 0, width 147 media/tools/player_x11/gl_video_renderer.cc XResizeWindow(display_, window_, visible_rect.width(), visible_rect.height()); width 237 media/tools/player_x11/gl_video_renderer.cc float x0 = static_cast<float>(visible_rect.x()) / coded_size.width(); width 239 media/tools/player_x11/gl_video_renderer.cc float x1 = static_cast<float>(visible_rect.right()) / coded_size.width(); width 198 media/tools/player_x11/player_x11.cc unsigned int width, height, border_width, depth; width 204 media/tools/player_x11/player_x11.cc &width, width 209 media/tools/player_x11/player_x11.cc pipeline->Seek(time*e.xbutton.x/width, base::Bind(&OnStatus)); width 18 media/tools/player_x11/x11_video_renderer.cc static XImage* CreateImage(Display* display, int width, int height) { width 19 media/tools/player_x11/x11_video_renderer.cc VLOG(0) << "Allocating XImage " << width << "x" << height; width 25 media/tools/player_x11/x11_video_renderer.cc static_cast<char*>(malloc(width * height * 4)), width 26 media/tools/player_x11/x11_video_renderer.cc width, width 29 media/tools/player_x11/x11_video_renderer.cc width * 4); width 90 media/tools/player_x11/x11_video_renderer.cc const int coded_width = video_frame->coded_size().width(); width 92 media/tools/player_x11/x11_video_renderer.cc const int visible_width = video_frame->visible_rect().width(); width 96 media/tools/player_x11/x11_video_renderer.cc if (image_->width != coded_width || image_->height != coded_height) { width 130 media/tools/player_x11/x11_video_renderer.cc image.width = coded_width; width 189 media/tools/player_x11/x11_video_renderer.cc XResizeWindow(display_, window_, visible_rect.width(), visible_rect.height()); width 190 media/tools/player_x11/x11_video_renderer.cc image_ = CreateImage(display_, coded_size.width(), coded_size.height()); width 97 media/video/capture/android/video_capture_device_android.cc params.requested_format.frame_size.width(), width 114 media/video/capture/android/video_capture_device_android.cc CHECK(!(capture_format_.frame_size.width() % 2)); width 139 media/video/capture/fake_video_capture_device.cc if (params.requested_format.frame_size.width() > 640) width 141 media/video/capture/fake_video_capture_device.cc else if (params.requested_format.frame_size.width() > 320) width 172 media/video/capture/fake_video_capture_device.cc capture_format_.frame_size.width(), width 174 media/video/capture/fake_video_capture_device.cc capture_format_.frame_size.width()), width 179 media/video/capture/fake_video_capture_device.cc int radius = std::min(capture_format_.frame_size.width(), width 182 media/video/capture/fake_video_capture_device.cc SkRect::MakeXYWH(capture_format_.frame_size.width() / 2 - radius, width 175 media/video/capture/linux/video_capture_device_linux.cc frame_size.discrete.width, frame_size.discrete.height); width 185 media/video/capture/linux/video_capture_device_linux.cc frame_interval.width = frame_size.discrete.width; width 295 media/video/capture/linux/video_capture_device_linux.cc params.requested_format.frame_size.width(), width 316 media/video/capture/linux/video_capture_device_linux.cc void VideoCaptureDeviceLinux::OnAllocateAndStart(int width, width 345 media/video/capture/linux/video_capture_device_linux.cc GetListOfUsableFourCCs(width > kMjpegWidth || height > kMjpegHeight, width 370 media/video/capture/linux/video_capture_device_linux.cc video_fmt.fmt.pix.width = width; width 405 media/video/capture/linux/video_capture_device_linux.cc capture_format_.frame_size.SetSize(video_fmt.fmt.pix.width, width 50 media/video/capture/linux/video_capture_device_linux.h void OnAllocateAndStart(int width, width 36 media/video/capture/mac/coremedia_glue.h int32_t width; width 39 media/video/capture/mac/platform_video_capturing_mac.h - (BOOL)setCaptureHeight:(int)height width:(int)width frameRate:(int)frameRate; width 108 media/video/capture/mac/video_capture_device_avfoundation_mac.h - (BOOL)setCaptureHeight:(int)height width:(int)width frameRate:(int)frameRate; width 55 media/video/capture/mac/video_capture_device_qtkit_mac.h - (BOOL)setCaptureHeight:(int)height width:(int)width frameRate:(int)frameRate; width 178 media/video/capture/video_capture_device_unittest.cc EXPECT_EQ(last_format().frame_size.width(), 640); width 229 media/video/capture/video_capture_device_unittest.cc EXPECT_EQ(last_format().frame_size.width(), 640); width 275 media/video/capture/video_capture_device_unittest.cc EXPECT_EQ(last_format().frame_size.width(), 320); width 300 media/video/capture/video_capture_device_unittest.cc EXPECT_EQ(last_format().frame_size.width(), 640); width 327 media/video/capture/video_capture_device_unittest.cc EXPECT_EQ(last_format().frame_size.width(), 640); width 419 media/video/capture/video_capture_device_unittest.cc EXPECT_EQ(supported_formats[0].frame_size.width(), 320); width 423 media/video/capture/video_capture_device_unittest.cc EXPECT_EQ(supported_formats[1].frame_size.width(), 640); width 427 media/video/capture/video_capture_device_unittest.cc EXPECT_EQ(supported_formats[2].frame_size.width(), 1280); width 22 media/video/capture/video_capture_types.cc return (frame_size.width() < media::limits::kMaxDimension) && width 69 media/video/capture/win/capability_list_win.cc diff.diff_width = it->supported_format.frame_size.width() - requested_width; width 52 media/video/capture/win/sink_input_pin_win.cc pvi->bmiHeader.biWidth = requested_format_.frame_size.width(); width 62 media/video/capture/win/sink_input_pin_win.cc pvi->bmiHeader.biWidth = requested_format_.frame_size.width(); width 71 media/video/capture/win/sink_input_pin_win.cc pvi->bmiHeader.biWidth = requested_format_.frame_size.width(); width 309 media/video/capture/win/video_capture_device_mf_win.cc UINT32 width, height; width 310 media/video/capture/win/video_capture_device_mf_win.cc hr = MFGetAttributeSize(type, MF_MT_FRAME_SIZE, &width, &height); width 316 media/video/capture/win/video_capture_device_mf_win.cc capture_format.frame_size.SetSize(width, height); width 411 media/video/capture/win/video_capture_device_mf_win.cc params.requested_format.frame_size.width(), width 531 media/video/capture/win/video_capture_device_win.cc params.requested_format.frame_size.width(), width 714 media/video/capture/win/video_capture_device_win.cc SIZE size = {capability.supported_format.frame_size.width(), width 160 mojo/examples/aura_demo/window_tree_host_mojo.cc bounds.size().width(), bounds.size().height()); width 64 mojo/examples/pepper_container_app/graphics_3d_resource.cc int32_t Graphics3DResource::ResizeBuffers(int32_t width, int32_t height) { width 127 mojo/examples/pepper_container_app/graphics_3d_resource.cc GLsizei width, width 33 mojo/examples/pepper_container_app/graphics_3d_resource.h virtual int32_t ResizeBuffers(int32_t width, int32_t height) OVERRIDE; width 51 mojo/examples/pepper_container_app/graphics_3d_resource.h GLsizei width, width 210 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLsizei width, width 218 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc target, level, internalformat, width, height, border, imageSize, data); width 227 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLsizei width, width 238 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc width, width 252 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLsizei width, width 258 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc target, level, internalformat, x, y, width, height, border); width 269 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLsizei width, width 273 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); width 842 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc void LineWidth(PP_Resource context_id, GLfloat width) { width 845 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glLineWidth(width); width 873 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLsizei width, width 880 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glReadPixels(x, y, width, height, format, type, pixels); width 894 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLsizei width, width 898 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glRenderbufferStorage(target, internalformat, width, height); width 912 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLsizei width, width 916 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glScissor(x, y, width, height); width 1000 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLsizei width, width 1011 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc width, width 1065 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLsizei width, width 1073 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc target, level, xoffset, yoffset, width, height, format, type, pixels); width 1367 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLsizei width, width 1371 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glViewport(x, y, width, height); width 37 mojo/examples/pepper_container_app/type_converters.h size.set_width(input.width); width 43 mojo/examples/pepper_container_app/type_converters.h return PP_MakeSize(static_cast<int32_t>(input.width()), width 39 mojo/examples/sample_app/gles2_client_impl.cc size_ = gfx::Size(size.width(), size.height()); width 42 mojo/examples/sample_app/gles2_client_impl.cc cube_.Init(size_.width(), size_.height()); width 358 mojo/examples/sample_app/spinning_cube.cc void SpinningCube::Init(uint32_t width, uint32_t height) { width 359 mojo/examples/sample_app/spinning_cube.cc width_ = width; width 20 mojo/examples/sample_app/spinning_cube.h void Init(uint32_t width, uint32_t height); width 169 mojo/gles2/command_buffer_client_impl.cc size_t width, width 64 mojo/gles2/command_buffer_client_impl.h virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer(size_t width, width 81 mojo/public/c/gles2/gles2_call_visitor_autogen.h GLsizei width, width 86 mojo/public/c/gles2/gles2_call_visitor_autogen.h (target, level, internalformat, width, height, border, imageSize, data)) width 94 mojo/public/c/gles2/gles2_call_visitor_autogen.h GLsizei width, width 99 mojo/public/c/gles2/gles2_call_visitor_autogen.h (target, level, xoffset, yoffset, width, height, format, imageSize, data)) width 107 mojo/public/c/gles2/gles2_call_visitor_autogen.h GLsizei width, width 110 mojo/public/c/gles2/gles2_call_visitor_autogen.h (target, level, internalformat, x, y, width, height, border)) width 119 mojo/public/c/gles2/gles2_call_visitor_autogen.h GLsizei width, width 121 mojo/public/c/gles2/gles2_call_visitor_autogen.h (target, level, xoffset, yoffset, x, y, width, height)) width 305 mojo/public/c/gles2/gles2_call_visitor_autogen.h VISIT_GL_CALL(LineWidth, void, (GLfloat width), (width)) width 316 mojo/public/c/gles2/gles2_call_visitor_autogen.h GLsizei width, width 321 mojo/public/c/gles2/gles2_call_visitor_autogen.h (x, y, width, height, format, type, pixels)) width 326 mojo/public/c/gles2/gles2_call_visitor_autogen.h (GLenum target, GLenum internalformat, GLsizei width, GLsizei height), width 327 mojo/public/c/gles2/gles2_call_visitor_autogen.h (target, internalformat, width, height)) width 334 mojo/public/c/gles2/gles2_call_visitor_autogen.h (GLint x, GLint y, GLsizei width, GLsizei height), width 335 mojo/public/c/gles2/gles2_call_visitor_autogen.h (x, y, width, height)) width 377 mojo/public/c/gles2/gles2_call_visitor_autogen.h GLsizei width, width 386 mojo/public/c/gles2/gles2_call_visitor_autogen.h width, width 415 mojo/public/c/gles2/gles2_call_visitor_autogen.h GLsizei width, width 420 mojo/public/c/gles2/gles2_call_visitor_autogen.h (target, level, xoffset, yoffset, width, height, format, type, pixels)) width 536 mojo/public/c/gles2/gles2_call_visitor_autogen.h (GLint x, GLint y, GLsizei width, GLsizei height), width 537 mojo/public/c/gles2/gles2_call_visitor_autogen.h (x, y, width, height)) width 42 mojo/public/cpp/bindings/tests/type_conversion_unittest.cc rect.right = input.x() + input.width(); width 149 mojo/public/cpp/bindings/tests/type_conversion_unittest.cc EXPECT_EQ(rect.width(), rect2.width()); width 188 mojo/public/cpp/bindings/tests/type_conversion_unittest.cc EXPECT_EQ(rects[i].width(), rects2[i].width()); width 199 mojo/public/cpp/bindings/tests/type_conversion_unittest.cc EXPECT_EQ(rects[i].width(), rects3[i].width()); width 40 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { width 42 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java nativeSurfaceSetSize(mNativeMojoViewport, width, height); width 84 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java int width, int height); width 32 mojo/services/native_viewport/geometry_conversions.h size.set_width(input.width()); width 37 mojo/services/native_viewport/geometry_conversions.h return gfx::Size(input.width(), input.height()); width 52 mojo/services/native_viewport/geometry_conversions.h input.size().width(), input.size().height()); width 73 mojo/services/native_viewport/native_viewport_android.cc jint width, jint height) { width 74 mojo/services/native_viewport/native_viewport_android.cc bounds_ = gfx::Rect(width, height); width 39 mojo/services/native_viewport/native_viewport_android.h void SurfaceSetSize(JNIEnv* env, jobject obj, jint width, jint height); width 63 mojo/services/native_viewport/native_viewport_service.cc bounds.size().width(), bounds.size().height()); width 20 mojo/services/native_viewport/native_viewport_win.cc wr.right = bounds.x() + bounds.width(); width 72 mojo/services/native_viewport/native_viewport_win.cc window_bounds.width(), window_bounds.height(), width 44 mojo/services/native_viewport/native_viewport_x11.cc bounds_.x(), bounds_.y(), bounds_.width(), bounds_.height(), width 40 native_client_sdk/src/examples/api/gamepad/gamepad.cc return pixel_buffer_ ? pixel_buffer_->size().width() : 0; width 92 native_client_sdk/src/examples/api/gamepad/gamepad.cc if (position.size().width() == width() && width 114 native_client_sdk/src/examples/api/gamepad/gamepad.cc int width, width 121 native_client_sdk/src/examples/api/gamepad/gamepad.cc x < std::min(image->size().width() - 1, left + width); width 129 native_client_sdk/src/examples/api/gamepad/gamepad.cc FillRect(pixel_buffer_, 0, 0, width(), height(), 0xfff0f0f0); width 137 native_client_sdk/src/examples/api/gamepad/gamepad.cc int width2 = width() / gamepad_data.length / 2; width 122 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc buffer_ = new uint8_t[new_size.width() * new_size.height()]; width 137 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc int width = size_.width(); width 143 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc size_t offset = y * width; width 144 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc for (int x = 0; x < width; ++x) { width 159 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc int width = size_.width(); width 162 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc size_t offset = y * width; width 163 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc for (int x = 1; x < width - 1; ++x) { width 165 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc sum += buffer_[offset - width + x - 1]; width 166 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc sum += buffer_[offset - width + x + 1]; width 169 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc sum += buffer_[offset + width + x - 1]; width 170 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc sum += buffer_[offset + width + x]; width 171 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc sum += buffer_[offset + width + x + 1]; width 172 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc buffer_[offset - width + x] = sum / 7; width 181 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc int width = size_.width(); width 189 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc int maxx = cx + radius >= width ? width - 1 : cx + radius; width 195 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc buffer_[y * width + x] = RandUint8(192, 255); width 210 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc uint32_t num_pixels = size_.width() * size_.height(); width 250 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc int32_t new_width = view.GetRect().width(); width 132 native_client_sdk/src/examples/api/input_event/input_event.cc << " width:" << view.GetRect().width() width 132 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc for (int x = 0; x < size.width(); x++) width 140 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc for (int x = 0; x < size.width(); x++) { width 149 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc x < std::min(size.width(), static_cast<int>(sample_count_)); width 73 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc GLuint CreateTexture(int32_t width, int32_t height, int unit, bool rgba); width 141 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc if (position.width() == 0 || position.height() == 0) width 191 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc PP_DCHECK(position_size_.width() && position_size_.height()); width 204 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc PP_GRAPHICS3DATTRIB_WIDTH, position_size_.width(), width 216 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc glViewport(0, 0, position_size_.width(), position_size_.height()); width 294 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc int32_t width, int32_t height, int unit, bool rgba) { width 309 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc width, height, 0, width 392 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc int32_t width = frame_size_.width(); width 394 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc if (width == 0 || height == 0) width 404 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc texture_y_ = CreateTexture(width, height, 0, false); width 406 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc texture_u_ = CreateTexture(width / 2, height / 2, 1, false); width 407 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc texture_v_ = CreateTexture(width / 2, height / 2, 2, false); width 408 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc texture_rgb_ = CreateTexture(width, height, 3, true); width 442 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc int32_t width = frame_size_.width(); width 446 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, width 449 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc data += width * height; width 450 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc width /= 2; width 454 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, width 457 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc data += width * height; width 459 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, width 463 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, width 81 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc for (int y = 0; y < size.width(); ++y) { width 82 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc for (int x = 0; x < size.width(); ++x) { width 95 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc data[y * size.width() + x] = MakeColor(r, g, b, a); width 106 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc data[y * size.width() + x] = MakeColor(r, g, b, a); width 124 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc view.GetRect().width(), width 132 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc view.GetRect().width(), width 146 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc Log("Bound to 2D context size %d,%d.\n", size_.width(), size_.height()); width 151 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc background_scanline_ = new uint32_t[size_.width()]; width 153 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc for (int x = 0; x < size_.width(); ++x) { width 230 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc int image_width = image->size().width(); width 248 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc int center_x = image->size().width() / 2; width 255 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc std::min(image->size().width(), center_x + region_of_interest_radius), width 279 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc int center_x = image->size().width() / 2; width 308 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc std::min(image->size().width(), center_x + abs_mouse_x), width 81 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc const uint32_t image_width = image_data->size().width(); width 147 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc image_data.size().width()); width 81 native_client_sdk/src/examples/demo/earth/earth.cc int width, height; width 83 native_client_sdk/src/examples/demo/earth/earth.cc Texture(int w, int h) : width(w), height(h) { width 87 native_client_sdk/src/examples/demo/earth/earth.cc explicit Texture(int w, int h, uint32_t* p) : width(w), height(h) { width 206 native_client_sdk/src/examples/demo/earth/earth.cc void SetTexture(const std::string& name, int width, int height, width 369 native_client_sdk/src/examples/demo/earth/earth.cc *w = ps_context_->width; width 386 native_client_sdk/src/examples/demo/earth/earth.cc float width = ps_context_->width; width 388 native_client_sdk/src/examples/demo/earth/earth.cc float min_dim = width < height ? width : height; width 389 native_client_sdk/src/examples/demo/earth/earth.cc float offset_x = width < height ? 0 : (width - min_dim) * 0.5f; width 390 native_client_sdk/src/examples/demo/earth/earth.cc float offset_y = width < height ? (height - min_dim) * 0.5f : 0; width 469 native_client_sdk/src/examples/demo/earth/earth.cc int tx = static_cast<int>(u * base_tex_->width); width 471 native_client_sdk/src/examples/demo/earth/earth.cc int offset = tx + ty * base_tex_->width; width 485 native_client_sdk/src/examples/demo/earth/earth.cc int nix = static_cast<int>(u * night_tex_->width); width 487 native_client_sdk/src/examples/demo/earth/earth.cc int noffset = nix + niy * night_tex_->width; width 659 native_client_sdk/src/examples/demo/earth/earth.cc void Planet::SetTexture(const std::string& name, int width, int height, width 664 native_client_sdk/src/examples/demo/earth/earth.cc base_tex_ = new Texture(width, height, pixels); width 667 native_client_sdk/src/examples/demo/earth/earth.cc night_tex_ = new Texture(width, height, pixels); width 756 native_client_sdk/src/examples/demo/earth/earth.cc int width = dictionary.Get("width").AsInt(); width 760 native_client_sdk/src/examples/demo/earth/earth.cc if (width > 0 && height > 0) { width 762 native_client_sdk/src/examples/demo/earth/earth.cc SetTexture(name, width, height, pixels); width 32 native_client_sdk/src/examples/demo/flock/flock.cc int width; width 43 native_client_sdk/src/examples/demo/flock/flock.cc Vector2 center(0.5 * ctx->width, 0.5 * ctx->height); width 65 native_client_sdk/src/examples/demo/flock/flock.cc pp::Rect canvas_bounds(pp::Size(ctx->width, ctx->height)); width 112 native_client_sdk/src/examples/demo/flock/flock.cc len = fmt.width * fmt.height * fmt.channels; width 117 native_client_sdk/src/examples/demo/flock/flock.cc g_goose_sprite = new Sprite(buffer, pp::Size(fmt.width, fmt.height), 0); width 63 native_client_sdk/src/examples/demo/flock/goose.cc location_.set_x(location_.x() + flock_box.width()); width 66 native_client_sdk/src/examples/demo/flock/goose.cc location_.set_x(location_.x() - flock_box.width()); width 41 native_client_sdk/src/examples/demo/flock/sprite.cc row_bytes_ = row_bytes ? row_bytes : size.width() * sizeof(uint32_t); width 72 native_client_sdk/src/examples/demo/flock/sprite.cc dest_row_bytes = dest_bounds.width() * sizeof(uint32_t); width 82 native_client_sdk/src/examples/demo/flock/sprite.cc for (int32_t x = 0; x < src_rect_clipped.width(); ++x) { width 87 native_client_sdk/src/examples/demo/life/life.c void UpdateContext(uint32_t width, uint32_t height) { width 88 native_client_sdk/src/examples/demo/life/life.c if (width != g_Context.size.width || height != g_Context.size.height) { width 89 native_client_sdk/src/examples/demo/life/life.c size_t size = width * height; width 107 native_client_sdk/src/examples/demo/life/life.c g_Context.size.width = width; width 116 native_client_sdk/src/examples/demo/life/life.c int32_t width = g_Context.size.width; width 121 native_client_sdk/src/examples/demo/life/life.c if (x > 0 && x < width - 1 && y > 0 && y < height - 1) { width 122 native_client_sdk/src/examples/demo/life/life.c g_Context.cell_in[x - 1 + y * width] = 1; width 123 native_client_sdk/src/examples/demo/life/life.c g_Context.cell_in[x + 1 + y * width] = 1; width 124 native_client_sdk/src/examples/demo/life/life.c g_Context.cell_in[x + (y - 1) * width] = 1; width 125 native_client_sdk/src/examples/demo/life/life.c g_Context.cell_in[x + (y + 1) * width] = 1; width 158 native_client_sdk/src/examples/demo/life/life.c UpdateContext(rect.size.width, rect.size.height); width 204 native_client_sdk/src/examples/demo/life/life.c void Stir(uint32_t width, uint32_t height) { width 209 native_client_sdk/src/examples/demo/life/life.c for (i = 0; i < width; ++i) { width 211 native_client_sdk/src/examples/demo/life/life.c g_Context.cell_in[i + (height - 1) * width] = rand() & 1; width 214 native_client_sdk/src/examples/demo/life/life.c g_Context.cell_in[i * width] = rand() & 1; width 215 native_client_sdk/src/examples/demo/life/life.c g_Context.cell_in[i * width + (width - 1)] = rand() & 1; width 242 native_client_sdk/src/examples/demo/life/life.c Stir(desc.size.width, desc.size.height); width 246 native_client_sdk/src/examples/demo/life/life.c uint8_t *src0 = (g_Context.cell_in + (y - 1) * desc.size.width) + 1; width 247 native_client_sdk/src/examples/demo/life/life.c uint8_t *src1 = src0 + desc.size.width; width 248 native_client_sdk/src/examples/demo/life/life.c uint8_t *src2 = src1 + desc.size.width; width 251 native_client_sdk/src/examples/demo/life/life.c uint8_t *dst = (g_Context.cell_out + y * desc.size.width) + 1; width 254 native_client_sdk/src/examples/demo/life/life.c for (x = 1; x < (desc.size.width - 1); ++x) { width 45 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc int px = x * ctx->width; width 47 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc uint32_t color = ctx->data[ctx->width * py + px]; width 61 native_client_sdk/src/examples/demo/pi_generator/pi_generator.cc ctx->data[ctx->width * py + px] = color | kOpaqueColorMask; width 113 native_client_sdk/src/examples/demo/voronoi/voronoi.cc inline void wFillSpan(uint32_t *pixels, uint32_t color, int width); width 221 native_client_sdk/src/examples/demo/voronoi/voronoi.cc *w = ps_context_->width / parts; width 248 native_client_sdk/src/examples/demo/voronoi/voronoi.cc inline void Voronoi::wFillSpan(uint32_t* pixels, uint32_t color, int width) { width 253 native_client_sdk/src/examples/demo/voronoi/voronoi.cc for (int i = 0; i < width; i += 4) { width 375 native_client_sdk/src/examples/demo/voronoi/voronoi.cc screen_positions_[j].x = positions_[j].x * ps_context_->width; width 387 native_client_sdk/src/examples/demo/voronoi/voronoi.cc if (ix >= (ps_context_->width - 1)) return; width 461 native_client_sdk/src/examples/demo/voronoi/voronoi.cc positions_[i].Set(point.x() / ps_context_->width, width 505 native_client_sdk/src/examples/demo/voronoi/voronoi.cc assert(is_pow2(ps_context_->width)); width 253 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc int32_t new_width = view.GetRect().width(); width 74 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc int width, height; width 76 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc Texture(int w, int h) : width(w), height(h) { width 80 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc explicit Texture(int w, int h, uint32_t* p) : width(w), height(h) { width 205 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc void SetTexture(const std::string& name, int width, int height, width 507 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc int tx = static_cast<int>(u * base_tex_->width); width 509 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc int offset = tx + ty * base_tex_->width; width 523 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc int nix = static_cast<int>(u * night_tex_->width); width 525 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc int noffset = nix + niy * night_tex_->width; width 674 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc if (position.size().width() == width_ && width 718 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc void Planet::SetTexture(const std::string& name, int width, int height, width 723 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc base_tex_ = new Texture(width, height, pixels); width 726 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc night_tex_ = new Texture(width, height, pixels); width 802 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc int width = dictionary.Get("width").AsInt(); width 805 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc if (!name.empty() && width > 0 && height > 0 && !array_buffer.is_null()) { width 807 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc SetTexture(name, width, height, pixels); width 862 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc width_ = image_data_->size().width(); width 91 native_client_sdk/src/gonacl_appengine/src/life/life.c void UpdateContext(uint32_t width, uint32_t height) { width 92 native_client_sdk/src/gonacl_appengine/src/life/life.c if (width != g_Context.size.width || height != g_Context.size.height) { width 93 native_client_sdk/src/gonacl_appengine/src/life/life.c size_t size = width * height; width 111 native_client_sdk/src/gonacl_appengine/src/life/life.c g_Context.size.width = width; width 120 native_client_sdk/src/gonacl_appengine/src/life/life.c int32_t width = g_Context.size.width; width 125 native_client_sdk/src/gonacl_appengine/src/life/life.c if (x > 0 && x < width - 1 && y > 0 && y < height - 1) { width 126 native_client_sdk/src/gonacl_appengine/src/life/life.c g_Context.cell_in[x - 1 + y * width] = 1; width 127 native_client_sdk/src/gonacl_appengine/src/life/life.c g_Context.cell_in[x + 1 + y * width] = 1; width 128 native_client_sdk/src/gonacl_appengine/src/life/life.c g_Context.cell_in[x + (y - 1) * width] = 1; width 129 native_client_sdk/src/gonacl_appengine/src/life/life.c g_Context.cell_in[x + (y + 1) * width] = 1; width 162 native_client_sdk/src/gonacl_appengine/src/life/life.c UpdateContext(rect.size.width, rect.size.height); width 201 native_client_sdk/src/gonacl_appengine/src/life/life.c void Stir(uint32_t width, uint32_t height) { width 206 native_client_sdk/src/gonacl_appengine/src/life/life.c for (i = 0; i < width; ++i) { width 208 native_client_sdk/src/gonacl_appengine/src/life/life.c g_Context.cell_in[i + (height - 1) * width] = rand() & 1; width 211 native_client_sdk/src/gonacl_appengine/src/life/life.c g_Context.cell_in[i * width] = rand() & 1; width 212 native_client_sdk/src/gonacl_appengine/src/life/life.c g_Context.cell_in[i * width + (width - 1)] = rand() & 1; width 239 native_client_sdk/src/gonacl_appengine/src/life/life.c Stir(desc.size.width, desc.size.height); width 243 native_client_sdk/src/gonacl_appengine/src/life/life.c uint8_t *src0 = (g_Context.cell_in + (y - 1) * desc.size.width) + 1; width 244 native_client_sdk/src/gonacl_appengine/src/life/life.c uint8_t *src1 = src0 + desc.size.width; width 245 native_client_sdk/src/gonacl_appengine/src/life/life.c uint8_t *src2 = src1 + desc.size.width; width 248 native_client_sdk/src/gonacl_appengine/src/life/life.c uint8_t *dst = (g_Context.cell_out + y * desc.size.width) + 1; width 251 native_client_sdk/src/gonacl_appengine/src/life/life.c for (x = 1; x < (desc.size.width - 1); ++x) { width 107 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc inline void wFillSpan(uint32_t *pixels, uint32_t color, int width); width 216 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc *w = static_cast<int>(next_pow2(ps_context_->width)) / parts; width 242 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc inline void Voronoi::wFillSpan(uint32_t* pixels, uint32_t color, int width) { width 248 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc for (int i = 0; i < width; ++i) width 331 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc if (ix + iw > ps_context_->width) width 332 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc iw = ps_context_->width - ix; width 372 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc screen_positions_[j].x = positions_[j].x * ps_context_->width; width 384 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc if (ix >= (ps_context_->width - 1)) return; width 432 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc positions_[i].Set(point.x() / ps_context_->width, width 58 native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.cc ctx->width = rect.size.width; width 100 native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.cc size.width = ctx->width; width 20 native_client_sdk/src/libraries/ppapi_simple/ps_context_2d.h int32_t width; width 423 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc void PSInstance::HandleResize(int width, int height) { width 426 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc size.ws_col = width; width 436 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc int width = array.Get(0).AsInt(); width 438 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc HandleResize(width, height); width 583 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc Log("Got View change: %d,%d\n", new_size.width(), new_size.height()); width 163 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h void HandleResize(int width, int height); width 1563 net/base/net_util.cc size_t width = host_addr.size() + 1; width 1564 net/base/net_util.cc for (size_t i = 0; i < array_size; ++i, array += width) { width 1565 net/base/net_util.cc if (IPNumberPrefixCheck(host_addr, array, array[width-1])) width 29 ppapi/c/dev/pp_video_capture_dev.h uint32_t width; width 41 ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h GLsizei width, width 147 ppapi/c/dev/ppb_truetype_font_dev.h PP_TrueTypeFontWidth_Dev width; width 68 ppapi/c/pp_rect.h ret.size.width = w; width 29 ppapi/c/pp_size.h int32_t width; width 54 ppapi/c/pp_size.h ret.width = w; width 249 ppapi/c/ppb_graphics_3d.h int32_t (*ResizeBuffers)(PP_Resource context, int32_t width, int32_t height); width 104 ppapi/c/ppb_opengles2.h GLsizei width, width 114 ppapi/c/ppb_opengles2.h GLsizei width, width 125 ppapi/c/ppb_opengles2.h GLsizei width, width 135 ppapi/c/ppb_opengles2.h GLsizei width, width 299 ppapi/c/ppb_opengles2.h void (*LineWidth)(PP_Resource context, GLfloat width); width 306 ppapi/c/ppb_opengles2.h GLsizei width, width 315 ppapi/c/ppb_opengles2.h GLsizei width, width 321 ppapi/c/ppb_opengles2.h GLsizei width, width 355 ppapi/c/ppb_opengles2.h GLsizei width, width 382 ppapi/c/ppb_opengles2.h GLsizei width, width 500 ppapi/c/ppb_opengles2.h GLsizei width, width 555 ppapi/c/ppb_opengles2.h GLsizei width, width 585 ppapi/c/ppb_opengles2.h GLsizei width, width 256 ppapi/c/private/pp_content_decryptor.h int32_t width; width 422 ppapi/c/private/pp_content_decryptor.h int32_t width; width 51 ppapi/cpp/dev/truetype_font_dev.cc set_width(other.width()); width 67 ppapi/cpp/dev/truetype_font_dev.cc set_width(other.width()); width 76 ppapi/cpp/dev/truetype_font_dev.h PP_TrueTypeFontWidth_Dev width() const { return desc_.width; } width 77 ppapi/cpp/dev/truetype_font_dev.h void set_width(PP_TrueTypeFontWidth_Dev width) { width 78 ppapi/cpp/dev/truetype_font_dev.h desc_.width = width; width 66 ppapi/cpp/graphics_3d.cc int32_t Graphics3D::ResizeBuffers(int32_t width, int32_t height) { width 71 ppapi/cpp/graphics_3d.cc pp_resource(), width, height); width 150 ppapi/cpp/graphics_3d.h int32_t ResizeBuffers(int32_t width, int32_t height); width 28 ppapi/cpp/rect.cc set_width(std::max<int32_t>(width() - left - right, 0)); width 112 ppapi/cpp/rect.cc int32_t new_width = width(); width 114 ppapi/cpp/rect.cc AdjustAlongAxis(rect.x(), rect.width(), &new_x, &new_width); width 120 ppapi/cpp/rect.cc return Point(x() + (width() + 1) / 2, y() + (height() + 1) / 2); width 126 ppapi/cpp/rect.cc (x() == rect.x() && width() == rect.width() && width 27 ppapi/cpp/rect.h rect_.size.width = 0; width 39 ppapi/cpp/rect.h set_width(rect.size.width); width 153 ppapi/cpp/rect.h int32_t width() const { width 154 ppapi/cpp/rect.h return rect_.size.width; width 165 ppapi/cpp/rect.h rect_.size.width = w; width 213 ppapi/cpp/rect.h rect_.size.width = s.width(); width 225 ppapi/cpp/rect.h return x() + width(); width 304 ppapi/cpp/rect.h return rect_.size.width == 0 && rect_.size.height == 0; width 411 ppapi/cpp/rect.h lhs.width() == rhs.width() && width 23 ppapi/cpp/size.h size_.width = 0; width 34 ppapi/cpp/size.h set_width(s.width); width 78 ppapi/cpp/size.h int width() const { width 79 ppapi/cpp/size.h return size_.width; width 90 ppapi/cpp/size.h size_.width = w; width 115 ppapi/cpp/size.h return width() * height(); width 132 ppapi/cpp/size.h set_width(width() + w); width 141 ppapi/cpp/size.h return (width() == 0) || (height() == 0); width 159 ppapi/cpp/size.h return lhs.width() == rhs.width() && lhs.height() == rhs.height(); width 119 ppapi/examples/2d/graphics_2d_example.c info->last_size.width = 0; width 155 ppapi/examples/2d/graphics_2d_example.c if (info->last_size.width != position.size.width || width 159 ppapi/examples/2d/graphics_2d_example.c info->last_size.width = position.size.width; width 28 ppapi/examples/2d/paint_manager_example.cc int left, int top, int width, int height, width 34 ppapi/examples/2d/paint_manager_example.cc x < std::min(image->size().width() - 1, left + width); width 107 ppapi/examples/2d/paint_manager_example.cc paint_rects[i].width(), width 118 ppapi/examples/2d/paint_manager_example.cc square.width(), width 29 ppapi/examples/2d/scroll.cc x < std::min(image->size().width(), rect.right()); width 87 ppapi/examples/2d/scroll.cc for (int xs = 0; xs < graphics.size().width() / kSquareSpacing + 2; width 180 ppapi/examples/audio_input/audio_input.cc for (int x = 0; x < size.width(); x++) width 188 ppapi/examples/audio_input/audio_input.cc for (int x = 0; x < size.width(); x++) { width 200 ppapi/examples/audio_input/audio_input.cc latency_ < 1 ? size.width() * latency_ : size.width(); width 207 ppapi/examples/audio_input/audio_input.cc x < std::min(size.width(), static_cast<int>(sample_count_)); width 88 ppapi/examples/flash_topmost/flash_topmost.cc pp::Rect rect(size.width() / 8, size.height() / 4, width 89 ppapi/examples/flash_topmost/flash_topmost.cc 3 * size.width() / 4, size.height() / 2); width 94 ppapi/examples/flash_topmost/flash_topmost.cc for (int x = 0; x < size.width(); x++) width 98 ppapi/examples/flash_topmost/flash_topmost.cc for (int x = rect.x(); x < rect.x() + rect.width(); x++) { width 104 ppapi/examples/flash_topmost/flash_topmost.cc *image.GetAddr32(pp::Point(rect.x() + rect.width() - 1, y)) = 0xff202020; width 24 ppapi/examples/gamepad/gamepad.cc void FillRect(pp::ImageData* image, int left, int top, int width, int height, width 30 ppapi/examples/gamepad/gamepad.cc x < std::min(image->size().width() - 1, left + width); width 57 ppapi/examples/gamepad/gamepad.cc if (rect.size().width() == width_ && width 61 ppapi/examples/gamepad/gamepad.cc width_ = rect.size().width(); width 96 ppapi/examples/gamepad/gamepad.cc int width2 = size.width() / 2; width 102 ppapi/examples/gles2/gles2.cc if (position.width() == 0 || position.height() == 0) width 123 ppapi/examples/gles2/gles2.cc assert(plugin_size_.width() && plugin_size_.height()); width 126 ppapi/examples/gles2/gles2.cc context_->ResizeBuffers(plugin_size_.width(), plugin_size_.height()); width 138 ppapi/examples/gles2/gles2.cc PP_GRAPHICS3DATTRIB_WIDTH, plugin_size_.width(), width 76 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc if (position.width() == 0 || position.height() == 0) width 93 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc assert(plugin_size_.width() && plugin_size_.height()); width 96 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc context_->ResizeBuffers(plugin_size_.width(), plugin_size_.height()); width 108 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc PP_GRAPHICS3DATTRIB_WIDTH, plugin_size_.width(), width 117 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc cube_.Init(plugin_size_.width(), plugin_size_.height()); width 359 ppapi/examples/gles2_spinning_cube/spinning_cube.cc void SpinningCube::Init(uint32_t width, uint32_t height) { width 360 ppapi/examples/gles2_spinning_cube/spinning_cube.cc width_ = width; width 15 ppapi/examples/gles2_spinning_cube/spinning_cube.h void Init(uint32_t width, uint32_t height); width 45 ppapi/examples/ime/ime.cc int left, int top, int width, int height, width 51 ppapi/examples/ime/ime.cc x < std::min(image->size().width() - 1, left + width); width 58 ppapi/examples/ime/ime.cc FillRect(image, rect.x(), rect.y(), rect.width(), rect.height(), color); width 126 ppapi/examples/ime/ime.cc int x, int y, int width, int height) width 129 ppapi/examples/ime/ime.cc area_(x, y, width, height), width 678 ppapi/examples/ime/ime.cc pp::Rect clip(0, 0, last_size_.width(), last_size_.height()); width 28 ppapi/examples/input/pointer_event_input.cc int left, int top, int width, int height, width 34 ppapi/examples/input/pointer_event_input.cc x < std::min(image->size().width() - 1, left + width); width 125 ppapi/examples/input/pointer_event_input.cc paint_rects[i].width(), width 136 ppapi/examples/input/pointer_event_input.cc square.width(), width 129 ppapi/examples/media_stream_audio/media_stream_audio.cc for (int x = 0; x < size.width(); x++) width 137 ppapi/examples/media_stream_audio/media_stream_audio.cc for (int x = 0; x < size.width(); x++) { width 146 ppapi/examples/media_stream_audio/media_stream_audio.cc x < std::min(size.width(), static_cast<int>(sample_count_)); width 73 ppapi/examples/media_stream_video/media_stream_video.cc GLuint CreateTexture(int32_t width, int32_t height, int unit, bool rgba); width 141 ppapi/examples/media_stream_video/media_stream_video.cc if (position.width() == 0 || position.height() == 0) width 191 ppapi/examples/media_stream_video/media_stream_video.cc PP_DCHECK(position_size_.width() && position_size_.height()); width 204 ppapi/examples/media_stream_video/media_stream_video.cc PP_GRAPHICS3DATTRIB_WIDTH, position_size_.width(), width 216 ppapi/examples/media_stream_video/media_stream_video.cc glViewport(0, 0, position_size_.width(), position_size_.height()); width 294 ppapi/examples/media_stream_video/media_stream_video.cc int32_t width, int32_t height, int unit, bool rgba) { width 309 ppapi/examples/media_stream_video/media_stream_video.cc width, height, 0, width 392 ppapi/examples/media_stream_video/media_stream_video.cc int32_t width = frame_size_.width(); width 394 ppapi/examples/media_stream_video/media_stream_video.cc if (width == 0 || height == 0) width 404 ppapi/examples/media_stream_video/media_stream_video.cc texture_y_ = CreateTexture(width, height, 0, false); width 406 ppapi/examples/media_stream_video/media_stream_video.cc texture_u_ = CreateTexture(width / 2, height / 2, 1, false); width 407 ppapi/examples/media_stream_video/media_stream_video.cc texture_v_ = CreateTexture(width / 2, height / 2, 2, false); width 408 ppapi/examples/media_stream_video/media_stream_video.cc texture_rgb_ = CreateTexture(width, height, 3, true); width 442 ppapi/examples/media_stream_video/media_stream_video.cc int32_t width = frame_size_.width(); width 446 ppapi/examples/media_stream_video/media_stream_video.cc glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, width 449 ppapi/examples/media_stream_video/media_stream_video.cc data += width * height; width 450 ppapi/examples/media_stream_video/media_stream_video.cc width /= 2; width 454 ppapi/examples/media_stream_video/media_stream_video.cc glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, width 457 ppapi/examples/media_stream_video/media_stream_video.cc data += width * height; width 459 ppapi/examples/media_stream_video/media_stream_video.cc glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, width 463 ppapi/examples/media_stream_video/media_stream_video.cc glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, width 15 ppapi/examples/mouse_cursor/mouse_cursor.cc void FillRect(pp::ImageData* image, int left, int top, int width, int height, width 21 ppapi/examples/mouse_cursor/mouse_cursor.cc x < std::min(image->size().width() - 1, left + width); width 38 ppapi/examples/mouse_cursor/mouse_cursor.cc width_ = view.GetRect().width(); width 92 ppapi/examples/mouse_lock/mouse_lock.cc if (position.size().width() == width_ && width 96 ppapi/examples/mouse_lock/mouse_lock.cc width_ = position.size().width(); width 146 ppapi/examples/mouse_lock/mouse_lock.cc pp::ImageData PaintImage(int width, int height) { width 148 ppapi/examples/mouse_lock/mouse_lock.cc pp::Size(width, height), false); width 157 ppapi/examples/mouse_lock/mouse_lock.cc int center_x = width / 2; width 193 ppapi/examples/mouse_lock/mouse_lock.cc for (int x = 0; x < image.size().width(); ++x) { width 43 ppapi/examples/scaling/scaling.cc if (view_rect.width() == width_ && width 49 ppapi/examples/scaling/scaling.cc width_ = view_rect.width(); width 138 ppapi/examples/scaling/scaling.cc int width = using_device_pixels_ ? pixel_width_ : width_; width 141 ppapi/examples/scaling/scaling.cc pp::Size(width, height), false); width 179 ppapi/examples/scaling/scaling.cc for (int x = 0; x < width; ++x) { width 180 ppapi/examples/scaling/scaling.cc int dx = (width / 2) - x; width 183 ppapi/examples/scaling/scaling.cc if (x == 0 || y == 0 || x == width - 1 || y == width - 1 || x == y || width 184 ppapi/examples/scaling/scaling.cc width - x - 1 == y) { width 88 ppapi/examples/video_capture/video_capture.cc int32_t width = capture_info_.width; width 92 ppapi/examples/video_capture/video_capture.cc context_->pp_resource(), GL_TEXTURE_2D, 0, 0, 0, width, height, width 95 ppapi/examples/video_capture/video_capture.cc data += width * height; width 96 ppapi/examples/video_capture/video_capture.cc width /= 2; width 101 ppapi/examples/video_capture/video_capture.cc context_->pp_resource(), GL_TEXTURE_2D, 0, 0, 0, width, height, width 104 ppapi/examples/video_capture/video_capture.cc data += width * height; width 107 ppapi/examples/video_capture/video_capture.cc context_->pp_resource(), GL_TEXTURE_2D, 0, 0, 0, width, height, width 122 ppapi/examples/video_capture/video_capture.cc GLuint CreateTexture(int32_t width, int32_t height, int unit); width 176 ppapi/examples/video_capture/video_capture.cc capture_info_.width = 320; width 188 ppapi/examples/video_capture/video_capture.cc if (position.width() == 0 || position.height() == 0) width 241 ppapi/examples/video_capture/video_capture.cc PP_DCHECK(position_size_.width() && position_size_.height()); width 254 ppapi/examples/video_capture/video_capture.cc PP_GRAPHICS3DATTRIB_WIDTH, position_size_.width(), width 265 ppapi/examples/video_capture/video_capture.cc position_size_.width(), position_size_.height()); width 293 ppapi/examples/video_capture/video_capture.cc GLuint VCDemoInstance::CreateTexture(int32_t width, int32_t height, int unit) { width 315 ppapi/examples/video_capture/video_capture.cc context_->pp_resource(), GL_TEXTURE_2D, 0, GL_LUMINANCE, width, height, 0, width 417 ppapi/examples/video_capture/video_capture.cc int32_t width = capture_info_.width; width 419 ppapi/examples/video_capture/video_capture.cc texture_y_ = CreateTexture(width, height, 0); width 421 ppapi/examples/video_capture/video_capture.cc width /= 2; width 423 ppapi/examples/video_capture/video_capture.cc texture_u_ = CreateTexture(width, height, 1); width 424 ppapi/examples/video_capture/video_capture.cc texture_v_ = CreateTexture(width, height, 2); width 136 ppapi/examples/video_decode/video_decode.cc GLuint CreateTexture(int32_t width, int32_t height, GLenum texture_target); width 256 ppapi/examples/video_decode/video_decode.cc if (position.width() == 0 || position.height() == 0) width 258 ppapi/examples/video_decode/video_decode.cc if (plugin_size_.width()) { width 377 ppapi/examples/video_decode/video_decode.cc dimensions.width, dimensions.height, info.texture_target); width 425 ppapi/examples/video_decode/video_decode.cc x = plugin_size_.width() / kNumDecoders; width 441 ppapi/examples/video_decode/video_decode.cc info.buffer.size.width, width 446 ppapi/examples/video_decode/video_decode.cc plugin_size_.width() / kNumDecoders, width 481 ppapi/examples/video_decode/video_decode.cc assert(plugin_size_.width() && plugin_size_.height()); width 494 ppapi/examples/video_decode/video_decode.cc PP_GRAPHICS3DATTRIB_WIDTH, plugin_size_.width(), width 536 ppapi/examples/video_decode/video_decode.cc GLuint VideoDecodeDemoInstance::CreateTexture(int32_t width, width 560 ppapi/examples/video_decode/video_decode.cc context_->pp_resource(), texture_target, 0, GL_RGBA, width, height, 0, width 130 ppapi/lib/gl/gles2/gles2.c GLsizei width, width 139 ppapi/lib/gl/gles2/gles2.c width, width 150 ppapi/lib/gl/gles2/gles2.c GLsizei width, width 160 ppapi/lib/gl/gles2/gles2.c width, width 172 ppapi/lib/gl/gles2/gles2.c GLsizei width, width 181 ppapi/lib/gl/gles2/gles2.c width, width 192 ppapi/lib/gl/gles2/gles2.c GLsizei width, width 201 ppapi/lib/gl/gles2/gles2.c width, width 557 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glLineWidth(GLfloat width) { width 558 ppapi/lib/gl/gles2/gles2.c glGetInterfacePPAPI()->LineWidth(glGetCurrentContextPPAPI(), width); width 576 ppapi/lib/gl/gles2/gles2.c GLsizei width, width 582 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), x, y, width, height, format, type, pixels); width 591 ppapi/lib/gl/gles2/gles2.c GLsizei width, width 594 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), target, internalformat, width, height); width 602 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height) { width 604 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), x, y, width, height); width 658 ppapi/lib/gl/gles2/gles2.c GLsizei width, width 668 ppapi/lib/gl/gles2/gles2.c width, width 702 ppapi/lib/gl/gles2/gles2.c GLsizei width, width 712 ppapi/lib/gl/gles2/gles2.c width, width 879 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height) { width 881 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), x, y, width, height); width 913 ppapi/lib/gl/gles2/gles2.c GLsizei width, width 922 ppapi/lib/gl/gles2/gles2.c width, width 1001 ppapi/lib/gl/gles2/gles2.c GLsizei width, width 1014 ppapi/lib/gl/gles2/gles2.c width, width 291 ppapi/lib/gl/include/EGL/eglext.h EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); width 293 ppapi/lib/gl/include/EGL/eglext.h typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); width 660 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data); width 661 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data); width 662 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); width 663 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); width 727 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); width 731 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels); width 733 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); width 735 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); width 744 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels); width 749 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels); width 780 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); width 801 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); width 802 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); width 803 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); width 804 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); width 805 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); width 809 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); width 810 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); width 811 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); width 812 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); width 813 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); width 958 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 961 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 997 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 1095 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 1160 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); width 1166 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); width 1318 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); width 1319 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); width 1320 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); width 1321 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); width 1322 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); width 1323 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); width 1326 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); width 1327 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); width 1328 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); width 1329 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); width 1330 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); width 1331 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); width 1389 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 1566 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels); width 1576 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels); width 1620 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); width 1624 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); width 1700 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 1703 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 1735 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void* GL_APIENTRY glMapTexSubImage2DCHROMIUM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLenum access); width 1741 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void* (GL_APIENTRYP PFNGLMAPTEXSUBIMAGE2DCHROMIUM) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLenum access); width 1752 ppapi/lib/gl/include/GLES2/gl2ext.h GLuint width, GLuint height, GLfloat scale_factor); width 1755 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRESIZECHROMIUM) (GLuint width, GLuint height); width 1872 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM (GLint x, GLint y, GLint width, GLint height); width 1875 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLPOSTSUBBUFFERCHROMIUM) (GLint x, GLint y, GLint width, GLint height); width 1942 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTexImageIOSurface2DCHROMIUM (GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, GLuint plane); width 1945 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXIMAGEIOSURFACE2DCHROMIUM) (GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, GLuint plane); width 723 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M15_PPB_Graphics3D_ResizeBuffers(PP_Resource context, int32_t width, int32_t height) { width 725 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->ResizeBuffers(context, width, height); width 4417 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .ResizeBuffers = (int32_t (*)(PP_Resource context, int32_t width, int32_t height))&Pnacl_M15_PPB_Graphics3D_ResizeBuffers, width 167 ppapi/native_client/tests/ppapi_test_lib/test_interface.cc return (min_size.width <= size.width && size.width <= max_size.width && width 172 ppapi/native_client/tests/ppapi_test_lib/test_interface.cc return (size.width == expected.width && size.height == expected.height); width 224 ppapi/native_client/tests/ppapi_test_lib/test_interface.cc (origin.x + size.width) <= stride && width 231 ppapi/native_client/tests/ppapi_test_lib/test_interface.cc for (int x = origin.x; x < origin.x + size.width && !found_error; x++) { width 35 ppapi/proxy/graphics_2d_resource.cc bool bad_args = size.width <= 0 || size.height <= 0 || width 36 ppapi/proxy/graphics_2d_resource.cc static_cast<int64>(size.width) * static_cast<int64>(size.height) >= width 67 ppapi/proxy/media_stream_video_track_resource.cc attributes.width = attrib_list[i + 1]; width 191 ppapi/proxy/pdf_resource_unittest.cc ASSERT_EQ(expected_desc.size.width, actual_desc.size.width); width 194 ppapi/proxy/ppapi_command_buffer_proxy.cc size_t width, width 47 ppapi/proxy/ppapi_command_buffer_proxy.h size_t width, width 136 ppapi/proxy/ppapi_messages.h IPC_STRUCT_TRAITS_MEMBER(width) width 167 ppapi/proxy/ppapi_messages.h IPC_STRUCT_TRAITS_MEMBER(width) width 245 ppapi/proxy/ppapi_messages.h IPC_STRUCT_TRAITS_MEMBER(width) width 456 ppapi/proxy/ppapi_param_traits.cc ParamTraits<PP_TrueTypeFontWidth_Dev>::Write(m, p.width); width 471 ppapi/proxy/ppapi_param_traits.cc ParamTraits<PP_TrueTypeFontWidth_Dev>::Read(m, iter, &r->width) && width 124 ppapi/proxy/ppb_image_data_proxy.cc int width, int height, width 147 ppapi/proxy/ppb_image_data_proxy.cc int width, int height, width 157 ppapi/proxy/ppb_image_data_proxy.cc desc.size.width == width && desc.size.height == height) { width 234 ppapi/proxy/ppb_image_data_proxy.cc int width, int height, width 273 ppapi/proxy/ppb_image_data_proxy.cc int width, int height, width 278 ppapi/proxy/ppb_image_data_proxy.cc return found->second.Get(type, width, height, format); width 389 ppapi/proxy/ppb_image_data_proxy.cc mapped_canvas_.reset(transport_dib_->GetPlatformCanvas(desc_.size.width, width 444 ppapi/proxy/ppb_image_data_proxy.cc size_(desc.size.width * desc.size.height * 4), width 493 ppapi/proxy/ppb_image_data_proxy.cc size.width, size.height, format); width 174 ppapi/proxy/ppp_instance_proxy_unittest.cc EXPECT_EQ(received_position.size.width, expected_position.size.width); width 178 ppapi/proxy/ppp_instance_proxy_unittest.cc EXPECT_EQ(received_clip.size.width, expected_clip.size.width); width 33 ppapi/proxy/printing_resource_unittest.cc return lhs.width == rhs.width && lhs.height == rhs.height; width 96 ppapi/proxy/serialized_structs.cc width(), width 110 ppapi/proxy/serialized_structs.cc width = desc.width; width 121 ppapi/proxy/serialized_structs.cc desc->width = width; width 132 ppapi/proxy/serialized_structs.cc clip.size.width = 0; width 95 ppapi/proxy/serialized_structs.h PP_TrueTypeFontWidth_Dev width; width 27 ppapi/shared_impl/media_stream_video_track_shared.cc if (attributes.width < 0 || width 28 ppapi/shared_impl/media_stream_video_track_shared.cc attributes.width > kMaxWidth || width 29 ppapi/shared_impl/media_stream_video_track_shared.cc attributes.width & 0x3) { width 18 ppapi/shared_impl/media_stream_video_track_shared.h width(0), width 22 ppapi/shared_impl/media_stream_video_track_shared.h int32_t width; width 53 ppapi/shared_impl/media_stream_video_track_shared_unittest.cc attributes.width = 1024; width 56 ppapi/shared_impl/media_stream_video_track_shared_unittest.cc attributes.width = 1025; width 59 ppapi/shared_impl/media_stream_video_track_shared_unittest.cc attributes.width = 1026; width 62 ppapi/shared_impl/media_stream_video_track_shared_unittest.cc attributes.width = -1; width 65 ppapi/shared_impl/media_stream_video_track_shared_unittest.cc attributes.width = -4; width 68 ppapi/shared_impl/media_stream_video_track_shared_unittest.cc attributes.width = 4097; width 47 ppapi/shared_impl/ppb_graphics_3d_shared.cc int32_t PPB_Graphics3D_Shared::ResizeBuffers(int32_t width, int32_t height) { width 48 ppapi/shared_impl/ppb_graphics_3d_shared.cc if ((width < 0) || (height < 0)) width 51 ppapi/shared_impl/ppb_graphics_3d_shared.cc gles2_impl()->ResizeCHROMIUM(width, height, 1.f); width 80 ppapi/shared_impl/ppb_graphics_3d_shared.cc GLsizei width, width 86 ppapi/shared_impl/ppb_graphics_3d_shared.cc target, level, xoffset, yoffset, width, height, format, type, access); width 39 ppapi/shared_impl/ppb_graphics_3d_shared.h virtual int32_t ResizeBuffers(int32_t width, int32_t height) OVERRIDE; width 47 ppapi/shared_impl/ppb_graphics_3d_shared.h GLsizei width, width 49 ppapi/shared_impl/ppb_image_data_shared.cc desc.size.width > 0 && desc.size.height > 0 && width 87 ppapi/shared_impl/ppb_instance_shared.cc if (desc.size.width > 32 || desc.size.height > 32) width 95 ppapi/shared_impl/ppb_instance_shared.cc if (hot_spot->x < 0 || hot_spot->x >= desc.size.width || hot_spot->y < 0 || width 216 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei width, width 224 ppapi/shared_impl/ppb_opengles2_shared.cc target, level, internalformat, width, height, border, imageSize, data); width 233 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei width, width 244 ppapi/shared_impl/ppb_opengles2_shared.cc width, width 258 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei width, width 264 ppapi/shared_impl/ppb_opengles2_shared.cc target, level, internalformat, x, y, width, height, border); width 275 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei width, width 280 ppapi/shared_impl/ppb_opengles2_shared.cc target, level, xoffset, yoffset, x, y, width, height); width 854 ppapi/shared_impl/ppb_opengles2_shared.cc void LineWidth(PP_Resource context_id, GLfloat width) { width 857 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->LineWidth(width); width 885 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei width, width 892 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->ReadPixels(x, y, width, height, format, type, pixels); width 906 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei width, width 911 ppapi/shared_impl/ppb_opengles2_shared.cc ->RenderbufferStorage(target, internalformat, width, height); width 925 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei width, width 929 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->Scissor(x, y, width, height); width 1013 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei width, width 1024 ppapi/shared_impl/ppb_opengles2_shared.cc width, width 1078 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei width, width 1086 ppapi/shared_impl/ppb_opengles2_shared.cc target, level, xoffset, yoffset, width, height, format, type, pixels); width 1381 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei width, width 1385 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->Viewport(x, y, width, height); width 1411 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei width, width 1416 ppapi/shared_impl/ppb_opengles2_shared.cc target, samples, internalformat, width, height); width 1514 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei width, width 1522 ppapi/shared_impl/ppb_opengles2_shared.cc target, level, xoffset, yoffset, width, height, format, type, access); width 10 ppapi/shared_impl/ppb_view_shared.cc return rect.size.width > 0 && rect.size.height > 0; width 30 ppapi/shared_impl/ppb_view_shared.cc rect.size.width == other.rect.size.width && width 36 ppapi/shared_impl/ppb_view_shared.cc clip_rect.size.width == other.clip_rect.size.width && width 57 ppapi/tests/test_flash_fullscreen.cc if (screen_size_.width() < 320 || screen_size_.width() > 2560) width 58 ppapi/tests/test_flash_fullscreen.cc return ReportError("screen_size.width()", screen_size_.width()); width 38 ppapi/tests/test_fullscreen.cc static int32_t mid_x = screen_size.width() / 2; width 93 ppapi/tests/test_fullscreen.cc if (screen_size_.width() < 320 || screen_size_.width() > 2560) width 94 ppapi/tests/test_fullscreen.cc return ReportError("screen_size.width()", screen_size_.width()); width 154 ppapi/tests/test_fullscreen.cc normal_position_.x() + normal_position_.width() / 2, width 246 ppapi/tests/test_fullscreen.cc for (int x = 0; x < painted_size_.width(); x++) { width 113 ppapi/tests/test_graphics_2d.cc for (int pixel = 0; pixel < rect.width(); pixel++) width 121 ppapi/tests/test_graphics_2d.cc for (int x = 0; x < image->size().width(); x++) { width 122 ppapi/tests/test_graphics_2d.cc uint32_t green = ((x * 256) / image->size().width()) & 0xFF; width 133 ppapi/tests/test_graphics_2d.cc image1, pp::Rect(0, 0, image1.size().width(), image1.size().height()), width 134 ppapi/tests/test_graphics_2d.cc image2, pp::Rect(0, 0, image2.size().width(), image2.size().height())); width 141 ppapi/tests/test_graphics_2d.cc if (rc1.width() != rc2.width() || rc1.height() != rc2.height()) width 145 ppapi/tests/test_graphics_2d.cc for (int x = 0; x < rc1.width(); x++) { width 159 ppapi/tests/test_graphics_2d.cc for (int x = 0; x < image_data.size().width(); x++) { width 272 ppapi/tests/test_graphics_2d.cc size.width = 16; width 279 ppapi/tests/test_graphics_2d.cc size.width = -16; width 287 ppapi/tests/test_graphics_2d.cc size.width = std::numeric_limits<int32_t>::max(); width 330 ppapi/tests/test_graphics_2d.cc size.width = -1; width 335 ppapi/tests/test_graphics_2d.cc ASSERT_EQ(w, size.width); width 360 ppapi/tests/test_graphics_2d.cc size.width = -1; width 365 ppapi/tests/test_graphics_2d.cc ASSERT_EQ(w, size.width); width 588 ppapi/tests/test_graphics_2d.cc ASSERT_TRUE(!swapped.pp_resource() && !swapped.size().width() && width 734 ppapi/tests/test_graphics_2d.cc size.width = -1; width 739 ppapi/tests/test_graphics_2d.cc ASSERT_EQ(w, size.width); width 40 ppapi/tests/test_graphics_3d.cc const int width = 16; width 43 ppapi/tests/test_graphics_3d.cc PP_GRAPHICS3DATTRIB_WIDTH, width, width 57 ppapi/tests/test_graphics_3d.cc std::string error = CheckPixelPPAPI(&context, width/2, height/2, red_color); width 68 ppapi/tests/test_graphics_3d.cc const int width = 16; width 71 ppapi/tests/test_graphics_3d.cc PP_GRAPHICS3DATTRIB_WIDTH, width, width 84 ppapi/tests/test_graphics_3d.cc std::string error = CheckPixelGL(width/2, height/2, red_color); width 96 ppapi/tests/test_graphics_3d.cc const int width = 16; width 99 ppapi/tests/test_graphics_3d.cc PP_GRAPHICS3DATTRIB_WIDTH, width, width 79 ppapi/tests/test_image_data.cc negative_height.width = 16; width 89 ppapi/tests/test_image_data.cc negative_width.width = -2; width 130 ppapi/tests/test_image_data.cc if (img.size().width() != w || img.size().height() != h) width 213 ppapi/tests/test_ime_input_event.cc view_rect_.x() + view_rect_.width() / 2, width 26 ppapi/tests/test_input_event.cc rect.x() + rect.width() / 2, width 106 ppapi/tests/test_media_stream_video_track.cc ASSERT_EQ(size.width(), kDefaultWidth); width 178 ppapi/tests/test_media_stream_video_track.cc ASSERT_EQ(size.width(), kDefaultWidth); width 190 ppapi/tests/test_media_stream_video_track.cc int32_t width; width 202 ppapi/tests/test_media_stream_video_track.cc PP_MEDIASTREAMVIDEOTRACK_ATTRIB_WIDTH, sizes[i].width, width 221 ppapi/tests/test_media_stream_video_track.cc ASSERT_EQ(size.width(), sizes[i].expect_width); width 37 ppapi/tests/test_pdf.cc ASSERT_EQ(43, data.size().width()); width 39 ppapi/tests/test_pdf.cc for (int i = 0; i < data.size().width(); ++i) { width 63 ppapi/tests/test_printing.cc ASSERT_TRUE(g_print_settings.printable_area.size.width < 2000); width 68 ppapi/tests/test_printing.cc ASSERT_TRUE(g_print_settings.content_area.size.width < 2000); width 71 ppapi/tests/test_printing.cc ASSERT_TRUE(g_print_settings.paper_size.width < 2000); width 142 ppapi/tests/test_view.cc desired_rect.set_width(original_rect.width() + 10); width 148 ppapi/tests/test_view.cc << desired_rect.width() << ");"; width 171 ppapi/tests/test_view.cc ASSERT_TRUE(original_clip.width() == original_rect.width()); width 22 ppapi/thunk/ppb_gles_chromium_texture_mapping_thunk.cc GLsizei width, width 30 ppapi/thunk/ppb_gles_chromium_texture_mapping_thunk.cc target, level, xoffset, yoffset, width, height, format, type, access); width 28 ppapi/thunk/ppb_graphics_3d_api.h virtual int32_t ResizeBuffers(int32_t width, int32_t height) = 0; width 49 ppapi/thunk/ppb_graphics_3d_api.h GLsizei width, width 72 ppapi/thunk/ppb_graphics_3d_thunk.cc int32_t ResizeBuffers(PP_Resource context, int32_t width, int32_t height) { width 77 ppapi/thunk/ppb_graphics_3d_thunk.cc return enter.object()->ResizeBuffers(width, height); width 58 ppapi/utility/graphics/paint_aggregator.cc damaged_rect.set_width(scroll_rect.width()); width 120 printing/emf_win.cc gfx::CreateBitmapHeader(raster_size.width(), raster_size.height(), width 420 printing/emf_win.cc gfx::CreateBitmapHeader(bitmap->width(), bitmap->height(), &bmi); width 526 printing/emf_win.cc return skia::VectorPlatformDeviceEmf::CreateDevice(page_size.width(), width 613 printing/emf_win.cc page_size.set_width(std::max<int>(1, page_size.width() * scale)); width 634 printing/emf_win.cc float(page_bounds.width()) / bitmap_rect.width(), 0, width 640 printing/emf_win.cc ::BitBlt(hdc, 0, 0, bitmap_rect.width(), bitmap_rect.height(), width 84 printing/image.cc if (size_.width() == 0 || size_.height() == 0 || width 85 printing/image.cc rhs.size_.width() == 0 || rhs.size_.height() == 0) width 88 printing/image.cc int width = std::min(size_.width(), rhs.size_.width()); width 93 printing/image.cc for (int x = 0; x < width; ++x) { width 101 printing/image.cc for (int x = width; x < size_.width(); ++x) { width 108 printing/image.cc for (int x = width; x < rhs.size_.width(); ++x) { width 117 printing/image.cc for (int x = 0; x < size_.width(); ++x) { width 126 printing/image.cc for (int x = 0; x < rhs.size_.width(); ++x) { width 135 printing/image.cc double total_pixels = static_cast<double>(size_.width()) * width 147 printing/image.cc row_length_ = size_.width() * sizeof(uint32); width 64 printing/image.h DCHECK(x >= 0 && x < size_.width()); width 19 printing/image_mac.cc if (rect.width() < 1 || rect.height() < 1) width 23 printing/image_mac.cc row_length_ = size_.width() * sizeof(uint32); width 32 printing/image_mac.cc size_.width(), width 43 printing/image_mac.cc CGRectMake(0, 0, size_.width(), size_.height()), params); width 61 printing/image_win.cc DCHECK_GE(rect.width(), 0); // Metafile could be empty. width 64 printing/image_win.cc if (rect.width() < 1 || rect.height() < 1) width 68 printing/image_win.cc gfx::CreateBitmapV4Header(rect.width(), rect.height(), &hdr); width 80 printing/image_win.cc row_length_ = size_.width() * sizeof(uint32); width 69 printing/page_setup.cc DCHECK_LE(printable_area.right(), physical_size.width()); width 94 printing/page_setup.cc if (physical_size_.width() && physical_size_.height()) { width 95 printing/page_setup.cc gfx::Size new_size(physical_size_.height(), physical_size_.width()); width 96 printing/page_setup.cc int new_y = physical_size_.width() - width 97 printing/page_setup.cc (printable_area_.width() + printable_area_.x()); width 101 printing/page_setup.cc printable_area_.width()); width 109 printing/page_setup.cc if (physical_size_.width() && physical_size_.height()) { width 131 printing/page_setup.cc physical_size_.width() - width 143 printing/page_setup.cc physical_size_.width() - width 156 printing/page_setup.cc physical_size_.width() - width 32 printing/page_setup_unittest.cc printable_area.set_width(page_size.width() - (rand() % kMax) - width 52 printing/page_setup_unittest.cc page_size.width() - width 59 printing/page_setup_unittest.cc page_size.width() - effective_margins.right - width 67 printing/page_setup_unittest.cc overlay_area.width(), width 127 printing/pdf_metafile_cg_mac.cc double width = page_size.width(); width 129 printing/pdf_metafile_cg_mac.cc CGRect bounds = CGRectMake(0, 0, width, height); width 187 printing/pdf_metafile_cg_mac.cc (source_rect.size.width > source_rect.size.height); width 188 printing/pdf_metafile_cg_mac.cc const bool dest_is_landscape = (rect.size.width > rect.size.height); width 192 printing/pdf_metafile_cg_mac.cc rotate ? source_rect.size.height : source_rect.size.width; width 194 printing/pdf_metafile_cg_mac.cc rotate ? source_rect.size.width : source_rect.size.height; width 198 printing/pdf_metafile_cg_mac.cc (params.shrink_to_fit && ((source_width > rect.size.width) || width 200 printing/pdf_metafile_cg_mac.cc (params.stretch_to_fit && ((source_width < rect.size.width) && width 203 printing/pdf_metafile_cg_mac.cc float x_scaling_factor = rect.size.width / source_width; width 214 printing/pdf_metafile_cg_mac.cc ((rect.size.width - (source_width * scaling_factor)) / 2) : 0; width 230 printing/pdf_metafile_cg_mac.cc CGContextTranslateCTM(context, rect.size.width, 0); width 60 printing/pdf_metafile_cg_mac_unittest.cc EXPECT_EQ(540, page_size.width()); width 63 printing/pdf_metafile_cg_mac_unittest.cc EXPECT_EQ(720, page_size.width()); width 67 printing/pdf_metafile_skia.cc SkISize pdf_page_size = SkISize::Make(page_size.width(), page_size.height()); width 69 printing/pdf_metafile_skia.cc SkISize::Make(content_area.width(), content_area.height()); width 31 printing/printed_page.cc if (paper_size.width() > page_size().width()) { width 32 printing/printed_page.cc int diff = paper_size.width() - page_size().width(); width 23 printing/printed_page_unittest.cc EXPECT_EQ(400, page_content.width()); width 36 printing/printed_page_unittest.cc EXPECT_EQ(400, page_content.width()); width 49 printing/printed_page_unittest.cc EXPECT_EQ(400, page_content.width()); width 62 printing/printed_page_unittest.cc EXPECT_EQ(400, page_content.width()); width 82 printing/printing_context.cc gfx::Rect paper_rect(0, 0, paper_size.width(), paper_size.height()); width 33 printing/printing_context_android.cc printing::PrintSettings* settings, int dpi, int width, int height) { width 34 printing/printing_context_android.cc gfx::Size physical_size_device_units(width, height); width 36 printing/printing_context_android.cc gfx::Rect printable_area_device_units(0, 0, width, height); width 127 printing/printing_context_android.cc int width = Java_PrintingContext_getWidth(env, j_printing_context_.obj()); width 129 printing/printing_context_android.cc width = Round(ConvertUnitDouble(width, kInchToMil, 1.0) * dpi); width 131 printing/printing_context_android.cc SetSizes(&settings_, dpi, width, height); width 142 printing/printing_context_android.cc SetSizes(&settings_, kDefaultPdfDpi, physical_size.width(), width 149 printing/printing_context_android.cc int32_t width = 0; width 152 printing/printing_context_android.cc ulocdata_getPaperSize(app_locale_.c_str(), &height, &width, &error); width 157 printing/printing_context_android.cc width = static_cast<int>( width 166 printing/printing_context_android.cc width *= multiplier; width 169 printing/printing_context_android.cc return gfx::Size(width, height); width 47 printing/printing_context_no_system_dialog.cc gfx::Rect printable_area(0, 0, physical_size.width(), physical_size.height()); width 54 printing/printing_context_no_system_dialog.cc int32_t width = 0; width 57 printing/printing_context_no_system_dialog.cc ulocdata_getPaperSize(app_locale_.c_str(), &height, &width, &error); width 62 printing/printing_context_no_system_dialog.cc width = static_cast<int>( width 71 printing/printing_context_no_system_dialog.cc width *= multiplier; width 74 printing/printing_context_no_system_dialog.cc return gfx::Size(width, height); width 321 printing/printing_context_win.cc paper_size.width() * settings_.device_units_per_inch(), width 175 remoting/android/java/src/org/chromium/chromoting/DesktopView.java int width = image.getWidth(); width 179 remoting/android/java/src/org/chromium/chromoting/DesktopView.java if (mRenderData.imageWidth != width || mRenderData.imageHeight != height) { width 183 remoting/android/java/src/org/chromium/chromoting/DesktopView.java mRenderData.imageWidth = width; width 189 remoting/android/java/src/org/chromium/chromoting/DesktopView.java mInputHandler.onHostSizeChanged(width, height); width 263 remoting/android/java/src/org/chromium/chromoting/DesktopView.java public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { width 265 remoting/android/java/src/org/chromium/chromoting/DesktopView.java mRenderData.screenWidth = width; width 275 remoting/android/java/src/org/chromium/chromoting/DesktopView.java mInputHandler.onClientSizeChanged(width, height); width 42 remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java void onClientSizeChanged(int width, int height); width 48 remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java void onHostSizeChanged(int width, int height); width 285 remoting/android/java/src/org/chromium/chromoting/TrackingInputHandler.java public void onClientSizeChanged(int width, int height) { width 290 remoting/android/java/src/org/chromium/chromoting/TrackingInputHandler.java public void onHostSizeChanged(int width, int height) { width 291 remoting/android/java/src/org/chromium/chromoting/TrackingInputHandler.java moveCursor((float)width / 2, (float)height / 2); width 412 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java private static Bitmap newBitmap(int width, int height) { width 413 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java return Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); width 421 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java public static void updateCursorShape(int width, int height, int hotspotX, int hotspotY, width 425 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java int[] data = new int[width * height]; width 428 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java sCursorBitmap = Bitmap.createBitmap(data, width, height, Bitmap.Config.ARGB_8888); width 54 remoting/base/util.cc int width, width 67 remoting/base/util.cc width, height); width 126 remoting/base/util.cc inner_rect.width(), inner_rect.height()); width 155 remoting/base/util.cc source_size.width(), width 157 remoting/base/util.cc dest_size.width(), width 173 remoting/base/util.cc source_size.width(), width 175 remoting/base/util.cc dest_size.width(), width 202 remoting/base/util.cc int left = (rect.left() * out_size.width()) / in_size.width(); width 204 remoting/base/util.cc int right = (rect.right() * out_size.width() + in_size.width() - 1) / width 205 remoting/base/util.cc in_size.width(); width 232 remoting/base/util.cc const int bytes_per_line = kBytesPerPixelRGB32 * dest_rect.width(); width 60 remoting/base/util.h int width, width 51 remoting/base/util_unittest.cc int width = rect.width(); width 53 remoting/base/util_unittest.cc std::fill(ptr, ptr + width, kFillColor); width 258 remoting/client/jni/chromoting_jni_runtime.cc return Java_JniInterface_newBitmap(env, size.width(), size.height()); width 278 remoting/client/jni/chromoting_jni_runtime.cc cursor_shape.width() * cursor_shape.height() * kBytesPerPixel; width 284 remoting/client/jni/chromoting_jni_runtime.cc cursor_shape.width(), width 52 remoting/client/jni/jni_frame_consumer.cc if (bitmap_->size().width() != buffer->size().width() || width 111 remoting/client/jni/jni_frame_consumer.cc webrtc::DesktopSize size(source_size.width(), source_size.height()); width 361 remoting/client/plugin/chromoting_instance.cc webrtc::DesktopSize(view.GetRect().width(), view.GetRect().height())); width 381 remoting/client/plugin/chromoting_instance.cc data->SetInteger("width", size.width()); width 402 remoting/client/plugin/chromoting_instance.cc rect_value->AppendInteger(rect.width()); width 533 remoting/client/plugin/chromoting_instance.cc int width = cursor_shape.width(); width 538 remoting/client/plugin/chromoting_instance.cc int bytes_per_row = width * kBytesPerPixel; width 539 remoting/client/plugin/chromoting_instance.cc int src_stride = width; width 560 remoting/client/plugin/chromoting_instance.cc if (width > kMaxCursorWidth) { width 566 remoting/client/plugin/chromoting_instance.cc width = kMaxCursorWidth; width 567 remoting/client/plugin/chromoting_instance.cc bytes_per_row = width * kBytesPerPixel; width 572 remoting/client/plugin/chromoting_instance.cc pp::Size(width, height), false)); width 670 remoting/client/plugin/chromoting_instance.cc plugin_view_.GetRect().width(), plugin_view_.GetRect().height())); width 796 remoting/client/plugin/chromoting_instance.cc int width = 0; width 800 remoting/client/plugin/chromoting_instance.cc if (!data.GetInteger("width", &width) || width 804 remoting/client/plugin/chromoting_instance.cc width <= 0 || height <= 0 || width 815 remoting/client/plugin/chromoting_instance.cc client_resolution.set_width(width); width 821 remoting/client/plugin/chromoting_instance.cc client_resolution.set_dips_width((width * kDefaultDPI) / x_dpi); width 55 remoting/client/plugin/media_source_video_renderer.cc segment_->AddVideoTrack(frame_size_.width(), frame_size_.height(), 1); width 171 remoting/client/plugin/media_source_video_renderer.cc remoting_rect.width(), remoting_rect.height())); width 45 remoting/client/plugin/pepper_view.cc : DesktopFrame(webrtc::DesktopSize(buffer.size().width(), width 105 remoting/client/plugin/pepper_view.cc webrtc::DesktopSize new_dips_size(pp_size.width(), pp_size.height()); width 126 remoting/client/plugin/pepper_view.cc view_size_.set(ceilf(dips_size_.width() * dips_to_view_scale_), width 131 remoting/client/plugin/pepper_view.cc pp::Size pp_size = pp::Size(view_size_.width(), view_size_.height()); width 194 remoting/client/plugin/pepper_view.cc if (buffer->size().width() >= clip_area_.width() && width 225 remoting/client/plugin/pepper_view.cc if (clip_area_.width()==0 || clip_area_.height()==0) width 231 remoting/client/plugin/pepper_view.cc pp::Size(clip_area_.width(), width 287 remoting/client/plugin/pepper_view.cc pp::Rect(rect.left(), rect.top(), rect.width(), rect.height())); width 67 remoting/client/software_video_renderer.cc rect.width(), rect.height()); width 264 remoting/client/software_video_renderer.cc DCHECK(clip_area_.width() <= buffer->size().width() && width 302 remoting/client/software_video_renderer.cc if ((*i)->size().width() < clip_area_.width() || width 31 remoting/codec/codec_test.cc rects.push_back(DesktopRect::MakeXYWH(0, 0, size.width(), size.height())); width 35 remoting/codec/codec_test.cc 0, 0, size.width() / 2, size.height() / 2)); width 39 remoting/codec/codec_test.cc size.width() / 2, size.height() / 2, width 40 remoting/codec/codec_test.cc size.width() / 2, size.height() / 2)); width 64 remoting/codec/codec_test.cc view_size_.width() * view_size_.height() * kBytesPerPixel]); width 67 remoting/codec/codec_test.cc webrtc::DesktopSize(screen_size_.width(), screen_size_.height())); width 77 remoting/codec/codec_test.cc view_size_.width() * view_size_.height() * kBytesPerPixel); width 88 remoting/codec/codec_test.cc webrtc::DesktopSize(view_size_.width(), view_size_.height()), width 89 remoting/codec/codec_test.cc webrtc::DesktopRect::MakeWH(view_size_.width(), view_size_.height()), width 90 remoting/codec/codec_test.cc image_data_.get(), view_size_.width() * kBytesPerPixel, width 127 remoting/codec/codec_test.cc const int stride = view_size_.width() * kBytesPerPixel; width 133 remoting/codec/codec_test.cc const int row_size = kBytesPerPixel * i.rect().width(); width 153 remoting/codec/codec_test.cc const int stride = view_size_.width() * kBytesPerPixel; width 159 remoting/codec/codec_test.cc for (int x = 0; x < i.rect().width(); ++x) { width 238 remoting/codec/codec_test.cc int memory_size = size.width() * size.height() * kBytesPerPixel; width 295 remoting/codec/codec_test.cc webrtc::DesktopFrame::kBytesPerPixel * rects[i].width(); width 337 remoting/codec/codec_test.cc for (int i = 0; i < frame->size().width(); ++i) { width 338 remoting/codec/codec_test.cc *p++ = (255.0 * i) / frame->size().width(); width 341 remoting/codec/codec_test.cc (frame->size().width() + frame->size().height()); width 376 remoting/codec/codec_test.cc webrtc::DesktopSize(view_size.width(), view_size.height()), width 378 remoting/codec/codec_test.cc webrtc::DesktopRect::MakeWH(view_size.width(), view_size.height()))); width 24 remoting/codec/video_decoder_verbatim.cc new uint8[screen_size_.width() * screen_size_.height() * width 33 remoting/codec/video_decoder_verbatim.cc int stride = kBytesPerPixel * screen_size_.width(); width 39 remoting/codec/video_decoder_verbatim.cc proto_rect.width(), width 48 remoting/codec/video_decoder_verbatim.cc int rect_row_size = kBytesPerPixel * rect.width(); width 90 remoting/codec/video_decoder_verbatim.cc int screen_stride = screen_size_.width() * kBytesPerPixel; width 35 remoting/codec/video_decoder_vpx.cc int width = rect.width(); width 37 remoting/codec/video_decoder_vpx.cc std::fill(ptr, ptr + width, color); width 122 remoting/codec/video_decoder_vpx.cc remoting_rect.width(), remoting_rect.height())); width 134 remoting/codec/video_decoder_vpx.cc remoting_rect.width(), remoting_rect.height())); width 184 remoting/codec/video_decoder_vpx.cc (source_clip.width() < view_size.width() || width 211 remoting/codec/video_decoder_vpx.cc source_rect.width(), width 213 remoting/codec/video_decoder_vpx.cc clip_area.width(), width 30 remoting/codec/video_encoder_verbatim.cc format->set_screen_width(screen_size_.width()); width 39 remoting/codec/video_encoder_verbatim.cc output_size += rect.width() * rect.height() * width 50 remoting/codec/video_encoder_verbatim.cc const int row_size = webrtc::DesktopFrame::kBytesPerPixel * rect.width(); width 62 remoting/codec/video_encoder_verbatim.cc dirty_rect->set_width(rect.width()); width 43 remoting/codec/video_encoder_vpx.cc config.rc_target_bitrate = size.width() * size.height() * width 45 remoting/codec/video_encoder_vpx.cc config.g_w = size.width(); width 93 remoting/codec/video_encoder_vpx.cc config.g_w = size.width(); width 142 remoting/codec/video_encoder_vpx.cc DCHECK_LE(32, frame.size().width()); width 208 remoting/codec/video_encoder_vpx.cc packet->mutable_format()->set_screen_width(frame.size().width()); width 222 remoting/codec/video_encoder_vpx.cc rect->set_width(r.rect().width()); width 245 remoting/codec/video_encoder_vpx.cc image_->d_w = size.width(); width 246 remoting/codec/video_encoder_vpx.cc image_->w = size.width(); width 341 remoting/codec/video_encoder_vpx.cc rect.left(), rect.top(), rect.width(), rect.height(), width 33 remoting/codec/video_encoder_vpx_unittest.cc int width = 1000; width 38 remoting/codec/video_encoder_vpx_unittest.cc new webrtc::BasicDesktopFrame(webrtc::DesktopSize(width, height))); width 45 remoting/codec/video_encoder_vpx_unittest.cc new webrtc::BasicDesktopFrame(webrtc::DesktopSize(width, height))); width 54 remoting/codec/video_encoder_vpx_unittest.cc int width = 32; width 59 remoting/codec/video_encoder_vpx_unittest.cc new webrtc::BasicDesktopFrame(webrtc::DesktopSize(width, height))); width 39 remoting/host/chromoting_param_traits.cc m->WriteInt(p.width()); width 47 remoting/host/chromoting_param_traits.cc int width, height; width 48 remoting/host/chromoting_param_traits.cc if (!m->ReadInt(iter, &width) || !m->ReadInt(iter, &height)) width 50 remoting/host/chromoting_param_traits.cc *r = webrtc::DesktopSize(width, height); width 58 remoting/host/chromoting_param_traits.cc p.width(), p.height())); width 109 remoting/host/chromoting_param_traits.cc if (size.width() < 0 || size.height() < 0 || width 122 remoting/host/chromoting_param_traits.cc p.dimensions().width(), p.dimensions().height(), width 108 remoting/host/client_session.cc resolution.width() <= 0 || resolution.height() <= 0) { width 37 remoting/host/daemon_process.cc return os << resolution.dimensions().width() << "x" width 139 remoting/host/desktop_resizer_linux.cc void CreateMode(const char* name, int width, int height); width 211 remoting/host/desktop_resizer_linux.cc int width = std::min(std::max(preferred.dimensions().width(), min_width), width 218 remoting/host/desktop_resizer_linux.cc webrtc::DesktopSize(std::max(640, width), std::max(480, height)), width 256 remoting/host/desktop_resizer_linux.cc HOST_LOG << "Changing desktop size to " << resolution.dimensions().width() width 260 remoting/host/desktop_resizer_linux.cc int width_mm = PixelsToMillimeters(resolution.dimensions().width(), width 264 remoting/host/desktop_resizer_linux.cc CreateMode(kTempModeName, resolution.dimensions().width(), width 267 remoting/host/desktop_resizer_linux.cc XRRSetScreenSize(display_, root_, resolution.dimensions().width(), width 271 remoting/host/desktop_resizer_linux.cc CreateMode(kModeName, resolution.dimensions().width(), width 284 remoting/host/desktop_resizer_linux.cc void DesktopResizerLinux::CreateMode(const char* name, int width, int height) { width 287 remoting/host/desktop_resizer_linux.cc mode.width = width; width 52 remoting/host/desktop_resizer_mac.cc webrtc::DesktopSize(rect.size.width, rect.size.height), width 108 remoting/host/desktop_resizer_mac.cc << resolution.dimensions().width() << "x" width 23 remoting/host/desktop_resizer_win.cc if (a.dimensions().width() != b.dimensions().width()) width 24 remoting/host/desktop_resizer_win.cc return a.dimensions().width() < b.dimensions().width(); width 251 remoting/host/desktop_session_win.cc std::max(kMinRdpScreenWidth, host_size.width())), width 260 remoting/host/desktop_session_win.cc result = rdp_desktop_session_->Connect(host_size.width(), width 58 remoting/host/disconnect_window_linux.cc void AddRoundRectPath(cairo_t* cairo_context, int width, int height, width 61 remoting/host/disconnect_window_linux.cc cairo_arc(cairo_context, width - radius, radius, radius, -M_PI_2, 0); width 62 remoting/host/disconnect_window_linux.cc cairo_arc(cairo_context, width - radius, height - radius, radius, 0, M_PI_2); width 192 remoting/host/disconnect_window_linux.cc if (event->width == current_width_ && event->height == current_height_) width 195 remoting/host/disconnect_window_linux.cc current_width_ = event->width; width 96 remoting/host/disconnect_window_win.cc LONG* width) { width 104 remoting/host/disconnect_window_win.cc *width = rect.right; width 375 remoting/host/disconnect_window_win.cc int width = button_rect.right + margin; width 377 remoting/host/disconnect_window_win.cc if (!SetWindowPos(hwnd_, NULL, 0, 0, width, height, width 383 remoting/host/disconnect_window_win.cc HRGN rgn = CreateRoundRectRgn(0, 0, width, height, kWindowBorderRadius, width 262 remoting/host/input_injector_win.cc int width = GetSystemMetrics(SM_CXVIRTUALSCREEN); width 264 remoting/host/input_injector_win.cc if (width > 1 && height > 1) { width 265 remoting/host/input_injector_win.cc int x = std::max(0, std::min(width, event.x())); width 267 remoting/host/input_injector_win.cc input.mi.dx = static_cast<int>((x * 65535) / (width - 1)); width 34 remoting/host/resizing_host_observer.cc if ((candidate.dimensions().width() > preferred.dimensions().width()) || width 37 remoting/host/resizing_host_observer.cc static_cast<float>(preferred.dimensions().width()) / width 38 remoting/host/resizing_host_observer.cc candidate.dimensions().width(); width 55 remoting/host/resizing_host_observer.cc static_cast<float>(candidate.dimensions().width()) / width 58 remoting/host/resizing_host_observer.cc static_cast<float>(preferred.dimensions().width()) / width 71 remoting/host/resizing_host_observer.cc return static_cast<int64>(resolution_.dimensions().width()) * width 105 remoting/host/resizing_host_observer.cc return resolution().dimensions().width() > width 106 remoting/host/resizing_host_observer.cc other.resolution().dimensions().width(); width 21 remoting/host/resizing_host_observer_unittest.cc return os << resolution.dimensions().width() << "x" width 32 remoting/host/resizing_host_observer_unittest.cc ScreenResolution MakeResolution(int width, int height) { width 33 remoting/host/resizing_host_observer_unittest.cc return ScreenResolution(webrtc::DesktopSize(width, height), width 57 remoting/host/screen_capturer_fake.cc webrtc::DesktopSize frame_size(size_.width(), size_.height()); width 101 remoting/host/screen_capturer_fake.cc size_.width() * size_.height() * kBytesPerPixel); width 104 remoting/host/screen_capturer_fake.cc (box_pos_y_ * size_.width() + box_pos_x_) * kBytesPerPixel; width 107 remoting/host/screen_capturer_fake.cc if (box_pos_x_ + kBoxWidth >= size_.width() || box_pos_x_ == 0) width 135 remoting/host/screen_capturer_fake.cc bytes_per_row_ = size_.width() * webrtc::DesktopFrame::kBytesPerPixel; width 31 remoting/host/screen_resolution.cc int64 width = dimensions_.width(); width 35 remoting/host/screen_resolution.cc width = std::min(width * new_dpi.x() / dpi_.x(), width 39 remoting/host/screen_resolution.cc return webrtc::DesktopSize(width, height); width 93 remoting/host/verify_config_window_win.cc LONG width = rect.right - rect.left; width 95 remoting/host/verify_config_window_win.cc LONG x = (owner_rect.left + owner_rect.right - width) / 2; width 99 remoting/host/verify_config_window_win.cc x = std::min(x, area_rect.right - width); width 101 remoting/host/verify_config_window_win.cc y = std::min(y, area_rect.bottom - width); width 102 remoting/host/video_scheduler.cc cursor_proto->set_width(cursor_shape->size.width()); width 133 remoting/host/win/rdp_client_window.cc RECT rect = { 0, 0, screen_size_.width(), screen_size_.height() }; width 247 remoting/host/win/rdp_client_window.cc RECT rect = { 0, 0, screen_size_.width(), screen_size_.height() }; width 275 remoting/host/win/rdp_client_window.cc result = client_->put_DesktopWidth(screen_size_.width()); width 18 remoting/host/win/rdp_desktop_session.cc long width, width 29 remoting/host/win/rdp_desktop_session.cc webrtc::DesktopSize(width, height), width 40 remoting/host/win/rdp_desktop_session.cc STDMETHODIMP RdpDesktopSession::ChangeResolution(long width, long height) { width 42 remoting/host/win/rdp_desktop_session.h STDMETHOD(Connect)(long width, long height, BSTR terminal_id, width 45 remoting/host/win/rdp_desktop_session.h STDMETHOD(ChangeResolution)(long width, long height); width 36 remoting/protocol/client_control_dispatcher.cc int width = cursor_shape.width(); width 41 remoting/protocol/client_control_dispatcher.cc if (width <= 0 || width > (SHRT_MAX / 2) || width 44 remoting/protocol/client_control_dispatcher.cc << width << "x" << height; width 48 remoting/protocol/client_control_dispatcher.cc uint32 cursor_total_bytes = width * height * kBytesPerPixel; width 51 remoting/protocol/client_control_dispatcher.cc << width << "x" << height << " cursor. Only received " width 32 remoting/protocol/mouse_input_filter.cc int x = out_event.x() * output_max_.width(); width 33 remoting/protocol/mouse_input_filter.cc x = (x + input_max_.width() / 2) / input_max_.width(); width 34 remoting/protocol/mouse_input_filter.cc out_event.set_x(std::max(0, std::min(output_max_.width(), x))); width 46 remoting/protocol/mouse_input_filter.cc input_max_.set(size.width() - 1, size.height() - 1); width 50 remoting/protocol/mouse_input_filter.cc output_max_.set(size.width() - 1, size.height() - 1); width 217 remoting/tools/winext/manifest/rdp.h HRESULT OnRemoteDesktopSizeChange(long width, long height); width 806 remoting/tools/winext/manifest/rdp.h HRESULT OnRemoteDesktopSizeChanged(long width, long height); width 836 remoting/tools/winext/manifest/rdp.h HRESULT Reconnect(ULONG width, ULONG height); width 33 sandbox/linux/seccomp-bpf/errorcode.cc ArgType width, width 41 sandbox/linux/seccomp-bpf/errorcode.cc width_(width), width 139 sandbox/linux/seccomp-bpf/errorcode.h ArgType width() const { return width_; } width 163 sandbox/linux/seccomp-bpf/errorcode.h ArgType width, width 1003 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode::ArgType width, width 1009 sandbox/linux/seccomp-bpf/sandbox_bpf.cc width, width 38 sandbox/linux/seccomp-bpf/verifier.cc if (code.width() == ErrorCode::TP_32BIT && width 47 sandbox/linux/seccomp-bpf/verifier.cc (code.width() == ErrorCode::TP_32BIT width 55 sandbox/linux/seccomp-bpf/verifier.cc ((code.width() == ErrorCode::TP_32BIT width 64 sandbox/linux/seccomp-bpf/verifier.cc (code.width() == ErrorCode::TP_32BIT width 127 sandbox/linux/seccomp-bpf/verifier.cc if (code.width() == ErrorCode::TP_32BIT) { width 271 skia/ext/analysis_canvas.cc static SkBitmap MakeEmptyBitmap(int width, int height) { width 273 skia/ext/analysis_canvas.cc bitmap.setConfig(SkBitmap::kNo_Config, width, height); width 277 skia/ext/analysis_canvas.cc AnalysisCanvas::AnalysisCanvas(int width, int height) width 278 skia/ext/analysis_canvas.cc : INHERITED(MakeEmptyBitmap(width, height)), width 20 skia/ext/analysis_canvas.h AnalysisCanvas(int width, int height); width 285 skia/ext/analysis_canvas_unittest.cc int width = 200; width 301 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); width 305 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(width/2, height), paint); width 310 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); width 316 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); width 322 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); width 328 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); width 334 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); width 340 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); width 343 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(width, height), paint); width 348 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); width 353 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(width, height), translucentPaint); width 358 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); width 363 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(width, height), clearModePaint); width 368 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); width 376 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); width 383 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); width 25 skia/ext/benchmarking_canvas.cc TimingCanvas(int width, int height, const BenchmarkingCanvas* track_canvas) width 27 skia/ext/benchmarking_canvas.cc canvas_ = skia::AdoptRef(SkCanvas::NewRasterN32(width, height)); width 211 skia/ext/benchmarking_canvas.cc BenchmarkingCanvas::BenchmarkingCanvas(int width, int height) width 212 skia/ext/benchmarking_canvas.cc : SkNWayCanvas(width, height) { width 213 skia/ext/benchmarking_canvas.cc debug_canvas_ = skia::AdoptRef(SkNEW_ARGS(SkDebugCanvas, (width, height))); width 214 skia/ext/benchmarking_canvas.cc timing_canvas_ = skia::AdoptRef(SkNEW_ARGS(TimingCanvas, (width, height, this))); width 19 skia/ext/benchmarking_canvas.h BenchmarkingCanvas(int width, int height); width 24 skia/ext/bitmap_platform_device.h inline bool RasterDeviceTooBigToAllocate(int width, int height) { width 31 skia/ext/bitmap_platform_device.h int64_t bytes = (int64_t)width * height * bytesPerPixel; width 98 skia/ext/bitmap_platform_device_cairo.cc BitmapPlatformDevice* BitmapPlatformDevice::Create(int width, int height, width 120 skia/ext/bitmap_platform_device_cairo.cc BitmapPlatformDevice* BitmapPlatformDevice::Create(int width, int height, width 124 skia/ext/bitmap_platform_device_cairo.cc width, height); width 126 skia/ext/bitmap_platform_device_cairo.cc BitmapPlatformDevice* device = Create(width, height, is_opaque, surface); width 136 skia/ext/bitmap_platform_device_cairo.cc BitmapPlatformDevice* BitmapPlatformDevice::CreateAndClear(int width, width 141 skia/ext/bitmap_platform_device_cairo.cc return Create(width, height, is_opaque); width 144 skia/ext/bitmap_platform_device_cairo.cc BitmapPlatformDevice* BitmapPlatformDevice::Create(int width, int height, width 148 skia/ext/bitmap_platform_device_cairo.cc data, CAIRO_FORMAT_ARGB32, width, height, width 149 skia/ext/bitmap_platform_device_cairo.cc cairo_format_stride_for_width(CAIRO_FORMAT_ARGB32, width)); width 151 skia/ext/bitmap_platform_device_cairo.cc return Create(width, height, is_opaque, surface); width 172 skia/ext/bitmap_platform_device_cairo.cc return BitmapPlatformDevice::Create(info.width(), info.height(), width 201 skia/ext/bitmap_platform_device_cairo.cc SkCanvas* CreatePlatformCanvas(int width, int height, bool is_opaque, width 204 skia/ext/bitmap_platform_device_cairo.cc BitmapPlatformDevice::Create(width, height, is_opaque, data)); width 213 skia/ext/bitmap_platform_device_cairo.cc bool PlatformBitmap::Allocate(int width, int height, bool is_opaque) { width 217 skia/ext/bitmap_platform_device_cairo.cc int stride = cairo_format_stride_for_width(CAIRO_FORMAT_ARGB32, width); width 221 skia/ext/bitmap_platform_device_cairo.cc width, width 73 skia/ext/bitmap_platform_device_cairo.h static BitmapPlatformDevice* Create(int width, int height, bool is_opaque); width 78 skia/ext/bitmap_platform_device_cairo.h static BitmapPlatformDevice* CreateAndClear(int width, int height, width 83 skia/ext/bitmap_platform_device_cairo.h static BitmapPlatformDevice* Create(int width, int height, bool is_opaque, width 100 skia/ext/bitmap_platform_device_cairo.h static BitmapPlatformDevice* Create(int width, int height, bool is_opaque, width 24 skia/ext/bitmap_platform_device_mac.cc static CGContextRef CGContextForData(void* data, int width, int height) { width 35 skia/ext/bitmap_platform_device_mac.cc width = SkMax32(1, width); width 38 skia/ext/bitmap_platform_device_mac.cc CGBitmapContextCreate(data, width, height, 8, width * 4, width 97 skia/ext/bitmap_platform_device_mac.cc int width, width 100 skia/ext/bitmap_platform_device_mac.cc if (RasterDeviceTooBigToAllocate(width, height)) width 106 skia/ext/bitmap_platform_device_mac.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0, width 129 skia/ext/bitmap_platform_device_mac.cc context = CGContextForData(data, width, height); width 144 skia/ext/bitmap_platform_device_mac.cc BitmapPlatformDevice* BitmapPlatformDevice::CreateAndClear(int width, width 147 skia/ext/bitmap_platform_device_mac.cc BitmapPlatformDevice* device = Create(NULL, width, height, is_opaque); width 154 skia/ext/bitmap_platform_device_mac.cc int width, width 159 skia/ext/bitmap_platform_device_mac.cc context = CGContextForData(data, width, height); width 161 skia/ext/bitmap_platform_device_mac.cc BitmapPlatformDevice* rv = Create(context, width, height, is_opaque); width 225 skia/ext/bitmap_platform_device_mac.cc bounds.size.width = src_rect->size.width; width 231 skia/ext/bitmap_platform_device_mac.cc bounds.size.width = width(); width 244 skia/ext/bitmap_platform_device_mac.cc return BitmapPlatformDevice::CreateAndClear(info.width(), info.height(), width 250 skia/ext/bitmap_platform_device_mac.cc SkCanvas* CreatePlatformCanvas(CGContextRef ctx, int width, int height, width 253 skia/ext/bitmap_platform_device_mac.cc BitmapPlatformDevice::Create(ctx, width, height, is_opaque)); width 257 skia/ext/bitmap_platform_device_mac.cc SkCanvas* CreatePlatformCanvas(int width, int height, bool is_opaque, width 260 skia/ext/bitmap_platform_device_mac.cc BitmapPlatformDevice::CreateWithData(data, width, height, is_opaque)); width 271 skia/ext/bitmap_platform_device_mac.cc bool PlatformBitmap::Allocate(int width, int height, bool is_opaque) { width 272 skia/ext/bitmap_platform_device_mac.cc if (RasterDeviceTooBigToAllocate(width, height)) width 275 skia/ext/bitmap_platform_device_mac.cc bitmap_.setConfig(SkBitmap::kARGB_8888_Config, width, height, width * 4, width 283 skia/ext/bitmap_platform_device_mac.cc surface_ = CGContextForData(bitmap_.getPixels(), bitmap_.width(), width 37 skia/ext/bitmap_platform_device_mac.h int width, int height, width 42 skia/ext/bitmap_platform_device_mac.h static BitmapPlatformDevice* CreateAndClear(int width, int height, width 48 skia/ext/bitmap_platform_device_mac.h int width, int height, width 45 skia/ext/bitmap_platform_device_mac_unittest.cc EXPECT_EQ(kWidth, clip_rect.width()); width 65 skia/ext/bitmap_platform_device_mac_unittest.cc EXPECT_EQ(kWidth, clip_rect.width()); width 10 skia/ext/bitmap_platform_device_skia.cc BitmapPlatformDevice* BitmapPlatformDevice::Create(int width, int height, width 13 skia/ext/bitmap_platform_device_skia.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0, width 25 skia/ext/bitmap_platform_device_skia.cc BitmapPlatformDevice* BitmapPlatformDevice::CreateAndClear(int width, width 28 skia/ext/bitmap_platform_device_skia.cc BitmapPlatformDevice* device = Create(width, height, is_opaque); width 34 skia/ext/bitmap_platform_device_skia.cc BitmapPlatformDevice* BitmapPlatformDevice::Create(int width, int height, width 38 skia/ext/bitmap_platform_device_skia.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0, width 59 skia/ext/bitmap_platform_device_skia.cc return BitmapPlatformDevice::Create(info.width(), info.height(), width 77 skia/ext/bitmap_platform_device_skia.cc SkCanvas* CreatePlatformCanvas(int width, int height, bool is_opaque, width 80 skia/ext/bitmap_platform_device_skia.cc BitmapPlatformDevice::Create(width, height, is_opaque, data)); width 89 skia/ext/bitmap_platform_device_skia.cc bool PlatformBitmap::Allocate(int width, int height, bool is_opaque) { width 90 skia/ext/bitmap_platform_device_skia.cc bitmap_.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0, width 26 skia/ext/bitmap_platform_device_skia.h static BitmapPlatformDevice* Create(int width, int height, bool is_opaque); width 30 skia/ext/bitmap_platform_device_skia.h static BitmapPlatformDevice* CreateAndClear(int width, int height, width 35 skia/ext/bitmap_platform_device_skia.h static BitmapPlatformDevice* Create(int width, int height, bool is_opaque, width 19 skia/ext/bitmap_platform_device_win.cc HBITMAP CreateHBitmap(int width, int height, bool is_opaque, width 23 skia/ext/bitmap_platform_device_win.cc if ((width == 0) || (height == 0)) { width 24 skia/ext/bitmap_platform_device_win.cc width = 1; width 30 skia/ext/bitmap_platform_device_win.cc hdr.biWidth = width; width 105 skia/ext/bitmap_platform_device_win.cc static bool InstallHBitmapPixels(SkBitmap* bitmap, int width, int height, width 108 skia/ext/bitmap_platform_device_win.cc const SkImageInfo info = SkImageInfo::MakeN32(width, height, at); width 119 skia/ext/bitmap_platform_device_win.cc int width, width 125 skia/ext/bitmap_platform_device_win.cc HBITMAP hbitmap = CreateHBitmap(width, height, is_opaque, shared_section, width 131 skia/ext/bitmap_platform_device_win.cc if (!InstallHBitmapPixels(&bitmap, width, height, is_opaque, data, hbitmap)) width 148 skia/ext/bitmap_platform_device_win.cc BitmapPlatformDevice* BitmapPlatformDevice::Create(int width, int height, width 150 skia/ext/bitmap_platform_device_win.cc return Create(width, height, is_opaque, NULL); width 154 skia/ext/bitmap_platform_device_win.cc BitmapPlatformDevice* BitmapPlatformDevice::CreateAndClear(int width, width 157 skia/ext/bitmap_platform_device_win.cc BitmapPlatformDevice* device = BitmapPlatformDevice::Create(width, height, width 217 skia/ext/bitmap_platform_device_win.cc temp_rect.right = width(); width 275 skia/ext/bitmap_platform_device_win.cc return BitmapPlatformDevice::CreateAndClear(info.width(), info.height(), width 281 skia/ext/bitmap_platform_device_win.cc SkCanvas* CreatePlatformCanvas(int width, width 287 skia/ext/bitmap_platform_device_win.cc BitmapPlatformDevice::Create(width, height, is_opaque, shared_section)); width 301 skia/ext/bitmap_platform_device_win.cc bool PlatformBitmap::Allocate(int width, int height, bool is_opaque) { width 303 skia/ext/bitmap_platform_device_win.cc HBITMAP hbitmap = CreateHBitmap(width, height, is_opaque, 0, &data); width 315 skia/ext/bitmap_platform_device_win.cc if (!InstallHBitmapPixels(&bitmap_, width, height, is_opaque, data, hbitmap)) width 37 skia/ext/bitmap_platform_device_win.h static BitmapPlatformDevice* Create(int width, int height, width 42 skia/ext/bitmap_platform_device_win.h static BitmapPlatformDevice* Create(int width, int height, bool is_opaque); width 46 skia/ext/bitmap_platform_device_win.h static BitmapPlatformDevice* CreateAndClear(int width, int height, width 533 skia/ext/convolver.cc if (filter_values == NULL || image_size.width() < filter_size) { width 566 skia/ext/convolver.cc for (; c < image_size.width() - centrepoint; width 580 skia/ext/convolver.cc for (; c < image_size.width(); ++c, target_byte += output_channel_count) { width 582 skia/ext/convolver.cc int overlap_taps = image_size.width() - c + centrepoint; width 629 skia/ext/convolver.cc for (int c = 0; c < image_size.width(); ++c) { width 274 skia/ext/convolver_SSE2.cc int width = pixel_width & ~3; width 280 skia/ext/convolver_SSE2.cc for (int out_x = 0; out_x < width; out_x += 4) { width 381 skia/ext/convolver_SSE2.cc &source_data_rows[filter_y][width<<2]); width 428 skia/ext/convolver_SSE2.cc for (int out_x = width; out_x < pixel_width; out_x++) { width 34 skia/ext/convolver_unittest.cc void TestImpulseConvolution(const unsigned char* data, int width, int height) { width 35 skia/ext/convolver_unittest.cc int byte_count = width * height * 4; width 38 skia/ext/convolver_unittest.cc FillImpulseFilter(width, &filter_x); width 45 skia/ext/convolver_unittest.cc BGRAConvolve2D(data, width * 4, true, filter_x, filter_y, width 67 skia/ext/convolver_unittest.cc int width = 15; width 69 skia/ext/convolver_unittest.cc int byte_count = width * height * 4; width 75 skia/ext/convolver_unittest.cc for (int x = 0; x < width; x++) { width 78 skia/ext/convolver_unittest.cc input_ptr[(y * width + x) * 4 + channel] = 0xff; width 80 skia/ext/convolver_unittest.cc input_ptr[(y * width + x) * 4 + 3] = 0xff; width 81 skia/ext/convolver_unittest.cc TestImpulseConvolution(input_ptr, width, height); width 310 skia/ext/convolver_unittest.cc for (unsigned int width = 1; width < 20; width++) { width 312 skia/ext/convolver_unittest.cc VerifySIMD(width, height, 8, 8); width 313 skia/ext/convolver_unittest.cc VerifySIMD(8, 8, width, height); width 194 skia/ext/image_operations.cc ComputeFilters(src_full_width, dest_subset.fLeft, dest_subset.width(), width 360 skia/ext/image_operations.cc "src_pixels", source.width()*source.height(), width 375 skia/ext/image_operations.cc w = dest_width < source.width() ? 3 : 1; width 383 skia/ext/image_operations.cc const int width = dest_width * w; width 386 skia/ext/image_operations.cc dest_subset.fLeft + dest_subset.width() * w, width 388 skia/ext/image_operations.cc SkBitmap img = ResizeBasic(source, ImageOperations::RESIZE_LANCZOS3, width, width 396 skia/ext/image_operations.cc result.setConfig(SkBitmap::kARGB_8888_Config, dest_subset.width(), width 411 skia/ext/image_operations.cc for (int x = 0; x < dest_subset.width(); x++, src += w, dst++) { width 471 skia/ext/image_operations.cc "src_pixels", source.width()*source.height(), width 488 skia/ext/image_operations.cc if (source.width() < 1 || source.height() < 1 || width 501 skia/ext/image_operations.cc ResizeFilter filter(method, source.width(), source.height(), width 512 skia/ext/image_operations.cc result.setConfig(SkBitmap::kARGB_8888_Config, dest_subset.width(), width 93 skia/ext/image_operations_bench.cc return bitmap->height() * bitmap->bytesPerPixel() * bitmap->width(); width 233 skia/ext/image_operations_bench.cc source_.width(), source_.height()); width 244 skia/ext/image_operations_bench.cc dest_.width(), dest_.height()); width 199 skia/ext/image_operations_unittest.cc color_format, gfx::Size(bmp.width(), bmp.height()), width 224 skia/ext/image_operations_unittest.cc ASSERT_EQ(src_w, results.width()); width 286 skia/ext/image_operations_unittest.cc ASSERT_EQ(dest_w, dest.width()); width 395 skia/ext/image_operations_unittest.cc ASSERT_EQ(src_w / 2, actual_results.width()); width 401 skia/ext/image_operations_unittest.cc for (int x = 0; x < actual_results.width(); x++) { width 439 skia/ext/image_operations_unittest.cc ASSERT_EQ(src_w / 2, full_results.width()); width 448 skia/ext/image_operations_unittest.cc ASSERT_EQ(subset_rect.width(), subset_results.width()); width 456 skia/ext/image_operations_unittest.cc for (int x = 0; x < subset_rect.width(); x++) { width 596 skia/ext/image_operations_unittest.cc ASSERT_EQ(dest_w, dest_l2.width()); width 603 skia/ext/image_operations_unittest.cc ASSERT_EQ(dest_w, dest_l3.width()); width 136 skia/ext/pixel_ref_utils.cc SkRect bitmap_rect = SkRect::MakeWH(bitmap.width(), bitmap.height()); width 151 skia/ext/pixel_ref_utils.cc SkRect bitmap_rect = SkRect::MakeWH(bitmap.width(), bitmap.height()); width 165 skia/ext/pixel_ref_utils.cc SkRect bitmap_rect = SkRect::MakeWH(bitmap.width(), bitmap.height()); width 346 skia/ext/pixel_ref_utils.cc SkRect canvas_rect = SkRect::MakeWH(width(), height()); width 374 skia/ext/pixel_ref_utils.cc SkBitmap::kNo_Config, picture->width(), picture->height()); width 379 skia/ext/pixel_ref_utils.cc canvas.clipRect(SkRect::MakeWH(picture->width(), picture->height()), width 63 skia/ext/pixel_ref_utils_unittest.cc size.width(), size.height(), kPMColor_SkColorType, kPremul_SkAlphaType width 74 skia/ext/pixel_ref_utils_unittest.cc layer_rect.width(), width 82 skia/ext/pixel_ref_utils_unittest.cc layer_rect.x(), layer_rect.y(), layer_rect.width(), layer_rect.height())); width 46 skia/ext/platform_canvas.cc void MakeOpaque(SkCanvas* canvas, int x, int y, int width, int height) { width 47 skia/ext/platform_canvas.cc if (width <= 0 || height <= 0) width 52 skia/ext/platform_canvas.cc SkIntToScalar(width), SkIntToScalar(height)); width 63 skia/ext/platform_canvas.cc size_t PlatformCanvasStrideForWidth(unsigned width) { width 64 skia/ext/platform_canvas.cc return 4 * width; width 41 skia/ext/platform_canvas.h SK_API SkCanvas* CreatePlatformCanvas(int width, width 48 skia/ext/platform_canvas.h int width, width 53 skia/ext/platform_canvas.h SK_API SkCanvas* CreatePlatformCanvas(int width, width 64 skia/ext/platform_canvas.h SK_API SkCanvas* CreatePlatformCanvas(int width, width 71 skia/ext/platform_canvas.h static inline SkCanvas* CreatePlatformCanvas(int width, width 74 skia/ext/platform_canvas.h return CreatePlatformCanvas(width, height, is_opaque, 0, CRASH_ON_FAILURE); width 80 skia/ext/platform_canvas.h static inline SkCanvas* CreateBitmapCanvas(int width, width 83 skia/ext/platform_canvas.h return CreatePlatformCanvas(width, height, is_opaque, 0, CRASH_ON_FAILURE); width 86 skia/ext/platform_canvas.h static inline SkCanvas* TryCreateBitmapCanvas(int width, width 89 skia/ext/platform_canvas.h return CreatePlatformCanvas(width, height, is_opaque, 0, width 96 skia/ext/platform_canvas.h SK_API size_t PlatformCanvasStrideForWidth(unsigned width); width 126 skia/ext/platform_canvas.h SK_API void MakeOpaque(SkCanvas* canvas, int x, int y, int width, int height); width 165 skia/ext/platform_canvas.h bool Allocate(int width, int height, bool is_opaque); width 44 skia/ext/platform_canvas_unittest.cc for (int cur_x = 0; cur_x < bitmap.width(); cur_x++) { width 412 skia/ext/platform_canvas_unittest.cc EXPECT_EQ(kWidth, platform_bitmap->GetBitmap().width()); width 414 skia/ext/platform_canvas_unittest.cc EXPECT_LE(static_cast<size_t>(platform_bitmap->GetBitmap().width()*4), width 236 skia/ext/recursive_gaussian_convolution.cc image_size.width(), width 261 skia/ext/recursive_gaussian_convolution.cc image_size.width(), width 22 skia/ext/recursive_gaussian_convolution_unittest.cc int ComputeRowStride(int width, int channel_count, int stride_slack) { width 23 skia/ext/recursive_gaussian_convolution_unittest.cc return width * channel_count + stride_slack; width 27 skia/ext/recursive_gaussian_convolution_unittest.cc int width, width 33 skia/ext/recursive_gaussian_convolution_unittest.cc width, channel_count, stride_slack); width 35 skia/ext/recursive_gaussian_convolution_unittest.cc const int signal_x = width / 2; width 46 skia/ext/recursive_gaussian_convolution_unittest.cc int width, width 55 skia/ext/recursive_gaussian_convolution_unittest.cc width, channel_count, stride_slack); width 57 skia/ext/recursive_gaussian_convolution_unittest.cc const SkIRect box = SkIRect::MakeXYWH((width - box_width) / 2, width 189 skia/ext/vector_canvas_unittest.cc width_ = bitmap.width(); width 315 skia/ext/vector_canvas_unittest.cc for (int x = 0; x < bitmap.width(); ++x) { width 353 skia/ext/vector_canvas_unittest.cc return out << "Image(" << image.width() << ", " width 26 skia/ext/vector_platform_device_emf_win.cc int width, int height, bool is_opaque, HANDLE shared_section) { width 36 skia/ext/vector_platform_device_emf_win.cc return BitmapPlatformDevice::Create(width, height, is_opaque, width 50 skia/ext/vector_platform_device_emf_win.cc reinterpret_cast<HDC>(shared_section), width, height); width 54 skia/ext/vector_platform_device_emf_win.cc static void FillBitmapInfoHeader(int width, int height, BITMAPINFOHEADER* hdr) { width 56 skia/ext/vector_platform_device_emf_win.cc hdr->biWidth = width; width 68 skia/ext/vector_platform_device_emf_win.cc SkBaseDevice* VectorPlatformDeviceEmf::create(HDC dc, int width, int height) { width 84 skia/ext/vector_platform_device_emf_win.cc if (width == bitmap_data.bmWidth && width 97 skia/ext/vector_platform_device_emf_win.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); width 126 skia/ext/vector_platform_device_emf_win.cc rect.fRight = SkIntToScalar(width() + 1); width 277 skia/ext/vector_platform_device_emf_win.cc bitmapBounds.isetWH(bitmap.width(), bitmap.height()); width 701 skia/ext/vector_platform_device_emf_win.cc SkBitmap::Config config, int width, int height, bool isOpaque, width 704 skia/ext/vector_platform_device_emf_win.cc return VectorPlatformDeviceEmf::CreateDevice(width, height, isOpaque, NULL); width 712 skia/ext/vector_platform_device_emf_win.cc info.width(), info.height(), info.isOpaque(), NULL); width 893 skia/ext/vector_platform_device_emf_win.cc int src_size_x = bitmap.width(); width 24 skia/ext/vector_platform_device_emf_win.h SK_API static SkBaseDevice* CreateDevice(int width, int height, bool isOpaque, width 28 skia/ext/vector_platform_device_emf_win.h static SkBaseDevice* create(HDC dc, int width, int height); width 83 skia/ext/vector_platform_device_emf_win.h virtual SkBaseDevice* onCreateCompatibleDevice(SkBitmap::Config, int width, width 16 skia/ext/vector_platform_device_skia.cc static inline SkBitmap makeABitmap(int width, int height) { width 18 skia/ext/vector_platform_device_skia.cc bitmap.setConfig(SkBitmap::kNo_Config, width, height); width 45 skia/ext/vector_platform_device_skia.cc BitmapPlatformDevice::CreateAndClear(width(), height(), false)); width 55 skia/ext/vector_platform_device_skia.cc SkRegion clip(SkIRect::MakeWH(width(), height())); width 536 sync/protocol/proto_value_conversions.cc SET_INT32(width); width 161 third_party/harfbuzz-ng/src/hb-font.cc font->parent_scale_distance (&extents->width, &extents->height); width 87 third_party/harfbuzz-ng/src/hb-font.h hb_position_t width; width 195 third_party/harfbuzz-ng/src/hb-ft.cc extents->width = ft_face->glyph->metrics.width; width 219 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc pos.x_offset += base_extents.x_bearing - mark_extents.width / 2 - mark_extents.x_bearing; width 222 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width / 2 - mark_extents.x_bearing; width 233 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc pos.x_offset += base_extents.x_bearing + (base_extents.width - mark_extents.width) / 2 - mark_extents.x_bearing; width 247 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width - mark_extents.x_bearing; width 351 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc component_extents.x_bearing += (this_lig_component * component_extents.width) / num_lig_components; width 353 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc component_extents.x_bearing += ((num_lig_components - 1 - this_lig_component) * component_extents.width) / num_lig_components; width 354 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc component_extents.width /= num_lig_components; width 290 third_party/khronos/EGL/eglext.h EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); width 292 third_party/khronos/EGL/eglext.h typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); width 399 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); width 400 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); width 401 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); width 402 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); width 466 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); width 470 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); width 472 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); width 474 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); width 483 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); width 488 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); width 519 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); width 308 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); width 309 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); width 310 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); width 311 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); width 312 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); width 321 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); width 322 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); width 323 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); width 324 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); width 325 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); width 474 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 476 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 545 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 548 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 811 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 814 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 866 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); width 871 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); width 1064 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); width 1065 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); width 1066 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); width 1067 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); width 1068 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); width 1069 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); width 1071 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); width 1072 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); width 1073 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); width 1074 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); width 1075 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); width 1076 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); width 1103 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 1106 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 1339 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 1341 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); width 1497 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); width 1506 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); width 1564 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); width 1567 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); width 469 third_party/libjpeg/jquant1.c JDIMENSION width = cinfo->output_width; width 475 third_party/libjpeg/jquant1.c for (col = width; col > 0; col--) { width 499 third_party/libjpeg/jquant1.c JDIMENSION width = cinfo->output_width; width 504 third_party/libjpeg/jquant1.c for (col = width; col > 0; col--) { width 529 third_party/libjpeg/jquant1.c JDIMENSION width = cinfo->output_width; width 534 third_party/libjpeg/jquant1.c (size_t) (width * SIZEOF(JSAMPLE))); width 543 third_party/libjpeg/jquant1.c for (col = width; col > 0; col--) { width 582 third_party/libjpeg/jquant1.c JDIMENSION width = cinfo->output_width; width 593 third_party/libjpeg/jquant1.c for (col = width; col > 0; col--) { width 632 third_party/libjpeg/jquant1.c JDIMENSION width = cinfo->output_width; width 639 third_party/libjpeg/jquant1.c (size_t) (width * SIZEOF(JSAMPLE))); width 645 third_party/libjpeg/jquant1.c input_ptr += (width-1) * nc; /* so point to rightmost pixel */ width 646 third_party/libjpeg/jquant1.c output_ptr += width-1; width 649 third_party/libjpeg/jquant1.c errorptr = cquantize->fserrors[ci] + (width+1); /* => entry after last column */ width 663 third_party/libjpeg/jquant1.c for (col = width; col > 0; col--) { width 233 third_party/libjpeg/jquant2.c JDIMENSION width = cinfo->output_width; width 237 third_party/libjpeg/jquant2.c for (col = width; col > 0; col--) { width 926 third_party/libjpeg/jquant2.c JDIMENSION width = cinfo->output_width; width 931 third_party/libjpeg/jquant2.c for (col = width; col > 0; col--) { width 966 third_party/libjpeg/jquant2.c JDIMENSION width = cinfo->output_width; width 979 third_party/libjpeg/jquant2.c inptr += (width-1) * 3; /* so point to rightmost pixel */ width 980 third_party/libjpeg/jquant2.c outptr += width-1; width 983 third_party/libjpeg/jquant2.c errorptr = cquantize->fserrors + (width+1)*3; /* => entry after last column */ width 998 third_party/libjpeg/jquant2.c for (col = width; col > 0; col--) { width 961 third_party/libpng/png.c png_uint_32 width, png_uint_32 height, int bit_depth, width 968 third_party/libpng/png.c if (width == 0) width 981 third_party/libpng/png.c if (width > png_ptr->user_width_max || width > PNG_USER_WIDTH_MAX) width 983 third_party/libpng/png.c if (width > PNG_USER_WIDTH_MAX) width 1000 third_party/libpng/png.c if (width > PNG_UINT_31_MAX) width 1012 third_party/libpng/png.c if ( width > (PNG_UINT_32_MAX width 815 third_party/libpng/png.h png_uint_32 width PNG_DEPSTRUCT; /* width of image in pixels (from IHDR) */ width 1157 third_party/libpng/png.h png_uint_32 width; /* width of row */ width 1284 third_party/libpng/png.h png_uint_32 width PNG_DEPSTRUCT; /* width of image in pixels */ width 2399 third_party/libpng/png.h png_infop info_ptr, png_uint_32 *width, png_uint_32 *height, width 2404 third_party/libpng/png.h png_infop info_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, width 2541 third_party/libpng/png.h png_infop info_ptr, int *unit, double *width, double *height)); width 2553 third_party/libpng/png.h png_infop info_ptr, int unit, double width, double height)); width 3021 third_party/libpng/png.h #define PNG_ROWBYTES(pixel_bits, width) \ width 3023 third_party/libpng/png.h ((width) * (((png_uint_32)(pixel_bits)) >> 3)) : \ width 3024 third_party/libpng/png.h (( ((width) * ((png_uint_32)(pixel_bits))) + 7) >> 3) ) width 3235 third_party/libpng/png.h PNG_EXTERN void png_write_IHDR PNGARG((png_structp png_ptr, png_uint_32 width, width 3364 third_party/libpng/png.h int unit, double width, double height)) PNG_PRIVATE; width 3368 third_party/libpng/png.h int unit, png_charp width, png_charp height)) PNG_PRIVATE; width 3775 third_party/libpng/png.h png_uint_32 width, png_uint_32 height, int bit_depth, width 58 third_party/libpng/pngget.c return info_ptr->width; width 578 third_party/libpng/pngget.c png_uint_32 *width, png_uint_32 *height, int *bit_depth, width 585 third_party/libpng/pngget.c if (png_ptr == NULL || info_ptr == NULL || width == NULL || width 589 third_party/libpng/pngget.c *width = info_ptr->width; width 608 third_party/libpng/pngget.c png_check_IHDR (png_ptr, info_ptr->width, info_ptr->height, width 663 third_party/libpng/pngget.c int *unit, double *width, double *height) width 669 third_party/libpng/pngget.c *width = info_ptr->scal_pixel_width; width 679 third_party/libpng/pngget.c int *unit, png_charpp width, png_charpp height) width 685 third_party/libpng/pngget.c *width = info_ptr->scal_s_width; width 936 third_party/libpng/pngpread.c png_ptr->row_info.width = png_ptr->iwidth; width 942 third_party/libpng/pngpread.c png_ptr->row_info.width); width 1175 third_party/libpng/pngpread.c if ((png_ptr->pass == 1 && png_ptr->width < 5) || width 1176 third_party/libpng/pngpread.c (png_ptr->pass == 3 && png_ptr->width < 3) || width 1177 third_party/libpng/pngpread.c (png_ptr->pass == 5 && png_ptr->width < 2)) width 1186 third_party/libpng/pngpread.c png_ptr->iwidth = (png_ptr->width + width 666 third_party/libpng/pngread.c if ((png_ptr->row_number & 0x07) || png_ptr->width < 5) width 686 third_party/libpng/pngread.c if ((png_ptr->row_number & 3) || png_ptr->width < 3) width 706 third_party/libpng/pngread.c if ((png_ptr->row_number & 1) || png_ptr->width < 2) width 770 third_party/libpng/pngread.c png_ptr->row_info.width = png_ptr->iwidth; width 775 third_party/libpng/pngread.c png_ptr->row_info.width); width 1328 third_party/libpng/pngrtran.c info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); width 1578 third_party/libpng/pngrtran.c png_ptr->row_info.width); width 1603 third_party/libpng/pngrtran.c png_uint_32 row_width=row_info->width; width 1699 third_party/libpng/pngrtran.c png_uint_32 row_width = row_info->width; width 1808 third_party/libpng/pngrtran.c png_uint_32 istop = row_info->width * row_info->channels; width 1846 third_party/libpng/pngrtran.c row_info->rowbytes = row_info->width * row_info->channels; width 1861 third_party/libpng/pngrtran.c png_uint_32 row_width = row_info->width; width 1954 third_party/libpng/pngrtran.c png_uint_32 row_width = row_info->width; width 2050 third_party/libpng/pngrtran.c png_uint_32 row_width = row_info->width; width 2226 third_party/libpng/pngrtran.c png_uint_32 row_width = row_info->width; width 2332 third_party/libpng/pngrtran.c png_uint_32 row_width = row_info->width; width 2820 third_party/libpng/pngrtran.c png_uint_32 row_width=row_info->width; width 3511 third_party/libpng/pngrtran.c png_uint_32 row_width=row_info->width; width 3700 third_party/libpng/pngrtran.c png_uint_32 row_width=row_info->width; width 3847 third_party/libpng/pngrtran.c png_uint_32 row_width=row_info->width; width 4059 third_party/libpng/pngrtran.c png_uint_32 row_width=row_info->width; width 4416 third_party/libpng/pngrtran.c png_uint_32 row_width = row_info->width; width 444 third_party/libpng/pngrutil.c png_uint_32 width, height; width 462 third_party/libpng/pngrutil.c width = png_get_uint_31(png_ptr, buf); width 471 third_party/libpng/pngrutil.c png_ptr->width = width; width 505 third_party/libpng/pngrutil.c png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, png_ptr->width); width 509 third_party/libpng/pngrutil.c png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, width 1796 third_party/libpng/pngrutil.c double width, height; width 1854 third_party/libpng/pngrutil.c width = png_strtod(png_ptr, ep, &vp); width 1922 third_party/libpng/pngrutil.c || width <= 0. || height <= 0. width 1938 third_party/libpng/pngrutil.c png_set_sCAL(png_ptr, info_ptr, png_ptr->chunkdata[0], width, height); width 2520 third_party/libpng/pngrutil.c PNG_ROWBYTES(png_ptr->row_info.pixel_depth, png_ptr->width)); width 2534 third_party/libpng/pngrutil.c png_uint_32 row_width = png_ptr->width; width 2588 third_party/libpng/pngrutil.c png_uint_32 row_width = png_ptr->width; width 2640 third_party/libpng/pngrutil.c png_uint_32 row_width = png_ptr->width; width 2689 third_party/libpng/pngrutil.c png_uint_32 row_width = png_ptr->width; width 2735 third_party/libpng/pngrutil.c final_width = row_info->width * png_pass_inc[pass]; width 2741 third_party/libpng/pngrutil.c png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 3); width 2753 third_party/libpng/pngrutil.c sshift = (int)((row_info->width + 7) & 0x07); width 2762 third_party/libpng/pngrutil.c sshift = 7 - (int)((row_info->width + 7) & 0x07); width 2769 third_party/libpng/pngrutil.c for (i = 0; i < row_info->width; i++) width 2796 third_party/libpng/pngrutil.c png_bytep sp = row + (png_uint_32)((row_info->width - 1) >> 2); width 2806 third_party/libpng/pngrutil.c sshift = (int)(((row_info->width + 3) & 0x03) << 1); width 2815 third_party/libpng/pngrutil.c sshift = (int)((3 - ((row_info->width + 3) & 0x03)) << 1); width 2822 third_party/libpng/pngrutil.c for (i = 0; i < row_info->width; i++) width 2852 third_party/libpng/pngrutil.c png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 1); width 2862 third_party/libpng/pngrutil.c sshift = (int)(((row_info->width + 1) & 0x01) << 2); width 2871 third_party/libpng/pngrutil.c sshift = (int)((1 - ((row_info->width + 1) & 0x01)) << 2); width 2878 third_party/libpng/pngrutil.c for (i = 0; i < row_info->width; i++) width 2908 third_party/libpng/pngrutil.c png_bytep sp = row + (png_size_t)(row_info->width - 1) width 2915 third_party/libpng/pngrutil.c for (i = 0; i < row_info->width; i++) width 2931 third_party/libpng/pngrutil.c row_info->width = final_width; width 3099 third_party/libpng/pngrutil.c png_ptr->iwidth = (png_ptr->width + width 3226 third_party/libpng/pngrutil.c png_ptr->iwidth = (png_ptr->width + width 3235 third_party/libpng/pngrutil.c png_ptr->iwidth = png_ptr->width; width 3342 third_party/libpng/pngrutil.c row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7)); width 3387 third_party/libpng/pngrutil.c png_debug1(3, "width = %lu,", png_ptr->width); width 228 third_party/libpng/pngset.c png_uint_32 width, png_uint_32 height, int bit_depth, width 237 third_party/libpng/pngset.c info_ptr->width = width; width 245 third_party/libpng/pngset.c png_check_IHDR (png_ptr, info_ptr->width, info_ptr->height, width 260 third_party/libpng/pngset.c if (width > (PNG_UINT_32_MAX width 268 third_party/libpng/pngset.c info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, width); width 365 third_party/libpng/pngset.c int unit, double width, double height) width 373 third_party/libpng/pngset.c info_ptr->scal_pixel_width = width; width 273 third_party/libpng/pngtrans.c png_uint_32 istop= row_info->width * row_info->channels; width 436 third_party/libpng/pngtrans.c png_uint_32 row_width=row_info->width; width 595 third_party/libpng/pngtrans.c png_uint_32 row_width = row_info->width; width 49 third_party/libpng/pngwrite.c png_write_IHDR(png_ptr, info_ptr->width, info_ptr->height, width 858 third_party/libpng/pngwrite.c if ((png_ptr->row_number & 0x07) || png_ptr->width < 5) width 872 third_party/libpng/pngwrite.c if ((png_ptr->row_number & 0x03) || png_ptr->width < 3) width 886 third_party/libpng/pngwrite.c if ((png_ptr->row_number & 0x01) || png_ptr->width < 2) width 905 third_party/libpng/pngwrite.c png_ptr->row_info.width = png_ptr->usr_width; width 912 third_party/libpng/pngwrite.c png_ptr->row_info.width); width 915 third_party/libpng/pngwrite.c png_debug1(3, "row_info->width = %lu", png_ptr->row_info.width); width 933 third_party/libpng/pngwrite.c if (!(png_ptr->row_info.width)) width 109 third_party/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 140 third_party/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 172 third_party/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 205 third_party/libpng/pngwtran.c row_info->width); width 293 third_party/libpng/pngwtran.c png_uint_32 istop = channels * row_info->width; width 317 third_party/libpng/pngwtran.c png_uint_32 istop = channels * row_info->width; width 359 third_party/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 374 third_party/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 399 third_party/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 413 third_party/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 448 third_party/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 465 third_party/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 490 third_party/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 503 third_party/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 535 third_party/libpng/pngwtran.c png_uint_32 row_width = row_info->width; width 392 third_party/libpng/pngwutil.c png_write_IHDR(png_structp png_ptr, png_uint_32 width, png_uint_32 height, width 497 third_party/libpng/pngwutil.c png_ptr->width = width; width 501 third_party/libpng/pngwutil.c png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, width); width 503 third_party/libpng/pngwutil.c png_ptr->usr_width = png_ptr->width; width 508 third_party/libpng/pngwutil.c png_save_uint_32(buf, width); width 662 third_party/libpng/pngwutil.c png_ptr->height < 16384 && png_ptr->width < 16384) width 665 third_party/libpng/pngwutil.c ((png_ptr->width * width 1628 third_party/libpng/pngwutil.c png_write_sCAL(png_structp png_ptr, int unit, double width, double height) width 1644 third_party/libpng/pngwutil.c swprintf(wc_buf, TEXT("%12.12e"), width); width 1656 third_party/libpng/pngwutil.c png_snprintf(buf + 1, 63, "%12.12e", width); width 1668 third_party/libpng/pngwutil.c png_write_sCAL_s(png_structp png_ptr, int unit, png_charp width, width 1679 third_party/libpng/pngwutil.c wlen = png_strlen(width); width 1689 third_party/libpng/pngwutil.c png_memcpy(buf + 1, width, wlen + 1); /* Append the '\0' here */ width 1782 third_party/libpng/pngwutil.c png_ptr->usr_channels*png_ptr->usr_bit_depth, png_ptr->width) + 1); width 1836 third_party/libpng/pngwutil.c png_ptr->usr_width = (png_ptr->width + png_pass_inc[0] - 1 - width 1842 third_party/libpng/pngwutil.c png_ptr->usr_width = png_ptr->width; width 1849 third_party/libpng/pngwutil.c png_ptr->usr_width = png_ptr->width; width 1903 third_party/libpng/pngwutil.c png_ptr->usr_width = (png_ptr->width + width 1923 third_party/libpng/pngwutil.c png_ptr->usr_bit_depth, png_ptr->width)) + 1); width 2005 third_party/libpng/pngwutil.c png_uint_32 row_width = row_info->width; width 2039 third_party/libpng/pngwutil.c png_uint_32 row_width = row_info->width; width 2072 third_party/libpng/pngwutil.c png_uint_32 row_width = row_info->width; width 2102 third_party/libpng/pngwutil.c png_uint_32 row_width = row_info->width; width 2126 third_party/libpng/pngwutil.c row_info->width = (row_info->width + width 2131 third_party/libpng/pngwutil.c row_info->width); width 701 third_party/libva/va/va.h unsigned int width; width 795 third_party/libva/va/va.h unsigned int width, width 2032 third_party/libva/va/va.h unsigned short width; width 2088 third_party/libva/va/va.h int width, width 2121 third_party/libva/va/va.h unsigned int width, /* width and height of the region */ width 2316 third_party/libva/va/va.h unsigned short width; width 105 third_party/libva/va/va_backend.h int width, width 228 third_party/libva/va/va_backend.h int width, width 260 third_party/libva/va/va_backend.h unsigned int width, /* width and height of the region */ width 408 third_party/libva/va/va_backend.h unsigned int width, width 40 third_party/libva/va/va_backend_tpi.h int width, width 102 third_party/libva/va/va_compat.h #define vaCreateSurfaces6(dpy, width, height, format, num_surfaces, surfaces) \ width 103 third_party/libva/va/va_compat.h (vaCreateSurfaces)(dpy, format, width, height, surfaces, num_surfaces, \ width 106 third_party/libva/va/va_compat.h #define vaCreateSurfaces8(dpy, format, width, height, surfaces, num_surfaces, attribs, num_attribs) \ width 107 third_party/libva/va/va_compat.h (vaCreateSurfaces)(dpy, format, width, height, surfaces, num_surfaces, \ width 51 third_party/libva/va/va_tpi.h unsigned int width; width 91 third_party/libva/va/va_tpi.h int width, width 79 third_party/libva/va/va_trace.h int width, width 64 third_party/libva/va/x11/va_dri2.h int *width, int *height, width 165 third_party/libva/va/x11/va_dri2str.h CARD32 width B32; width 67 third_party/libva/va/x11/va_dricommon.h unsigned int width; width 45 third_party/libwebp/dec/alpha.c size_t data_size, int width, int height, uint8_t* output) { width 51 third_party/libwebp/dec/alpha.c assert(width > 0 && height > 0); width 54 third_party/libwebp/dec/alpha.c dec->width_ = width; width 89 third_party/libwebp/dec/alpha.c const int width = alph_dec->width_; width 94 third_party/libwebp/dec/alpha.c const size_t offset = row * width; width 95 third_party/libwebp/dec/alpha.c const size_t num_pixels = num_rows * width; width 107 third_party/libwebp/dec/alpha.c unfilter_func(width, height, width, row, num_rows, output); width 111 third_party/libwebp/dec/alpha.c if (!DequantizeLevels(output, width, height, row, num_rows)) { width 127 third_party/libwebp/dec/alpha.c const int width = dec->pic_hdr_.width_; width 140 third_party/libwebp/dec/alpha.c width, height, dec->alpha_plane_)) { width 159 third_party/libwebp/dec/alpha.c return dec->alpha_plane_ + row * width; width 39 third_party/libwebp/dec/buffer.c const int width = buffer->width; width 52 third_party/libwebp/dec/buffer.c ok &= (buf->y_stride >= width); width 53 third_party/libwebp/dec/buffer.c ok &= (buf->u_stride >= (width + 1) / 2); width 54 third_party/libwebp/dec/buffer.c ok &= (buf->v_stride >= (width + 1) / 2); width 59 third_party/libwebp/dec/buffer.c ok &= (buf->a_stride >= width); width 67 third_party/libwebp/dec/buffer.c ok &= (buf->stride >= width * kModeBpp[mode]); width 74 third_party/libwebp/dec/buffer.c const int w = buffer->width; width 160 third_party/libwebp/dec/buffer.c out->width = w; width 49 third_party/libwebp/dec/decode_vp8.h int width, height; // picture dimensions, in pixels (invariable). width 169 third_party/libwebp/dec/decode_vp8.h int* const width, int* const height); width 179 third_party/libwebp/dec/decode_vp8.h int* const width, int* const height, int* const has_alpha); width 303 third_party/libwebp/dec/frame.c io->a += io->width * delta_y; width 498 third_party/libwebp/dec/frame.c int width, int height) { width 503 third_party/libwebp/dec/frame.c (void)width; width 507 third_party/libwebp/dec/frame.c if (width < MIN_WIDTH_FOR_THREADS) return 0; width 510 third_party/libwebp/dec/frame.c if (height < 2 * width) return 2; width 345 third_party/libwebp/dec/idec.c int width, height; width 352 third_party/libwebp/dec/idec.c if (!VP8GetInfo(data, curr_size, idec->chunk_size_, &width, &height)) { width 414 third_party/libwebp/dec/idec.c dec->status_ = WebPAllocateDecBuffer(io->width, io->height, params->options, width 421 third_party/libwebp/dec/idec.c io->width, io->height); width 508 third_party/libwebp/dec/idec.c dec->status_ = WebPAllocateDecBuffer(io->width, io->height, params->options, width 779 third_party/libwebp/dec/idec.c int* width, int* height) { width 785 third_party/libwebp/dec/idec.c if (width != NULL) *width = src->width; width 788 third_party/libwebp/dec/idec.c if (width != NULL) *width = 0; width 795 third_party/libwebp/dec/idec.c int* width, int* height, int* stride) { width 803 third_party/libwebp/dec/idec.c if (width != NULL) *width = src->width; width 812 third_party/libwebp/dec/idec.c int* width, int* height, width 824 third_party/libwebp/dec/idec.c if (width != NULL) *width = src->width; width 172 third_party/libwebp/dec/io.c alpha += io->width; width 201 third_party/libwebp/dec/io.c *alpha -= io->width; width 232 third_party/libwebp/dec/io.c alpha += io->width; width 264 third_party/libwebp/dec/io.c alpha += io->width; width 300 third_party/libwebp/dec/io.c Rescale(io->a, io->width, io->mb_h, &p->scaler_a); width 414 third_party/libwebp/dec/io.c const int width = p->scaler_a.dst_width; width 420 third_party/libwebp/dec/io.c for (i = 0; i < width; ++i) { width 430 third_party/libwebp/dec/io.c width, num_lines_out, buf->stride); width 441 third_party/libwebp/dec/io.c const int width = p->scaler_a.dst_width; width 449 third_party/libwebp/dec/io.c for (i = 0; i < width; ++i) { width 459 third_party/libwebp/dec/io.c WebPApplyAlphaMultiply4444(base_rgba, width, num_lines_out, buf->stride); width 471 third_party/libwebp/dec/io.c io->a + j * io->width, io->width); width 97 third_party/libwebp/dec/vp8.c int* const width, int* const height) { width 127 third_party/libwebp/dec/vp8.c if (width) { width 128 third_party/libwebp/dec/vp8.c *width = w; width 307 third_party/libwebp/dec/vp8.c io->width = pic_hdr->width_; width 313 third_party/libwebp/dec/vp8.c io->crop_right = io->width; width 315 third_party/libwebp/dec/vp8.c io->mb_w = io->width; // sanity check width 335 third_party/libwebp/dec/vp8i.h int width, int height); width 89 third_party/libwebp/dec/vp8l.c int* const width, int* const height, width 92 third_party/libwebp/dec/vp8l.c *width = VP8LReadBits(br, VP8L_IMAGE_SIZE_BITS) + 1; width 100 third_party/libwebp/dec/vp8l.c int* const width, int* const height, int* const has_alpha) { width 112 third_party/libwebp/dec/vp8l.c if (width != NULL) *width = w; width 471 third_party/libwebp/dec/vp8l.c static void ConvertToYUVA(const uint32_t* const src, int width, int y_pos, width 478 third_party/libwebp/dec/vp8l.c for (i = 0; i < width; ++i) { width 489 third_party/libwebp/dec/vp8l.c const int uv_width = width >> 1; width 510 third_party/libwebp/dec/vp8l.c if (width & 1) { // last pixel width 530 third_party/libwebp/dec/vp8l.c for (i = 0; i < width; ++i) a[i] = (src[i] >> 24); width 653 third_party/libwebp/dec/vp8l.c uint8_t* rows_out = (uint8_t*)dec->io_->opaque + dec->io_->width * start_row; width 674 third_party/libwebp/dec/vp8l.c const int in_stride = io->width * sizeof(uint32_t); // in unit of RGBA width 730 third_party/libwebp/dec/vp8l.c int width, int height, int last_row) { width 732 third_party/libwebp/dec/vp8l.c int row = dec->last_pixel_ / width; width 733 third_party/libwebp/dec/vp8l.c int col = dec->last_pixel_ % width; width 738 third_party/libwebp/dec/vp8l.c const int end = width * height; // End of data width 739 third_party/libwebp/dec/vp8l.c const int last = width * last_row; // Last pixel to decode width 759 third_party/libwebp/dec/vp8l.c if (col >= width) { width 773 third_party/libwebp/dec/vp8l.c dist = PlaneCodeToDistance(width, dist_code); width 783 third_party/libwebp/dec/vp8l.c while (col >= width) { width 784 third_party/libwebp/dec/vp8l.c col -= width; width 816 third_party/libwebp/dec/vp8l.c int width, int height, int last_row, width 819 third_party/libwebp/dec/vp8l.c int row = dec->last_pixel_ / width; width 820 third_party/libwebp/dec/vp8l.c int col = dec->last_pixel_ % width; width 826 third_party/libwebp/dec/vp8l.c uint32_t* const src_end = data + width * height; // End of data width 827 third_party/libwebp/dec/vp8l.c uint32_t* const src_last = data + width * last_row; // Last pixel to decode width 858 third_party/libwebp/dec/vp8l.c if (col >= width) { width 877 third_party/libwebp/dec/vp8l.c dist = PlaneCodeToDistance(width, dist_code); width 887 third_party/libwebp/dec/vp8l.c while (col >= width) { width 888 third_party/libwebp/dec/vp8l.c col -= width; width 1077 third_party/libwebp/dec/vp8l.c static void UpdateDecoder(VP8LDecoder* const dec, int width, int height) { width 1080 third_party/libwebp/dec/vp8l.c dec->width_ = width; width 1083 third_party/libwebp/dec/vp8l.c hdr->huffman_xsize_ = VP8LSubSampleSize(width, num_bits); width 1228 third_party/libwebp/dec/vp8l.c const int width = dec->io_->width; // the final width (!= dec->width_) width 1229 third_party/libwebp/dec/vp8l.c const int cache_pixs = width * num_rows; width 1230 third_party/libwebp/dec/vp8l.c uint8_t* const dst = (uint8_t*)dec->io_->opaque + width * dec->last_row_; width 1257 third_party/libwebp/dec/vp8l.c io->width = alph_dec->width_; width 1314 third_party/libwebp/dec/vp8l.c int width, height, has_alpha; width 1325 third_party/libwebp/dec/vp8l.c if (!ReadImageInfo(&dec->br_, &width, &height, &has_alpha)) { width 1330 third_party/libwebp/dec/vp8l.c io->width = width; width 1334 third_party/libwebp/dec/vp8l.c if (!DecodeImageStream(width, height, 1, dec, NULL)) goto Error; width 1363 third_party/libwebp/dec/vp8l.c if (!AllocateInternalBuffers32b(dec, io->width)) goto Err; width 113 third_party/libwebp/dec/webp.c int width, height; width 125 third_party/libwebp/dec/webp.c width = 1 + get_le24(*data + 12); width 127 third_party/libwebp/dec/webp.c if (width * (uint64_t)height >= MAX_IMAGE_AREA) { width 132 third_party/libwebp/dec/webp.c if (width_ptr != NULL) *width_ptr = width; width 280 third_party/libwebp/dec/webp.c int* const width, width 333 third_party/libwebp/dec/webp.c if (width != NULL) *width = canvas_width; width 389 third_party/libwebp/dec/webp.c if (width != NULL) *width = image_width; width 467 third_party/libwebp/dec/webp.c status = WebPAllocateDecBuffer(io.width, io.height, params->options, width 472 third_party/libwebp/dec/webp.c io.width, io.height); width 489 third_party/libwebp/dec/webp.c status = WebPAllocateDecBuffer(io.width, io.height, params->options, width 586 third_party/libwebp/dec/webp.c size_t data_size, int* const width, int* const height, width 597 third_party/libwebp/dec/webp.c if (!WebPGetInfo(data, data_size, &output.width, &output.height)) { width 600 third_party/libwebp/dec/webp.c if (width != NULL) *width = output.width; width 615 third_party/libwebp/dec/webp.c int* width, int* height) { width 616 third_party/libwebp/dec/webp.c return Decode(MODE_RGB, data, data_size, width, height, NULL); width 620 third_party/libwebp/dec/webp.c int* width, int* height) { width 621 third_party/libwebp/dec/webp.c return Decode(MODE_RGBA, data, data_size, width, height, NULL); width 625 third_party/libwebp/dec/webp.c int* width, int* height) { width 626 third_party/libwebp/dec/webp.c return Decode(MODE_ARGB, data, data_size, width, height, NULL); width 630 third_party/libwebp/dec/webp.c int* width, int* height) { width 631 third_party/libwebp/dec/webp.c return Decode(MODE_BGR, data, data_size, width, height, NULL); width 635 third_party/libwebp/dec/webp.c int* width, int* height) { width 636 third_party/libwebp/dec/webp.c return Decode(MODE_BGRA, data, data_size, width, height, NULL); width 640 third_party/libwebp/dec/webp.c int* width, int* height, uint8_t** u, uint8_t** v, width 644 third_party/libwebp/dec/webp.c width, height, &output); width 671 third_party/libwebp/dec/webp.c &features->width, &features->height, width 680 third_party/libwebp/dec/webp.c int* width, int* height) { width 687 third_party/libwebp/dec/webp.c if (width != NULL) { width 688 third_party/libwebp/dec/webp.c *width = features.width; width 756 third_party/libwebp/dec/webp.c const int W = io->width; width 96 third_party/libwebp/dec/webpi.h VP8StatusCode WebPAllocateDecBuffer(int width, int height, width 253 third_party/libwebp/demux/demux.c frame->width_ = features.width; width 862 third_party/libwebp/demux/demux.c iter->width = fragment->width_; width 562 third_party/libwebp/dsp/lossless.c static int GetBestPredictorForTile(int width, int height, width 572 third_party/libwebp/dsp/lossless.c const int xmax = (tile_size <= width - col_start) ? width 573 third_party/libwebp/dsp/lossless.c tile_size : width - col_start; width 589 third_party/libwebp/dsp/lossless.c current_row = upper_row + width; width 618 third_party/libwebp/dsp/lossless.c static void CopyTileWithPrediction(int width, int height, width 627 third_party/libwebp/dsp/lossless.c const int xmax = (tile_size <= width - col_start) ? width 628 third_party/libwebp/dsp/lossless.c tile_size : width - col_start; width 637 third_party/libwebp/dsp/lossless.c current_row = upper_row + width; width 640 third_party/libwebp/dsp/lossless.c const int pix = row * width + col; width 654 third_party/libwebp/dsp/lossless.c void VP8LResidualImage(int width, int height, int bits, width 658 third_party/libwebp/dsp/lossless.c const int tiles_per_row = VP8LSubSampleSize(width, bits); width 661 third_party/libwebp/dsp/lossless.c uint32_t* const current_tile_rows = argb_scratch + width; width 671 third_party/libwebp/dsp/lossless.c memcpy(upper_row, current_tile_rows + (max_tile_size - 1) * width, width 672 third_party/libwebp/dsp/lossless.c width * sizeof(*upper_row)); width 674 third_party/libwebp/dsp/lossless.c memcpy(current_tile_rows, &argb[tile_y_offset * width], width 675 third_party/libwebp/dsp/lossless.c this_tile_height * width * sizeof(*current_tile_rows)); width 681 third_party/libwebp/dsp/lossless.c if (all_x_max > width) { width 682 third_party/libwebp/dsp/lossless.c all_x_max = width; width 684 third_party/libwebp/dsp/lossless.c pred = GetBestPredictorForTile(width, height, tile_x, tile_y, bits, histo, width 687 third_party/libwebp/dsp/lossless.c CopyTileWithPrediction(width, height, tile_x, tile_y, bits, pred, width 696 third_party/libwebp/dsp/lossless.c ix = all_y * width + tile_x_offset; width 712 third_party/libwebp/dsp/lossless.c const int width = transform->xsize_; width 717 third_party/libwebp/dsp/lossless.c for (x = 1; x < width; ++x) { width 721 third_party/libwebp/dsp/lossless.c data += width; width 728 third_party/libwebp/dsp/lossless.c const int tiles_per_row = VP8LSubSampleSize(width, transform->bits_); width 734 third_party/libwebp/dsp/lossless.c const uint32_t pred2 = Predictor2(data[-1], data - width); width 743 third_party/libwebp/dsp/lossless.c for (x = 1; x < width; ++x) { width 748 third_party/libwebp/dsp/lossless.c pred = pred_func(data[x - 1], data + x - width); width 751 third_party/libwebp/dsp/lossless.c data += width; width 1012 third_party/libwebp/dsp/lossless.c void VP8LColorSpaceTransform(int width, int height, int bits, int step, width 1015 third_party/libwebp/dsp/lossless.c int tile_xsize = VP8LSubSampleSize(width, bits); width 1042 third_party/libwebp/dsp/lossless.c step, width, height, width 1048 third_party/libwebp/dsp/lossless.c CopyTileWithColorTransform(width, height, tile_x, tile_y, bits, width 1053 third_party/libwebp/dsp/lossless.c if (all_x_max > width) { width 1054 third_party/libwebp/dsp/lossless.c all_x_max = width; width 1063 third_party/libwebp/dsp/lossless.c ix = all_y * width + tile_x_offset; width 1070 third_party/libwebp/dsp/lossless.c if (ix >= width + 2 && width 1071 third_party/libwebp/dsp/lossless.c argb[ix - 2] == argb[ix - width - 2] && width 1072 third_party/libwebp/dsp/lossless.c argb[ix - 1] == argb[ix - width - 1] && width 1073 third_party/libwebp/dsp/lossless.c argb[ix] == argb[ix - width]) { width 1087 third_party/libwebp/dsp/lossless.c const int width = transform->xsize_; width 1089 third_party/libwebp/dsp/lossless.c const int tiles_per_row = VP8LSubSampleSize(width, transform->bits_); width 1099 third_party/libwebp/dsp/lossless.c for (x = 0; x < width; ++x) { width 1103 third_party/libwebp/dsp/lossless.c data += width; width 1116 third_party/libwebp/dsp/lossless.c const int width = transform->xsize_; \ width 1125 third_party/libwebp/dsp/lossless.c for (x = 0; x < width; ++x) { \ width 1138 third_party/libwebp/dsp/lossless.c for (x = 0; x < width; ++x) { \ width 1171 third_party/libwebp/dsp/lossless.c const int width = transform->xsize_; width 1176 third_party/libwebp/dsp/lossless.c VP8LAddGreenToBlueAndRed(out, out + (row_end - row_start) * width); width 1183 third_party/libwebp/dsp/lossless.c memcpy(out - width, out + (row_end - row_start - 1) * width, width 1184 third_party/libwebp/dsp/lossless.c width * sizeof(*out)); width 1197 third_party/libwebp/dsp/lossless.c const int out_stride = (row_end - row_start) * width; width 1375 third_party/libwebp/dsp/lossless.c void VP8LBundleColorMap(const uint8_t* const row, int width, width 1382 third_party/libwebp/dsp/lossless.c for (x = 0; x < width; ++x) { width 1391 third_party/libwebp/dsp/lossless.c for (x = 0; x < width; ++x) dst[x] = 0xff000000 | (row[x] << 8); width 65 third_party/libwebp/dsp/lossless.h void VP8LResidualImage(int width, int height, int bits, width 69 third_party/libwebp/dsp/lossless.h void VP8LColorSpaceTransform(int width, int height, int bits, int step, width 211 third_party/libwebp/dsp/lossless.h void VP8LBundleColorMap(const uint8_t* const row, int width, width 47 third_party/libwebp/enc/alpha.c static int EncodeLossless(const uint8_t* const data, int width, int height, width 57 third_party/libwebp/enc/alpha.c picture.width = width; width 69 third_party/libwebp/enc/alpha.c for (i = 0; i < picture.width; ++i) { width 72 third_party/libwebp/enc/alpha.c src += width; width 86 third_party/libwebp/enc/alpha.c ok = VP8LBitWriterInit(&tmp_bw, (width * height) >> 3); width 108 third_party/libwebp/enc/alpha.c static int EncodeAlphaInternal(const uint8_t* const data, int width, int height, width 118 third_party/libwebp/enc/alpha.c const size_t data_size = width * height; width 120 third_party/libwebp/enc/alpha.c assert((uint64_t)data_size == (uint64_t)width * height); // as per spec width 138 third_party/libwebp/enc/alpha.c filter_func(data, width, height, width, tmp_alpha); width 145 third_party/libwebp/enc/alpha.c ok = VP8BitWriterAppend(&result->bw, alpha_src, width * height); width 148 third_party/libwebp/enc/alpha.c ok = EncodeLossless(alpha_src, width, height, effort_level, width 160 third_party/libwebp/enc/alpha.c uint8_t* dst, int dst_stride, int width, int height) { width 162 third_party/libwebp/enc/alpha.c memcpy(dst, src, width); width 168 third_party/libwebp/enc/alpha.c static int GetNumColors(const uint8_t* data, int width, int height, width 177 third_party/libwebp/enc/alpha.c for (i = 0; i < width; ++i) { width 191 third_party/libwebp/enc/alpha.c static uint32_t GetFilterMap(const uint8_t* alpha, int width, int height, width 199 third_party/libwebp/enc/alpha.c const int num_colors = GetNumColors(alpha, width, height, width); width 202 third_party/libwebp/enc/alpha.c EstimateBestFilter(alpha, width, height, width); width 222 third_party/libwebp/enc/alpha.c static int ApplyFiltersAndEncode(const uint8_t* alpha, int width, int height, width 231 third_party/libwebp/enc/alpha.c GetFilterMap(alpha, width, height, filter, effort_level); width 240 third_party/libwebp/enc/alpha.c ok = EncodeAlphaInternal(alpha, width, height, method, filter, width 253 third_party/libwebp/enc/alpha.c ok = EncodeAlphaInternal(alpha, width, height, method, WEBP_FILTER_NONE, width 271 third_party/libwebp/enc/alpha.c const int width = pic->width; width 275 third_party/libwebp/enc/alpha.c const size_t data_size = width * height; width 281 third_party/libwebp/enc/alpha.c assert((uint64_t)data_size == (uint64_t)width * height); // as per spec width 284 third_party/libwebp/enc/alpha.c assert(width > 0 && height > 0); width 285 third_party/libwebp/enc/alpha.c assert(pic->a_stride >= width); width 307 third_party/libwebp/enc/alpha.c CopyPlane(pic->a, pic->a_stride, quant_alpha, width, width, height); width 315 third_party/libwebp/enc/alpha.c ok = QuantizeLevels(quant_alpha, width, height, alpha_levels, &sse); width 319 third_party/libwebp/enc/alpha.c ok = ApplyFiltersAndEncode(quant_alpha, width, height, data_size, method, width 740 third_party/libwebp/enc/backward_references.c int VP8LGetBackwardReferences(int width, int height, width 747 third_party/libwebp/enc/backward_references.c const int num_pix = width * height; width 759 third_party/libwebp/enc/backward_references.c if (!BackwardReferencesHashChain(width, height, argb, cache_bits, quality, width 764 third_party/libwebp/enc/backward_references.c BackwardReferencesRle(width, height, argb, &refs_rle); width 795 third_party/libwebp/enc/backward_references.c if (BackwardReferencesTraceBackwards(width, height, recursion_level, argb, width 806 third_party/libwebp/enc/backward_references.c if (use_2d_locality) BackwardReferences2DLocality(width, best); width 138 third_party/libwebp/enc/backward_references.h int VP8LGetBackwardReferences(int width, int height, width 134 third_party/libwebp/enc/iterator.c const int w = MinSize(pic->width - x * 16, 16); width 195 third_party/libwebp/enc/iterator.c int w = (pic->width - x * 16); width 50 third_party/libwebp/enc/picture.c const int width = picture->width; width 54 third_party/libwebp/enc/picture.c const int y_stride = width; width 55 third_party/libwebp/enc/picture.c const int uv_width = HALVE(width); width 74 third_party/libwebp/enc/picture.c uv0_stride = width; width 83 third_party/libwebp/enc/picture.c a_width = has_alpha ? width : 0; width 92 third_party/libwebp/enc/picture.c if (width <= 0 || height <= 0 || // luma/alpha param error width 129 third_party/libwebp/enc/picture.c const uint64_t argb_size = (uint64_t)width * height; width 130 third_party/libwebp/enc/picture.c if (width <= 0 || height <= 0) { width 141 third_party/libwebp/enc/picture.c picture->argb_stride = width; width 206 third_party/libwebp/enc/picture.c uint8_t* dst, int dst_stride, int width, int height) { width 208 third_party/libwebp/enc/picture.c memcpy(dst, src, width); width 229 third_party/libwebp/enc/picture.c int width, int height) { width 232 third_party/libwebp/enc/picture.c if (width <= 0 || height <= 0) return 0; width 233 third_party/libwebp/enc/picture.c if ((*left) + width > pic->width) return 0; width 247 third_party/libwebp/enc/picture.c dst->y, dst->y_stride, dst->width, dst->height); width 249 third_party/libwebp/enc/picture.c dst->u, dst->uv_stride, HALVE(dst->width), HALVE(dst->height)); width 251 third_party/libwebp/enc/picture.c dst->v, dst->uv_stride, HALVE(dst->width), HALVE(dst->height)); width 254 third_party/libwebp/enc/picture.c dst->a, dst->a_stride, dst->width, dst->height); width 258 third_party/libwebp/enc/picture.c int uv0_width = src->width; width 271 third_party/libwebp/enc/picture.c 4 * dst->width, dst->height); width 285 third_party/libwebp/enc/picture.c int left, int top, int width, int height, width 290 third_party/libwebp/enc/picture.c if (!AdjustAndCheckRectangle(src, &left, &top, width, height)) return 0; width 295 third_party/libwebp/enc/picture.c dst->width = width; width 327 third_party/libwebp/enc/picture.c int left, int top, int width, int height) { width 331 third_party/libwebp/enc/picture.c if (!AdjustAndCheckRectangle(pic, &left, &top, width, height)) return 0; width 334 third_party/libwebp/enc/picture.c tmp.width = width; width 342 third_party/libwebp/enc/picture.c tmp.y, tmp.y_stride, width, height); width 344 third_party/libwebp/enc/picture.c tmp.u, tmp.uv_stride, HALVE(width), HALVE(height)); width 346 third_party/libwebp/enc/picture.c tmp.v, tmp.uv_stride, HALVE(width), HALVE(height)); width 351 third_party/libwebp/enc/picture.c tmp.a, tmp.a_stride, width, height); width 355 third_party/libwebp/enc/picture.c int w = width; width 372 third_party/libwebp/enc/picture.c width * 4, height); width 408 third_party/libwebp/enc/picture.c WebPMultARGBRow(ptr, pic->width, inverse); width 419 third_party/libwebp/enc/picture.c WebPMultRow(ptr_y, ptr_a, pic->width, inverse); width 426 third_party/libwebp/enc/picture.c int WebPPictureRescale(WebPPicture* pic, int width, int height) { width 432 third_party/libwebp/enc/picture.c prev_width = pic->width; width 435 third_party/libwebp/enc/picture.c if (width == 0) { width 436 third_party/libwebp/enc/picture.c width = (prev_width * height + prev_height / 2) / prev_height; width 440 third_party/libwebp/enc/picture.c height = (prev_height * width + prev_width / 2) / prev_width; width 443 third_party/libwebp/enc/picture.c if (width <= 0 || height <= 0) return 0; width 446 third_party/libwebp/enc/picture.c tmp.width = width; width 451 third_party/libwebp/enc/picture.c work = (int32_t*)WebPSafeMalloc(2ULL * width, sizeof(*work)); width 459 third_party/libwebp/enc/picture.c tmp.a, width, height, tmp.a_stride, work, 1); width 466 third_party/libwebp/enc/picture.c tmp.y, width, height, tmp.y_stride, work, 1); width 472 third_party/libwebp/enc/picture.c HALVE(width), HALVE(height), tmp.uv_stride, work, 1); width 476 third_party/libwebp/enc/picture.c HALVE(width), HALVE(height), tmp.uv_stride, work, 1); width 483 third_party/libwebp/enc/picture.c tmp.u0, (width + s / 2) / s, height, tmp.uv0_stride, work, 1); width 486 third_party/libwebp/enc/picture.c tmp.v0, (width + s / 2) / s, height, tmp.uv0_stride, work, 1); width 490 third_party/libwebp/enc/picture.c work = (int32_t*)WebPSafeMalloc(2ULL * width * 4, sizeof(*work)); width 501 third_party/libwebp/enc/picture.c (uint8_t*)tmp.argb, width, height, width 557 third_party/libwebp/enc/picture.c static int CheckNonOpaque(const uint8_t* alpha, int width, int height, width 562 third_party/libwebp/enc/picture.c for (x = 0; x < width * x_step; x += x_step) { width 574 third_party/libwebp/enc/picture.c return CheckNonOpaque(picture->a, picture->width, picture->height, width 581 third_party/libwebp/enc/picture.c for (x = 0; x < picture->width; ++x) { width 702 third_party/libwebp/enc/picture.c const int uv_width = HALVE(picture->width); width 720 third_party/libwebp/enc/picture.c const int width = picture->width; width 722 third_party/libwebp/enc/picture.c const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride); width 737 third_party/libwebp/enc/picture.c for (x = 0; x < width; ++x) { width 747 third_party/libwebp/enc/picture.c for (x = 0; x < (width >> 1); ++x) { width 750 third_party/libwebp/enc/picture.c if (width & 1) { width 755 third_party/libwebp/enc/picture.c for (x = 0; x < (width >> 1); ++x) { width 758 third_party/libwebp/enc/picture.c if (width & 1) { width 767 third_party/libwebp/enc/picture.c for (x = 0; x < (width >> 1); ++x) { width 770 third_party/libwebp/enc/picture.c if (width & 1) { width 776 third_party/libwebp/enc/picture.c for (x = 0; x < width; ++x) { width 790 third_party/libwebp/enc/picture.c for (x = 0; x < width; ++x) { width 806 third_party/libwebp/enc/picture.c const int width = picture->width; width 823 third_party/libwebp/enc/picture.c for (x = 0; x < width; ++x) { width 834 third_party/libwebp/enc/picture.c for (x = 0; x < width; ++x) { width 902 third_party/libwebp/enc/picture.c const int width = picture->width; width 910 third_party/libwebp/enc/picture.c upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, width); width 920 third_party/libwebp/enc/picture.c dst, dst + argb_stride, width); width 926 third_party/libwebp/enc/picture.c upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, width); width 934 third_party/libwebp/enc/picture.c for (x = 0; x < width; ++x) { width 1013 third_party/libwebp/enc/picture.c w = pic->width / SIZE; width 1059 third_party/libwebp/enc/picture.c const int uv_width = (pic->width >> 1); // omit last pixel during u/v loop width 1070 third_party/libwebp/enc/picture.c for (x = 0; x < pic->width; ++x) { width 1091 third_party/libwebp/enc/picture.c if (pic->width & 1) { // rightmost pixel width 1097 third_party/libwebp/enc/picture.c memset(a_ptr, 0xff, pic->width); width 1103 third_party/libwebp/enc/picture.c for (x = 0; x < pic->width; ++x) { width 1181 third_party/libwebp/enc/picture.c src->width != ref->width || src->height != ref->height || width 1201 third_party/libwebp/enc/picture.c uv_w = HALVE(src->width); width 1206 third_party/libwebp/enc/picture.c ref->y, ref->y_stride, src->width, src->height); width 1213 third_party/libwebp/enc/picture.c src->width, src->height) width 1215 third_party/libwebp/enc/picture.c result[0] = GetPSNR(sse[0] / (src->width * src->height)); width 1218 third_party/libwebp/enc/picture.c result[3] = GetPSNR(sse[3] / (src->width * src->height)); width 1221 third_party/libwebp/enc/picture.c int total_pixels = src->width * src->height + 2 * uv_w * uv_h; width 1223 third_party/libwebp/enc/picture.c total_pixels += src->width * src->height; width 1232 third_party/libwebp/enc/picture.c src->width, src->height, &stats[0]); width 1242 third_party/libwebp/enc/picture.c src->width, src->height, &stats[3]); width 1265 third_party/libwebp/enc/picture.c static size_t Encode(const uint8_t* rgba, int width, int height, int stride, width 1280 third_party/libwebp/enc/picture.c pic.width = width; width 59 third_party/libwebp/enc/syntax.c assert(pic->width >= 1 && pic->height >= 1); width 60 third_party/libwebp/enc/syntax.c assert(pic->width <= MAX_CANVAS_SIZE && pic->height <= MAX_CANVAS_SIZE); width 68 third_party/libwebp/enc/syntax.c PutLE24(vp8x + CHUNK_HEADER_SIZE + 4, pic->width - 1); width 137 third_party/libwebp/enc/syntax.c vp8_frm_hdr[6] = pic->width & 0xff; width 138 third_party/libwebp/enc/syntax.c vp8_frm_hdr[7] = pic->width >> 8; width 53 third_party/libwebp/enc/vp8l.c const int width = pic->width; width 58 third_party/libwebp/enc/vp8l.c for (x = 0; x < width; ++x) { width 102 third_party/libwebp/enc/vp8l.c int width, int height, int argb_stride, width 118 third_party/libwebp/enc/vp8l.c for (x = 0; x < width; ++x) { width 161 third_party/libwebp/enc/vp8l.c if (!AnalyzeEntropy(pic->argb, pic->width, pic->height, pic->argb_stride, width 417 third_party/libwebp/enc/vp8l.c VP8LBitWriter* const bw, int width, int histo_bits, width 424 third_party/libwebp/enc/vp8l.c const int histo_xsize = histo_bits ? VP8LSubSampleSize(width, histo_bits) : 1; width 457 third_party/libwebp/enc/vp8l.c while (x >= width) { width 458 third_party/libwebp/enc/vp8l.c x -= width; width 467 third_party/libwebp/enc/vp8l.c int width, int height, int quality) { width 477 third_party/libwebp/enc/vp8l.c if (!VP8LGetBackwardReferences(width, height, argb, quality, 0, 1, &refs)) { width 502 third_party/libwebp/enc/vp8l.c StoreImageToBitMask(bw, width, 0, &refs, histogram_symbols, huffman_codes); width 514 third_party/libwebp/enc/vp8l.c int width, int height, int quality, width 520 third_party/libwebp/enc/vp8l.c VP8LSubSampleSize(width, histogram_bits) * width 541 third_party/libwebp/enc/vp8l.c if (!VP8LGetBackwardReferences(width, height, argb, quality, cache_bits, width 546 third_party/libwebp/enc/vp8l.c if (!VP8LGetHistoImageSymbols(width, height, &refs, width 593 third_party/libwebp/enc/vp8l.c VP8LSubSampleSize(width, histogram_bits), width 612 third_party/libwebp/enc/vp8l.c StoreImageToBitMask(bw, width, histogram_bits, &refs, width 634 third_party/libwebp/enc/vp8l.c int width, int height, width 644 third_party/libwebp/enc/vp8l.c for (i = 0; i < width * height; ++i) { width 652 third_party/libwebp/enc/vp8l.c for (i = 0; i < width * height; ++i) { width 666 third_party/libwebp/enc/vp8l.c VP8LSubtractGreenFromBlueAndRed(enc->argb_, width * height); width 673 third_party/libwebp/enc/vp8l.c int width, int height, int quality, width 676 third_party/libwebp/enc/vp8l.c const int transform_width = VP8LSubSampleSize(width, pred_bits); width 679 third_party/libwebp/enc/vp8l.c VP8LResidualImage(width, height, pred_bits, enc->argb_, enc->argb_scratch_, width 693 third_party/libwebp/enc/vp8l.c int width, int height, int quality, width 696 third_party/libwebp/enc/vp8l.c const int transform_width = VP8LSubSampleSize(width, ccolor_transform_bits); width 700 third_party/libwebp/enc/vp8l.c VP8LColorSpaceTransform(width, height, ccolor_transform_bits, step, width 731 third_party/libwebp/enc/vp8l.c const int width = pic->width - 1; width 733 third_party/libwebp/enc/vp8l.c assert(width < WEBP_MAX_DIMENSION && height < WEBP_MAX_DIMENSION); width 735 third_party/libwebp/enc/vp8l.c VP8LWriteBits(bw, VP8L_IMAGE_SIZE_BITS, width); width 783 third_party/libwebp/enc/vp8l.c int width, int height) { width 786 third_party/libwebp/enc/vp8l.c const uint64_t image_size = width * height; width 787 third_party/libwebp/enc/vp8l.c const uint64_t argb_scratch_size = tile_size * width + width; width 789 third_party/libwebp/enc/vp8l.c (uint64_t)VP8LSubSampleSize(width, enc->transform_bits_) * width 803 third_party/libwebp/enc/vp8l.c enc->current_width_ = width; width 812 third_party/libwebp/enc/vp8l.c int width, int height, int xbits, uint8_t* row) { width 829 third_party/libwebp/enc/vp8l.c for (x = 0; x < width; ++x) { width 833 third_party/libwebp/enc/vp8l.c VP8LBundleColorMap(row, width, xbits, dst); width 842 third_party/libwebp/enc/vp8l.c for (x = 0; x < width; ++x) { width 855 third_party/libwebp/enc/vp8l.c VP8LBundleColorMap(row, width, xbits, dst); width 872 third_party/libwebp/enc/vp8l.c const int width = pic->width; width 887 third_party/libwebp/enc/vp8l.c err = AllocateTransformBuffer(enc, VP8LSubSampleSize(width, xbits), height); width 891 third_party/libwebp/enc/vp8l.c row = (uint8_t*)WebPSafeMalloc((uint64_t)width, sizeof(*row)); width 895 third_party/libwebp/enc/vp8l.c palette, palette_size, width, height, xbits, row); width 917 third_party/libwebp/enc/vp8l.c static int GetHistoBits(int method, int use_palette, int width, int height) { width 922 third_party/libwebp/enc/vp8l.c const uint64_t huff_image_size = VP8LSubSampleSize(width, histo_bits) * width 939 third_party/libwebp/enc/vp8l.c enc->histo_bits_ = GetHistoBits(method, use_palette, pic->width, pic->height); width 974 third_party/libwebp/enc/vp8l.c const int width = picture->width; width 1004 third_party/libwebp/enc/vp8l.c err = AllocateTransformBuffer(enc, width, height); width 1007 third_party/libwebp/enc/vp8l.c memcpy(enc->argb_ + y * width, width 1009 third_party/libwebp/enc/vp8l.c width * sizeof(*enc->argb_)); width 1011 third_party/libwebp/enc/vp8l.c enc->current_width_ = width; width 1079 third_party/libwebp/enc/vp8l.c int width, height; width 1094 third_party/libwebp/enc/vp8l.c width = picture->width; width 1096 third_party/libwebp/enc/vp8l.c if (!VP8LBitWriterInit(&bw, (width * height) >> 1)) { width 1152 third_party/libwebp/enc/vp8l.c const int mb_w = (width + 15) >> 4; width 168 third_party/libwebp/enc/webpenc.c const int mb_w = (picture->width + 15) >> 4; width 346 third_party/libwebp/enc/webpenc.c if (pic->width <= 0 || pic->height <= 0) width 348 third_party/libwebp/enc/webpenc.c if (pic->width > WEBP_MAX_DIMENSION || pic->height > WEBP_MAX_DIMENSION) width 137 third_party/libwebp/utils/alpha_processing.c void WebPMultARGBRow(uint32_t* const ptr, int width, int inverse) { width 139 third_party/libwebp/utils/alpha_processing.c for (x = 0; x < width; ++x) { width 157 third_party/libwebp/utils/alpha_processing.c void WebPMultARGBRows(uint8_t* ptr, int stride, int width, int num_rows, width 161 third_party/libwebp/utils/alpha_processing.c WebPMultARGBRow((uint32_t*)ptr, width, inverse); width 167 third_party/libwebp/utils/alpha_processing.c int width, int inverse) { width 169 third_party/libwebp/utils/alpha_processing.c for (x = 0; x < width; ++x) { width 184 third_party/libwebp/utils/alpha_processing.c int width, int num_rows, int inverse) { width 187 third_party/libwebp/utils/alpha_processing.c WebPMultRow(ptr, alpha, width, inverse); width 27 third_party/libwebp/utils/alpha_processing.h void WebPMultARGBRow(uint32_t* const ptr, int width, int inverse); width 30 third_party/libwebp/utils/alpha_processing.h void WebPMultARGBRows(uint8_t* ptr, int stride, int width, int num_rows, width 35 third_party/libwebp/utils/alpha_processing.h int width, int inverse); width 40 third_party/libwebp/utils/alpha_processing.h int width, int num_rows, int inverse); width 25 third_party/libwebp/utils/filters.c assert(width > 0); \ width 27 third_party/libwebp/utils/filters.c assert(stride >= width); \ width 45 third_party/libwebp/utils/filters.c int width, int height, int stride, width 59 third_party/libwebp/utils/filters.c PredictLine(in + 1, preds, out + 1, width - 1, inverse); width 70 third_party/libwebp/utils/filters.c PredictLine(in + 1, preds, out + 1, width - 1, inverse); width 78 third_party/libwebp/utils/filters.c static void HorizontalFilter(const uint8_t* data, int width, int height, width 80 third_party/libwebp/utils/filters.c DoHorizontalFilter(data, width, height, stride, 0, height, 0, filtered_data); width 83 third_party/libwebp/utils/filters.c static void HorizontalUnfilter(int width, int height, int stride, int row, width 85 third_party/libwebp/utils/filters.c DoHorizontalFilter(data, width, height, stride, row, num_rows, 1, data); width 92 third_party/libwebp/utils/filters.c int width, int height, int stride, width 107 third_party/libwebp/utils/filters.c PredictLine(in + 1, preds, out + 1, width - 1, inverse); width 118 third_party/libwebp/utils/filters.c PredictLine(in, preds, out, width, inverse); width 126 third_party/libwebp/utils/filters.c static void VerticalFilter(const uint8_t* data, int width, int height, width 128 third_party/libwebp/utils/filters.c DoVerticalFilter(data, width, height, stride, 0, height, 0, filtered_data); width 131 third_party/libwebp/utils/filters.c static void VerticalUnfilter(int width, int height, int stride, int row, width 133 third_party/libwebp/utils/filters.c DoVerticalFilter(data, width, height, stride, row, num_rows, 1, data); width 145 third_party/libwebp/utils/filters.c int width, int height, int stride, width 159 third_party/libwebp/utils/filters.c PredictLine(in + 1, preds, out + 1, width - 1, inverse); width 171 third_party/libwebp/utils/filters.c for (w = 1; w < width; ++w) { width 184 third_party/libwebp/utils/filters.c static void GradientFilter(const uint8_t* data, int width, int height, width 186 third_party/libwebp/utils/filters.c DoGradientFilter(data, width, height, stride, 0, height, 0, filtered_data); width 189 third_party/libwebp/utils/filters.c static void GradientUnfilter(int width, int height, int stride, int row, width 191 third_party/libwebp/utils/filters.c DoGradientFilter(data, width, height, stride, row, num_rows, 1, data); width 203 third_party/libwebp/utils/filters.c int width, int height, int stride) { width 212 third_party/libwebp/utils/filters.c for (i = 2; i < width - 1; i += 2) { width 215 third_party/libwebp/utils/filters.c const int diff2 = SDIFF(p[i], p[i - width]); width 217 third_party/libwebp/utils/filters.c GradientPredictor(p[i - 1], p[i - width], p[i - width - 1]); width 34 third_party/libwebp/utils/filters.h typedef void (*WebPFilterFunc)(const uint8_t* in, int width, int height, width 36 third_party/libwebp/utils/filters.h typedef void (*WebPUnfilterFunc)(int width, int height, int stride, width 53 third_party/libwebp/utils/filters.h int width, int height, int stride); width 27 third_party/libwebp/utils/quant_levels.c int QuantizeLevels(uint8_t* const data, int width, int height, width 33 third_party/libwebp/utils/quant_levels.c const size_t data_size = height * width; width 42 third_party/libwebp/utils/quant_levels.c if (width <= 0 || height <= 0) { width 29 third_party/libwebp/utils/quant_levels.h int QuantizeLevels(uint8_t* const data, int width, int height, int num_levels, width 16 third_party/libwebp/utils/quant_levels_dec.c int DequantizeLevels(uint8_t* const data, int width, int height, width 18 third_party/libwebp/utils/quant_levels_dec.c if (data == NULL || width <= 0 || height <= 0 || row < 0 || num_rows < 0 || width 27 third_party/libwebp/utils/quant_levels_dec.h int DequantizeLevels(uint8_t* const data, int width, int height, width 46 third_party/libwebp/webp/decode.h int* width, int* height); width 54 third_party/libwebp/webp/decode.h int* width, int* height); width 58 third_party/libwebp/webp/decode.h int* width, int* height); width 62 third_party/libwebp/webp/decode.h int* width, int* height); width 67 third_party/libwebp/webp/decode.h int* width, int* height); width 71 third_party/libwebp/webp/decode.h int* width, int* height); width 84 third_party/libwebp/webp/decode.h int* width, int* height, width 196 third_party/libwebp/webp/decode.h int width, height; // Dimensions. width 340 third_party/libwebp/webp/decode.h int* width, int* height, int* stride); width 348 third_party/libwebp/webp/decode.h int* width, int* height, int* stride, int* uv_stride, int* a_stride); width 354 third_party/libwebp/webp/decode.h int* width, int* height, int* stride, int* uv_stride) { width 355 third_party/libwebp/webp/decode.h return WebPIDecGetYUVA(idec, last_y, u, v, NULL, width, height, width 366 third_party/libwebp/webp/decode.h const WebPIDecoder* idec, int* left, int* top, int* width, int* height); width 403 third_party/libwebp/webp/decode.h int width; // Width in pixels, as read from the bitstream. width 140 third_party/libwebp/webp/demux.h int width, height; // dimensions of this frame or fragment. width 50 third_party/libwebp/webp/encode.h int width, int height, int stride, width 53 third_party/libwebp/webp/encode.h int width, int height, int stride, width 56 third_party/libwebp/webp/encode.h int width, int height, int stride, width 59 third_party/libwebp/webp/encode.h int width, int height, int stride, width 66 third_party/libwebp/webp/encode.h int width, int height, int stride, width 69 third_party/libwebp/webp/encode.h int width, int height, int stride, width 72 third_party/libwebp/webp/encode.h int width, int height, int stride, width 75 third_party/libwebp/webp/encode.h int width, int height, int stride, width 282 third_party/libwebp/webp/encode.h int width, height; // dimensions (less or equal to WEBP_MAX_DIMENSION) width 390 third_party/libwebp/webp/encode.h int left, int top, int width, int height); width 404 third_party/libwebp/webp/encode.h int left, int top, int width, int height, width 414 third_party/libwebp/webp/encode.h WEBP_EXTERN(int) WebPPictureRescale(WebPPicture* pic, int width, int height); width 325 third_party/libwebp/webp/mux.h int* width, int* height); width 638 third_party/libxml/src/trio.c int width; width 1177 third_party/libxml/src/trio.c int width; width 1258 third_party/libxml/src/trio.c width = NO_WIDTH; width 1322 third_party/libxml/src/trio.c if (width > maxParam) width 1399 third_party/libxml/src/trio.c width = TrioGetPosition(format, &index); width 1400 third_party/libxml/src/trio.c if (width == NO_POSITION) width 1404 third_party/libxml/src/trio.c width = parameterPosition; width 1407 third_party/libxml/src/trio.c width = currentParam; width 1408 third_party/libxml/src/trio.c currentParam = width + 1; width 1414 third_party/libxml/src/trio.c currentParam = width + 1; width 1415 third_party/libxml/src/trio.c if (width > maxParam) width 1416 third_party/libxml/src/trio.c maxParam = width; width 1439 third_party/libxml/src/trio.c width = trio_to_long(&format[index - 1], width 1601 third_party/libxml/src/trio.c usedEntries[width] += 1; width 1604 third_party/libxml/src/trio.c indices[width] = pos; width 1605 third_party/libxml/src/trio.c width = pos++; width 1869 third_party/libxml/src/trio.c if (width == NO_WIDTH) width 1870 third_party/libxml/src/trio.c width = parameters[i].width; width 1882 third_party/libxml/src/trio.c parameters[pos].width = width; width 2163 third_party/libxml/src/trio.c TRIO_ARGS6((self, number, flags, width, precision, base), width 2167 third_party/libxml/src/trio.c int width, width 2247 third_party/libxml/src/trio.c width -= (bufferend - pointer) - 1; width 2266 third_party/libxml/src/trio.c width--; width 2273 third_party/libxml/src/trio.c width -= 2; width 2277 third_party/libxml/src/trio.c width--; width 2288 third_party/libxml/src/trio.c while (width-- > count) width 2329 third_party/libxml/src/trio.c precision = width; width 2333 third_party/libxml/src/trio.c width--; width 2349 third_party/libxml/src/trio.c while (width-- > 0) width 2418 third_party/libxml/src/trio.c TRIO_ARGS5((self, string, flags, width, precision), width 2422 third_party/libxml/src/trio.c int width, width 2437 third_party/libxml/src/trio.c width = 0; width 2448 third_party/libxml/src/trio.c width -= length; width 2455 third_party/libxml/src/trio.c while (width-- > 0) width 2468 third_party/libxml/src/trio.c while (width-- > 0) width 2484 third_party/libxml/src/trio.c TRIO_ARGS4((self, wch, flags, width), width 2488 third_party/libxml/src/trio.c int width) width 2496 third_party/libxml/src/trio.c if (width == NO_WIDTH) width 2497 third_party/libxml/src/trio.c width = sizeof(buffer); width 2500 third_party/libxml/src/trio.c if ((size <= 0) || (size > width) || (buffer[0] == NIL)) width 2505 third_party/libxml/src/trio.c while ((width >= i) && (width-- > 0) && (i-- > 0)) width 2524 third_party/libxml/src/trio.c TRIO_ARGS5((self, wstring, flags, width, precision), width 2528 third_party/libxml/src/trio.c int width, width 2543 third_party/libxml/src/trio.c TrioWriteString(self, NULL, flags, width, precision); width 2554 third_party/libxml/src/trio.c width -= length; width 2562 third_party/libxml/src/trio.c while (width-- > 0) width 2576 third_party/libxml/src/trio.c while (width-- > 0) width 2601 third_party/libxml/src/trio.c TRIO_ARGS6((self, number, flags, width, precision, base), width 2605 third_party/libxml/src/trio.c int width, width 2654 third_party/libxml/src/trio.c flags, width, precision); width 2665 third_party/libxml/src/trio.c flags, width, precision); width 2675 third_party/libxml/src/trio.c flags, width, precision); width 2912 third_party/libxml/src/trio.c for (i = expectedWidth; i < width; i++) width 2923 third_party/libxml/src/trio.c for (i = expectedWidth; i < width; i++) width 3052 third_party/libxml/src/trio.c for (i = expectedWidth; i < width; i++) width 3079 third_party/libxml/src/trio.c int width; width 3127 third_party/libxml/src/trio.c width = parameters[i].width; width 3131 third_party/libxml/src/trio.c width = (int)parameters[width].data.number.as_signed; width 3132 third_party/libxml/src/trio.c if (width < 0) width 3140 third_party/libxml/src/trio.c width = -width; width 3182 third_party/libxml/src/trio.c while (--width > 0) width 3203 third_party/libxml/src/trio.c while(--width > 0) width 3215 third_party/libxml/src/trio.c width, width 3225 third_party/libxml/src/trio.c width, width 3237 third_party/libxml/src/trio.c width, width 3246 third_party/libxml/src/trio.c width, width 3315 third_party/libxml/src/trio.c width, width 3324 third_party/libxml/src/trio.c width, width 4407 third_party/libxml/src/trio.c return ((trio_reference_t *)ref)->parameter->width; width 4412 third_party/libxml/src/trio.c TRIO_ARGS2((ref, width), width 4414 third_party/libxml/src/trio.c int width) width 4416 third_party/libxml/src/trio.c ((trio_reference_t *)ref)->parameter->width = width; width 4852 third_party/libxml/src/trio.c self->parameter->width, width 4871 third_party/libxml/src/trio.c self->parameter->width, width 4890 third_party/libxml/src/trio.c self->parameter->width, width 4909 third_party/libxml/src/trio.c self->parameter->width, width 5422 third_party/libxml/src/trio.c TRIO_ARGS5((self, target, flags, width, base), width 5426 third_party/libxml/src/trio.c int width, width 5503 third_party/libxml/src/trio.c while (((width == NO_WIDTH) || (self->processed - count < width)) && width 5552 third_party/libxml/src/trio.c TRIO_ARGS4((self, target, flags, width), width 5556 third_party/libxml/src/trio.c int width) width 5566 third_party/libxml/src/trio.c (self->current != EOF) && (i < width); width 5618 third_party/libxml/src/trio.c TRIO_ARGS4((self, target, flags, width), width 5622 third_party/libxml/src/trio.c int width) width 5636 third_party/libxml/src/trio.c ((width == NO_WIDTH) || (i < width)) && width 5654 third_party/libxml/src/trio.c TRIO_ARGS4((self, target, flags, width), width 5658 third_party/libxml/src/trio.c int width) width 5671 third_party/libxml/src/trio.c (self->current != EOF) && (i < width); width 5715 third_party/libxml/src/trio.c TRIO_ARGS4((self, target, flags, width), width 5719 third_party/libxml/src/trio.c int width) width 5738 third_party/libxml/src/trio.c ((width == NO_WIDTH) || (i < width)) && width 5761 third_party/libxml/src/trio.c TRIO_ARGS5((self, target, characterclass, flags, width), width 5766 third_party/libxml/src/trio.c int width) width 5776 third_party/libxml/src/trio.c ((width == NO_WIDTH) || (i < width)) && width 5800 third_party/libxml/src/trio.c TRIO_ARGS4((self, target, flags, width), width 5804 third_party/libxml/src/trio.c int width) width 5815 third_party/libxml/src/trio.c if ((width == NO_WIDTH) || (width > (int)sizeof(doubleString) - 1)) width 5816 third_party/libxml/src/trio.c width = sizeof(doubleString) - 1; width 5830 third_party/libxml/src/trio.c width--; width 5845 third_party/libxml/src/trio.c while (isalpha(ch) && (index - start < width)) width 5910 third_party/libxml/src/trio.c while ((ch != EOF) && (index - start < width)) width 5942 third_party/libxml/src/trio.c (index - start < width)) width 5957 third_party/libxml/src/trio.c while (isdigit(ch) && (index - start < width)) width 6046 third_party/libxml/src/trio.c int width; width 6107 third_party/libxml/src/trio.c width = parameters[i].width; width 6111 third_party/libxml/src/trio.c width = (int)parameters[width].data.number.as_signed; width 6133 third_party/libxml/src/trio.c width, width 6178 third_party/libxml/src/trio.c width)) width 6189 third_party/libxml/src/trio.c width)) width 6210 third_party/libxml/src/trio.c if (!TrioReadDouble(data, pointer, flags, width)) width 6247 third_party/libxml/src/trio.c parameters[i].width)) width 6304 third_party/libxml/src/trio.c (width == NO_WIDTH) ? 1 : width) == 0) width 6315 third_party/libxml/src/trio.c (width == NO_WIDTH) ? 1 : width) == 0) width 95 third_party/libxml/src/triop.h void trio_set_width TRIO_PROTO((trio_pointer_t ref, int width)); width 49 third_party/libxslt/libxslt/numbers.c int width; width 159 third_party/libxslt/libxslt/numbers.c int width, width 184 third_party/libxslt/libxslt/numbers.c if ((i >= width) && (fabs(number) < 1.0)) width 327 third_party/libxslt/libxslt/numbers.c default_token.width = 1; width 366 third_party/libxslt/libxslt/numbers.c tokens->tokens[tokens->nTokens].width = 1; width 368 third_party/libxslt/libxslt/numbers.c tokens->tokens[tokens->nTokens].width++; width 392 third_party/libxslt/libxslt/numbers.c tokens->tokens[tokens->nTokens].width = 1; width 514 third_party/libxslt/libxslt/numbers.c token->width, width 253 third_party/npapi/bindings/npapi.h int32_t width; width 495 third_party/npapi/bindings/npapi.h uint32_t width; /* Maximum window size */ width 511 third_party/npapi/bindings/npapi.h uint32_t width; /* Expose width */ width 689 third_party/npapi/bindings/npapi.h double width; width 876 third_party/npapi/npspy/common/format.cpp int32 iWidth = ((NPSize *)plis->arg3.pData)->width; width 1015 third_party/npapi/npspy/common/format.cpp ((NPWindow*)plis->arg2.pData)->width, width 296 third_party/npapi/npspy/extern/plugin/npapi.h int32 width; width 475 third_party/npapi/npspy/extern/plugin/npapi.h uint32 width; /* Maximum window size */ width 178 third_party/npapi/npspy/windows/gui_main.cpp if(logger->width && logger->height) width 179 third_party/npapi/npspy/windows/gui_main.cpp SetWindowPos(hWnd, NULL, logger->x, logger->y, logger->width, logger->height, SWP_NOZORDER); width 217 third_party/npapi/npspy/windows/gui_main.cpp int width = rcMain.right - rcMain.left; width 223 third_party/npapi/npspy/windows/gui_main.cpp width - marginLeft - rcButtonOptions.right + rcButtonOptions.left, width 230 third_party/npapi/npspy/windows/gui_main.cpp width - marginLeft - rcClear.right + rcClear.left - rcButtonOptions.right + rcButtonOptions.left - spaceHor, width 250 third_party/npapi/npspy/windows/gui_main.cpp width, width 54 third_party/npapi/npspy/windows/loggerw.cpp width(0), width 101 third_party/npapi/npspy/windows/loggerw.cpp if(!profile.getSizeAndPosition(&width, &height, &x, &y)) width 103 third_party/npapi/npspy/windows/loggerw.cpp width = 0; width 49 third_party/npapi/npspy/windows/loggerw.h int width; width 106 third_party/npapi/npspy/windows/profilew.cpp BOOL ProfileWin::getSizeAndPosition(int *width, int *height, int *x, int *y) width 111 third_party/npapi/npspy/windows/profilew.cpp res = RegQueryValueEx(hKey, NPSPY_REG_KEY_WIDTH, 0L, NULL, (BYTE *)width, &size); width 130 third_party/npapi/npspy/windows/profilew.cpp BOOL ProfileWin::setSizeAndPosition(int width, int height, int x, int y) width 135 third_party/npapi/npspy/windows/profilew.cpp res = RegSetValueEx(hKey, NPSPY_REG_KEY_WIDTH, 0L, REG_DWORD, (const BYTE *)&width, size); width 57 third_party/npapi/npspy/windows/profilew.h BOOL getSizeAndPosition(int *width, int *height, int *x, int *y); width 58 third_party/npapi/npspy/windows/profilew.h BOOL setSizeAndPosition(int width, int height, int x, int y); width 18722 third_party/sqlite/amalgamation/sqlite3.c int width; /* Width of the current field */ width 18779 third_party/sqlite/amalgamation/sqlite3.c width = 0; width 18781 third_party/sqlite/amalgamation/sqlite3.c width = va_arg(ap,int); width 18782 third_party/sqlite/amalgamation/sqlite3.c if( width<0 ){ width 18784 third_party/sqlite/amalgamation/sqlite3.c width = -width; width 18789 third_party/sqlite/amalgamation/sqlite3.c width = width*10 + c - '0'; width 18793 third_party/sqlite/amalgamation/sqlite3.c if( width > etBUFSIZE-10 ){ width 18794 third_party/sqlite/amalgamation/sqlite3.c width = etBUFSIZE-10; width 18909 third_party/sqlite/amalgamation/sqlite3.c if( flag_zeropad && precision<width-(prefix!=0) ){ width 18910 third_party/sqlite/amalgamation/sqlite3.c precision = width-(prefix!=0); width 19088 third_party/sqlite/amalgamation/sqlite3.c if( flag_zeropad && !flag_leftjustify && length < width){ width 19090 third_party/sqlite/amalgamation/sqlite3.c int nPad = width - length; width 19091 third_party/sqlite/amalgamation/sqlite3.c for(i=width; i>=nPad; i--){ width 19096 third_party/sqlite/amalgamation/sqlite3.c length = width; width 19102 third_party/sqlite/amalgamation/sqlite3.c length = width = 0; width 19179 third_party/sqlite/amalgamation/sqlite3.c length = width = 0; width 19192 third_party/sqlite/amalgamation/sqlite3.c length = width = 0; width 19207 third_party/sqlite/amalgamation/sqlite3.c nspace = width-length; width 19217 third_party/sqlite/amalgamation/sqlite3.c nspace = width-length; width 239 third_party/sqlite/src/src/printf.c int width; /* Width of the current field */ width 296 third_party/sqlite/src/src/printf.c width = 0; width 298 third_party/sqlite/src/src/printf.c width = va_arg(ap,int); width 299 third_party/sqlite/src/src/printf.c if( width<0 ){ width 301 third_party/sqlite/src/src/printf.c width = -width; width 306 third_party/sqlite/src/src/printf.c width = width*10 + c - '0'; width 310 third_party/sqlite/src/src/printf.c if( width > etBUFSIZE-10 ){ width 311 third_party/sqlite/src/src/printf.c width = etBUFSIZE-10; width 426 third_party/sqlite/src/src/printf.c if( flag_zeropad && precision<width-(prefix!=0) ){ width 427 third_party/sqlite/src/src/printf.c precision = width-(prefix!=0); width 605 third_party/sqlite/src/src/printf.c if( flag_zeropad && !flag_leftjustify && length < width){ width 607 third_party/sqlite/src/src/printf.c int nPad = width - length; width 608 third_party/sqlite/src/src/printf.c for(i=width; i>=nPad; i--){ width 613 third_party/sqlite/src/src/printf.c length = width; width 619 third_party/sqlite/src/src/printf.c length = width = 0; width 696 third_party/sqlite/src/src/printf.c length = width = 0; width 709 third_party/sqlite/src/src/printf.c length = width = 0; width 724 third_party/sqlite/src/src/printf.c nspace = width-length; width 734 third_party/sqlite/src/src/printf.c nspace = width-length; width 163 third_party/sqlite/src/src/test_rtree.c double width; width 211 third_party/sqlite/src/src/test_rtree.c pCube->width = p->aParam[3]; width 221 third_party/sqlite/src/src/test_rtree.c if( aCoord[0]<=(pCube->x+pCube->width) width 472 third_party/tcmalloc/chromium/src/deep-heap-profile.cc bool DeepHeapProfile::TextBuffer::AppendString(const char* value, int width) { width 476 third_party/tcmalloc/chromium/src/deep-heap-profile.cc if (width == 0) width 480 third_party/tcmalloc/chromium/src/deep-heap-profile.cc width, value); width 484 third_party/tcmalloc/chromium/src/deep-heap-profile.cc bool DeepHeapProfile::TextBuffer::AppendInt(int value, int width, width 489 third_party/tcmalloc/chromium/src/deep-heap-profile.cc if (width == 0) width 492 third_party/tcmalloc/chromium/src/deep-heap-profile.cc appended = snprintf(position, available, "%0*d", width, value); width 494 third_party/tcmalloc/chromium/src/deep-heap-profile.cc appended = snprintf(position, available, "%*d", width, value); width 498 third_party/tcmalloc/chromium/src/deep-heap-profile.cc bool DeepHeapProfile::TextBuffer::AppendLong(long value, int width) { width 502 third_party/tcmalloc/chromium/src/deep-heap-profile.cc if (width == 0) width 505 third_party/tcmalloc/chromium/src/deep-heap-profile.cc appended = snprintf(position, available, "%*ld", width, value); width 510 third_party/tcmalloc/chromium/src/deep-heap-profile.cc int width) { width 514 third_party/tcmalloc/chromium/src/deep-heap-profile.cc if (width == 0) width 517 third_party/tcmalloc/chromium/src/deep-heap-profile.cc appended = snprintf(position, available, "%*lu", width, value); width 521 third_party/tcmalloc/chromium/src/deep-heap-profile.cc bool DeepHeapProfile::TextBuffer::AppendInt64(int64 value, int width) { width 525 third_party/tcmalloc/chromium/src/deep-heap-profile.cc if (width == 0) width 528 third_party/tcmalloc/chromium/src/deep-heap-profile.cc appended = snprintf(position, available, "%*" PRId64, width, value); width 532 third_party/tcmalloc/chromium/src/deep-heap-profile.cc bool DeepHeapProfile::TextBuffer::AppendPtr(uint64 value, int width) { width 536 third_party/tcmalloc/chromium/src/deep-heap-profile.cc if (width == 0) width 539 third_party/tcmalloc/chromium/src/deep-heap-profile.cc appended = snprintf(position, available, "%0*" PRIx64, width, value); width 543 third_party/tcmalloc/chromium/src/deep-heap-profile.cc bool DeepHeapProfile::TextBuffer::AppendBase64(uint64 value, int width) { width 549 third_party/tcmalloc/chromium/src/deep-heap-profile.cc for (int shift = (width - 1) * 6; shift >= 0; shift -= 6) { width 127 third_party/tcmalloc/chromium/src/deep-heap-profile.h bool AppendString(const char* value, int width); width 128 third_party/tcmalloc/chromium/src/deep-heap-profile.h bool AppendInt(int value, int width, bool leading_zero); width 129 third_party/tcmalloc/chromium/src/deep-heap-profile.h bool AppendLong(long value, int width); width 130 third_party/tcmalloc/chromium/src/deep-heap-profile.h bool AppendUnsignedLong(unsigned long value, int width); width 131 third_party/tcmalloc/chromium/src/deep-heap-profile.h bool AppendInt64(int64 value, int width); width 132 third_party/tcmalloc/chromium/src/deep-heap-profile.h bool AppendBase64(uint64 value, int width); width 133 third_party/tcmalloc/chromium/src/deep-heap-profile.h bool AppendPtr(uint64 value, int width); width 219 third_party/v4l2capture/v4l2capture.c format.fmt.pix.width = size_x; width 230 third_party/v4l2capture/v4l2capture.c return Py_BuildValue("ii", format.fmt.pix.width, format.fmt.pix.height); width 3232 third_party/wtl/include/atldlgs.h #define BEGIN_DIALOG(x, y, width, height) \ width 3236 third_party/wtl/include/atldlgs.h short nX = x, nY = y, nWidth = width, nHeight = height; \ width 3250 third_party/wtl/include/atldlgs.h #define BEGIN_DIALOG_EX(x, y, width, height, helpID) \ width 3254 third_party/wtl/include/atldlgs.h short nX = x, nY = y, nWidth = width, nHeight = height; \ width 3300 third_party/wtl/include/atldlgs.h #define CONTROL_LTEXT(text, id, x, y, width, height, style, exStyle) \ width 3301 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_STATIC, (WORD)id, x, y, width, height, style | SS_LEFT | WS_GROUP, exStyle, text, NULL, 0); width 3302 third_party/wtl/include/atldlgs.h #define CONTROL_CTEXT(text, id, x, y, width, height, style, exStyle) \ width 3303 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_STATIC, (WORD)id, x, y, width, height, style | SS_CENTER | WS_GROUP, exStyle, text, NULL, 0); width 3304 third_party/wtl/include/atldlgs.h #define CONTROL_RTEXT(text, id, x, y, width, height, style, exStyle) \ width 3305 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_STATIC, (WORD)id, x, y, width, height, style | SS_RIGHT | WS_GROUP, exStyle, text, NULL, 0); width 3306 third_party/wtl/include/atldlgs.h #define CONTROL_PUSHBUTTON(text, id, x, y, width, height, style, exStyle) \ width 3307 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_PUSHBUTTON | WS_TABSTOP, exStyle, text, NULL, 0); width 3308 third_party/wtl/include/atldlgs.h #define CONTROL_DEFPUSHBUTTON(text, id, x, y, width, height, style, exStyle) \ width 3309 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_DEFPUSHBUTTON | WS_TABSTOP, exStyle, text, NULL, 0); width 3311 third_party/wtl/include/atldlgs.h #define CONTROL_PUSHBOX(text, id, x, y, width, height, style, exStyle) \ width 3312 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_PUSHBOX | WS_TABSTOP, exStyle, text, NULL, 0); width 3314 third_party/wtl/include/atldlgs.h #define CONTROL_STATE3(text, id, x, y, width, height, style, exStyle) \ width 3315 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_3STATE | WS_TABSTOP, exStyle, text, NULL, 0); width 3316 third_party/wtl/include/atldlgs.h #define CONTROL_AUTO3STATE(text, id, x, y, width, height, style, exStyle) \ width 3317 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_AUTO3STATE | WS_TABSTOP, exStyle, text, NULL, 0); width 3318 third_party/wtl/include/atldlgs.h #define CONTROL_CHECKBOX(text, id, x, y, width, height, style, exStyle) \ width 3319 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_CHECKBOX | WS_TABSTOP, exStyle, text, NULL, 0); width 3320 third_party/wtl/include/atldlgs.h #define CONTROL_AUTOCHECKBOX(text, id, x, y, width, height, style, exStyle) \ width 3321 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_AUTOCHECKBOX | WS_TABSTOP, exStyle, text, NULL, 0); width 3322 third_party/wtl/include/atldlgs.h #define CONTROL_RADIOBUTTON(text, id, x, y, width, height, style, exStyle) \ width 3323 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_RADIOBUTTON | WS_TABSTOP, exStyle, text, NULL, 0); width 3324 third_party/wtl/include/atldlgs.h #define CONTROL_AUTORADIOBUTTON(text, id, x, y, width, height, style, exStyle) \ width 3325 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_AUTORADIOBUTTON | WS_TABSTOP, exStyle, text, NULL, 0); width 3326 third_party/wtl/include/atldlgs.h #define CONTROL_COMBOBOX(id, x, y, width, height, style, exStyle) \ width 3327 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_COMBOBOX, (WORD)id, x, y, width, height, style | CBS_DROPDOWN | WS_TABSTOP, exStyle, (LPCTSTR)NULL, NULL, 0); width 3328 third_party/wtl/include/atldlgs.h #define CONTROL_EDITTEXT(id, x, y, width, height, style, exStyle) \ width 3329 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_EDIT, (WORD)id, x, y, width, height, style | ES_LEFT | WS_BORDER | WS_TABSTOP, exStyle, (LPCTSTR)NULL, NULL, 0); width 3330 third_party/wtl/include/atldlgs.h #define CONTROL_GROUPBOX(text, id, x, y, width, height, style, exStyle) \ width 3331 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_GROUPBOX, exStyle, text, NULL, 0); width 3332 third_party/wtl/include/atldlgs.h #define CONTROL_LISTBOX(id, x, y, width, height, style, exStyle) \ width 3333 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_LISTBOX, (WORD)id, x, y, width, height, style | LBS_NOTIFY | WS_BORDER, exStyle, (LPCTSTR)NULL, NULL, 0); width 3334 third_party/wtl/include/atldlgs.h #define CONTROL_SCROLLBAR(id, x, y, width, height, style, exStyle) \ width 3335 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_SCROLLBAR, (WORD)id, x, y, width, height, style | SBS_HORZ, exStyle, (LPCTSTR)NULL, NULL, 0); width 3336 third_party/wtl/include/atldlgs.h #define CONTROL_ICON(text, id, x, y, width, height, style, exStyle) \ width 3337 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_STATIC, (WORD)id, x, y, width, height, style | SS_ICON, exStyle, text, NULL, 0); width 3338 third_party/wtl/include/atldlgs.h #define CONTROL_CONTROL(text, id, className, style, x, y, width, height, exStyle) \ width 3339 third_party/wtl/include/atldlgs.h m_Template.AddControl(className, (WORD)id, x, y, width, height, style, exStyle, text, NULL, 0); width 329 third_party/zlib/trees.c # define SEPARATOR(i, last, width) \ width 331 third_party/zlib/trees.c ((i) % (width) == (width)-1 ? ",\n" : ", ")) width 91 tools/imagediff/image_diff_png.cc width(0), width 112 tools/imagediff/image_diff_png.cc int width; width 164 tools/imagediff/image_diff_png.cc state->width = static_cast<int>(w); width 248 tools/imagediff/image_diff_png.cc state->width * state->output_channels * state->height); width 265 tools/imagediff/image_diff_png.cc unsigned char* dest = &base[state->width * state->output_channels * row_num]; width 267 tools/imagediff/image_diff_png.cc state->row_converter(new_row, state->width, dest, &state->is_opaque); width 269 tools/imagediff/image_diff_png.cc memcpy(dest, new_row, state->width * state->output_channels); width 352 tools/imagediff/image_diff_png.cc *w = state.width; width 466 tools/imagediff/image_diff_png.cc int width, int height, int row_byte_width, width 489 tools/imagediff/image_diff_png.cc png_set_IHDR(png_ptr, info_ptr, width, height, 8, png_output_color_type, width 510 tools/imagediff/image_diff_png.cc row_buffer = new unsigned char[width * output_color_components]; width 512 tools/imagediff/image_diff_png.cc converter(&input[y * row_byte_width], width, row_buffer, NULL); width 526 tools/imagediff/image_diff_png.cc const int width, const int height, width 578 tools/imagediff/image_diff_png.cc DCHECK(input_color_components * width <= row_byte_width); width 592 tools/imagediff/image_diff_png.cc width, height, row_byte_width, width 602 tools/imagediff/image_diff_png.cc const int width, const int height, int row_byte_width, width 606 tools/imagediff/image_diff_png.cc return EncodeWithCompressionLevel(input, format, width, height, width 616 tools/imagediff/image_diff_png.cc int* width, int* height) { width 617 tools/imagediff/image_diff_png.cc return Decode(input, input_size, FORMAT_RGBA, output, width, height); width 622 tools/imagediff/image_diff_png.cc int width, width 627 tools/imagediff/image_diff_png.cc width, height, row_byte_width, false, width 633 tools/imagediff/image_diff_png.cc int width, width 639 tools/imagediff/image_diff_png.cc width, height, row_byte_width, discard_transparency, width 16 tools/imagediff/image_diff_png.h int* width, int* height); width 20 tools/imagediff/image_diff_png.h int width, width 27 tools/imagediff/image_diff_png.h int width, width 433 tools/ipc_fuzzer/mutate/mutate.cc int w = p->width(); width 36 tools/telemetry/telemetry/core/bitmaptools.cc int width; width 39 tools/telemetry/telemetry/core/bitmaptools.cc ReadInt(&width) && ReadInt(&height))) { width 43 tools/telemetry/telemetry/core/bitmaptools.cc if (left < 0 || top < 0 || width < 0 || height < 0) { width 47 tools/telemetry/telemetry/core/bitmaptools.cc right = left + width; width 59 tools/telemetry/telemetry/core/bitmaptools.cc int width() const { return right - left; } width 82 tools/telemetry/telemetry/core/bitmaptools.cc int width; width 84 tools/telemetry/telemetry/core/bitmaptools.cc if (!(ReadInt(&bpp) && ReadInt(&width) && ReadInt(&height))) { width 88 tools/telemetry/telemetry/core/bitmaptools.cc if (bpp <= 0 || width <= 0 || height <= 0) { width 93 tools/telemetry/telemetry/core/bitmaptools.cc int size = width * height * bpp; width 95 tools/telemetry/telemetry/core/bitmaptools.cc row_stride = width * bpp; width 226 tools/telemetry/telemetry/core/bitmaptools.cc int response[] = { box.left, box.top, box.width(), box.height(), count }; width 126 ui/accessibility/ax_node_data.cc IntToString(location.width()) + ", " + width 31 ui/android/java/src/org/chromium/ui/autofill/AutofillDividerDrawable.java mDividerRect.set(0, 0, bounds.width(), mDividerRect.height()); width 125 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java public void setAnchorRect(float x, float y, float width, float height) { width 126 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java mAnchorWidth = width; width 203 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java float labelWidth = bounds.width(); width 211 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java float localMax = Math.max(labelWidth, bounds.width()); width 113 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java public byte[] grabSnapshot(int windowX, int windowY, int width, int height) { width 124 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java if (windowX > 0 || windowY > 0 || width != bitmap.getWidth() || width 127 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java clip.intersect(windowX, windowY, windowX + width, windowY + height); width 129 ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java bitmap, clip.left, clip.top, clip.width(), clip.height()); width 27 ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java void setAnchorViewPosition(View view, float x, float y, float width, float height); width 270 ui/android/java/src/org/chromium/ui/base/WindowAndroid.java public byte[] grabSnapshot(int windowX, int windowY, int width, int height) { width 20 ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java private static Bitmap createBitmap(int width, width 24 ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java return Bitmap.createBitmap(width, height, bitmapConfig); width 60 ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java final int width = options.outWidth; width 63 ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java if (height > reqHeight || width > reqWidth) { width 67 ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java final int widthRatio = Math.round((float) width / (float) reqWidth); width 63 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java private static void setDefaultBufferSize(SurfaceTexture surfaceTexture, int width, width 65 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java surfaceTexture.setDefaultBufferSize(width, height); width 42 ui/app_list/app_list_folder_item.cc canvas->DrawImageInt(resized, 0, 0, resized.width(), resized.height(), width 43 ui/app_list/app_list_folder_item.cc x, y, resized.width(), resized.height(), true); width 49 ui/app_list/app_list_folder_item.cc gfx::Point center = gfx::Point(size().width() / 2 , size().height() / 2); width 54 ui/app_list/app_list_folder_item.cc canvas->DrawCircle(center, size().width() / 2, paint); width 64 ui/app_list/views/app_list_background.cc bounds.width(), width 79 ui/app_list/views/app_list_background.cc bounds.width(), width 97 ui/app_list/views/app_list_background.cc bounds.width(), width 109 ui/app_list/views/app_list_background.cc contents_rect.right() - experimental_icon.width(), width 117 ui/app_list/views/app_list_folder_view.cc int width = std::max(header_size.width(), grid_size.width()); width 119 ui/app_list/views/app_list_folder_view.cc return gfx::Size(width, height); width 274 ui/app_list/views/app_list_item_view.cc gfx::Rect title_bounds(rect.x() + (rect.width() - title_size.width()) / 2, width 276 ui/app_list/views/app_list_item_view.cc title_size.width(), width 308 ui/app_list/views/app_list_item_view.cc gfx::Point center = gfx::Point(icon_->x() + icon_->size().width() / 2, width 483 ui/app_list/views/app_list_item_view.cc gfx::Rect icon_bounds(rect.x(), rect.y(), rect.width(), icon_size_.height()); width 282 ui/app_list/views/app_list_view.cc app_list_main_view_->GetPreferredSize().width()); width 107 ui/app_list/views/apps_container_view.cc int width = std::max(grid_size.width(), folder_view_size.width()); width 109 ui/app_list/views/apps_container_view.cc return gfx::Size(width, height); width 783 ui/app_list/views/apps_grid_view.cc tile_size.width() * cols_ + insets.width(), width 1042 ui/app_list/views/apps_grid_view.cc gfx::Rect grid_rect(gfx::Size(tile_size.width() * cols_, width 1048 ui/app_list/views/apps_grid_view.cc const int page_width = grid_rect.width() + kPagePadding; width 1101 ui/app_list/views/apps_grid_view.cc gfx::Point(grid_rect.x() + col * tile_size.width() + x_offset, width 1154 ui/app_list/views/apps_grid_view.cc current.x() >= width() ? 1 : 0; width 1156 ui/app_list/views/apps_grid_view.cc target.x() >= width() ? 1 : 0; width 1545 ui/app_list/views/apps_grid_view.cc drag_point.x() > width() - kPageFlipZoneSize) { width 2063 ui/app_list/views/apps_grid_view.cc gfx::Rect grid_rect(gfx::Size(tile_size.width() * cols_, width 2067 ui/app_list/views/apps_grid_view.cc gfx::Point(grid_rect.x() + col * tile_size.width(), width 151 ui/app_list/views/apps_grid_view_unittest.cc rect.Offset(col * rect.width(), row * rect.height()); width 512 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point to = gfx::Point(apps_grid_view_->width(), width 77 ui/app_list/views/contents_switcher_view.cc return gfx::Size(buttons_->GetPreferredSize().width(), kPreferredHeight); width 85 ui/app_list/views/contents_switcher_view.cc gfx::Rect buttons_bounds(rect.CenterPoint().x() - buttons_size.width() / 2, width 87 ui/app_list/views/contents_switcher_view.cc buttons_size.width(), width 193 ui/app_list/views/contents_view.cc int width = std::max(container_size.width(), results_size.width()); width 195 ui/app_list/views/contents_view.cc return gfx::Size(width, height); width 249 ui/app_list/views/contents_view.cc event->details().scroll_x() / GetContentsBounds().width()); width 153 ui/app_list/views/folder_header_view.cc text_bounds.set_x(back_bounds.x() + (rect.width() - text_width) / 2); width 155 ui/app_list/views/folder_header_view.cc text_bounds.ClampToCenteredSize(gfx::Size(text_bounds.width(), width 175 ui/app_list/views/folder_header_view.cc rect.set_x((rect.width() - kBottomSeparatorWidth) / 2 + rect.x()); width 83 ui/app_list/views/page_switcher.cc selected_width = selected_range_ * rect.width(); width 85 ui/app_list/views/page_switcher.cc selected_width = -selected_range_ * rect.width(); width 171 ui/app_list/views/page_switcher.cc return gfx::Size(buttons_->GetPreferredSize().width(), width 178 ui/app_list/views/page_switcher.cc CalculateButtonWidthAndSpacing(rect.width()); width 182 ui/app_list/views/page_switcher.cc gfx::Rect buttons_bounds(rect.CenterPoint().x() - buttons_size.width() / 2, width 184 ui/app_list/views/page_switcher.cc buttons_size.width(), width 45 ui/app_list/views/progress_bar_view.cc if (paint_size.width() < min_size.width() || width 53 ui/app_list/views/progress_bar_view.cc const int bar_width = paint_size.width() - kBarEndWidth; width 129 ui/app_list/views/search_box_view.cc speech_button_frame.set_x(rect.right() - icon_frame.width()); width 132 ui/app_list/views/search_box_view.cc button_origin.Offset(-button_size.width() / 2, -button_size.height() / 2); width 139 ui/app_list/views/search_box_view.cc menu_button_frame.set_x(rect.right() - menu_button_frame.width() - kPadding); width 140 ui/app_list/views/search_box_view.cc menu_button_frame.ClampToCenteredSize(gfx::Size(menu_button_frame.width(), width 150 ui/app_list/views/search_box_view.cc rect.width() - icon_frame.width() - kPadding - menu_button_frame.width(); width 152 ui/app_list/views/search_box_view.cc edit_frame_width -= speech_button_frame.width() + kPadding; width 155 ui/app_list/views/search_box_view.cc gfx::Size(edit_frame.width(), search_box_->GetPreferredSize().height())); width 234 ui/app_list/views/search_result_list_view.cc int indicator_width = auto_launch_animation_->CurrentValueBetween(0, width()); width 155 ui/app_list/views/search_result_view.cc actions_view_->GetPreferredSize().width()); width 162 ui/app_list/views/search_result_view.cc const int progress_width = rect.width() / 5; width 228 ui/app_list/views/search_result_view.cc rect.width() - kIconViewWidth - kTextTrailPadding - width 229 ui/app_list/views/search_result_view.cc actions_view_->bounds().width() - width 233 ui/app_list/views/search_result_view.cc rect.width() - kIconViewWidth - kTextTrailPadding - width 234 ui/app_list/views/search_result_view.cc progress_bar_->bounds().width() - kActionButtonRightMargin); width 237 ui/app_list/views/search_result_view.cc text_bounds.width())); width 240 ui/app_list/views/search_result_view.cc gfx::Size title_size(text_bounds.width(), width 242 ui/app_list/views/search_result_view.cc gfx::Size details_size(text_bounds.width(), width 256 ui/app_list/views/search_result_view.cc gfx::Size title_size(text_bounds.width(), width 283 ui/app_list/views/search_result_view.cc if (image.width() > kIconDimension || image.height() > kIconDimension) { width 32 ui/app_list/views/signin_view.cc SigninView::SigninView(SigninDelegate* delegate, int width) width 23 ui/app_list/views/signin_view.h SigninView(SigninDelegate* delegate, int width); width 67 ui/app_list/views/speech_view.cc canvas->DrawCircle(bounds().CenterPoint(), width() / 2, paint); width 93 ui/app_list/views/speech_view.cc int radius = local_bounds.width() / 2; width 165 ui/app_list/views/speech_view.cc int radius_min = mic_button_->width() / 2 + kIndicatorRadiusMinOffset; width 180 ui/app_list/views/speech_view.cc contents_bounds.right() - kMicButtonMargin - mic_size.width(), width 184 ui/app_list/views/speech_view.cc int speech_width = contents_bounds.width() - kTextMargin * 2; width 153 ui/aura/bench/bench_main.cc gl->TexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, size.width(), size.height(), width 187 ui/aura/bench/bench_main.cc int width = 0; width 193 ui/aura/bench/bench_main.cc width = atoi(split_size[0].c_str()); width 197 ui/aura/bench/bench_main.cc if (!width || !height) { width 198 ui/aura/bench/bench_main.cc width = 800; width 201 ui/aura/bench/bench_main.cc gfx::Rect bounds(width, height); width 810 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(24, delegate->bounding_box().width()); width 851 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(40, delegate->bounding_box().width()); width 908 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(25, delegate->bounding_box().width()); width 994 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(33, delegate->bounding_box().width()); width 362 ui/aura/remote_window_tree_host_win.cc void RemoteWindowTreeHostWin::HandleWindowSizeChanged(uint32 width, width 364 ui/aura/remote_window_tree_host_win.cc SetBounds(gfx::Rect(0, 0, width, height)); width 165 ui/aura/remote_window_tree_host_win.h void HandleWindowSizeChanged(uint32 width, uint32 height); width 74 ui/aura/test/test_screen.cc rotate.Translate(0, display_.bounds().width() - one_pixel); width 78 ui/aura/test/test_screen.cc rotate.Translate(display_.bounds().width() - one_pixel, width 791 ui/aura/window.cc bounds().x(), bounds().y(), bounds().width(), bounds().height(), width 868 ui/aura/window.cc local_bounds.width(), local_bounds.height()); width 881 ui/aura/window.cc std::max(min_size.width(), actual_new_bounds.width())); width 939 ui/aura/window.cc SchedulePaintInRect(gfx::Rect(0, 0, bounds().width(), bounds().height())); width 387 ui/aura/window_event_dispatcher_unittest.cc position.Offset(root_window()->bounds().width() + 10, width 100 ui/aura/window_tree_host_win.cc target_rect.width(), width 113 ui/aura/window_tree_host_win.cc saved_window_rect_.right = saved_window_rect_.left + bounds.width(); width 184 ui/aura/window_tree_host_win.cc gfx::Point(max(0, min(size.width(), static_cast<int>(pt.x))), width 186 ui/aura/window_tree_host_win.cc return (pt.x >= 0 && static_cast<int>(pt.x) < size.width() && width 161 ui/aura/window_tree_host_x11.cc const int resolution_x = bounds.width(); width 262 ui/aura/window_tree_host_x11.cc bounds.x(), bounds.y(), bounds.width(), bounds.height(), width 362 ui/aura/window_tree_host_x11.cc xev->xexpose.width, xev->xexpose.height); width 409 ui/aura/window_tree_host_x11.cc xev->xconfigure.width, xev->xconfigure.height); width 541 ui/aura/window_tree_host_x11.cc changes.width = bounds.width(); width 612 ui/aura/window_tree_host_x11.cc *location_return = gfx::Point(max(0, min(bounds_.width(), win_x_return)), width 614 ui/aura/window_tree_host_x11.cc return (win_x_return >= 0 && win_x_return < bounds_.width() && width 1500 ui/aura/window_unittest.cc gfx::Size transformed_size(size.height(), size.width()); width 44 ui/base/android/window_android.cc int content_x, int content_y, int width, int height, width 51 ui/base/android/window_android.cc width, height); width 38 ui/base/android/window_android.h bool GrabSnapshot(int content_x, int content_y, int width, int height, width 160 ui/base/clipboard/clipboard.cc unvalidated_size->width(), width 309 ui/base/clipboard/clipboard_android.cc bmp.setConfig(SkBitmap::kARGB_8888_Config, size->width(), size->height()); width 422 ui/base/clipboard/clipboard_android.cc gfx::Size size(bitmap.width(), bitmap.height()); width 363 ui/base/clipboard/clipboard_unittest.cc for (int i = 0; i < size.width(); ++i) { width 364 ui/base/clipboard/clipboard_unittest.cc uint32& pixel = pixel_buffer[i + j * size.width()]; width 397 ui/base/clipboard/clipboard_unittest.cc EXPECT_EQ(size, gfx::Size(image.width(), image.height())); width 401 ui/base/clipboard/clipboard_unittest.cc for (int i = 0; i < image.width(); ++i) { width 402 ui/base/clipboard/clipboard_unittest.cc int offset = i + j * image.width(); width 452 ui/base/clipboard/clipboard_unittest.cc int width; width 142 ui/base/clipboard/clipboard_win.cc for (int x = 0; x < bitmap.width(); ++x) { width 155 ui/base/clipboard/clipboard_win.cc for (int x = 0; x < bitmap.width(); ++x) { width 290 ui/base/clipboard/clipboard_win.cc bm_info.bmiHeader.biWidth = bitmap.width(); width 312 ui/base/clipboard/clipboard_win.cc gfx::Size(bitmap.width(), bitmap.height())); width 331 ui/base/clipboard/clipboard_win.cc HBITMAP hbitmap = ::CreateCompatibleBitmap(dc, size.width(), size.height()); width 345 ui/base/clipboard/clipboard_win.cc ::GdiAlphaBlend(compatible_dc, 0, 0, size.width(), size.height(), width 346 ui/base/clipboard/clipboard_win.cc source_dc, 0, 0, size.width(), size.height(), bf); width 39 ui/base/cocoa/menu_controller.h toWidth:(int)width; width 185 ui/base/cursor/cursor_loader_x11.cc int total_width = bitmap.width(); width 199 ui/base/cursor/cursor_loader_x11.cc DCHECK_EQ(frame_width, cropped.width()); width 28 ui/base/cursor/cursor_loader_x11_unittest.cc EXPECT_EQ(10, bitmap.width()); width 37 ui/base/cursor/cursor_loader_x11_unittest.cc EXPECT_EQ(5, bitmap.width()); width 45 ui/base/cursor/cursor_loader_x11_unittest.cc EXPECT_EQ(10, bitmap.width()); width 53 ui/base/cursor/cursor_loader_x11_unittest.cc EXPECT_EQ(20, bitmap.width()); width 30 ui/base/cursor/cursor_util.cc bitmap->width() - hotpoint->x(), bitmap->height() - hotpoint->y()); width 35 ui/base/cursor/cursor_util.cc hotpoint->SetPoint(hotpoint->y(), bitmap->width() - hotpoint->x()); width 50 ui/base/cursor/cursor_util.cc gfx::ScaleSize(gfx::Size(bitmap->width(), bitmap->height()), scale)); width 55 ui/base/cursor/cursor_util.cc scaled_size.width(), width 46 ui/base/dragdrop/drag_utils.cc canvas->DrawImageInt(icon_, (size().width() - icon_.width()) / 2, 0); width 55 ui/base/dragdrop/drag_utils.cc size().width() - 2, font_list.GetHeight()); width 61 ui/base/dragdrop/drag_utils.cc size().width(), font_list.GetHeight()); width 70 ui/base/dragdrop/drag_utils.cc const int width = kFileDragImageMaxWidth; width 74 ui/base/dragdrop/drag_utils.cc return gfx::Size(width, height); width 94 ui/base/dragdrop/drag_utils.cc gfx::Vector2d cursor_offset(size.width() / 2, kLinkDragImageVPadding); width 45 ui/base/dragdrop/drag_utils_win.cc gfx::CreateBitmapHeader(sk_bitmap.width(), sk_bitmap.height(), &header); width 52 ui/base/dragdrop/drag_utils_win.cc DCHECK_EQ(sk_bitmap.rowBytes(), static_cast<size_t>(sk_bitmap.width() * 4)); width 45 ui/base/gtk/gtk_expanded_container.cc child_requisition.width = data->allocation->width - data->border_width * 2; width 55 ui/base/gtk/gtk_expanded_container.cc child_allocation.width = child_requisition.width; width 57 ui/base/gtk/gtk_expanded_container.cc if (child_allocation.width < 0 || child_allocation.height < 0) { width 59 ui/base/gtk/gtk_expanded_container.cc if (child_allocation.width < 0) width 60 ui/base/gtk/gtk_expanded_container.cc child_allocation.width = child_requisition.width; width 152 ui/base/gtk/gtk_expanded_container.cc allocation->width, width 15 ui/base/gtk/gtk_expanded_container_unittest.cc EXPECT_EQ(width_, allocation.width); \ width 133 ui/base/gtk/gtk_expanded_container_unittest.cc requisition->width = 250; width 201 ui/base/gtk/gtk_floating_container.cc requisition->width = 0; width 214 ui/base/gtk/gtk_floating_container.cc allocation->width, width 245 ui/base/gtk/gtk_floating_container.cc child_allocation.width = std::max(1, std::min(child_requisition.width, width 246 ui/base/gtk/gtk_floating_container.cc allocation->width)); width 55 ui/base/gtk/gtk_screen_util.cc gfx::Size(allocation.width, allocation.height)); width 262 ui/base/ime/win/imm32_manager.cc {x, y, x + caret_rect_.width(), y + caret_rect_.height()}}; width 19 ui/base/l10n/l10n_font_util.cc int width = font.GetExpectedTextWidth(static_cast<int>(chars)); width 20 ui/base/l10n/l10n_font_util.cc DCHECK_GT(width, 0); width 21 ui/base/l10n/l10n_font_util.cc return width; width 885 ui/base/l10n/l10n_util.cc int width = 0; width 886 ui/base/l10n/l10n_util.cc base::StringToInt(l10n_util::GetStringUTF8(pixel_resource_id), &width); width 887 ui/base/l10n/l10n_util.cc DCHECK_GT(width, 0); width 888 ui/base/l10n/l10n_util.cc return width; width 20 ui/base/models/table_model.cc width(-1), width 26 ui/base/models/table_model.cc TableColumn::TableColumn(int id, Alignment alignment, int width, float percent) width 30 ui/base/models/table_model.cc width(width), width 100 ui/base/models/table_model.h TableColumn(int id, Alignment alignment, int width, float percent); width 124 ui/base/models/table_model.h int width; width 117 ui/base/resource/resource_bundle.cc gfx::ToCeiledInt(image.width() * scale), width 127 ui/base/resource/resource_bundle.cc image.width(), image.height()); width 82 ui/base/resource/resource_bundle_win.cc gfx::Size unscaled_size(image.width(), image.height()); width 89 ui/base/resource/resource_bundle_win.cc scaled_size.width(), width 91 ui/base/resource/resource_bundle_win.cc DCHECK_EQ(scaled_image.width(), scaled_size.width()); width 33 ui/base/webui/web_ui_util.cc "width", bitmap.width(), "height", bitmap.height()); width 398 ui/base/x/x11_util.cc if (cursor_image->width() > kMaxPixel || cursor_image->height() > kMaxPixel) { width 400 ui/base/x/x11_util.cc if (cursor_image->width() > cursor_image->height()) width 401 ui/base/x/x11_util.cc scale = kMaxPixel / cursor_image->width(); width 407 ui/base/x/x11_util.cc static_cast<int>(cursor_image->width() * scale), width 414 ui/base/x/x11_util.cc XcursorImage* image = XcursorImageCreate(bitmap->width(), bitmap->height()); width 415 ui/base/x/x11_util.cc image->xhot = std::min(bitmap->width() - 1, hotspot_point.x()); width 418 ui/base/x/x11_util.cc if (bitmap->width() && bitmap->height()) { width 423 ui/base/x/x11_util.cc bitmap->width() * bitmap->height() * 4); width 589 ui/base/x/x11_util.cc root_bounds.width(), width 625 ui/base/x/x11_util.cc unsigned int width, height; width 629 ui/base/x/x11_util.cc &width, &height, &border_width, &depth)) width 636 ui/base/x/x11_util.cc *rect = gfx::Rect(x, y, width, height); width 696 ui/base/x/x11_util.cc shape_rects[i].width, shape_rects[i].height); width 1224 ui/base/x/x11_util.cc source_bounds.width(), source_bounds.height(), width 1246 ui/base/x/x11_util.cc for (int i = 0; i < image->width * image->height * 4; i += 4) width 1250 ui/base/x/x11_util.cc bitmap.installPixels(SkImageInfo::MakeN32Premul(image->width, width 1405 ui/base/x/x11_util.cc monitor_rect.width == window_rect.width() && width 1415 ui/base/x/x11_util.cc int width = WidthOfScreen(screen); width 1417 ui/base/x/x11_util.cc return window_rect.size() == gfx::Size(width, height); width 66 ui/compositor/debug_utils.cc *out << L' ' << layer->bounds().width() << L'x' << layer->bounds().height(); width 608 ui/compositor/layer.cc sk_damaged.width(), width 965 ui/compositor/layer.cc static_cast<float>(size.width())/texture_size.width(), width 1973 ui/compositor/layer_animator_unittest.cc if (bounds.width() > max_width_) width 173 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, layer->bounds().width(), layer->bounds().height())); width 236 ui/compositor/layer_unittest.cc paint_size_ = gfx::Size(size.width(), size.height()); width 442 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, layer->bounds().width(), layer->bounds().height())); width 839 ui/compositor/layer_unittest.cc EXPECT_GE(viewport_size.width(), 200); width 848 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, viewport_size.width(), blue_height))); width 859 ui/compositor/layer_unittest.cc for (int x = 0; x < viewport_size.width(); x++) { width 58 ui/compositor/test/test_compositor_host_x11.cc bounds_.x(), bounds_.y(), bounds_.width(), bounds_.height(), width 35 ui/compositor/test/test_utils.cc EXPECT_FLOAT_EQ(lhs.width(), rhs.width()); width 22 ui/display/chromeos/display_mode.cc size_.width(), width 647 ui/display/chromeos/output_configurator.cc external_native_info->size().width() * external_info.size().height() == width 648 ui/display/chromeos/output_configurator.cc external_native_info->size().height() * external_info.size().width(); width 658 ui/display/chromeos/output_configurator.cc if (internal_info.size().width() == external_info.size().width() && width 672 ui/display/chromeos/output_configurator.cc bool can_fit = internal_native_info->size().width() >= width 673 ui/display/chromeos/output_configurator.cc external_info.size().width() && width 785 ui/display/chromeos/output_configurator.cc << ", current size:" << size.width() << "x" << size.height() width 845 ui/display/chromeos/output_configurator.cc size.set_width(std::max<int>(size.width(), mode_info->size().width())); width 969 ui/display/chromeos/output_configurator.cc native_mode_info->size().width() == 0 || width 970 ui/display/chromeos/output_configurator.cc mirror_mode_info->size().width() == 0) width 973 ui/display/chromeos/output_configurator.cc float native_mode_ar = static_cast<float>(native_mode_info->size().width()) / width 975 ui/display/chromeos/output_configurator.cc float mirror_mode_ar = static_cast<float>(mirror_mode_info->size().width()) / width 1025 ui/display/chromeos/output_configurator.cc ctm.x_scale = static_cast<float>(mode_info->size().width() - 1) / width 1026 ui/display/chromeos/output_configurator.cc (framebuffer_size.width() - 1); width 1028 ui/display/chromeos/output_configurator.cc static_cast<float>(new_origin.x()) / (framebuffer_size.width() - 1); width 1045 ui/display/chromeos/output_configurator.cc native_mode_info->size().width() == 0 || width 1046 ui/display/chromeos/output_configurator.cc mirror_mode_info->size().width() == 0) width 1049 ui/display/chromeos/output_configurator.cc float width_ratio = static_cast<float>(mirror_mode_info->size().width()) / width 1050 ui/display/chromeos/output_configurator.cc static_cast<float>(native_mode_info->size().width()); width 79 ui/display/chromeos/output_configurator_unittest.cc size.width(), width 582 ui/display/chromeos/output_configurator_unittest.cc GetFramebufferAction(gfx::Size(big_mode_.size().width(), kDualHeight), width 634 ui/display/chromeos/output_configurator_unittest.cc GetFramebufferAction(gfx::Size(big_mode_.size().width(), kDualHeight), width 773 ui/display/chromeos/output_configurator_unittest.cc GetFramebufferAction(gfx::Size(big_mode_.size().width(), kDualHeight), width 819 ui/display/chromeos/output_configurator_unittest.cc GetFramebufferAction(gfx::Size(big_mode_.size().width(), kDualHeight), width 843 ui/display/chromeos/output_configurator_unittest.cc GetFramebufferAction(gfx::Size(big_mode_.size().width(), kDualHeight), width 1243 ui/display/chromeos/output_configurator_unittest.cc const int kDualWidth = big_mode_.size().width(); width 1259 ui/display/chromeos/output_configurator_unittest.cc EXPECT_EQ(small_mode_.size().width() - 1, width 1263 ui/display/chromeos/output_configurator_unittest.cc EXPECT_EQ(big_mode_.size().width() - 1, width 1332 ui/display/chromeos/output_configurator_unittest.cc gfx::Size(modes[0]->size().width(), width 53 ui/display/chromeos/x11/display_snapshot_x11.cc physical_size_.width(), width 304 ui/display/chromeos/x11/native_display_delegate_x11.cc VLOG(1) << "CreateFrameBuffer: new=" << size.width() << "x" << size.height() width 306 ui/display/chromeos/x11/native_display_delegate_x11.cc if (size.width() == current_width && size.height() == current_height) width 310 ui/display/chromeos/x11/native_display_delegate_x11.cc int mm_width = size.width() * kPixelsToMmScale; width 313 ui/display/chromeos/x11/native_display_delegate_x11.cc display_, window_, size.width(), size.height(), mm_width, mm_height); width 333 ui/display/chromeos/x11/native_display_delegate_x11.cc new DisplayModeX11(gfx::Size(info.width, info.height), width 552 ui/display/chromeos/x11/native_display_delegate_x11.cc if (mode_info->size().width() > current_width || width 38 ui/display/chromeos/x11/touchscreen_delegate_x11.cc double width = -1.0; width 53 ui/display/chromeos/x11/touchscreen_delegate_x11.cc width = valuator_info->max; width 74 ui/display/chromeos/x11/touchscreen_delegate_x11.cc if (width > 0.0 && height > 0.0 && is_direct_touch) { width 90 ui/display/chromeos/x11/touchscreen_delegate_x11.cc if (std::abs(mode_info->size().width() - width) <= 1.0 && width 95 ui/display/chromeos/x11/touchscreen_delegate_x11.cc << output->touch_device_id << " width " << width << " height " width 104 ui/display/chromeos/x11/touchscreen_delegate_x11.cc << " id " << info[i].deviceid << " width " << width width 27 ui/display/display_util.cc if (physical_size.width() <= kInvalidDisplaySizeList[0][0] || width 54 ui/events/gesture_detection/gesture_config_helper_android.cc config.screen_width_pixels = display.GetSizeInPixel().width(); width 49 ui/events/gesture_detection/gesture_config_helper_aura.cc config.screen_width_pixels = display.GetSizeInPixel().width(); width 226 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_EQ(10, GetMostRecentGestureEvent().details.bounding_box().width()); width 255 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_EQ(10, GetMostRecentGestureEvent().details.bounding_box().width()); width 442 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_EQ(10, double_tap.details.bounding_box().width()); width 37 ui/events/gesture_event_details.cc data.first_finger_enclosing_rectangle.width = delta_x; width 106 ui/events/gesture_event_details.h return data.first_finger_enclosing_rectangle.width; width 180 ui/events/gesture_event_details.h float width; width 427 ui/events/gestures/gesture_sequence.cc float width = rect.width() * rect.width(); width 429 ui/events/gestures/gesture_sequence.cc return sqrt(width + height); width 1122 ui/events/gestures/gesture_sequence.cc rect.width(), width 66 ui/events/ozone/evdev/touch_event_converter_evdev.cc x_scale_ = (double)size.width() / (x_max_ - x_min_); width 28 ui/gfx/android/java_bitmap.cc size_ = gfx::Size(info.width, info.height); width 60 ui/gfx/android/java_bitmap.cc ScopedJavaLocalRef<jobject> CreateJavaBitmap(int width, width 63 ui/gfx/android/java_bitmap.cc DCHECK_GT(width, 0); width 67 ui/gfx/android/java_bitmap.cc AttachCurrentThread(), width, height, java_bitmap_config); width 78 ui/gfx/android/java_bitmap.cc env, jname.obj(), size.width(), size.height()); width 88 ui/gfx/android/java_bitmap.cc skbitmap->width(), skbitmap->height(), bitmap_config); width 110 ui/gfx/android/java_bitmap.cc src_size.width(), width 114 ui/gfx/android/java_bitmap.cc LOG(FATAL) << " Failed to allocate bitmap of size " << src_size.width() width 56 ui/gfx/android/java_bitmap.h int width, width 162 ui/gfx/animation/tween.cc LinearIntValueBetween(value, start_bounds.width(), target_bounds.width()), width 45 ui/gfx/blit.cc clip_bounds.fRight != bitmap.width() || width 60 ui/gfx/blit.cc dst_rect.width(), dst_rect.height(), width 91 ui/gfx/blit.cc dst_rect.width(), dst_rect.height()); width 159 ui/gfx/blit.cc in_clip, gfx::Rect(0, 0, bitmap.width(), bitmap.height())); width 169 ui/gfx/blit.cc size_t row_bytes = dest_rect.width() * 4; width 26 ui/gfx/blit_unittest.cc ASSERT_EQ(w, bitmap.width()); width 46 ui/gfx/blit_unittest.cc ASSERT_EQ(w, bitmap.width()); width 30 ui/gfx/canvas.cc owned_canvas_ = skia::AdoptRef(skia::CreatePlatformCanvas(pixel_size.width(), width 77 ui/gfx/canvas.cc owned_canvas_ = skia::AdoptRef(skia::CreatePlatformCanvas(pixel_size.width(), width 88 ui/gfx/canvas.cc int* width, width 92 ui/gfx/canvas.cc float fractional_width = *width; width 96 ui/gfx/canvas.cc *width = std::ceil(fractional_width); width 103 ui/gfx/canvas.cc int width = 0, height = 0; width 104 ui/gfx/canvas.cc SizeStringInt(text, font_list, &width, &height, 0, NO_ELLIPSIS); width 105 ui/gfx/canvas.cc return width; width 111 ui/gfx/canvas.cc float width = 0, height = 0; width 112 ui/gfx/canvas.cc SizeStringFloat(text, font_list, &width, &height, 0, NO_ELLIPSIS); width 113 ui/gfx/canvas.cc return width; width 127 ui/gfx/canvas.cc result.allocN32Pixels(size.width(), size.height()); width 171 ui/gfx/canvas.cc DrawRect(Rect(rect.x(), rect.y(), rect.width(), 1), paint); width 172 ui/gfx/canvas.cc DrawRect(Rect(rect.x(), rect.y() + rect.height() - 1, rect.width(), 1), width 175 ui/gfx/canvas.cc DrawRect(Rect(rect.x() + rect.width() - 1, rect.y(), 1, rect.height()), width 212 ui/gfx/canvas.cc bounds->SetRect(out.left(), out.top(), out.width(), out.height()); width 562 ui/gfx/canvas.cc rect.width(), rect.height()); width 128 ui/gfx/canvas.h int* width, width 137 ui/gfx/canvas.h float* width, width 14 ui/gfx/canvas_android.cc float* width, width 57 ui/gfx/canvas_paint_gtk.cc RecreateBackingCanvas(Size(bounds.width, bounds.height), 1.0f, opaque); width 93 ui/gfx/canvas_paint_gtk.cc GdkRectangle bounds = {0, 0, size_.width(), size_.height()}; width 55 ui/gfx/canvas_paint_win.cc const int width = ps_.rcPaint.right - ps_.rcPaint.left; width 58 ui/gfx/canvas_paint_win.cc RecreateBackingCanvas(gfx::Size(width, height), width 71 ui/gfx/canvas_skia.cc if (x < bitmap.width() - 1 && width 103 ui/gfx/canvas_skia.cc int width, width 108 ui/gfx/canvas_skia.cc *text = gfx::ElideText(*text, font_list, width, gfx::ELIDE_AT_END); width 162 ui/gfx/canvas_skia.cc float* width, float* height, width 165 ui/gfx/canvas_skia.cc DCHECK_GE(*width, 0); width 173 ui/gfx/canvas_skia.cc if ((flags & MULTI_LINE) && *width != 0) { width 180 ui/gfx/canvas_skia.cc Rect rect(*width, INT_MAX); width 183 ui/gfx/canvas_skia.cc rect.width(), rect.height(), width 195 ui/gfx/canvas_skia.cc w = std::max(w, string_size.width()); width 198 ui/gfx/canvas_skia.cc *width = w; width 205 ui/gfx/canvas_skia.cc *width = font_list.GetExpectedTextWidth(adjusted_text.length()); width 209 ui/gfx/canvas_skia.cc Rect rect(*width, *height); width 214 ui/gfx/canvas_skia.cc *width = string_size.width(); width 256 ui/gfx/canvas_skia.cc text_bounds.width(), text_bounds.height(), width 305 ui/gfx/canvas_skia.cc text_bounds.width(), width 338 ui/gfx/canvas_skia.cc Size size(display_rect.width() + 2, display_rect.height() + 2); width 348 ui/gfx/canvas_skia.cc Rect(1, 1, display_rect.width(), display_rect.height()), flags); width 356 ui/gfx/canvas_skia.cc for (int cur_x = 0; cur_x < text_bitmap.width(); cur_x++) { width 392 ui/gfx/canvas_skia.cc if (GetStringWidth(text, font_list) <= display_rect.width()) { width 21 ui/gfx/canvas_unittest.cc gfx::Size SizeStringInt(const char *text, int width, int line_height) { width 26 ui/gfx/canvas_unittest.cc Canvas::SizeStringInt(text16, font_list_, &width, &height, line_height, width 28 ui/gfx/canvas_unittest.cc return gfx::Size(width, height); width 45 ui/gfx/canvas_unittest.cc EXPECT_EQ(0, size.width()); width 59 ui/gfx/canvas_unittest.cc EXPECT_EQ(one_line_size.width(), four_line_size.width()); width 93 ui/gfx/codec/png_codec.cc width(0), width 105 ui/gfx/codec/png_codec.cc width(0), width 125 ui/gfx/codec/png_codec.cc int width; width 182 ui/gfx/codec/png_codec.cc state->width = static_cast<int>(w); width 280 ui/gfx/codec/png_codec.cc state->width, state->height); width 284 ui/gfx/codec/png_codec.cc state->width * state->output_channels * state->height); width 307 ui/gfx/codec/png_codec.cc unsigned char* dest = &base[state->width * state->output_channels * row_num]; width 432 ui/gfx/codec/png_codec.cc *w = state.width; width 576 ui/gfx/codec/png_codec.cc int width, int height, int row_byte_width, width 600 ui/gfx/codec/png_codec.cc png_set_IHDR(png_ptr, info_ptr, width, height, 8, png_output_color_type, width 621 ui/gfx/codec/png_codec.cc row_buffer = new unsigned char[width * output_color_components]; width 623 ui/gfx/codec/png_codec.cc converter(&input[y * row_byte_width], width, row_buffer, NULL); width 684 ui/gfx/codec/png_codec.cc if (row_byte_width < 4 * size.width()) { width 713 ui/gfx/codec/png_codec.cc DCHECK(input_color_components * size.width() <= row_byte_width); width 729 ui/gfx/codec/png_codec.cc size.width(), size.height(), row_byte_width, width 752 ui/gfx/codec/png_codec.cc Size(input.width(), input.height()), width 151 ui/gfx/codec/png_codec_unittest.cc const int width, width 165 ui/gfx/codec/png_codec_unittest.cc input_rowbytes = width; width 168 ui/gfx/codec/png_codec_unittest.cc input_rowbytes = width * 2; width 173 ui/gfx/codec/png_codec_unittest.cc input_rowbytes = width; width 176 ui/gfx/codec/png_codec_unittest.cc input_rowbytes = width * 3; width 179 ui/gfx/codec/png_codec_unittest.cc input_rowbytes = width * 4; width 182 ui/gfx/codec/png_codec_unittest.cc input_rowbytes = width * 3; width 187 ui/gfx/codec/png_codec_unittest.cc input_rowbytes = width * 4; width 216 ui/gfx/codec/png_codec_unittest.cc png_set_IHDR(png_ptr, info_ptr, width, height, 8, output_color_type, width 135 ui/gfx/color_analysis.cc int pixel_count = std::min(bitmap.width() * bitmap.height(), buffer_size); width 156 ui/gfx/color_analysis.cc int GridSampler::GetSample(int width, int height) { width 172 ui/gfx/color_analysis.cc (calls_ / kNumberOfClusters) * ((width - 2 * kPadX) / kNumberOfClusters); width 175 ui/gfx/color_analysis.cc int index = x + (y * width); width 177 ui/gfx/color_analysis.cc return index % (width * height); width 181 ui/gfx/color_analysis.cc int width, width 191 ui/gfx/color_analysis.cc for (int i = 0; i < width * height; ++i) { width 389 ui/gfx/color_analysis.cc int pixel_count = bitmap.width() * bitmap.height(); width 396 ui/gfx/color_analysis.cc bitmap.width(), width 426 ui/gfx/color_analysis.cc for (int x = 0; x < bitmap.width(); ++x, ++current_color) { width 448 ui/gfx/color_analysis.cc int pixel_n = bitmap.width() * bitmap.height(); width 484 ui/gfx/color_analysis.cc DCHECK_EQ(source_bitmap.width(), target_bitmap->width()); width 503 ui/gfx/color_analysis.cc for (int x = 0; x < source_bitmap.width(); ++x) { width 529 ui/gfx/color_analysis.cc for (int x = 0; x < source_bitmap.width(); ++x) { width 30 ui/gfx/color_analysis.h virtual int GetSample(int width, int height) = 0; width 43 ui/gfx/color_analysis.h virtual int GetSample(int width, int height) OVERRIDE; width 52 ui/gfx/color_analysis.h GFX_EXPORT SkColor FindClosestColor(const uint8_t* image, int width, int height, width 107 ui/gfx/color_analysis_unittest.cc virtual int GetSample(int width, int height) OVERRIDE { width 143 ui/gfx/color_analysis_unittest.cc for (int x = 0; x < bitmap.width(); ++x, ++current_color) { width 234 ui/gfx/color_analysis_unittest.cc bitmap.width(), width 244 ui/gfx/color_analysis_unittest.cc bitmap.width(), width 201 ui/gfx/color_utils.cc int pixel_width = bitmap.width(); width 11 ui/gfx/favicon_size.cc void CalculateFaviconTargetSize(int* width, int* height) { width 12 ui/gfx/favicon_size.cc if (*width > kFaviconSize || *height > kFaviconSize) { width 14 ui/gfx/favicon_size.cc float aspect_ratio = static_cast<float>(*width) / width 17 ui/gfx/favicon_size.cc *width = static_cast<int>(aspect_ratio * *height); width 18 ui/gfx/favicon_size.cc if (*width > kFaviconSize) { width 19 ui/gfx/favicon_size.cc *width = kFaviconSize; width 20 ui/gfx/favicon_size.cc *height = static_cast<int>(*width / aspect_ratio); width 18 ui/gfx/favicon_size.h GFX_EXPORT void CalculateFaviconTargetSize(int* width, int* height); width 12 ui/gfx/gdi_util.cc void CreateBitmapHeader(int width, int height, BITMAPINFOHEADER* hdr) { width 13 ui/gfx/gdi_util.cc CreateBitmapHeaderWithColorDepth(width, height, 32, hdr); width 16 ui/gfx/gdi_util.cc void CreateBitmapHeaderWithColorDepth(int width, int height, int color_depth, width 20 ui/gfx/gdi_util.cc hdr->biWidth = width; width 32 ui/gfx/gdi_util.cc void CreateBitmapV4Header(int width, int height, BITMAPV4HEADER* hdr) { width 36 ui/gfx/gdi_util.cc CreateBitmapHeader(width, height, &header_v3); width 49 ui/gfx/gdi_util.cc void CreateMonochromeBitmapHeader(int width, width 53 ui/gfx/gdi_util.cc hdr->biWidth = width; width 18 ui/gfx/gdi_util.h GFX_EXPORT void CreateBitmapHeader(int width, int height, width 23 ui/gfx/gdi_util.h void CreateBitmapHeaderWithColorDepth(int width, int height, int color_depth, width 29 ui/gfx/gdi_util.h GFX_EXPORT void CreateBitmapV4Header(int width, int height, width 33 ui/gfx/gdi_util.h void CreateMonochromeBitmapHeader(int width, int height, BITMAPINFOHEADER* hdr); width 22 ui/gfx/geometry/box_f.h BoxF(float width, float height, float depth) width 23 ui/gfx/geometry/box_f.h : width_(width < 0 ? 0 : width), width 27 ui/gfx/geometry/box_f.h BoxF(float x, float y, float z, float width, float height, float depth) width 29 ui/gfx/geometry/box_f.h width_(width < 0 ? 0 : width), width 33 ui/gfx/geometry/box_f.h BoxF(const Point3F& origin, float width, float height, float depth) width 35 ui/gfx/geometry/box_f.h width_(width < 0 ? 0 : width), width 75 ui/gfx/geometry/box_f.h float width() const { return width_; } width 76 ui/gfx/geometry/box_f.h void set_width(float width) { width_ = width < 0 ? 0 : width; } width 84 ui/gfx/geometry/box_f.h float right() const { return x() + width(); } width 88 ui/gfx/geometry/box_f.h void set_size(float width, float height, float depth) { width 89 ui/gfx/geometry/box_f.h width_ = width < 0 ? 0 : width; width 131 ui/gfx/geometry/box_f.h b.width() * x_scale, width 141 ui/gfx/geometry/box_f.h return a.origin() == b.origin() && a.width() == b.width() && width 153 ui/gfx/geometry/box_f.h b.width(), width 24 ui/gfx/geometry/insets_base.h Type width() const { return left_ + right_; } width 31 ui/gfx/geometry/insets_base.h bool empty() const { return width() == 0 && height() == 0; } width 15 ui/gfx/geometry/insets_unittest.cc EXPECT_EQ(0, insets.width()); width 26 ui/gfx/geometry/insets_unittest.cc EXPECT_EQ(6, insets.width()); // Left + right. width 35 ui/gfx/geometry/rect.cc set_width(r.size.width); width 41 ui/gfx/geometry/rect.cc set_width(r.width); width 57 ui/gfx/geometry/rect.cc return CGRectMake(x(), y(), width(), height()); width 61 ui/gfx/geometry/rect.cc GdkRectangle r = {x(), y(), width(), height()}; width 43 ui/gfx/geometry/rect.h Rect(int width, int height) width 45 ui/gfx/geometry/rect.h (Size(width, height)) {} width 47 ui/gfx/geometry/rect.h Rect(int x, int y, int width, int height) width 49 ui/gfx/geometry/rect.h (Point(x, y), Size(width, height)) {} width 78 ui/gfx/geometry/rect.h return RectF(origin().x(), origin().y(), size().width(), size().height()); width 116 ui/gfx/geometry/rect.h int r = rect.width() == 0 ? x : std::ceil(rect.right() * x_scale); width 130 ui/gfx/geometry/rect.h int r = rect.width() == 0 ? x : std::floor(rect.right() * x_scale); width 35 ui/gfx/geometry/rect_base.h Type width() const { return size_.width(); } width 36 ui/gfx/geometry/rect_base.h void set_width(Type width) { size_.set_width(width); } width 47 ui/gfx/geometry/rect_base.h Type right() const { return x() + width(); } width 58 ui/gfx/geometry/rect_base.h void SetRect(Type x, Type y, Type width, Type height); width 39 ui/gfx/geometry/rect_base_impl.h SetRect(Type x, Type y, Type width, Type height) { width 41 ui/gfx/geometry/rect_base_impl.h set_width(width); width 65 ui/gfx/geometry/rect_base_impl.h set_width(std::max(width() - left - right, static_cast<Type>(0))); width 111 ui/gfx/geometry/rect_base_impl.h if (width() == other.width()) { width 114 ui/gfx/geometry/rect_base_impl.h return width() < other.width(); width 253 ui/gfx/geometry/rect_base_impl.h Type new_width = width(); width 255 ui/gfx/geometry/rect_base_impl.h AdjustAlongAxis(rect.x(), rect.width(), &new_x, &new_width); width 268 ui/gfx/geometry/rect_base_impl.h return PointClass(x() + width() / 2, y() + height() / 2); width 279 ui/gfx/geometry/rect_base_impl.h Type new_width = std::min(width(), size.width()); width 281 ui/gfx/geometry/rect_base_impl.h Type new_x = x() + (width() - new_width) / 2; width 297 ui/gfx/geometry/rect_base_impl.h left_half->SetRect(x(), y(), width() / 2, height()); width 300 ui/gfx/geometry/rect_base_impl.h width() - left_half->width(), width 314 ui/gfx/geometry/rect_base_impl.h (x() == rect.x() && width() == rect.width() && width 342 ui/gfx/geometry/rect_base_impl.h Class c(x(), y(), width(), height()); width 349 ui/gfx/geometry/rect_base_impl.h Type x = std::max<Type>(0, c.width() - width() - rect.width() + kEpsilon); width 20 ui/gfx/geometry/rect_conversions.cc int width = rect.width() == 0 ? 0 : std::max(ToCeiledInt(max_x) - min_x, 0); width 22 ui/gfx/geometry/rect_conversions.cc return Rect(min_x, min_y, width, height); width 30 ui/gfx/geometry/rect_conversions.cc int width = std::max(ToFlooredInt(max_x) - min_x, 0); width 32 ui/gfx/geometry/rect_conversions.cc return Rect(min_x, min_y, width, height); width 77 ui/gfx/geometry/rect_conversions.cc ToFlooredInt(rect.width()), width 24 ui/gfx/geometry/rect_f.cc IsExpressibleAsInt(width()) && IsExpressibleAsInt(height()) && width 27 ui/gfx/geometry/rect_f.h RectF(float width, float height) width 29 ui/gfx/geometry/rect_f.h (SizeF(width, height)) {} width 31 ui/gfx/geometry/rect_f.h RectF(float x, float y, float width, float height) width 33 ui/gfx/geometry/rect_f.h (PointF(x, y), SizeF(width, height)) {} width 74 ui/gfx/geometry/rect_f.h lhs.width(), lhs.height()); width 79 ui/gfx/geometry/rect_f.h lhs.width(), lhs.height()); width 92 ui/gfx/geometry/rect_f.h r.width() * x_scale, r.height() * y_scale); width 118 ui/gfx/geometry/rect_unittest.cc EXPECT_EQ(r3.width(), ir.width()); width 167 ui/gfx/geometry/rect_unittest.cc EXPECT_EQ(r3.width(), u.width()); width 220 ui/gfx/geometry/rect_unittest.cc EXPECT_EQ(r3.width(), u.width()); width 463 ui/gfx/geometry/rect_unittest.cc EXPECT_FLOAT_AND_NAN_EQ(r2.width(), scaled.width()); width 513 ui/gfx/geometry/rect_unittest.cc EXPECT_FLOAT_AND_NAN_EQ(r2.width(), enclosed.width()); width 565 ui/gfx/geometry/rect_unittest.cc EXPECT_FLOAT_AND_NAN_EQ(r2.width(), enclosed.width()); width 609 ui/gfx/geometry/rect_unittest.cc EXPECT_FLOAT_EQ(r2.width(), floored.width()); width 19 ui/gfx/geometry/size.cc : SizeBase<Size, int>(s.width, s.height) { width 23 ui/gfx/geometry/size.cc set_width(s.width); width 32 ui/gfx/geometry/size.cc s.cx = width(); width 38 ui/gfx/geometry/size.cc return CGSizeMake(width(), height()); width 43 ui/gfx/geometry/size.cc return base::StringPrintf("%dx%d", width(), height()); width 29 ui/gfx/geometry/size.h Size(int width, int height) : SizeBase<Size, int>(width, height) {} width 47 ui/gfx/geometry/size.h return SizeF(width(), height()); width 54 ui/gfx/geometry/size.h return lhs.width() == rhs.width() && lhs.height() == rhs.height(); width 16 ui/gfx/geometry/size_base.h Type width() const { return width_; } width 21 ui/gfx/geometry/size_base.h void SetSize(Type width, Type height) { width 22 ui/gfx/geometry/size_base.h set_width(width); width 26 ui/gfx/geometry/size_base.h void Enlarge(Type width, Type height) { width 27 ui/gfx/geometry/size_base.h set_width(width_ + width); width 31 ui/gfx/geometry/size_base.h void set_width(Type width) { width 32 ui/gfx/geometry/size_base.h width_ = width < 0 ? 0 : width; width 53 ui/gfx/geometry/size_base.h SizeBase(Type width, Type height) width 54 ui/gfx/geometry/size_base.h : width_(width < 0 ? 0 : width), width 12 ui/gfx/geometry/size_conversions.cc int w = ToFlooredInt(size.width()); width 18 ui/gfx/geometry/size_conversions.cc int w = ToCeiledInt(size.width()); width 24 ui/gfx/geometry/size_conversions.cc int w = ToRoundedInt(size.width()); width 14 ui/gfx/geometry/size_f.cc return base::StringPrintf("%fx%f", width(), height()); width 20 ui/gfx/geometry/size_f.h SizeF(float width, float height) : SizeBase<SizeF, float>(width, height) {} width 28 ui/gfx/geometry/size_f.h SetSize(width() * x_scale, height() * y_scale); width 35 ui/gfx/geometry/size_f.h return lhs.width() == rhs.width() && lhs.height() == rhs.height(); width 16 ui/gfx/geometry/size_unittest.cc return s.width(); width 24 ui/gfx/geometry/size_unittest.cc float width = TestSizeF(a); width 25 ui/gfx/geometry/size_unittest.cc EXPECT_EQ(width, a.width()); width 72 ui/gfx/gtk_compat.h inline void gdk_pixmap_get_size(GdkPixmap* pixmap, gint* width, gint* height) { width 73 ui/gfx/gtk_compat.h gdk_drawable_get_size(GDK_DRAWABLE(pixmap), width, height); width 91 ui/gfx/gtk_compat.h int width; width 92 ui/gfx/gtk_compat.h gdk_drawable_get_size(GDK_DRAWABLE(window), &width, NULL); width 93 ui/gfx/gtk_compat.h return width; width 101 ui/gfx/gtk_preserve_window.cc allocation.width, width 177 ui/gfx/gtk_preserve_window.cc attributes.width = 1; width 214 ui/gfx/gtk_preserve_window.cc allocation->width, allocation->height); width 230 ui/gfx/gtk_preserve_window.cc child_allocation.width = child_requisition.width; width 92 ui/gfx/gtk_util.cc int width = bitmap.width(); width 99 ui/gfx/gtk_util.cc width, height); width 106 ui/gfx/gtk_util.cc for (int x = 0; x < width; x++) { width 170 ui/gfx/icon_util.cc (bitmap.width() <= 0) || (bitmap.height() <= 0) || width 179 ui/gfx/icon_util.cc InitializeBitmapHeader(&bitmap_header, bitmap.width(), bitmap.height()); width 187 ui/gfx/icon_util.cc memcpy(bits, bitmap.getPixels(), bitmap.width() * bitmap.height() * 4); width 199 ui/gfx/icon_util.cc bitmap.width() * bitmap.height()); width 204 ui/gfx/icon_util.cc size_t bytes_per_line = (bitmap.width() + 0xF) / 16 * 2; width 214 ui/gfx/icon_util.cc HBITMAP mono_bitmap = ::CreateBitmap(bitmap.width(), bitmap.height(), 1, 1, width 322 ui/gfx/icon_util.cc icon_size.width(), width 351 ui/gfx/icon_util.cc CreateBitmap(icon_size.width(), width 374 ui/gfx/icon_util.cc bitmap.allocN32Pixels(s.width(), s.height()); width 381 ui/gfx/icon_util.cc InitializeBitmapHeader(&h, s.width(), s.height()); width 410 ui/gfx/icon_util.cc ::DrawIconEx(dib_dc, 0, 0, icon, s.width(), s.height(), 0, NULL, DI_MASK); width 420 ui/gfx/icon_util.cc ::DrawIconEx(dib_dc, 0, 0, icon, s.width(), s.height(), 0, NULL, DI_NORMAL); width 527 ui/gfx/icon_util.cc void IconUtil::InitializeBitmapHeader(BITMAPV5HEADER* header, int width, width 535 ui/gfx/icon_util.cc header->bV5Width = width; width 568 ui/gfx/icon_util.cc DCHECK_LT(bitmap.width(), kLargeIconSize); width 577 ui/gfx/icon_util.cc icon_dir->idEntries[index].bWidth = static_cast<BYTE>(bitmap.width()); width 589 ui/gfx/icon_util.cc icon_image->icHeader.biWidth = bitmap.width(); width 619 ui/gfx/icon_util.cc size_t bitmap_size = bitmap.height() * bitmap.width() * 4; width 621 ui/gfx/icon_util.cc for (size_t i = 0; i < bitmap_size; i += bitmap.width() * 4) { width 622 ui/gfx/icon_util.cc memcpy(buffer + bitmap_size - bitmap.width() * 4 - i, width 624 ui/gfx/icon_util.cc bitmap.width() * 4); width 657 ui/gfx/icon_util.cc *xor_mask_size = bitmap.width() * bitmap.height() * 4; width 680 ui/gfx/icon_util.cc size_t and_line_length = (bitmap.width() + 7) >> 3; width 212 ui/gfx/icon_util.h static void InitializeBitmapHeader(BITMAPV5HEADER* header, int width, width 42 ui/gfx/icon_util_unittest.cc int width, int height) { width 46 ui/gfx/icon_util_unittest.cc width, width 52 ui/gfx/icon_util_unittest.cc SkBitmap CreateBlackSkBitmap(int width, int height) { width 54 ui/gfx/icon_util_unittest.cc bitmap.allocN32Pixels(width, height); width 56 ui/gfx/icon_util_unittest.cc memset(bitmap.getPixels(), 0, width * height * 4); width 134 ui/gfx/icon_util_unittest.cc EXPECT_EQ(256, bitmap.width()); width 146 ui/gfx/icon_util_unittest.cc icon_size.width(), width 212 ui/gfx/icon_util_unittest.cc memset(bitmap->getPixels(), 0, bitmap->width() * bitmap->height()); width 244 ui/gfx/icon_util_unittest.cc memset(bitmap->getPixels(), 0, bitmap->width() * bitmap->height() * 4); width 278 ui/gfx/icon_util_unittest.cc small_icon_size.width(), width 283 ui/gfx/icon_util_unittest.cc EXPECT_EQ(bitmap->width(), small_icon_size.width()); width 292 ui/gfx/icon_util_unittest.cc large_icon_size.width(), width 297 ui/gfx/icon_util_unittest.cc EXPECT_EQ(bitmap->width(), large_icon_size.width()); width 413 ui/gfx/icon_util_unittest.cc EXPECT_EQ(48, bitmap->width()); width 422 ui/gfx/icon_util_unittest.cc EXPECT_EQ(256, bitmap->width()); width 264 ui/gfx/image/image.cc return Size().width(); width 310 ui/gfx/image/image.cc return image_->width(); width 415 ui/gfx/image/image.cc return Size().width(); width 448 ui/gfx/image/image.cc return Size().width(); width 34 ui/gfx/image/image_family.cc float aspect = static_cast<float>(size.width()) / size.height(); width 36 ui/gfx/image/image_family.cc map_[MapKey(aspect, size.width())] = image; width 44 ui/gfx/image/image_family.cc const gfx::Image* ImageFamily::GetBest(int width, int height) const { width 50 ui/gfx/image/image_family.cc if (height == 0 || width == 0) { width 53 ui/gfx/image/image_family.cc width = 0; width 55 ui/gfx/image/image_family.cc desired_aspect = static_cast<float>(width) / height; width 64 ui/gfx/image/image_family.cc width : static_cast<int>(ceilf(height * closest_aspect)); width 107 ui/gfx/image/image_family.cc return GetBest(size.width(), size.height()); width 111 ui/gfx/image/image_family.cc int width) const { width 114 ui/gfx/image/image_family.cc map_.lower_bound(MapKey(aspect, width)); width 33 ui/gfx/image/image_family.h MapKey(float aspect, int width) width 34 ui/gfx/image/image_family.h : std::pair<float, int>(aspect, width) {} width 38 ui/gfx/image/image_family.h int width() const { return second; } width 128 ui/gfx/image/image_family.h const gfx::Image* GetBest(int width, int height) const; width 150 ui/gfx/image/image_family.h const gfx::Image* GetWithExactAspect(float aspect, int width) const; width 38 ui/gfx/image/image_png_rep.cc return gfx::Size(bitmap.width(), bitmap.height()); width 340 ui/gfx/image/image_skia.cc return isNull() ? 0 : storage_->size().width(); width 344 ui/gfx/image/image_skia.cc return gfx::Size(width(), height()); width 128 ui/gfx/image/image_skia.h int width() const; width 42 ui/gfx/image/image_skia_operations.cc SkBitmap::kARGB_8888_Config, pixel_size.width(), pixel_size.height()); width 144 ui/gfx/image/image_skia_operations.cc (first_.width() - second_.width()) / 2, width 230 ui/gfx/image/image_skia_operations.cc bounds.x(), bounds.y(), bounds.width(), bounds.height()), width 355 ui/gfx/image/image_skia_operations.cc if (image_rep.GetWidth() == target_dip_size_.width() && width 363 ui/gfx/image/image_skia_operations.cc target_pixel_size.width(), width 540 ui/gfx/image/image_skia_operations.cc shadow_image_size.Enlarge(shadow_padding.width(), width 555 ui/gfx/image/image_skia_operations.cc gfx::Size(source.height(), source.width())); width 17 ui/gfx/image/image_skia_rep.cc static_cast<int>(size.width() * scale), width 28 ui/gfx/image/image_skia_rep.cc return static_cast<int>(bitmap_.width() / scale_); width 37 ui/gfx/image/image_skia_rep.h int pixel_width() const { return bitmap_.width(); } width 495 ui/gfx/image/image_unittest.cc const int width = 50; width 498 ui/gfx/image/image_unittest.cc bitmap.allocN32Pixels(width, height); width 505 ui/gfx/image/image_unittest.cc canvas.drawRect(SkRect::MakeWH(width, height / 2), red); width 537 ui/gfx/image/image_unittest.cc const int width = 50; width 540 ui/gfx/image/image_unittest.cc bitmap.allocN32Pixels(width, height); width 547 ui/gfx/image/image_unittest.cc canvas.drawRect(SkRect::MakeWH(width, height / 2), red); width 58 ui/gfx/image/image_unittest_util.cc const SkBitmap CreateBitmap(int width, int height) { width 60 ui/gfx/image/image_unittest_util.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); width 66 ui/gfx/image/image_unittest_util.cc gfx::ImageSkia CreateImageSkia(int width, int height) { width 67 ui/gfx/image/image_unittest_util.cc return gfx::ImageSkia::CreateFrom1xBitmap(CreateBitmap(width, height)); width 81 ui/gfx/image/image_unittest_util.cc gfx::Image CreateImage(int width, int height) { width 82 ui/gfx/image/image_unittest_util.cc return gfx::Image::CreateFrom1xBitmap(CreateBitmap(width, height)); width 106 ui/gfx/image/image_unittest_util.cc if (bmp1.width() != bmp2.width() || width 119 ui/gfx/image/image_unittest_util.cc for (int x = 0; x < bmp1.width(); ++x) { width 142 ui/gfx/image/image_unittest_util.cc EXPECT_LE(16, bitmap.width()); width 150 ui/gfx/image/image_unittest_util.cc int width, width 154 ui/gfx/image/image_unittest_util.cc image_skia.width() != width || width 166 ui/gfx/image/image_unittest_util.cc if (image_rep.pixel_width() != static_cast<int>(width * scales[i]) || width 177 ui/gfx/image/image_unittest_util.cc (bmp.width() == 0 && bmp.height() == 0); width 30 ui/gfx/image/image_unittest_util.h const SkBitmap CreateBitmap(int width, int height); width 34 ui/gfx/image/image_unittest_util.h gfx::ImageSkia CreateImageSkia(int width, int height); width 41 ui/gfx/image/image_unittest_util.h gfx::Image CreateImage(int width, int height); width 65 ui/gfx/image/image_unittest_util.h int width, width 43 ui/gfx/image/image_util.cc gfx::JPEGCodec::FORMAT_SkBitmap, bitmap.width(), width 52 ui/gfx/image/image_util.cc *trailing = std::max(1, image.width()) - 1; width 61 ui/gfx/image/image_util.cc if (bitmap.isNull() || bitmap.width() == 0) width 68 ui/gfx/image/image_util.cc int inner_min = bitmap.width(); width 69 ui/gfx/image/image_util.cc for (int x = 0; x < bitmap.width(); ++x) { width 76 ui/gfx/image/image_util.cc if (inner_min < bitmap.width()) width 81 ui/gfx/image/image_util.cc for (int x = bitmap.width() - 1; x > inner_min; --x) { width 92 ui/gfx/image/image_util.cc if (inner_min == bitmap.width()) { width 93 ui/gfx/image/image_util.cc *leading = bitmap.width()/2; width 94 ui/gfx/image/image_util.cc *trailing = bitmap.width()/2 + 1; width 43 ui/gfx/image/image_util_unittest.cc EXPECT_EQ(16, img.width()); width 57 ui/gfx/image/image_util_unittest.cc EXPECT_EQ(16, img_transparent.width()); width 72 ui/gfx/image/image_util_unittest.cc EXPECT_EQ(16, img3.width()); width 87 ui/gfx/image/image_util_unittest.cc EXPECT_EQ(16, img4.width()); width 102 ui/gfx/image/image_util_unittest.cc EXPECT_EQ(16, img5.width()); width 111 ui/gfx/interpolated_transform_unittest.cc int width = 1920; width 116 ui/gfx/interpolated_transform_unittest.cc new_pivot = gfx::Point(width, 0); width 123 ui/gfx/interpolated_transform_unittest.cc new_pivot = old_pivot = gfx::Point(width / 2, height / 2); width 182 ui/gfx/interpolated_transform_unittest.cc target_bounds.height()) / initial_bounds.width(); width 184 ui/gfx/interpolated_transform_unittest.cc target_bounds.width()) / initial_bounds.height(); width 201 ui/gfx/interpolated_transform_unittest.cc gfx::Point(initial_bounds.width() * 0.5, width 28 ui/gfx/nine_image_painter.cc c->DrawImageInt(i, 0, 0, i.width(), i.height(), x, y, w, h, false, paint); width 41 ui/gfx/nine_image_painter.cc DCHECK_GE(image.width(), insets.width()); width 46 ui/gfx/nine_image_painter.cc { 0, insets.left(), image.width() - insets.right(), image.width() }; width 67 ui/gfx/nine_image_painter.cc images_[0].width() + images_[1].width() + images_[2].width(), width 92 ui/gfx/nine_image_painter.cc int w = bounds.width(); width 93 ui/gfx/nine_image_painter.cc int i0w = images_[0].width(); width 94 ui/gfx/nine_image_painter.cc int i2w = images_[2].width(); width 95 ui/gfx/nine_image_painter.cc int i3w = images_[3].width(); width 96 ui/gfx/nine_image_painter.cc int i5w = images_[5].width(); width 97 ui/gfx/nine_image_painter.cc int i6w = images_[6].width(); width 98 ui/gfx/nine_image_painter.cc int i8w = images_[8].width(); width 32 ui/gfx/ozone/dri/dri_skbitmap.cc request.width = info.width(); width 59 ui/gfx/ozone/dri/dri_surface.cc SkImageInfo info = SkImageInfo::Make(size_.width(), width 113 ui/gfx/ozone/dri/dri_surface_factory.cc 0, 0, canvas->getDeviceSize().width(), canvas->getDeviceSize().height()); width 91 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc uint32_t width, width 346 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc for (int j = 0; j < bitmaps[1]->width(); ++j) { width 347 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc if (j < info.width() && i < info.height()) width 194 ui/gfx/ozone/dri/dri_surface_unittest.cc canvas->getDeviceSize().width() / 2, width 205 ui/gfx/ozone/dri/dri_surface_unittest.cc for (int j = 0; j < canvas->getDeviceSize().width(); ++j) { width 206 ui/gfx/ozone/dri/dri_surface_unittest.cc if (i < clip.height() && j < clip.width()) width 95 ui/gfx/ozone/dri/dri_wrapper.cc uint32_t width, width 98 ui/gfx/ozone/dri/dri_wrapper.cc return !drmModeSetCursor(fd_, crtc_id, handle, width, height); width 77 ui/gfx/ozone/dri/dri_wrapper.h uint32_t width, width 140 ui/gfx/ozone/dri/hardware_display_controller.cc surface->size().width(), width 96 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc uint32_t width, width 40 ui/gfx/ozone/impl/file_surface_factory.cc SkImageInfo info = SkImageInfo::MakeN32Premul(viewport_size.width(), width 52 ui/gfx/ozone/impl/file_surface_factory.cc SkBitmap::kARGB_8888_Config, device_->width(), device_->height()); width 143 ui/gfx/pango_util.cc int width, width 175 ui/gfx/pango_util.cc if (width > 0) width 176 ui/gfx/pango_util.cc pango_layout_set_width(layout, width * PANGO_SCALE); width 244 ui/gfx/pango_util.cc int width, width 247 ui/gfx/pango_util.cc SetupPangoLayoutWithoutFont(layout, text, width, text_direction, flags); width 257 ui/gfx/pango_util.cc int width, width 260 ui/gfx/pango_util.cc SetupPangoLayoutWithoutFont(layout, text, width, text_direction, flags); width 65 ui/gfx/pango_util.h int width, width 22 ui/gfx/path_x11.cc rect.width = i.rect().width(); width 106 ui/gfx/render_text.cc const SkScalar width = static_cast<SkScalar>(fade_rect.width()); width 107 ui/gfx/render_text.cc const SkScalar p0 = left / text_rect.width(); width 108 ui/gfx/render_text.cc const SkScalar p1 = (left + width) / text_rect.width(); width 277 ui/gfx/render_text.cc void SkiaTextRenderer::DrawDecorations(int x, int y, int width, bool underline, width 280 ui/gfx/render_text.cc DrawUnderline(x, y, width); width 282 ui/gfx/render_text.cc DrawStrike(x, y, width); width 286 ui/gfx/render_text.cc diagonal_->AddPiece(width, paint_.getColor()); width 299 ui/gfx/render_text.cc void SkiaTextRenderer::DrawUnderline(int x, int y, int width) { width 300 ui/gfx/render_text.cc SkRect r = SkRect::MakeLTRB(x, y + underline_position_, x + width, width 310 ui/gfx/render_text.cc void SkiaTextRenderer::DrawStrike(int x, int y, int width) const { width 314 ui/gfx/render_text.cc const SkRect r = SkRect::MakeLTRB(x, offset, x + width, offset + height); width 726 ui/gfx/render_text.cc return SizeF(size.width(), size.height()); width 730 ui/gfx/render_text.cc return GetStringSize().width() + (cursor_enabled_ ? 1 : 0); width 784 ui/gfx/render_text.cc int x = 0, width = 1; width 790 ui/gfx/render_text.cc x = size.width(); width 799 ui/gfx/render_text.cc width = xspan.length(); width 802 ui/gfx/render_text.cc return Rect(ToViewPoint(Point(x, 0)), Size(width, size.height())); width 980 ui/gfx/render_text.cc for (; line < lines_.size() && x > lines_[line].size.width(); ++line) width 981 ui/gfx/render_text.cc x -= lines_[line].size.width(); width 1025 ui/gfx/render_text.cc const int width = lines_[line_number].size.width() + width 1028 ui/gfx/render_text.cc const int width = GetContentWidth(); width 1030 ui/gfx/render_text.cc offset.set_x(display_rect().width() - width); width 1051 ui/gfx/render_text.cc const int display_width = display_rect().width(); width 1054 ui/gfx/render_text.cc if (GetStringSize().width() <= display_width) width 1075 ui/gfx/render_text.cc left_part.Inset(0, 0, solid_part.width() - gradient_width, 0); width 1080 ui/gfx/render_text.cc right_part.Inset(solid_part.width() - gradient_width, 0, 0, 0); width 1153 ui/gfx/render_text.cc if (elide_behavior_ != NO_ELIDE && display_rect_.width() > 0 && width 1154 ui/gfx/render_text.cc !layout_text_.empty() && GetContentWidth() > display_rect_.width()) { width 1194 ui/gfx/render_text.cc if (current_text_pixel_width <= display_rect_.width()) width 1201 ui/gfx/render_text.cc if (insert_ellipsis && (ellipsis_width >= display_rect_.width())) width 1238 ui/gfx/render_text.cc if (guess_width == display_rect_.width()) width 1240 ui/gfx/render_text.cc if (guess_width > display_rect_.width()) { width 1268 ui/gfx/render_text.cc const int display_width = display_rect_.width(); width 75 ui/gfx/render_text.h void DrawDecorations(int x, int y, int width, bool underline, bool strike, width 79 ui/gfx/render_text.h void DrawUnderline(int x, int y, int width); width 80 ui/gfx/render_text.h void DrawStrike(int x, int y, int width) const; width 28 ui/gfx/render_text_mac.cc return Size(std::ceil(string_size_.width()), string_size_.height()); width 144 ui/gfx/render_text_mac.cc double width = CTLineGetTypographicBounds(line_, &ascent, &descent, &leading); width 154 ui/gfx/render_text_mac.cc string_size_ = SizeF(width, ascent + descent + leading); width 174 ui/gfx/render_text_mac.cc renderer.DrawDecorations(run.origin.x(), run.origin.y(), run.width, width 184 ui/gfx/render_text_mac.cc width(0), width 281 ui/gfx/render_text_mac.cc run->width = run_width; width 58 ui/gfx/render_text_mac.h SkScalar width; width 84 ui/gfx/render_text_pango.cc int width = 0, height = 0; width 85 ui/gfx/render_text_pango.cc pango_layout_get_pixel_size(layout_, &width, &height); width 91 ui/gfx/render_text_pango.cc return Size(width, std::max(height, font_list().GetHeight())); width 105 ui/gfx/render_text_pango.cc if (p.x() > GetStringSize().width()) width 218 ui/gfx/render_text_pango.cc return Range(PANGO_PIXELS(pos.x), PANGO_PIXELS(pos.x + pos.width)); width 241 ui/gfx/render_text_pango.cc int width = PANGO_PIXELS(ranges[2 * i + 1]) - x; width 242 ui/gfx/render_text_pango.cc Rect rect(x, 0, width, height); width 460 ui/gfx/render_text_pango.cc x += pango_units_to_double(glyph.geometry.width); width 320 ui/gfx/render_text_unittest.cc EXPECT_EQ(render_text->GetStringSize().width(), width 1227 ui/gfx/render_text_unittest.cc EXPECT_GT(string_size.width(), 0); width 1245 ui/gfx/render_text_unittest.cc EXPECT_EQ(0, render_text->GetStringSize().width()); width 1321 ui/gfx/render_text_unittest.cc const int plain_width = render_text->GetStringSize().width(); width 1326 ui/gfx/render_text_unittest.cc const int bold_width = render_text->GetStringSize().width(); width 1331 ui/gfx/render_text_unittest.cc const int plain_bold_width = render_text->GetStringSize().width(); width 1532 ui/gfx/render_text_unittest.cc EXPECT_GE(render_text->GetUpdatedCursorBounds().width(), 1); width 1622 ui/gfx/render_text_unittest.cc int width = render_text->GetStringSize().width(); width 1623 ui/gfx/render_text_unittest.cc ASSERT_GT(width, 10); width 1626 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width + 10, 1)); width 1627 ui/gfx/render_text_unittest.cc EXPECT_EQ(width, render_text->GetUpdatedCursorBounds().x()); width 1630 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width - 10, 1)); width 1631 ui/gfx/render_text_unittest.cc EXPECT_EQ(render_text->display_rect().width(), width 1635 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width - 5, 1)); width 1636 ui/gfx/render_text_unittest.cc EXPECT_EQ(render_text->display_rect().width(), width 1640 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width + 10, 1)); width 1641 ui/gfx/render_text_unittest.cc EXPECT_EQ(width, render_text->GetUpdatedCursorBounds().x()); width 1647 ui/gfx/render_text_unittest.cc width = render_text->GetStringSize().width(); width 1648 ui/gfx/render_text_unittest.cc ASSERT_GT(width, 10); width 1651 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width + 10, 1)); width 1652 ui/gfx/render_text_unittest.cc EXPECT_EQ(width, render_text->GetUpdatedCursorBounds().x()); width 1655 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width - 10, 1)); width 1656 ui/gfx/render_text_unittest.cc EXPECT_EQ(render_text->display_rect().width(), width 1660 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width - 5, 1)); width 1661 ui/gfx/render_text_unittest.cc EXPECT_EQ(render_text->display_rect().width(), width 1665 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width + 10, 1)); width 1666 ui/gfx/render_text_unittest.cc EXPECT_EQ(width, render_text->GetUpdatedCursorBounds().x()); width 1677 ui/gfx/render_text_unittest.cc int width = render_text->GetStringSize().width(); width 1678 ui/gfx/render_text_unittest.cc ASSERT_GT(width, 10); width 1681 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width + 10, 1)); width 1682 ui/gfx/render_text_unittest.cc EXPECT_EQ(render_text->display_rect().width() - width - 1, width 1686 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width - 10, 1)); width 1690 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width - 5, 1)); width 1694 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width + 10, 1)); width 1695 ui/gfx/render_text_unittest.cc EXPECT_EQ(render_text->display_rect().width() - width - 1, width 1703 ui/gfx/render_text_unittest.cc width = render_text->GetStringSize().width(); width 1704 ui/gfx/render_text_unittest.cc ASSERT_GT(width, 10); width 1707 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width + 10, 1)); width 1708 ui/gfx/render_text_unittest.cc EXPECT_EQ(render_text->display_rect().width() - width - 1, width 1712 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width - 10, 1)); width 1716 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width - 5, 1)); width 1720 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(Rect(width + 10, 1)); width 1721 ui/gfx/render_text_unittest.cc EXPECT_EQ(render_text->display_rect().width() - width - 1, width 1743 ui/gfx/render_text_unittest.cc const int expected_width = render_text->GetStringSize().width(); width 1745 ui/gfx/render_text_unittest.cc EXPECT_EQ(expected_width, render_text->GetStringSize().width()); width 176 ui/gfx/render_text_win.cc int* width, width 183 ui/gfx/render_text_win.cc *width = 0; width 204 ui/gfx/render_text_win.cc *width += char_width; width 207 ui/gfx/render_text_win.cc if (*width > available_width) { width 208 ui/gfx/render_text_win.cc if (!empty_line || word_width < *width) { width 210 ui/gfx/render_text_win.cc *width -= word_width; width 212 ui/gfx/render_text_win.cc } else if (char_width < *width) { width 214 ui/gfx/render_text_win.cc *width -= char_width; width 276 ui/gfx/render_text_win.cc width(0), width 344 ui/gfx/render_text_win.cc if (multiline_ && line_x_ + run->width <= max_width_) { width 355 ui/gfx/render_text_win.cc AddSegment(run_index, run->range, run->width); width 382 ui/gfx/render_text_win.cc int width = 0; width 389 ui/gfx/render_text_win.cc max_width_ - line_x_, line_x_ == 0, &width, &next_char); width 390 ui/gfx/render_text_win.cc AddSegment(run_index, Range(current_char, next_char), width); width 432 ui/gfx/render_text_win.cc total_size_.set_width(std::max(total_size_.width(), line->size.width())); width 441 ui/gfx/render_text_win.cc void AddSegment(int run_index, Range char_range, int width) { width 443 ui/gfx/render_text_win.cc DCHECK_EQ(width, 0); width 454 ui/gfx/render_text_win.cc segment.x_range = Range(text_x_, text_x_ + width); width 458 ui/gfx/render_text_win.cc line->size.set_width(line->size.width() + segment.x_range.length()); width 467 ui/gfx/render_text_win.cc text_x_ += width; width 468 ui/gfx/render_text_win.cc line_x_ += width; width 771 ui/gfx/render_text_win.cc internal::LineBreaker line_breaker(display_rect().width() - 1, width 1046 ui/gfx/render_text_win.cc run->width = abc.abcA + abc.abcB + abc.abcC; width 1047 ui/gfx/render_text_win.cc preceding_run_widths += run->width; width 1258 ui/gfx/render_text_win.cc ((runs_[run]->preceding_run_widths + runs_[run]->width) > x)) width 37 ui/gfx/render_text_win.h int width; width 42 ui/gfx/screen_gtk.cc gint width = data[2]; width 46 ui/gfx/screen_gtk.cc out_rect->SetRect(x, y, width, height); width 15 ui/gfx/screen_unittest.cc EXPECT_GE(size.width(), 1); width 134 ui/gfx/screen_win.cc DCHECK_EQ(GetSystemMetrics(SM_CXSCREEN), display.size().width()); width 29 ui/gfx/skbitmap_operations.cc inverted.allocN32Pixels(image.width(), image.height()); width 36 ui/gfx/skbitmap_operations.cc for (int x = 0; x < image.width(); ++x) { width 49 ui/gfx/skbitmap_operations.cc DCHECK(first.width() == second.width()); width 58 ui/gfx/skbitmap_operations.cc superimposed.allocN32Pixels(first.width(), first.height()); width 66 ui/gfx/skbitmap_operations.cc rect.fRight = SkIntToScalar(first.width()); width 80 ui/gfx/skbitmap_operations.cc DCHECK(first.width() == second.width()); width 97 ui/gfx/skbitmap_operations.cc blended.allocN32Pixels(first.width(), first.height()); width 107 ui/gfx/skbitmap_operations.cc for (int x = 0; x < first.width(); ++x) { width 130 ui/gfx/skbitmap_operations.cc DCHECK(rgb.width() == alpha.width()); width 137 ui/gfx/skbitmap_operations.cc masked.allocN32Pixels(rgb.width(), rgb.height()); width 149 ui/gfx/skbitmap_operations.cc for (int x = 0; x < masked.width(); ++x) { width 174 ui/gfx/skbitmap_operations.cc background.allocN32Pixels(mask.width(), mask.height()); width 190 ui/gfx/skbitmap_operations.cc for (int x = 0; x < mask.width(); ++x) { width 191 ui/gfx/skbitmap_operations.cc uint32 image_pixel = image_row[x % image.width()]; width 259 ui/gfx/skbitmap_operations.cc int width); width 274 ui/gfx/skbitmap_operations.cc int width) { width 275 ui/gfx/skbitmap_operations.cc for (int x = 0; x < width; x++) { width 285 ui/gfx/skbitmap_operations.cc int width) { width 289 ui/gfx/skbitmap_operations.cc memcpy(out, in, static_cast<size_t>(width) * sizeof(out[0])); width 296 ui/gfx/skbitmap_operations.cc int width) { width 304 ui/gfx/skbitmap_operations.cc for (int x = 0; x < width; x++) { width 320 ui/gfx/skbitmap_operations.cc int width) { width 328 ui/gfx/skbitmap_operations.cc for (int x = 0; x < width; x++) { width 367 ui/gfx/skbitmap_operations.cc int width) { width 374 ui/gfx/skbitmap_operations.cc for (int x = 0; x < width; x++) { width 404 ui/gfx/skbitmap_operations.cc int width) { width 413 ui/gfx/skbitmap_operations.cc for (int x = 0; x < width; x++) { width 443 ui/gfx/skbitmap_operations.cc int width) { width 452 ui/gfx/skbitmap_operations.cc for (int x = 0; x < width; x++) { width 553 ui/gfx/skbitmap_operations.cc shifted.allocN32Pixels(bitmap.width(), bitmap.height()); width 564 ui/gfx/skbitmap_operations.cc (*line_proc)(hsl_shift, pixels, tinted_pixels, bitmap.width()); width 593 ui/gfx/skbitmap_operations.cc int x_pix = (src_x + x) % source.width(); width 595 ui/gfx/skbitmap_operations.cc x_pix += source.width(); width 607 ui/gfx/skbitmap_operations.cc if ((bitmap.width() <= min_w) || (bitmap.height() <= min_h) || width 613 ui/gfx/skbitmap_operations.cc while ((current.width() >= min_w * 2) && (current.height() >= min_h * 2) && width 614 ui/gfx/skbitmap_operations.cc (current.width() > 1) && (current.height() > 1)) width 622 ui/gfx/skbitmap_operations.cc if ((bitmap.width() <= 1) || (bitmap.height() <= 1)) width 626 ui/gfx/skbitmap_operations.cc result.allocN32Pixels((bitmap.width() + 1) / 2, (bitmap.height() + 1) / 2); width 630 ui/gfx/skbitmap_operations.cc const int resultLastX = result.width() - 1; width 631 ui/gfx/skbitmap_operations.cc const int srcLastX = bitmap.width() - 1; width 700 ui/gfx/skbitmap_operations.cc for (int x = 0; x < opaque_bitmap.width(); x++) { width 717 ui/gfx/skbitmap_operations.cc transposed.allocN32Pixels(image.height(), image.width()); width 724 ui/gfx/skbitmap_operations.cc for (int x = 0; x < image.width(); ++x) { width 739 ui/gfx/skbitmap_operations.cc color_mask.allocN32Pixels(bitmap.width(), bitmap.height()); width 764 ui/gfx/skbitmap_operations.cc image_with_shadow.allocN32Pixels(bitmap.width() + shadow_margin.width(), width 804 ui/gfx/skbitmap_operations.cc SkBitmap::kARGB_8888_Config, source.height(), source.width()); width 809 ui/gfx/skbitmap_operations.cc SkBitmap::kARGB_8888_Config, source.width(), source.height()); width 814 ui/gfx/skbitmap_operations.cc SkBitmap::kARGB_8888_Config, source.height(), source.width()); width 821 ui/gfx/skbitmap_operations.cc canvas.translate(SkFloatToScalar(result.width() * 0.5f), width 824 ui/gfx/skbitmap_operations.cc canvas.translate(-SkFloatToScalar(source.width() * 0.5f), width 36 ui/gfx/skbitmap_operations_unittest.cc for (int x = 0; x < a.width(); x++) { width 65 ui/gfx/skbitmap_operations_unittest.cc shifted.setConfig(SkBitmap::kARGB_8888_Config, bitmap.width(), width 78 ui/gfx/skbitmap_operations_unittest.cc for (int x = 0; x < bitmap.width(); ++x) { width 329 ui/gfx/skbitmap_operations_unittest.cc ASSERT_EQ(8, cropped.width()); width 350 ui/gfx/skbitmap_operations_unittest.cc ASSERT_EQ(src_w, cropped.width()); width 398 ui/gfx/skbitmap_operations_unittest.cc EXPECT_EQ(2, result.width()); width 420 ui/gfx/skbitmap_operations_unittest.cc EXPECT_EQ(1, result.width()); width 430 ui/gfx/skbitmap_operations_unittest.cc EXPECT_EQ(300, result.width()); width 439 ui/gfx/skbitmap_operations_unittest.cc EXPECT_EQ(1, result.width()); width 446 ui/gfx/skbitmap_operations_unittest.cc EXPECT_EQ(0, result.width()); width 459 ui/gfx/skbitmap_operations_unittest.cc EXPECT_EQ(10, result.width()); width 464 ui/gfx/skbitmap_operations_unittest.cc EXPECT_EQ(1, result.width()); width 474 ui/gfx/skbitmap_operations_unittest.cc EXPECT_EQ(25, result.width()); width 490 ui/gfx/skbitmap_operations_unittest.cc EXPECT_EQ(2, result.width()); width 505 ui/gfx/skbitmap_operations_unittest.cc for (int x = 0; x < input.width(); ++x) { width 507 ui/gfx/skbitmap_operations_unittest.cc *input.getAddr32(x, y) = x * input.width() + y; width 512 ui/gfx/skbitmap_operations_unittest.cc EXPECT_EQ(3, result.width()); width 516 ui/gfx/skbitmap_operations_unittest.cc for (int x = 0; x < input.width(); ++x) { width 562 ui/gfx/skbitmap_operations_unittest.cc ASSERT_EQ(rotate90.width(), src.height()); width 563 ui/gfx/skbitmap_operations_unittest.cc ASSERT_EQ(rotate90.height(), src.width()); width 564 ui/gfx/skbitmap_operations_unittest.cc ASSERT_EQ(rotate180.width(), src.width()); width 566 ui/gfx/skbitmap_operations_unittest.cc ASSERT_EQ(rotate270.width(), src.height()); width 567 ui/gfx/skbitmap_operations_unittest.cc ASSERT_EQ(rotate270.height(), src.width()); width 29 ui/gfx/skia_util.cc return SkIRect::MakeXYWH(rect.x(), rect.y(), rect.width(), rect.height()); width 33 ui/gfx/skia_util.cc return Rect(rect.x(), rect.y(), rect.width(), rect.height()); width 39 ui/gfx/skia_util.cc SkFloatToScalar(rect.width()), width 46 ui/gfx/skia_util.cc SkScalarToFloat(rect.width()), width 40 ui/gfx/test/gfx_util.cc FloatAlmostEqual(lhs.width(), rhs.width()) && width 143 ui/gfx/test/ui_cocoa_test_helper.h CGFLOAT_EQ(expected.size.width, actual.size.width) && \ width 215 ui/gfx/text_elider_unittest.cc float width; width 228 ui/gfx/text_elider_unittest.cc cases[i].width, TRUNCATE_AT_END); width 247 ui/gfx/text_elider_unittest.cc float width; width 260 ui/gfx/text_elider_unittest.cc cases[i].width, ELIDE_AT_END); width 281 ui/gfx/text_elider_unittest.cc float width; width 295 ui/gfx/text_elider_unittest.cc cases[i].width, ELIDE_AT_BEGINNING); width 339 ui/gfx/text_elider_unittest.cc for (float width = 0; width <= kTestStringWidth; width++) { width 340 ui/gfx/text_elider_unittest.cc result = ElideText(kTestString, font_list, width, TRUNCATE_AT_END); width 343 ui/gfx/text_elider_unittest.cc result = ElideText(kTestString, font_list, width, ELIDE_AT_END); width 346 ui/gfx/text_elider_unittest.cc result = ElideText(kTestString, font_list, width, ELIDE_IN_MIDDLE); width 349 ui/gfx/text_elider_unittest.cc result = ElideText(kTestString, font_list, width, ELIDE_AT_BEGINNING); width 460 ui/gfx/transform.cc point += gfx::Vector3dF(corner & 1 ? box->width() : 0.f, width 41 ui/gfx/win/dpi.cc return static_cast<float>(gfx::GetDPI().width()) / width 35 ui/gfx/win/hwnd_util.cc new_window_rect.width(), new_window_rect.height(), width 137 ui/gfx/win/hwnd_util.cc DCHECK(window && pref.width() > 0 && pref.height() > 0); width 161 ui/gfx/win/hwnd_util.cc if (pref.width() < (center_bounds.right - center_bounds.left)) { width 163 ui/gfx/win/hwnd_util.cc (center_bounds.right - center_bounds.left - pref.width()) / 2; width 165 ui/gfx/win/hwnd_util.cc window_bounds.right = window_bounds.left + pref.width(); width 183 ui/gfx/win/hwnd_util.cc window_bounds.right = window_bounds.left + pref.width(); width 167 ui/gfx/win/window_impl.cc int x, y, width, height; width 169 ui/gfx/win/window_impl.cc x = y = width = height = CW_USEDEFAULT; width 173 ui/gfx/win/window_impl.cc width = bounds.width(); width 182 ui/gfx/win/window_impl.cc window_style_, x, y, width, height, width 21 ui/gfx/x/x11_types.cc int width, int height) { width 25 ui/gfx/x/x11_types.cc data, width, height, width 28 ui/gfx/x/x11_types.cc width, height); width 64 ui/gfx/x/x11_types.cc image.width = data_width; width 34 ui/gfx/x/x11_types.h int width, int height); width 91 ui/gl/android/surface_texture.cc void SurfaceTexture::SetDefaultBufferSize(int width, int height) { width 94 ui/gl/android/surface_texture.cc if (width > 0 && height > 0) { width 96 ui/gl/android/surface_texture.cc env, j_surface_texture_.obj(), static_cast<jint>(width), width 50 ui/gl/android/surface_texture.h void SetDefaultBufferSize(int width, int height); width 120 ui/gl/gl_bindings_skia_in_process.cc GLenum internalformat, GLsizei width, width 123 ui/gl/gl_bindings_skia_in_process.cc glCompressedTexImage2D(target, level, internalformat, width, height, border, width 130 ui/gl/gl_bindings_skia_in_process.cc GLsizei width, GLsizei height) { width 131 ui/gl/gl_bindings_skia_in_process.cc glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); width 358 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLLineWidth(GLfloat width) { width 359 ui/gl/gl_bindings_skia_in_process.cc glLineWidth(width); width 390 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, width 392 ui/gl/gl_bindings_skia_in_process.cc glReadPixels(x, y, width, height, format, type, pixels); width 396 ui/gl/gl_bindings_skia_in_process.cc GLsizei width, GLsizei height) { width 397 ui/gl/gl_bindings_skia_in_process.cc glRenderbufferStorageEXT(target, internalformat, width, height); width 402 ui/gl/gl_bindings_skia_in_process.cc GLsizei width, GLsizei height) { width 403 ui/gl/gl_bindings_skia_in_process.cc glRenderbufferStorageMultisampleEXT(target, samples, internalformat, width, width 407 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLScissor(GLint x, GLint y, GLsizei width, GLsizei height) { width 408 ui/gl/gl_bindings_skia_in_process.cc glScissor(x, y, width, height); width 443 ui/gl/gl_bindings_skia_in_process.cc GLsizei width, GLsizei height, GLint border, width 445 ui/gl/gl_bindings_skia_in_process.cc glTexImage2D(target, level, internalformat, width, height, border, format, width 458 ui/gl/gl_bindings_skia_in_process.cc GLsizei width, GLsizei height) { width 459 ui/gl/gl_bindings_skia_in_process.cc glTexStorage2DEXT(target, levels, internalFormat, width, height); width 463 ui/gl/gl_bindings_skia_in_process.cc GLint yoffset, GLsizei width, GLsizei height, width 465 ui/gl/gl_bindings_skia_in_process.cc glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, width 568 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLViewport(GLint x, GLint y, GLsizei width, GLsizei height) { width 569 ui/gl/gl_bindings_skia_in_process.cc glViewport(x, y, width, height); width 59 ui/gl/gl_context_osmesa.cc size.width(), width 110 ui/gl/gl_context_osmesa.cc GLint width; width 114 ui/gl/gl_context_osmesa.cc OSMesaGetColorBuffer(context_, &width, &height, &format, &buffer); width 129 ui/gl/gl_gl_api_implementation.cc GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, width 135 ui/gl/gl_gl_api_implementation.cc target, level, gl_internal_format, width, height, border, format, gl_type, width 140 ui/gl/gl_gl_api_implementation.cc GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, width 144 ui/gl/gl_gl_api_implementation.cc target, level, xoffset, yoffset, width, height, format, gl_type, pixels); width 148 ui/gl/gl_gl_api_implementation.cc GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, width 152 ui/gl/gl_gl_api_implementation.cc target, levels, gl_internal_format, width, height); width 156 ui/gl/gl_gl_api_implementation.cc GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { width 159 ui/gl/gl_gl_api_implementation.cc target, gl_internal_format, width, height); width 167 ui/gl/gl_gl_api_implementation.cc GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, width 171 ui/gl/gl_gl_api_implementation.cc target, samples, gl_internal_format, width, height); width 104 ui/gl/gl_image_glx.cc unsigned int width = 0; width 109 ui/gl/gl_image_glx.cc display_, pixmap_, &root, &x, &y, &width, &height, &bw, &depth)) { width 124 ui/gl/gl_image_glx.cc size_ = gfx::Size(width, height); width 48 ui/gl/gl_image_io_surface.cc size_.width(), width 155 ui/gl/gl_image_shm.cc size_.width(), width 181 ui/gl/gl_image_shm.cc size_.width(), width 200 ui/gl/gl_image_shm.cc size_.width(), width 188 ui/gl/gl_surface.cc bool GLSurface::PostSubBuffer(int x, int y, int width, int height) { width 283 ui/gl/gl_surface.cc bool GLSurfaceAdapter::PostSubBuffer(int x, int y, int width, int height) { width 284 ui/gl/gl_surface.cc return surface_->PostSubBuffer(x, y, width, height); width 68 ui/gl/gl_surface.h virtual bool PostSubBuffer(int x, int y, int width, int height); width 146 ui/gl/gl_surface.h virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE; width 69 ui/gl/gl_surface_android.cc (size.width() == 0 && size.height() == 0)) { width 351 ui/gl/gl_surface_egl.cc egl_window_attributes.push_back(size_.width()); width 480 ui/gl/gl_surface_egl.cc "width", GetSize().width(), width 493 ui/gl/gl_surface_egl.cc EGLint width; width 495 ui/gl/gl_surface_egl.cc if (!eglQuerySurface(GetDisplay(), surface_, EGL_WIDTH, &width) || width 502 ui/gl/gl_surface_egl.cc return gfx::Size(width, height); width 549 ui/gl/gl_surface_egl.cc int x, int y, int width, int height) { width 551 ui/gl/gl_surface_egl.cc if (!eglPostSubBufferNV(GetDisplay(), surface_, x, y, width, height)) { width 591 ui/gl/gl_surface_egl.cc << size_.width() << " x " << size_.height(); width 600 ui/gl/gl_surface_egl.cc EGL_WIDTH, size_.width(), width 69 ui/gl/gl_surface_egl.h virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE; width 503 ui/gl/gl_surface_glx.cc g_display, parent_window_, 0, 0, size_.width(), size_.height(), 0, width 554 ui/gl/gl_surface_glx.cc size_ = gfx::Size(attributes.width, attributes.height); width 589 ui/gl/gl_surface_glx.cc XResizeWindow(g_display, child_window_, size.width(), size.height()); width 603 ui/gl/gl_surface_glx.cc "width", GetSize().width(), width 684 ui/gl/gl_surface_glx.cc int x, int y, int width, int height) { width 686 ui/gl/gl_surface_glx.cc glXCopySubBufferMESA(g_display, GetDrawableHandle(), x, y, width, height); width 748 ui/gl/gl_surface_glx.cc GLX_PBUFFER_WIDTH, size_.width(), width 65 ui/gl/gl_surface_glx.h virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE; width 47 ui/gl/gl_surface_osmesa.cc int copy_width = std::min(size_.width(), new_size.width()); width 51 ui/gl/gl_surface_osmesa.cc buffer_[y * new_size.width() + x] = old_buffer[y * size_.width() + x]; width 110 ui/gl/gl_surface_ozone.cc (size.width() == 0 && size.height() == 0)) { width 253 ui/gl/gl_surface_wgl.cc "width", GetSize().width(), width 306 ui/gl/gl_surface_wgl.cc size_.width(), size_.height(), width 45 ui/gl/gl_surface_win.cc virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE; width 154 ui/gl/gl_surface_win.cc info.bV4Width = size.width(); width 172 ui/gl/gl_surface_win.cc 0, 0, size.width(), size.height(), width 173 ui/gl/gl_surface_win.cc 0, 0, size.width(), size.height(), width 187 ui/gl/gl_surface_win.cc int x, int y, int width, int height) { width 195 ui/gl/gl_surface_win.cc info.bV4Width = size.width(); width 213 ui/gl/gl_surface_win.cc x, size.height() - y - height, width, height, width 214 ui/gl/gl_surface_win.cc x, y, width, height, width 37 ui/gl/gl_surface_x11.cc virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE; width 162 ui/gl/gl_surface_x11.cc new_size.width(), width 186 ui/gl/gl_surface_x11.cc "width", GetSize().width(), width 204 ui/gl/gl_surface_x11.cc size.width(), width 214 ui/gl/gl_surface_x11.cc size.width(), width 227 ui/gl/gl_surface_x11.cc int x, int y, int width, int height) { width 246 ui/gl/gl_surface_x11.cc size.width(), width 252 ui/gl/gl_surface_x11.cc width, width 262 ui/gl/gl_surface_x11.cc width, width 29 ui/gl/io_surface_support_mac.cc GLsizei width, width 73 ui/gl/io_surface_support_mac.cc GLsizei width, width 196 ui/gl/io_surface_support_mac.cc GLsizei width, width 205 ui/gl/io_surface_support_mac.cc width, width 66 ui/gl/io_surface_support_mac.h GLsizei width, width 223 ui/keyboard/keyboard_controller_unittest.cc before_bounds.width() / 2, before_bounds.height() / 2); width 78 ui/keyboard/keyboard_util.cc window_bounds.width(), width 36 ui/message_center/message_center_style.cc scaled_size.height() / static_cast<double>(scaled_size.width()); width 39 ui/message_center/message_center_style.cc scaled_size.SetSize(container_size.width(), width 40 ui/message_center/message_center_style.cc std::max(0.5 + container_size.width() * proportion, 1.0)); width 42 ui/message_center/views/bounded_label.cc int GetLinesForWidthAndLimit(int width, int limit); width 43 ui/message_center/views/bounded_label.cc gfx::Size GetSizeForWidthAndLines(int width, int lines); width 44 ui/message_center/views/bounded_label.cc std::vector<base::string16> GetWrappedText(int width, int lines); width 55 ui/message_center/views/bounded_label.cc int GetCachedLines(int width); width 56 ui/message_center/views/bounded_label.cc void SetCachedLines(int width, int lines); width 90 ui/message_center/views/bounded_label.cc int InnerBoundedLabel::GetLinesForWidthAndLimit(int width, int limit) { width 91 ui/message_center/views/bounded_label.cc if (width == 0 || limit == 0) width 93 ui/message_center/views/bounded_label.cc int lines = GetCachedLines(width); width 95 ui/message_center/views/bounded_label.cc int text_width = std::max(width - owner_->GetInsets().width(), 0); width 97 ui/message_center/views/bounded_label.cc SetCachedLines(width, lines); width 102 ui/message_center/views/bounded_label.cc gfx::Size InnerBoundedLabel::GetSizeForWidthAndLines(int width, int lines) { width 103 ui/message_center/views/bounded_label.cc if (width == 0 || lines == 0) width 105 ui/message_center/views/bounded_label.cc std::pair<int, int> key(width, lines); width 109 ui/message_center/views/bounded_label.cc int text_width = (width < 0) ? std::numeric_limits<int>::max() : width 110 ui/message_center/views/bounded_label.cc std::max(width - insets.width(), 0); width 117 ui/message_center/views/bounded_label.cc size.set_width(text_width + insets.width()); width 124 ui/message_center/views/bounded_label.cc std::vector<base::string16> InnerBoundedLabel::GetWrappedText(int width, width 127 ui/message_center/views/bounded_label.cc if (width == 0 || lines == 0) width 144 ui/message_center/views/bounded_label.cc width = std::max(width, width 151 ui/message_center/views/bounded_label.cc (width < 0) ? std::numeric_limits<int>::max() : width, width 161 ui/message_center/views/bounded_label.cc if (width > 0 && gfx::GetStringWidth(last, font_list()) > width) width 162 ui/message_center/views/bounded_label.cc last = gfx::ElideText(last, font_list(), width, gfx::ELIDE_AT_END); width 179 ui/message_center/views/bounded_label.cc int height = GetSizeForWidthAndLines(width(), lines).height(); width 181 ui/message_center/views/bounded_label.cc gfx::Rect bounds(width(), height); width 183 ui/message_center/views/bounded_label.cc if (bounds.width() != wrapped_text_width_ || lines != wrapped_text_lines_) { width 184 ui/message_center/views/bounded_label.cc wrapped_text_ = JoinString(GetWrappedText(bounds.width(), lines), '\n'); width 185 ui/message_center/views/bounded_label.cc wrapped_text_width_ = bounds.width(); width 222 ui/message_center/views/bounded_label.cc int InnerBoundedLabel::GetCachedLines(int width) { width 225 ui/message_center/views/bounded_label.cc if ((found = lines_cache_.find(width)) != lines_cache_.end()) { width 227 ui/message_center/views/bounded_label.cc lines_widths_.remove(width); width 228 ui/message_center/views/bounded_label.cc lines_widths_.push_front(width); width 233 ui/message_center/views/bounded_label.cc void InnerBoundedLabel::SetCachedLines(int width, int lines) { width 238 ui/message_center/views/bounded_label.cc lines_cache_[width] = lines; width 239 ui/message_center/views/bounded_label.cc lines_widths_.push_front(width); width 304 ui/message_center/views/bounded_label.cc int BoundedLabel::GetLinesForWidthAndLimit(int width, int limit) { width 305 ui/message_center/views/bounded_label.cc return visible() ? label_->GetLinesForWidthAndLimit(width, limit) : 0; width 308 ui/message_center/views/bounded_label.cc gfx::Size BoundedLabel::GetSizeForWidthAndLines(int width, int lines) { width 310 ui/message_center/views/bounded_label.cc label_->GetSizeForWidthAndLines(width, lines) : gfx::Size(); width 321 ui/message_center/views/bounded_label.cc int BoundedLabel::GetHeightForWidth(int width) { width 323 ui/message_center/views/bounded_label.cc label_->GetSizeForWidthAndLines(width, line_limit_).height() : 0; width 348 ui/message_center/views/bounded_label.cc base::string16 BoundedLabel::GetWrappedTextForTest(int width, int lines) { width 349 ui/message_center/views/bounded_label.cc return JoinString(label_->GetWrappedText(width, lines), '\n'); width 48 ui/message_center/views/bounded_label.h int GetLinesForWidthAndLimit(int width, int limit); width 49 ui/message_center/views/bounded_label.h gfx::Size GetSizeForWidthAndLines(int width, int lines); width 54 ui/message_center/views/bounded_label.h virtual int GetHeightForWidth(int width) OVERRIDE; width 67 ui/message_center/views/bounded_label.h base::string16 GetWrappedTextForTest(int width, int lines); width 54 ui/message_center/views/bounded_label_unittest.cc int ToPixels(int width) { width 55 ui/message_center/views/bounded_label_unittest.cc return digit_pixels_ * width / 100 + width 56 ui/message_center/views/bounded_label_unittest.cc space_pixels_ * (width % 100) / 10 + width 57 ui/message_center/views/bounded_label_unittest.cc ellipsis_pixels_ * (width % 10); width 61 ui/message_center/views/bounded_label_unittest.cc base::string16 GetWrappedText(int width) { width 62 ui/message_center/views/bounded_label_unittest.cc return label_->GetWrappedTextForTest(width, lines_); width 66 ui/message_center/views/bounded_label_unittest.cc int GetLinesForWidth(int width) { width 67 ui/message_center/views/bounded_label_unittest.cc label_->SetBounds(0, 0, width, font_list_.GetHeight() * lines_); width 68 ui/message_center/views/bounded_label_unittest.cc return label_->GetLinesForWidthAndLimit(width, lines_); width 93 ui/message_center/views/bounded_label_unittest.cc #define TEST_WRAP(expected, text, width, lines) \ width 95 ui/message_center/views/bounded_label_unittest.cc Label(ToString(text), lines).GetWrappedText(ToPixels(width))) width 97 ui/message_center/views/bounded_label_unittest.cc #define TEST_LINES(expected, text, width, lines) \ width 99 ui/message_center/views/bounded_label_unittest.cc Label(ToString(text), lines).GetLinesForWidth(ToPixels(width))) width 24 ui/message_center/views/message_center_bubble.cc virtual int GetHeightForWidth(int width) OVERRIDE; width 45 ui/message_center/views/message_center_bubble.cc int ContentsView::GetHeightForWidth(int width) { width 47 ui/message_center/views/message_center_bubble.cc int contents_width = std::max(width - GetInsets().width(), 0); width 178 ui/message_center/views/message_center_button_bar.cc int image_margin = std::max(0, (kButtonSize - settings_image->width()) / 2); width 66 ui/message_center/views/message_center_view.cc virtual int GetHeightForWidth(int width) OVERRIDE; width 92 ui/message_center/views/message_center_view.cc return gfx::Size(kMinScrollViewHeight, label_->GetPreferredSize().width()); width 95 ui/message_center/views/message_center_view.cc int NoNotificationMessageView::GetHeightForWidth(int width) { width 100 ui/message_center/views/message_center_view.cc int text_height = label_->GetHeightForWidth(width()); width 102 ui/message_center/views/message_center_view.cc label_->SetBounds(0, margin, width(), text_height); width 126 ui/message_center/views/message_center_view.cc virtual int GetHeightForWidth(int width) OVERRIDE; width 219 ui/message_center/views/message_center_view.cc int height = child->GetHeightForWidth(child_area.width()); width 220 ui/message_center/views/message_center_view.cc child->SetBounds(child_area.x(), top, child_area.width(), height); width 280 ui/message_center/views/message_center_view.cc old_bounds.width(), width 281 ui/message_center/views/message_center_view.cc new_view->GetHeightForWidth(old_bounds.width())); width 286 ui/message_center/views/message_center_view.cc int width = 0; width 290 ui/message_center/views/message_center_view.cc width = std::max(width, child->GetPreferredSize().width()); width 293 ui/message_center/views/message_center_view.cc return gfx::Size(width + GetInsets().width(), width 294 ui/message_center/views/message_center_view.cc GetHeightForWidth(width + GetInsets().width())); width 297 ui/message_center/views/message_center_view.cc int MessageListView::GetHeightForWidth(int width) { width 301 ui/message_center/views/message_center_view.cc width -= GetInsets().width(); width 308 ui/message_center/views/message_center_view.cc height += child->GetHeightForWidth(width) + padding; width 335 ui/message_center/views/message_center_view.cc fixed_height_ = GetHeightForWidth(width()); width 479 ui/message_center/views/message_center_view.cc : GetHeightForWidth(width()) - GetInsets().bottom(); width 492 ui/message_center/views/message_center_view.cc child->SetBounds(child_area.right(), top, child_area.width(), height); width 494 ui/message_center/views/message_center_view.cc child, gfx::Rect(child_area.x(), top, child_area.width(), height)); width 502 ui/message_center/views/message_center_view.cc gfx::Rect target(child_area.x(), top, child_area.width(), height); width 649 ui/message_center/views/message_center_view.cc source_height_ = source_view_->GetHeightForWidth(width()); width 650 ui/message_center/views/message_center_view.cc target_height_ = target_view_->GetHeightForWidth(width()); width 720 ui/message_center/views/message_center_view.cc int button_height = button_bar_->GetHeightForWidth(width()) + width 728 ui/message_center/views/message_center_view.cc 0, height() - button_height, width(), button_height); width 735 ui/message_center/views/message_center_view.cc width(), width 739 ui/message_center/views/message_center_view.cc width(), width 762 ui/message_center/views/message_center_view.cc width(), width 771 ui/message_center/views/message_center_view.cc int content_width = std::max(source_view_->GetPreferredSize().width(), width 772 ui/message_center/views/message_center_view.cc target_view_->GetPreferredSize().width()); width 773 ui/message_center/views/message_center_view.cc int width = std::max(content_width, width 774 ui/message_center/views/message_center_view.cc button_bar_->GetPreferredSize().width()); width 775 ui/message_center/views/message_center_view.cc return gfx::Size(width, GetHeightForWidth(width)); width 778 ui/message_center/views/message_center_view.cc int width = 0; width 782 ui/message_center/views/message_center_view.cc width = std::max(width, child->GetPreferredSize().width()); width 784 ui/message_center/views/message_center_view.cc return gfx::Size(width, GetHeightForWidth(width)); width 787 ui/message_center/views/message_center_view.cc int MessageCenterView::GetHeightForWidth(int width) { width 795 ui/message_center/views/message_center_view.cc return button_bar_->GetHeightForWidth(width) + content_height; width 800 ui/message_center/views/message_center_view.cc content_height += scroller_->GetHeightForWidth(width); width 802 ui/message_center/views/message_center_view.cc content_height += settings_view_->GetHeightForWidth(width); width 803 ui/message_center/views/message_center_view.cc return button_bar_->GetHeightForWidth(width) + width 71 ui/message_center/views/message_center_view.h virtual int GetHeightForWidth(int width) OVERRIDE; width 69 ui/message_center/views/message_center_view_unittest.cc int MockNotificationView::GetHeightForWidth(int width) { width 72 ui/message_center/views/message_center_view_unittest.cc return NotificationView::GetHeightForWidth(width); width 218 ui/message_center/views/message_center_view_unittest.cc DVLOG(0) << inset << bounds.width() << " x " << bounds.height() width 170 ui/message_center/views/message_popup_collection.cc origin.set_x(origin.x() - preferred_size.width()); width 172 ui/message_center/views/message_popup_collection.cc origin.set_x(origin.x() + preferred_size.width()); width 266 ui/message_center/views/message_popup_collection.cc return work_area_.right() - kToastMarginX - toast_bounds.width(); width 179 ui/message_center/views/message_popup_collection_unittest.cc EXPECT_EQ(r0.width(), r1.width()); width 180 ui/message_center/views/message_popup_collection_unittest.cc EXPECT_EQ(r1.width(), r2.width()); width 193 ui/message_center/views/message_popup_collection_unittest.cc EXPECT_EQ(0, r3.width()); width 217 ui/message_center/views/message_popup_collection_unittest.cc EXPECT_EQ(r0.width(), r1.width()); width 245 ui/message_center/views/message_popup_collection_unittest.cc EXPECT_EQ(r0.width(), r1.width()); width 276 ui/message_center/views/message_popup_collection_unittest.cc EXPECT_EQ(r0.width(), r1.width()); width 307 ui/message_center/views/message_popup_collection_unittest.cc EXPECT_EQ(r0.width(), r1.width()); width 335 ui/message_center/views/message_popup_collection_unittest.cc EXPECT_EQ(r0.width(), r1.width()); width 178 ui/message_center/views/message_view.cc gfx::Rect close_rect(content_bounds.right() - close_size.width(), width 180 ui/message_center/views/message_view.cc close_size.width(), width 187 ui/message_center/views/message_view.cc content_bounds.right() - small_image_size.width() - kSmallImagePadding, width 79 ui/message_center/views/notification_button.cc int NotificationButton::GetHeightForWidth(int width) { width 31 ui/message_center/views/notification_button.h virtual int GetHeightForWidth(int width) OVERRIDE; width 104 ui/message_center/views/notification_view.cc for (int x = 0; x < bitmap.width(); ++x) { width 220 ui/message_center/views/notification_view.cc pref_size.Enlarge(insets.width(), insets.height()); width 240 ui/message_center/views/notification_view.cc static_cast<int>(content_bounds.width() * GetNormalizedValue() + 0.5); width 396 ui/message_center/views/notification_view.cc (icon.width() != kIconSize || width 458 ui/message_center/views/notification_view.cc int top_width = top_view_->GetPreferredSize().width(); width 459 ui/message_center/views/notification_view.cc int bottom_width = bottom_view_->GetPreferredSize().width(); width 460 ui/message_center/views/notification_view.cc int preferred_width = std::max(top_width, bottom_width) + GetInsets().width(); width 464 ui/message_center/views/notification_view.cc int NotificationView::GetHeightForWidth(int width) { width 466 ui/message_center/views/notification_view.cc int content_width = width - GetInsets().width(); width 475 ui/message_center/views/notification_view.cc int correct_limit = GetMessageLineLimit(width); width 496 ui/message_center/views/notification_view.cc int content_width = width() - insets.width(); width 500 ui/message_center/views/notification_view.cc message_view_->SetLineLimit(GetMessageLineLimit(width())); width 589 ui/message_center/views/notification_view.cc int NotificationView::GetMessageLineLimit(int width) { width 600 ui/message_center/views/notification_view.cc width, width 608 ui/message_center/views/notification_view.cc int NotificationView::GetMessageHeight(int width, int limit) { width 610 ui/message_center/views/notification_view.cc message_view_->GetSizeForWidthAndLines(width, limit).height() : 0; width 47 ui/message_center/views/notification_view.h virtual int GetHeightForWidth(int width) OVERRIDE; width 72 ui/message_center/views/notification_view.h int GetMessageLineLimit(int width); width 73 ui/message_center/views/notification_view.h int GetMessageHeight(int width, int limit); width 168 ui/message_center/views/notifier_settings_view.cc int content_width = width(); width 642 ui/message_center/views/notifier_settings_view.cc int title_height = title_label_->GetHeightForWidth(width()); width 645 ui/message_center/views/notifier_settings_view.cc width() - settings::kTitleMargin * 2, width 649 ui/message_center/views/notifier_settings_view.cc int content_width = width(); width 656 ui/message_center/views/notifier_settings_view.cc scroller_->SetBounds(0, title_height, width(), height() - title_height); width 672 ui/message_center/views/notifier_settings_view.cc return gfx::Size(std::max(title_size.width(), content_size.width()), width 85 ui/message_center/views/padded_button.cc offset.set_x((bounds.width() - image.width()) / 2); // Center align. width 87 ui/message_center/views/padded_button.cc offset.set_x(bounds.width() - image.width()); // Right align. width 20 ui/message_center/views/proportional_image_view.cc int ProportionalImageView::GetHeightForWidth(int width) { width 46 ui/message_center/views/proportional_image_view.cc 0, 0, image_size.width(), image_size.height(), width 47 ui/message_center/views/proportional_image_view.cc draw_bounds.x(), draw_bounds.y(), draw_size.width(), draw_size.height(), width 21 ui/message_center/views/proportional_image_view.h virtual int GetHeightForWidth(int width) OVERRIDE; width 44 ui/message_center/views/toast_contents_view.cc int width = kNotificationWidth + view->GetInsets().width(); width 45 ui/message_center/views/toast_contents_view.cc return gfx::Size(width, view->GetHeightForWidth(width)); width 96 ui/message_center/views/toast_contents_view.cc origin_ = gfx::Point(origin.x() - preferred_size_.width(), width 272 ui/message_center/views/toast_contents_view.cc 0, 0, preferred_size_.width(), preferred_size_.height()); width 346 ui/message_center/views/toast_contents_view.cc return gfx::Rect(bounds.x() + bounds.width() - kClosedToastWidth, width 107 ui/native_theme/common_theme.cc size.SetSize(check->width(), check->height()); width 134 ui/native_theme/common_theme.cc int position_x = rect.x() + rect.width() / 2; width 112 ui/native_theme/native_theme_aura.cc SkRect rect = SkRect::MakeWH(SkIntToScalar(size.width()), width 286 ui/native_theme/native_theme_base.cc skrect.set(rect.x(), rect.y(), rect.x() + rect.width(), rect.y() width 299 ui/native_theme/native_theme_base.cc outline.rLineTo(rect.width() - 5, 0); width 307 ui/native_theme/native_theme_base.cc outline.rLineTo(rect.width() - 5, 0); width 313 ui/native_theme/native_theme_base.cc outline.rLineTo(rect.width() - 2, 0); width 317 ui/native_theme/native_theme_base.cc outline.rLineTo(-(rect.width() - 2), 0); width 320 ui/native_theme/native_theme_base.cc outline.moveTo(rect.x() + rect.width() + 0.5, rect.y() + 0.5); width 321 ui/native_theme/native_theme_base.cc outline.rLineTo(-(rect.width() - 2), 0); width 325 ui/native_theme/native_theme_base.cc outline.rLineTo(rect.width() - 2, 0); width 352 ui/native_theme/native_theme_base.cc width_middle = rect.width() / 2 + 1; width 355 ui/native_theme/native_theme_base.cc length_middle = rect.width() / 2 + 1; width 422 ui/native_theme/native_theme_base.cc const int midx = rect.x() + rect.width() / 2; width 436 ui/native_theme/native_theme_base.cc skrect.set(rect.x(), rect.y(), rect.x() + rect.width(), midy + 1); width 444 ui/native_theme/native_theme_base.cc midx + 1, rect.y(), rect.x() + rect.width(), rect.y() + rect.height()); width 447 ui/native_theme/native_theme_base.cc rect.x(), midy + 1, rect.x() + rect.width(), rect.y() + rect.height()); width 457 ui/native_theme/native_theme_base.cc if (rect.height() > 10 && rect.width() > 10) { width 523 ui/native_theme/native_theme_base.cc dash.moveTo(skrect.x() + skrect.width() * 0.16, width 525 ui/native_theme/native_theme_base.cc dash.rLineTo(skrect.width() * 0.68, 0); width 530 ui/native_theme/native_theme_base.cc check.moveTo(skrect.x() + skrect.width() * 0.2, width 532 ui/native_theme/native_theme_base.cc check.rLineTo(skrect.width() * 0.2, skrect.height() * 0.2); width 534 ui/native_theme/native_theme_base.cc check.lineTo(skrect.right() - skrect.width() * 0.2, width 555 ui/native_theme/native_theme_base.cc if (skrect.width() != skrect.height()) { width 556 ui/native_theme/native_theme_base.cc SkScalar size = SkMinScalar(skrect.width(), skrect.height()); width 557 ui/native_theme/native_theme_base.cc skrect.inset((skrect.width() - size) / 2, (skrect.height() - size) / 2); width 563 ui/native_theme/native_theme_base.cc if (skrect.width() <= 2) { width 641 ui/native_theme/native_theme_base.cc static_cast<float>(std::max(rect.width(), rect.height())) / 2); width 652 ui/native_theme/native_theme_base.cc skrect.inset(skrect.width() * 0.25, skrect.height() * 0.25); width 677 ui/native_theme/native_theme_base.cc if (rect.width() < 5 || rect.height() < 5) { width 783 ui/native_theme/native_theme_base.cc const int kMidX = rect.x() + rect.width() / 2; width 809 ui/native_theme/native_theme_base.cc const int kMidX = rect.x() + rect.width() / 2; width 835 ui/native_theme/native_theme_base.cc if (rect.height() > 10 && rect.width() > 10) { width 875 ui/native_theme/native_theme_base.cc DCHECK(bar_image->width() > 0); width 876 ui/native_theme/native_theme_base.cc DCHECK(rect.width() > 0); width 880 ui/native_theme/native_theme_base.cc int dest_left_border_width = left_border_image->width(); width 881 ui/native_theme/native_theme_base.cc int dest_right_border_width = right_border_image->width(); width 897 ui/native_theme/native_theme_base.cc int new_tile_width = static_cast<int>(bar_image->width() * tile_scale_y); width 900 ui/native_theme/native_theme_base.cc float tile_scale_x = static_cast<float>(new_tile_width) / bar_image->width(); width 901 ui/native_theme/native_theme_base.cc if (rect.width() % new_tile_width == 0) { width 904 ui/native_theme/native_theme_base.cc rect.width(), rect.height()); width 906 ui/native_theme/native_theme_base.cc int num_tiles = 1 + rect.width() / new_tile_width; width 907 ui/native_theme/native_theme_base.cc int overshoot = num_tiles * new_tile_width - rect.width(); width 913 ui/native_theme/native_theme_base.cc float small_scale_x = static_cast<float>(small_width) / bar_image->width(); width 922 ui/native_theme/native_theme_base.cc big_rect.x(), big_rect.y(), big_rect.width(), big_rect.height()); width 924 ui/native_theme/native_theme_base.cc small_rect.x(), small_rect.y(), small_rect.width(), small_rect.height()); width 929 ui/native_theme/native_theme_base.cc new_tile_width = static_cast<int>(value_image->width() * tile_scale_y); width 931 ui/native_theme/native_theme_base.cc value_image->width(); width 940 ui/native_theme/native_theme_base.cc DrawImageInt(canvas, *left_border_image, 0, 0, left_border_image->width(), width 945 ui/native_theme/native_theme_base.cc DrawImageInt(canvas, *right_border_image, 0, 0, right_border_image->width(), width 1020 ui/native_theme/native_theme_base.cc const int right = rect.x() + rect.width() - 1; width 669 ui/native_theme/native_theme_win.cc rect.width(), rect.height(), false, NULL)); width 717 ui/native_theme/native_theme_win.cc const int pixel_count = rect.width() * rect.height(); width 889 ui/native_theme/native_theme_win.cc base::win::ScopedBitmap mem_bitmap(CreateCompatibleBitmap(hdc, r.width(), width 894 ui/native_theme/native_theme_win.cc StretchBlt(mem_dc, 0, 0, r.width(), r.height(), width 895 ui/native_theme/native_theme_win.cc hdc, r.right()-1, r.y(), -r.width(), r.height(), SRCCOPY); width 897 ui/native_theme/native_theme_win.cc RECT theme_rect = {0, 0, r.width(), r.height()}; width 901 ui/native_theme/native_theme_win.cc StretchBlt(hdc, r.x(), r.y(), r.width(), r.height(), width 902 ui/native_theme/native_theme_win.cc mem_dc, r.width()-1, 0, -r.width(), r.height(), SRCCOPY); width 1705 ui/native_theme/native_theme_win.cc scaled_rect.width(), width 2058 ui/native_theme/native_theme_win.cc const int width = rect.width(); width 2062 ui/native_theme/native_theme_win.cc base::win::ScopedBitmap mask_bitmap(CreateBitmap(width, height, 1, 1, NULL)); width 2069 ui/native_theme/native_theme_win.cc RECT local_rect = { 0, 0, width, height }; width 2099 ui/native_theme/native_theme_win.cc BitBlt(hdc, rect.x(), rect.y(), width, height, bitmap_dc, 0, 0, SRCCOPY); width 30 ui/ozone/platform/caca/caca_connection.cc canvas_ = caca_create_canvas(physical_size_.width(), physical_size_.height()); width 116 ui/ozone/platform/caca/caca_event_factory.cc location.x() * bitmap_size.width() / physical_size.width(), width 49 ui/ozone/platform/caca/caca_surface_factory.cc SkImageInfo info = SkImageInfo::Make(connection_->bitmap_size().width(), width 62 ui/ozone/platform/caca/caca_surface_factory.cc info.width(), width 64 ui/ozone/platform/caca/caca_surface_factory.cc SkBitmap::ComputeRowBytes(SkBitmap::kARGB_8888_Config, info.width()), width 17 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc gfx::PointF(cursor_bounds_.width() / 2, cursor_bounds_.height() / 2); width 33 ui/snapshot/snapshot_android.cc scaled_bounds.x(), scaled_bounds.y(), scaled_bounds.width(), width 48 ui/snapshot/snapshot_aura.cc target_size.width(), width 59 ui/snapshot/snapshot_aura.cc gfx::Size(bitmap.width(), bitmap.height()), width 46 ui/snapshot/snapshot_aura_unittest.cc for (int x = 0; x < window_size_.width(); ++x) width 64 ui/snapshot/snapshot_aura_unittest.cc for (int x = 0; x < bitmap->width(); x += scale_factor) { width 65 ui/snapshot/snapshot_aura_unittest.cc if (static_cast<SkColor>(bitmap_data[x + y * bitmap->width()]) != width 47 ui/snapshot/snapshot_gtk.cc DCHECK_LE(snapshot_bounds.right(), window_bounds.width()); width 52 ui/snapshot/snapshot_gtk.cc snapshot_bounds.width(), snapshot_bounds.height(), AllPlanes, ZPixmap)); width 65 ui/snapshot/snapshot_gtk.cc image->width, width 54 ui/snapshot/snapshot_win.cc gfx::CreateBitmapHeader(snapshot_bounds.width(), width 70 ui/snapshot/snapshot_win.cc PatBlt(mem_hdc, 0, 0, snapshot_bounds.width(), snapshot_bounds.height(), width 87 ui/snapshot/snapshot_win.cc BitBlt(mem_hdc, 0, 0, snapshot_bounds.width(), snapshot_bounds.height(), width 95 ui/snapshot/snapshot_win.cc snapshot_bounds.width() * 4, true, width 98 ui/surface/accelerated_surface_mac.cc real_surface_size_.width(), width 163 ui/surface/accelerated_surface_mac.cc return gfx::Size(std::max(size.width(), 1), std::max(size.height(), 1)); width 175 ui/surface/accelerated_surface_mac.cc glViewport(0, 0, rect.width(), rect.height()); width 178 ui/surface/accelerated_surface_mac.cc glOrtho(0, rect.width(), 0, rect.height(), -1, 1); width 224 ui/surface/accelerated_surface_mac.cc clamped_size.width()); width 243 ui/surface/accelerated_surface_mac.cc clamped_size.width(), width 336 ui/views/accessibility/native_view_accessibility_win.cc LONG* x_left, LONG* y_top, LONG* width, LONG* height, VARIANT var_id) { width 337 ui/views/accessibility/native_view_accessibility_win.cc if (!IsValidId(var_id) || !x_left || !y_top || !width || !height) width 344 ui/views/accessibility/native_view_accessibility_win.cc *width = view_->width(); width 80 ui/views/accessibility/native_view_accessibility_win.h LONG* width, width 266 ui/views/accessibility/native_view_accessibility_win.h LONG* width, LONG* height) { width 264 ui/views/animation/bounds_animator.cc repaint_bounds_.x(), repaint_bounds_.width())); width 45 ui/views/border.cc canvas->FillRect(gfx::Rect(0, 0, view.width(), insets_.top()), color_); width 49 ui/views/border.cc canvas->FillRect(gfx::Rect(0, view.height() - insets_.bottom(), view.width(), width 52 ui/views/border.cc canvas->FillRect(gfx::Rect(view.width() - insets_.right(), 0, insets_.right(), width 61 ui/views/border.cc return gfx::Size(insets_.width(), insets_.height()); width 61 ui/views/bubble/bubble_border.cc border_thickness = rb.GetImageSkiaNamed(border_image_ids[0])->width(); width 170 ui/views/bubble/bubble_border.cc int w = anchor_rect.width(); width 185 ui/views/bubble/bubble_border.cc x += mid_anchor ? w / 2 + arrow_offset - size.width() : width 186 ui/views/bubble/bubble_border.cc w - size.width() + GetBorderThickness() - kStroke; width 190 ui/views/bubble/bubble_border.cc x += is_arrow_on_left(arrow_) ? w + arrow_size : -arrow_size - size.width(); width 200 ui/views/bubble/bubble_border.cc x += (w - size.width()) / 2; width 204 ui/views/bubble/bubble_border.cc return gfx::Rect(x, y, size.width(), size.height()); width 217 ui/views/bubble/bubble_border.cc border_size.width() : border_size.height(); width 222 ui/views/bubble/bubble_border.cc const int min = images_->border_thickness + (images_->top_arrow.width() / 2); width 271 ui/views/bubble/bubble_border.cc size.Enlarge(insets.width(), insets.height()); width 275 ui/views/bubble/bubble_border.cc const int min_with_arrow_width = min + images_->top_arrow.width(); width 306 ui/views/bubble/bubble_border.cc const int half_length = images_->top_arrow.width() / 2; width 311 ui/views/bubble/bubble_border.cc offset : bounds.width() - offset); width 324 ui/views/bubble/bubble_border.cc origin.set_x(bounds.width() - insets.right()); width 214 ui/views/bubble/bubble_border_unittest.cc EXPECT_LE(visible_tip_1.width(), 30); width 220 ui/views/bubble/bubble_border_unittest.cc EXPECT_LE(invisible_tip_1.width(), 30); width 229 ui/views/bubble/bubble_border_unittest.cc EXPECT_GE(visible_tip_2.width(), 30); width 235 ui/views/bubble/bubble_border_unittest.cc EXPECT_LE(invisible_tip_2.width(), 30); width 137 ui/views/bubble/bubble_frame_view.cc SkIntToScalar(size.width() - border_insets.right() + width 186 ui/views/bubble/bubble_frame_view.cc bounds.Inset(0, 0, close_->width() + 1, 0); width 202 ui/views/bubble/bubble_frame_view.cc bounds.right() - size.width(), width 204 ui/views/bubble/bubble_frame_view.cc size.width(), width 341 ui/views/bubble/bubble_frame_view.cc int title_bar_width = GetInsets().width() + border()->GetInsets().width(); width 343 ui/views/bubble/bubble_frame_view.cc title_bar_width += kTitleLeftInset + title_->GetPreferredSize().width(); width 345 ui/views/bubble/bubble_frame_view.cc title_bar_width += close_->width() + 1; width 347 ui/views/bubble/bubble_frame_view.cc title_bar_width += titlebar_extra_view_->GetPreferredSize().width(); width 351 ui/views/bubble/bubble_frame_view.cc size.Enlarge(insets.width(), insets.height()); width 62 ui/views/bubble/bubble_frame_view_unittest.cc int xposition = 95 - insets.width(); width 241 ui/views/bubble/bubble_frame_view_unittest.cc EXPECT_EQ(window_bounds.x() + window_bounds.width() / 2, 525); width 249 ui/views/bubble/bubble_frame_view_unittest.cc EXPECT_EQ(window_bounds.x() + window_bounds.width() / 2, 525); width 121 ui/views/bubble/tray_bubble_view.cc border_size.Enlarge(insets.width(), insets.height()); width 123 ui/views/bubble/tray_bubble_view.cc position_relative_to.width() / 2 - border_size.width() / 2; width 127 ui/views/bubble/tray_bubble_view.cc return gfx::Rect(x, y, border_size.width(), border_size.height()); width 139 ui/views/bubble/tray_bubble_view.cc const int width = owner_->GetWidget()->GetContentsView()->width(); width 145 ui/views/bubble/tray_bubble_view.cc arrow_offset = width - arrow_offset; width 254 ui/views/bubble/tray_bubble_view.cc host->width(), size.height()); width 373 ui/views/bubble/tray_bubble_view.cc void TrayBubbleView::SetWidth(int width) { width 374 ui/views/bubble/tray_bubble_view.cc width = std::max(std::min(width, params_.max_width), params_.min_width); width 375 ui/views/bubble/tray_bubble_view.cc if (preferred_width_ == width) width 377 ui/views/bubble/tray_bubble_view.cc preferred_width_ = width; width 434 ui/views/bubble/tray_bubble_view.cc int TrayBubbleView::GetHeightForWidth(int width) { width 436 ui/views/bubble/tray_bubble_view.cc width = std::max(width - GetInsets().width(), 0); width 440 ui/views/bubble/tray_bubble_view.cc height += child->GetHeightForWidth(width); width 132 ui/views/bubble/tray_bubble_view.h void SetWidth(int width); width 161 ui/views/bubble/tray_bubble_view.h virtual int GetHeightForWidth(int width) OVERRIDE; width 44 ui/views/button_drag_utils.cc button.SetBounds(0, 0, prefsize.width(), prefsize.height()); width 51 ui/views/button_drag_utils.cc gfx::Vector2d(prefsize.width() / 2, prefsize.height() / 2), data); width 98 ui/views/color_chooser/color_chooser_view.cc points[1].iset(rect.width() + 1, 0); width 204 ui/views/color_chooser/color_chooser_view.cc SkIntToScalar(width()) - SK_ScalarHalf, width 207 ui/views/color_chooser/color_chooser_view.cc SkIntToScalar(width() - kHueIndicatorSize) - SK_ScalarHalf, width 210 ui/views/color_chooser/color_chooser_view.cc SkIntToScalar(width()) - SK_ScalarHalf, width 213 ui/views/color_chooser/color_chooser_view.cc SkIntToScalar(width()) - SK_ScalarHalf, width 320 ui/views/color_chooser/color_chooser_view.cc (marker_position_.y() > width() * 3 / 4) ? SK_ColorWHITE : SK_ColorBLACK; width 90 ui/views/controls/button/checkbox.cc width() - rect.right()))); width 80 ui/views/controls/button/image_button.cc size = gfx::Size(images_[STATE_NORMAL].width(), width 85 ui/views/controls/button/image_button.cc size.Enlarge(insets.width(), insets.height()); width 102 ui/views/controls/button/image_button.cc canvas->Translate(gfx::Vector2d(width(), 0)); width 160 ui/views/controls/button/image_button.cc x = (rect.width() - image.width()) / 2; width 162 ui/views/controls/button/image_button.cc x = rect.width() - image.width(); width 13 ui/views/controls/button/image_button_unittest.cc gfx::ImageSkia CreateTestImage(int width, int height) { width 15 ui/views/controls/button/image_button_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); width 45 ui/views/controls/button/image_button_unittest.cc EXPECT_EQ(10, button.GetImageToPaint().width()); width 61 ui/views/controls/button/image_button_unittest.cc EXPECT_EQ(10, button.GetImageToPaint().width()); width 188 ui/views/controls/button/label_button.cc const int current_width = label.GetPreferredSize().width(); width 190 ui/views/controls/button/label_button.cc if (label.GetPreferredSize().width() < current_width) width 196 ui/views/controls/button/label_button.cc const int image_width = image_size.width(); width 197 ui/views/controls/button/label_button.cc if (GetTextMultiLine() && (width() > image_width + kSpacing)) width 198 ui/views/controls/button/label_button.cc label.SizeToFit(width() - image_width - (image_width > 0 ? kSpacing : 0)); width 202 ui/views/controls/button/label_button.cc if (image_width > 0 && size.width() > 0) width 206 ui/views/controls/button/label_button.cc size.Enlarge(image_size.width() + insets.width(), insets.height()); width 216 ui/views/controls/button/label_button.cc if (max_size_.width() > 0) width 217 ui/views/controls/button/label_button.cc size.set_width(std::min(max_size_.width(), size.width())); width 241 ui/views/controls/button/label_button.cc std::max(child_area.width() - image_size.width() - kSpacing, 0)); width 245 ui/views/controls/button/label_button.cc label_->SizeToFit(label_size.width()); width 247 ui/views/controls/button/label_button.cc std::min(label_size.width(), label_->GetPreferredSize().width())); width 254 ui/views/controls/button/label_button.cc const int total_width = image_size.width() + label_size.width() + width 255 ui/views/controls/button/label_button.cc ((image_size.width() > 0 && label_size.width() > 0) ? kSpacing : 0); width 256 ui/views/controls/button/label_button.cc image_origin.Offset((child_area.width() - total_width) / 2, 0); width 258 ui/views/controls/button/label_button.cc image_origin.Offset(child_area.width() - image_size.width(), 0); width 263 ui/views/controls/button/label_button.cc label_origin.set_x(image_origin.x() + image_size.width() + kSpacing); width 19 ui/views/controls/button/label_button_unittest.cc gfx::ImageSkia CreateTestImage(int width, int height) { width 21 ui/views/controls/button/label_button_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); width 62 ui/views/controls/button/label_button_unittest.cc EXPECT_LT(button.GetPreferredSize().width(), short_text_width); width 65 ui/views/controls/button/label_button_unittest.cc EXPECT_GT(button.GetPreferredSize().width(), short_text_width); width 66 ui/views/controls/button/label_button_unittest.cc EXPECT_LT(button.GetPreferredSize().width(), long_text_width); width 68 ui/views/controls/button/label_button_unittest.cc EXPECT_GT(button.GetPreferredSize().width(), long_text_width); width 70 ui/views/controls/button/label_button_unittest.cc EXPECT_GT(button.GetPreferredSize().width(), long_text_width); width 78 ui/views/controls/button/label_button_unittest.cc EXPECT_GT(button.GetPreferredSize().width(), short_text_width); width 79 ui/views/controls/button/label_button_unittest.cc EXPECT_LT(button.GetPreferredSize().width(), long_text_width); width 90 ui/views/controls/button/label_button_unittest.cc EXPECT_LT(button.GetPreferredSize().width(), small_size); width 93 ui/views/controls/button/label_button_unittest.cc EXPECT_GT(button.GetPreferredSize().width(), small_size); width 95 ui/views/controls/button/label_button_unittest.cc EXPECT_LT(button.GetPreferredSize().width(), large_size); width 98 ui/views/controls/button/label_button_unittest.cc EXPECT_GT(button.GetPreferredSize().width(), large_size); width 101 ui/views/controls/button/label_button_unittest.cc EXPECT_GT(button.GetPreferredSize().width(), large_size); width 110 ui/views/controls/button/label_button_unittest.cc EXPECT_GT(button.GetPreferredSize().width(), small_size); width 111 ui/views/controls/button/label_button_unittest.cc EXPECT_LT(button.GetPreferredSize().width(), large_size); width 126 ui/views/controls/button/label_button_unittest.cc EXPECT_LT(button.GetPreferredSize().width(), text_width); width 127 ui/views/controls/button/label_button_unittest.cc EXPECT_LT(button.GetPreferredSize().width(), image_size); width 130 ui/views/controls/button/label_button_unittest.cc EXPECT_GT(button.GetPreferredSize().width(), text_width); width 132 ui/views/controls/button/label_button_unittest.cc EXPECT_LT(button.GetPreferredSize().width(), text_width + image_size); width 135 ui/views/controls/button/label_button_unittest.cc EXPECT_GT(button.GetPreferredSize().width(), text_width + image_size); width 154 ui/views/controls/button/label_button_unittest.cc EXPECT_GT(button.GetPreferredSize().width(), text_width + image_size); width 157 ui/views/controls/button/label_button_unittest.cc EXPECT_GT(button.GetPreferredSize().width(), text_width + image_size); width 166 ui/views/controls/button/label_button_unittest.cc EXPECT_LT(button.GetPreferredSize().width(), text_width); width 167 ui/views/controls/button/label_button_unittest.cc EXPECT_LT(button.GetPreferredSize().width(), image_size); width 178 ui/views/controls/button/label_button_unittest.cc const int original_width = button.GetPreferredSize().width(); width 183 ui/views/controls/button/label_button_unittest.cc EXPECT_GT(button.GetPreferredSize().width(), original_width); width 190 ui/views/controls/button/label_button_unittest.cc EXPECT_EQ(original_width, button.GetPreferredSize().width()); width 152 ui/views/controls/button/menu_button.cc prefsize.Enlarge(menu_marker_->width() + kMenuMarkerPaddingLeft + width 257 ui/views/controls/button/menu_button.cc gfx::Rect arrow_bounds(width() - insets.right() - width 258 ui/views/controls/button/menu_button.cc menu_marker_->width() - kMenuMarkerPaddingRight, width 260 ui/views/controls/button/menu_button.cc menu_marker_->width(), width 287 ui/views/controls/button/text_button.cc gfx::Size prefsize(std::max(max_text_size_.width(), width 288 ui/views/controls/button/text_button.cc text_size_.width()) + insets.width(), width 293 ui/views/controls/button/text_button.cc prefsize.set_width(std::min(max_width_, prefsize.width())); width 295 ui/views/controls/button/text_button.cc prefsize.set_width(std::max(prefsize.width(), min_width_)); width 333 ui/views/controls/button/text_button.cc int text_width = width(); width 338 ui/views/controls/button/text_button.cc text_width = text_bounds.width(); width 345 ui/views/controls/button/text_button.cc max_text_size_.SetSize(std::max(max_text_size_.width(), text_size_.width()), width 409 ui/views/controls/button/text_button.cc int available_width = width() - insets.width(); width 410 ui/views/controls/button/text_button.cc int content_width = text_size_.width() + extra_width; width 417 ui/views/controls/button/text_button.cc content_x = width() - insets.right() - content_width; width 427 ui/views/controls/button/text_button.cc width() - insets.right() - content_x); width 451 ui/views/controls/button/text_button.cc if (text_bounds.width() > 0) { width 600 ui/views/controls/button/text_button.cc prefsize.Enlarge(icon_.width(), 0); width 604 ui/views/controls/button/text_button.cc if (icon_.width() > 0 && !text_.empty()) width 608 ui/views/controls/button/text_button.cc prefsize.set_width(std::min(max_width_, prefsize.width())); width 616 ui/views/controls/button/text_button.cc prefsize.width(), width 624 ui/views/controls/button/text_button.cc prefsize.set_width(std::max(prefsize.width(), min_width_)); width 638 ui/views/controls/button/text_button.cc if (icon.width() > 0) { width 646 ui/views/controls/button/text_button.cc : text_bounds.x() - icon.width() - spacing; width 649 ui/views/controls/button/text_button.cc icon_x = full_justification_ ? width() - insets.right() - icon.width() width 654 ui/views/controls/button/text_button.cc icon_x = (width() - insets.width() - icon.width()) / 2 + insets.left(); width 665 ui/views/controls/button/text_button.cc gfx::Rect icon_bounds(icon_x, icon_y, icon.width(), icon.height()); width 696 ui/views/controls/button/text_button.cc if (icon.width() > 0) width 697 ui/views/controls/button/text_button.cc extra_width = icon.width() + (text_.empty() ? 0 : icon_text_spacing_); width 192 ui/views/controls/combobox/combobox.cc int x, int y, int width, int height) { width 194 ui/views/controls/combobox/combobox.cc 0, 0, top_image.width(), top_image.height(), width 195 ui/views/controls/combobox/combobox.cc x, y, width, top_image.height(), false); width 199 ui/views/controls/combobox/combobox.cc 0, 0, center_image.width(), center_image.height(), width 200 ui/views/controls/combobox/combobox.cc x, y, width, center_height, false); width 203 ui/views/controls/combobox/combobox.cc 0, 0, bottom_image.width(), bottom_image.height(), width 204 ui/views/controls/combobox/combobox.cc x, y, width, bottom_image.height(), false); width 216 ui/views/controls/combobox/combobox.cc x, 0, arrow_button_images[0]->width(), height); width 351 ui/views/controls/combobox/combobox.cc arrow_button_width = width(); width 356 ui/views/controls/combobox/combobox.cc disclosure_arrow_->width() + GetDisclosureArrowRightPadding(); width 357 ui/views/controls/combobox/combobox.cc text_button_width = width() - arrow_button_width; width 414 ui/views/controls/combobox/combobox.cc int total_width = std::max(kMinComboboxWidth, content_size_.width()) + width 415 ui/views/controls/combobox/combobox.cc insets.width() + GetDisclosureArrowLeftPadding() + width 416 ui/views/controls/combobox/combobox.cc disclosure_arrow_->width() + GetDisclosureArrowRightPadding(); width 599 ui/views/controls/combobox/combobox.cc int width = 0; width 623 ui/views/controls/combobox/combobox.cc width = std::max(width, gfx::GetStringWidth(text, font_list)); width 626 ui/views/controls/combobox/combobox.cc content_size_.SetSize(width, font_list.GetHeight()); width 660 ui/views/controls/combobox/combobox.cc int disclosure_arrow_offset = width() - disclosure_arrow_->width() - width 665 ui/views/controls/combobox/combobox.cc if ((text_width + insets.width()) > disclosure_arrow_offset) width 666 ui/views/controls/combobox/combobox.cc text_width = disclosure_arrow_offset - insets.width(); width 675 ui/views/controls/combobox/combobox.cc disclosure_arrow_->width(), width 687 ui/views/controls/combobox/combobox.cc canvas->Translate(gfx::Vector2d(width(), 0)); width 708 ui/views/controls/combobox/combobox.cc gfx::Rect(0, 0, text_button_->width(), height())); width 716 ui/views/controls/combobox/combobox.cc gfx::Rect(0, 0, text_button_->width(), height())); width 747 ui/views/controls/combobox/combobox.cc size().width() - (kMenuBorderWidthLeft + kMenuBorderWidthRight)); width 758 ui/views/controls/combobox/combobox.cc lb.set_width(lb.width() - (kMenuBorderWidthLeft + kMenuBorderWidthRight)); width 597 ui/views/controls/combobox/combobox_unittest.cc PerformClick(gfx::Point(combobox_->x() + combobox_->width() - 1, width 644 ui/views/controls/combobox/combobox_unittest.cc const int long_item_width = combobox.content_size_.width(); width 649 ui/views/controls/combobox/combobox_unittest.cc const int short_item_width = combobox.content_size_.width(); width 658 ui/views/controls/combobox/combobox_unittest.cc EXPECT_EQ(long_item_width, combobox.content_size_.width()); width 663 ui/views/controls/combobox/combobox_unittest.cc EXPECT_EQ(short_item_width, combobox.content_size_.width()); width 85 ui/views/controls/glow_hover_controller.cc gfx::Canvas hover_canvas(gfx::Size(mask_image.width(), mask_image.height()), width 90 ui/views/controls/glow_hover_controller.cc int radius = view_->width() / 3; width 116 ui/views/controls/glow_hover_controller.cc canvas->DrawImageInt(result, (view_->width() - mask_image.width()) / 2, width 82 ui/views/controls/image_view.cc image_size_ : gfx::Size(image_.width(), image_.height())); width 99 ui/views/controls/image_view.cc image_size.Enlarge(insets.width(), insets.height()); width 102 ui/views/controls/image_view.cc return gfx::Size(image_.width() + insets.width(), width 130 ui/views/controls/image_view.cc case TRAILING: x = width() - insets.right() - image_size.width(); break; width 131 ui/views/controls/image_view.cc case CENTER: x = (width() - image_size.width()) / 2; break; width 224 ui/views/controls/image_view.cc if (image_bounds.size() != gfx::Size(image_.width(), image_.height())) { width 228 ui/views/controls/image_view.cc canvas->DrawImageInt(image_, 0, 0, image_.width(), image_.height(), width 229 ui/views/controls/image_view.cc image_bounds.x(), image_bounds.y(), image_bounds.width(), width 199 ui/views/controls/label.cc label_width += GetInsets().width(); width 232 ui/views/controls/label.cc size.Enlarge(insets.width(), insets.height()); width 246 ui/views/controls/label.cc size.Enlarge(insets.width(), insets.height()); width 254 ui/views/controls/label.cc w = std::max(0, w - GetInsets().width()); width 258 ui/views/controls/label.cc if (s.width() == w) width 346 ui/views/controls/label.cc GetAvailableRect().width() : std::numeric_limits<int>::max(); width 421 ui/views/controls/label.cc text_size.set_width(std::min(available_rect.width(), text_size.width())); width 433 ui/views/controls/label.cc text_origin.Offset((available_rect.width() + 1 - text_size.width()) / 2, width 437 ui/views/controls/label.cc text_origin.set_x(available_rect.right() - text_size.width()); width 512 ui/views/controls/label.cc GetAvailableRect().width(), width 517 ui/views/controls/label.cc GetAvailableRect().width(), width 522 ui/views/controls/label.cc GetAvailableRect().width(), width 527 ui/views/controls/label.cc gfx::ElideEmail(layout_text(), font_list_, GetAvailableRect().width()); width 562 ui/views/controls/label.cc GetAvailableRect().width(); width 213 ui/views/controls/label_unittest.cc EXPECT_GT(required_size.width(), kMinTextDimension); width 225 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size_with_border.width(), width 226 ui/views/controls/label_unittest.cc required_size.width() + border.width()); width 242 ui/views/controls/label_unittest.cc for (int i = 1; i < required_size.width(); ++i) { width 258 ui/views/controls/label_unittest.cc EXPECT_GT(required_size.width(), kMinTextDimension); width 262 ui/views/controls/label_unittest.cc int required_width = label.GetLocalBounds().width(); width 267 ui/views/controls/label_unittest.cc int constrained_width = label.GetLocalBounds().width(); width 277 ui/views/controls/label_unittest.cc EXPECT_EQ(required_width, label.GetLocalBounds().width()); width 301 ui/views/controls/label_unittest.cc int required_width_with_border = label.GetLocalBounds().width(); width 302 ui/views/controls/label_unittest.cc EXPECT_EQ(required_width_with_border, required_width + border.width()); width 325 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size_with_border.width(), width 326 ui/views/controls/label_unittest.cc required_size.width() + border.width()); width 340 ui/views/controls/label_unittest.cc required_size.width() + extra.width(), width 357 ui/views/controls/label_unittest.cc required_size.width() + extra.width(), width 380 ui/views/controls/label_unittest.cc required_size.width() + extra.width(), width 392 ui/views/controls/label_unittest.cc EXPECT_EQ(extra.width() / 2, text_bounds.x()); width 394 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size.width(), text_bounds.width()); width 410 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size.width(), text_bounds.width()); width 424 ui/views/controls/label_unittest.cc EXPECT_EQ(extra.width(), text_bounds.x()); width 426 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size.width(), text_bounds.width()); width 439 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size.width() + border.width(), width 440 ui/views/controls/label_unittest.cc required_size_with_border.width()); width 445 ui/views/controls/label_unittest.cc required_size_with_border.width() + extra.width(), width 455 ui/views/controls/label_unittest.cc EXPECT_EQ(border.left() + extra.width() / 2, text_bounds.x()); width 457 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size.width(), text_bounds.width()); width 473 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size.width(), text_bounds.width()); width 487 ui/views/controls/label_unittest.cc EXPECT_EQ(border.left() + extra.width(), text_bounds.x()); width 489 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size.width(), text_bounds.width()); width 515 ui/views/controls/label_unittest.cc label.width() + extra.width(), width 524 ui/views/controls/label_unittest.cc EXPECT_EQ(extra.width() / 2, text_bounds.x()); width 526 ui/views/controls/label_unittest.cc EXPECT_GT(text_bounds.width(), kMinTextDimension); width 545 ui/views/controls/label_unittest.cc EXPECT_GT(text_bounds.width(), kMinTextDimension); width 561 ui/views/controls/label_unittest.cc EXPECT_EQ(extra.width(), text_bounds.x()); width 563 ui/views/controls/label_unittest.cc EXPECT_GT(text_bounds.width(), kMinTextDimension); width 581 ui/views/controls/label_unittest.cc label.width() + extra.width(), width 589 ui/views/controls/label_unittest.cc EXPECT_EQ(border.left() + extra.width() / 2, text_bounds.x()); width 591 ui/views/controls/label_unittest.cc EXPECT_EQ(center_bounds.width(), text_bounds.width()); width 609 ui/views/controls/label_unittest.cc EXPECT_EQ(center_bounds.width(), text_bounds.width()); width 625 ui/views/controls/label_unittest.cc EXPECT_EQ(extra.width() + border.left(), text_bounds.x()); width 627 ui/views/controls/label_unittest.cc EXPECT_EQ(center_bounds.width(), text_bounds.width()); width 652 ui/views/controls/label_unittest.cc required_size.width() + extra.width(), width 664 ui/views/controls/label_unittest.cc EXPECT_EQ(extra.width() / 2, text_bounds.x()); width 666 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size.width(), text_bounds.width()); width 680 ui/views/controls/label_unittest.cc EXPECT_EQ(extra.width(), text_bounds.x()); width 682 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size.width(), text_bounds.width()); width 698 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size.width(), text_bounds.width()); width 712 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size.width() + border.width(), width 713 ui/views/controls/label_unittest.cc required_size_with_border.width()); width 718 ui/views/controls/label_unittest.cc required_size_with_border.width() + extra.width(), width 728 ui/views/controls/label_unittest.cc EXPECT_EQ(border.left() + extra.width() / 2, text_bounds.x()); width 730 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size.width(), text_bounds.width()); width 744 ui/views/controls/label_unittest.cc EXPECT_EQ(border.left() + extra.width(), text_bounds.x()); width 746 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size.width(), text_bounds.width()); width 762 ui/views/controls/label_unittest.cc EXPECT_EQ(required_size.width(), text_bounds.width()); width 791 ui/views/controls/label_unittest.cc label.width() + extra.width(), width 800 ui/views/controls/label_unittest.cc EXPECT_EQ(extra.width() / 2, text_bounds.x()); width 802 ui/views/controls/label_unittest.cc EXPECT_GT(text_bounds.width(), kMinTextDimension); width 820 ui/views/controls/label_unittest.cc EXPECT_EQ(extra.width(), text_bounds.x()); width 822 ui/views/controls/label_unittest.cc EXPECT_GT(text_bounds.width(), kMinTextDimension); width 841 ui/views/controls/label_unittest.cc EXPECT_GT(text_bounds.width(), kMinTextDimension); width 860 ui/views/controls/label_unittest.cc label.width() + extra.width(), width 868 ui/views/controls/label_unittest.cc EXPECT_EQ(border.left() + extra.width() / 2, text_bounds.x()); width 870 ui/views/controls/label_unittest.cc EXPECT_EQ(center_bounds.width(), text_bounds.width()); width 887 ui/views/controls/label_unittest.cc EXPECT_EQ(border.left() + extra.width(), text_bounds.x()); width 889 ui/views/controls/label_unittest.cc EXPECT_EQ(center_bounds.width(), text_bounds.width()); width 908 ui/views/controls/label_unittest.cc EXPECT_EQ(center_bounds.width(), text_bounds.width()); width 56 ui/views/controls/menu/menu_2.cc void Menu2::SetMinimumWidth(int width) { width 57 ui/views/controls/menu/menu_2.cc wrapper_->SetMinimumWidth(width); width 82 ui/views/controls/menu/menu_2.h void SetMinimumWidth(int width); width 46 ui/views/controls/menu/menu_config_win.cc check_width = check_size.width(); width 57 ui/views/controls/menu/menu_config_win.cc radio_width = radio_size.width(); width 64 ui/views/controls/menu/menu_config_win.cc arrow_width = arrow_size.width(); width 1038 ui/views/controls/menu/menu_controller.cc source->GetWidget(), gfx::Size(item->width(), item->height()))); width 1264 ui/views/controls/menu/menu_controller.cc mouse_location.x() < source_view->width() && width 1315 ui/views/controls/menu/menu_controller.cc button->width(), button->height() - 1), width 1434 ui/views/controls/menu/menu_controller.cc scroll_view_loc.x() >= scroll_view_container->width() || width 1682 ui/views/controls/menu/menu_controller.cc pref.set_width(std::min(pref.width(), width 1685 ui/views/controls/menu/menu_controller.cc pref.set_width(std::min(pref.width(), state_.monitor_bounds.width())); width 1705 ui/views/controls/menu/menu_controller.cc x = x + state_.initial_bounds.width() - pref.width(); width 1709 ui/views/controls/menu/menu_controller.cc x = x - (pref.width() - state_.initial_bounds.width()) / 2; width 1759 ui/views/controls/menu/menu_controller.cc if (x + state_.initial_bounds.width() + pref.width() > width 1761 ui/views/controls/menu/menu_controller.cc x -= pref.width(); // Move the menu to the left of the button. width 1763 ui/views/controls/menu/menu_controller.cc x += state_.initial_bounds.width(); // Move the menu right. width 1768 ui/views/controls/menu/menu_controller.cc state_.initial_bounds.x() - pref.width()) width 1771 ui/views/controls/menu/menu_controller.cc x = state_.initial_bounds.x() - pref.width(); // Move left. width 1789 ui/views/controls/menu/menu_controller.cc if (state_.monitor_bounds.width() != 0 && width 1791 ui/views/controls/menu/menu_controller.cc if (x + pref.width() > state_.monitor_bounds.right()) width 1792 ui/views/controls/menu/menu_controller.cc x = state_.initial_bounds.x() - pref.width() - 1; width 1811 ui/views/controls/menu/menu_controller.cc x = item_loc.x() + item->width() - submenu_horizontal_inset; width 1812 ui/views/controls/menu/menu_controller.cc if (state_.monitor_bounds.width() != 0 && width 1813 ui/views/controls/menu/menu_controller.cc x + pref.width() > state_.monitor_bounds.right()) { width 1818 ui/views/controls/menu/menu_controller.cc x = item_loc.x() - pref.width() + submenu_horizontal_inset; width 1821 ui/views/controls/menu/menu_controller.cc x = item_loc.x() - pref.width() + submenu_horizontal_inset; width 1822 ui/views/controls/menu/menu_controller.cc if (state_.monitor_bounds.width() != 0 && x < state_.monitor_bounds.x()) { width 1827 ui/views/controls/menu/menu_controller.cc x = item_loc.x() + item->width() - submenu_horizontal_inset; width 1831 ui/views/controls/menu/menu_controller.cc if (state_.monitor_bounds.width() != 0) { width 1840 ui/views/controls/menu/menu_controller.cc if (state_.monitor_bounds.width() != 0) { width 1841 ui/views/controls/menu/menu_controller.cc if (x + pref.width() > state_.monitor_bounds.right()) width 1842 ui/views/controls/menu/menu_controller.cc x = state_.monitor_bounds.right() - pref.width(); width 1846 ui/views/controls/menu/menu_controller.cc return gfx::Rect(x, y, pref.width(), pref.height()); width 1866 ui/views/controls/menu/menu_controller.cc int max_width = state_.monitor_bounds.width(); width 1886 ui/views/controls/menu/menu_controller.cc pref.set_width(std::min(pref.width(), max_width)); width 1890 ui/views/controls/menu/menu_controller.cc pref.set_width(std::min(pref.width(), width 1901 ui/views/controls/menu/menu_controller.cc x = owner_bounds.CenterPoint().x() - pref.width() / 2; width 1905 ui/views/controls/menu/menu_controller.cc } else if (x + pref.width() > state_.monitor_bounds.right()) { width 1906 ui/views/controls/menu/menu_controller.cc x = state_.monitor_bounds.right() - pref.width(); width 1909 ui/views/controls/menu/menu_controller.cc pref.width() / 2 - x + x_old); width 1914 ui/views/controls/menu/menu_controller.cc x = owner_bounds.x() - pref.width() + kBubbleTipSizeLeftRight; width 1926 ui/views/controls/menu/menu_controller.cc return gfx::Rect(x, y, pref.width(), pref.height()); width 113 ui/views/controls/menu/menu_image_util.cc canvas->DrawImageInt(*r, - r->width(), 0); width 519 ui/views/controls/menu/menu_item_view.cc child->SetBounds(0, GetTopMargin(), size.width(), size.height()); width 523 ui/views/controls/menu/menu_item_view.cc int x = width() - (use_right_margin_ ? item_right_margin_ : 0); width 528 ui/views/controls/menu/menu_item_view.cc int width = child->GetPreferredSize().width(); width 529 ui/views/controls/menu/menu_item_view.cc child->SetBounds(x - width, 0, width, height()); width 530 ui/views/controls/menu/menu_item_view.cc x -= width - kChildXPadding; width 538 ui/views/controls/menu/menu_item_view.cc (icon_area_width_ - size.width()) / 2; width 756 ui/views/controls/menu/menu_item_view.cc gfx::Rect item_bounds(0, 0, width(), height()); width 778 ui/views/controls/menu/menu_item_view.cc check.width(), width 787 ui/views/controls/menu/menu_item_view.cc image.width(), width 818 ui/views/controls/menu/menu_item_view.cc int width = this->width() - label_start - accel_width - width 822 ui/views/controls/menu/menu_item_view.cc gfx::Rect text_bounds(label_start, top_margin, width, width 846 ui/views/controls/menu/menu_item_view.cc gfx::Rect arrow_bounds(this->width() - config.arrow_width - width 868 ui/views/controls/menu/menu_item_view.cc gfx::Rect accel_bounds(width() - accel_right_margin - max_accel_width, width 927 ui/views/controls/menu/menu_item_view.cc int width = 0; width 933 ui/views/controls/menu/menu_item_view.cc width += kChildXPadding; width 934 ui/views/controls/menu/menu_item_view.cc width += child->GetPreferredSize().width(); width 942 ui/views/controls/menu/menu_item_view.cc return gfx::Size(width, height); width 950 ui/views/controls/menu/menu_item_view.cc dimensions.children_width = child_size.width(); width 1006 ui/views/controls/menu/menu_item_view.cc label_start += icon_view_->size().width() + width 1040 ui/views/controls/menu/menu_item_view.cc int width = 0; width 1052 ui/views/controls/menu/menu_item_view.cc temp_width = menu_item->icon_view()->GetPreferredSize().width(); width 1054 ui/views/controls/menu/menu_item_view.cc width = std::max(width, temp_width); width 1056 ui/views/controls/menu/menu_item_view.cc return width; width 77 ui/views/controls/menu/menu_scroll_view_container.cc gfx::Rect item_bounds(0, 0, width(), height()); width 85 ui/views/controls/menu/menu_scroll_view_container.cc int x = width() / 2; width 211 ui/views/controls/menu/menu_scroll_view_container.cc gfx::Rect bounds(0, 0, width(), height()); width 223 ui/views/controls/menu/menu_scroll_view_container.cc int width = View::width() - insets.width(); width 226 ui/views/controls/menu/menu_scroll_view_container.cc scroll_view_->SetBounds(x, y, width, content_height); width 232 ui/views/controls/menu/menu_scroll_view_container.cc scroll_up_button_->SetBounds(x, y, width, pref.height()); width 239 ui/views/controls/menu/menu_scroll_view_container.cc width, pref.height()); width 242 ui/views/controls/menu/menu_scroll_view_container.cc scroll_view_->SetBounds(x, scroll_view_y, width, content_height); width 249 ui/views/controls/menu/menu_scroll_view_container.cc prefsize.Enlarge(insets.width(), insets.height()); width 45 ui/views/controls/menu/menu_separator_views.cc canvas->FillRect(gfx::Rect(0, pos, width(), kSeparatorHeight), width 42 ui/views/controls/menu/menu_separator_win.cc gfx::Rect separator_bounds(start_x, 0, width(), height()); width 69 ui/views/controls/menu/menu_wrapper.h virtual void SetMinimumWidth(int width) = 0; width 525 ui/views/controls/menu/native_menu_win.cc void NativeMenuWin::SetMinimumWidth(int width) { width 44 ui/views/controls/menu/native_menu_win.h virtual void SetMinimumWidth(int width) OVERRIDE; width 107 ui/views/controls/menu/submenu_view.cc SetBounds(x(), new_y, parent()->width(), pref_height); width 112 ui/views/controls/menu/submenu_view.cc int menu_item_width = width() - insets.width(); width 151 ui/views/controls/menu/submenu_view.cc max_complex_width = std::max(max_complex_width, child_pref_size.width()); width 163 ui/views/controls/menu/submenu_view.cc insets.width(), width 164 ui/views/controls/menu/submenu_view.cc minimum_preferred_width_ - 2 * insets.width())), width 491 ui/views/controls/menu/submenu_view.cc gfx::Rect new_vis_bounds(x, y, vis_bounds.width(), vis_bounds.height()); width 100 ui/views/controls/message_box_view.cc icon_->SetBounds(0, 0, icon.width(), icon.height()); width 230 ui/views/controls/message_box_view.cc GridLayout::FIXED, icon_size.width(), width 243 ui/views/controls/message_box_view.cc 0, icon_size.width() + kUnrelatedControlHorizontalSpacing); width 89 ui/views/controls/native/native_view_host.cc native_wrapper_->InstallClip(x, y, vis_bounds.width(), width 106 ui/views/controls/native/native_view_host.cc local_bounds.width(), width 189 ui/views/controls/progress_bar.cc pref_size.Enlarge(insets.width(), insets.height()); width 201 ui/views/controls/progress_bar.cc int bar_width = content_bounds.width(); width 59 ui/views/controls/scroll_view.cc int x = CheckScrollBounds(viewport->width(), view->width(), -view->x()); width 63 ui/views/controls/scroll_view.cc view->SetBounds(-x, -y, view->width(), view->height()); width 165 ui/views/controls/scroll_view.cc contents_viewport_->width(), contents_viewport_->height()); width 202 ui/views/controls/scroll_view.cc size.SetToMax(gfx::Size(size.width(), min_height_)); width 203 ui/views/controls/scroll_view.cc size.SetToMin(gfx::Size(size.width(), max_height_)); width 205 ui/views/controls/scroll_view.cc size.Enlarge(insets.width(), insets.height()); width 209 ui/views/controls/scroll_view.cc int ScrollView::GetHeightForWidth(int width) { width 211 ui/views/controls/scroll_view.cc return View::GetHeightForWidth(width); width 214 ui/views/controls/scroll_view.cc width = std::max(0, width - insets.width()); width 215 ui/views/controls/scroll_view.cc int height = contents()->GetHeightForWidth(width) + insets.height(); width 221 ui/views/controls/scroll_view.cc int content_width = width(); width 259 ui/views/controls/scroll_view.cc viewport_bounds.set_width(viewport_bounds.width() - vert_sb_width); width 293 ui/views/controls/scroll_view.cc viewport_bounds.set_width(viewport_bounds.width() + vert_sb_width); width 325 ui/views/controls/scroll_view.cc viewport_bounds.width(), header_height); width 402 ui/views/controls/scroll_view.cc position = AdjustPosition(contents_->x(), position, contents_->width(), width 403 ui/views/controls/scroll_view.cc contents_viewport_->width()); width 438 ui/views/controls/scroll_view.cc return is_horizontal ? contents_viewport_->width() : width 441 ui/views/controls/scroll_view.cc return is_horizontal ? contents_viewport_->width() / 5 : width 464 ui/views/controls/scroll_view.cc std::max(contents_viewport_->width(), contents_->width()); width 475 ui/views/controls/scroll_view.cc x + std::min(rect.width(), contents_viewport_->width())); width 494 ui/views/controls/scroll_view.cc (vis_rect.x() > x) ? x : std::max(0, max_x - contents_viewport_->width()); width 512 ui/views/controls/scroll_view.cc if (content_size.width() <= vp_size.width() && width 516 ui/views/controls/scroll_view.cc } else if (content_size.width() <= vp_size.width() - GetScrollBarWidth()) { width 551 ui/views/controls/scroll_view.cc int vw = contents_viewport_->width(); width 552 ui/views/controls/scroll_view.cc int cw = contents_->width(); width 79 ui/views/controls/scroll_view.h virtual int GetHeightForWidth(int width) OVERRIDE; width 33 ui/views/controls/scroll_view_unittest.cc int width = pref.width(); width 36 ui/views/controls/scroll_view_unittest.cc width = std::max(parent()->width(), width); width 39 ui/views/controls/scroll_view_unittest.cc SetBounds(x(), y(), width, height); width 70 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100 - scroll_view.GetScrollBarWidth(), contents->parent()->width()); width 80 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100, contents->parent()->width()); width 91 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100 - scroll_view.GetScrollBarWidth(), contents->parent()->width()); width 144 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100 - scroll_view.GetScrollBarWidth(), contents->parent()->width()); width 148 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100 - scroll_view.GetScrollBarWidth(), header->parent()->width()); width 160 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100, contents->parent()->width()); width 165 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100, header->parent()->width()); width 177 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100 - scroll_view.GetScrollBarWidth(), contents->parent()->width()); width 182 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100 - scroll_view.GetScrollBarWidth(), header->parent()->width()); width 330 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(scroll_view.contents()->size().width(), expected_width); width 488 ui/views/controls/scrollbar/base_scroll_bar.cc return IsHorizontal() ? track_bounds.width() : track_bounds.height(); width 33 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc size = std::max(size, scroll_bar_->IsHorizontal() ? prefsize.width() : width 46 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc return width(); width 95 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc (event.x() > (x() + width() + kScrollThumbDragOutSnap))) { width 89 ui/views/controls/scrollbar/kennedy_scroll_bar.cc thumb_bounds.set_width(thumb->width()); width 53 ui/views/controls/scrollbar/native_scroll_bar.cc native_wrapper_->GetView()->SetBounds(0, 0, width(), height()); width 267 ui/views/controls/scrollbar/native_scroll_bar_views.cc prev_button_->SetBounds(0, 0, size.width(), size.height()); width 270 ui/views/controls/scrollbar/native_scroll_bar_views.cc next_button_->SetBounds(width() - size.width(), 0, width 271 ui/views/controls/scrollbar/native_scroll_bar_views.cc size.width(), size.height()); width 274 ui/views/controls/scrollbar/native_scroll_bar_views.cc size.width(), size.height()); width 288 ui/views/controls/scrollbar/native_scroll_bar_views.cc params_.scrollbar_track.track_width = bounds.width(); width 308 ui/views/controls/scrollbar/native_scroll_bar_views.cc return IsHorizontal() ? size.height() : size.width(); width 359 ui/views/controls/scrollbar/native_scroll_bar_views.cc bounds.set_x(bounds.x() + size.width()); width 360 ui/views/controls/scrollbar/native_scroll_bar_views.cc bounds.set_width(std::max(0, bounds.width() - 2 * size.width())); width 365 ui/views/controls/scrollbar/native_scroll_bar_views.cc bounds.set_width(thumb->GetPreferredSize().width()); width 421 ui/views/controls/scrollbar/native_scroll_bar_views.cc return std::max(track_size.width(), button_size.width()); width 150 ui/views/controls/scrollbar/overlay_scroll_bar.cc thumb_bounds.set_width(thumb->width()); width 75 ui/views/controls/scrollbar/scrollbar_unittest.cc track_size_ = scrollbar_->GetTrackBounds().width(); width 155 ui/views/controls/scrollbar/scrollbar_unittest.cc scrollbar_->GetTrackBounds().width() - scrollbar_->GetThumbSizeForTest(), width 33 ui/views/controls/separator.cc return gfx::Size(width(), kSeparatorHeight); width 68 ui/views/controls/single_split_view.cc int width = 0; width 74 ui/views/controls/single_split_view.cc width += pref.width(); width 77 ui/views/controls/single_split_view.cc width = std::max(width, pref.width()); width 82 ui/views/controls/single_split_view.cc width += GetDividerSize(); width 85 ui/views/controls/single_split_view.cc return gfx::Size(width, height); width 117 ui/views/controls/single_split_view.cc divider_at = GetPrimaryAxisSize(bounds.width(), bounds.height()); width 132 ui/views/controls/single_split_view.cc std::max(0, bounds.width() - divider_at - divider_size), width 135 ui/views/controls/single_split_view.cc *leading_bounds = gfx::Rect(0, 0, bounds.width(), divider_at); width 137 ui/views/controls/single_split_view.cc gfx::Rect(0, divider_at + divider_size, bounds.width(), width 165 ui/views/controls/single_split_view.cc int new_size = std::max(GetPrimaryAxisSize(min.width(), min.height()), width 172 ui/views/controls/single_split_view.cc GetPrimaryAxisSize(min.width(), min.height()), new_size); width 211 ui/views/controls/single_split_view.cc p.x() - child_at(base::i18n::IsRTL() ? 1 : 0)->width(); width 231 ui/views/controls/single_split_view.cc divider_offset += new_bounds.width() - previous_bounds.width(); width 244 ui/views/controls/single_split_view.cc int primary_axis_size = GetPrimaryAxisSize(bounds.width(), bounds.height()); width 108 ui/views/controls/single_split_view.h return GetPrimaryAxisSize(width(), height()); width 32 ui/views/controls/single_split_view_unittest.cc EXPECT_LT(leading->bounds().width() + trailing->bounds().width(), width 33 ui/views/controls/single_split_view_unittest.cc split.bounds().width()); width 35 ui/views/controls/single_split_view_unittest.cc EXPECT_EQ(leading->bounds().width(), split.bounds().width()); width 36 ui/views/controls/single_split_view_unittest.cc EXPECT_EQ(trailing->bounds().width(), split.bounds().width()); width 52 ui/views/controls/slide_out_view.cc 1.f - std::min(fabsf(gesture_scroll_amount_) / width(), 1.f)); width 56 ui/views/controls/slide_out_view.cc float scrolled_ratio = fabsf(gesture_scroll_amount_) / width(); width 87 ui/views/controls/slide_out_view.cc transform.Translate(direction == SLIDE_LEFT ? -width() : width(), 0.0); width 119 ui/views/controls/slider.cc const int thumb_x = value * (content.width() - thumb_->width()); width 121 ui/views/controls/slider.cc width() - (point.x() - inset.left()) : width 123 ui/views/controls/slider.cc if (candidate_x >= 0 && candidate_x < thumb_->width()) width 126 ui/views/controls/slider.cc initial_button_offset_.set_x(thumb_->width() / 2); width 142 ui/views/controls/slider.cc width() - inset.left() - point.x() - initial_button_offset_.x() : width 145 ui/views/controls/slider.cc (width() - inset.width() - thumb_->width()), width 182 ui/views/controls/slider.cc gfx::Rect(1, 1, width() - 3, height() - 3), width 192 ui/views/controls/slider.cc return gfx::Size(std::max(width(), kSizeMajor), kSizeMinor); width 207 ui/views/controls/slider.cc int bar_width = content.width() - kBarInsetX * 2; width 210 ui/views/controls/slider.cc int w = content.width() - thumb_->width(); width 212 ui/views/controls/slider.cc int middle = std::max(full, images_[LEFT]->width()); width 218 ui/views/controls/slider.cc bar_width - images_[RIGHT]->width(), width 221 ui/views/controls/slider.cc images_[LEFT]->width(), width 223 ui/views/controls/slider.cc middle - images_[LEFT]->width(), width 228 ui/views/controls/slider.cc bar_width - middle - images_[RIGHT]->width(), width 240 ui/views/controls/slider.cc const int kButtonRadius = thumb_->width() / 2; width 248 ui/views/controls/slider.cc int x = content.width() / 2 - kLineThickness / 2; width 260 ui/views/controls/slider.cc int thumb_x = content.width() / 2 - thumb_->width() / 2; width 39 ui/views/controls/slider_unittest.cc ClickAt(view, view->width(), 0); width 68 ui/views/controls/slider_unittest.cc ClickAt(view, view->width(), 0); width 161 ui/views/controls/styled_label.cc if (w != calculated_size_.width()) width 167 ui/views/controls/styled_label.cc calculated_size_ = CalculateAndDoLayout(GetLocalBounds().width(), false); width 180 ui/views/controls/styled_label.cc gfx::Size StyledLabel::CalculateAndDoLayout(int width, bool dry_run) { width 186 ui/views/controls/styled_label.cc width -= GetInsets().width(); width 187 ui/views/controls/styled_label.cc if (width <= 0 || text_.empty()) width 216 ui/views/controls/styled_label.cc const gfx::Rect chunk_bounds(x, 0, width - x, 2 * line_height); width 228 ui/views/controls/styled_label.cc chunk_bounds.width(), width 301 ui/views/controls/styled_label.cc x += view_size.width() - focus_border_insets.width(); width 306 ui/views/controls/styled_label.cc return gfx::Size(width, (line + 1) * line_height + GetInsets().height()); width 117 ui/views/controls/styled_label.h gfx::Size CalculateAndDoLayout(int width, bool dry_run); width 55 ui/views/controls/styled_label_unittest.cc StyledLabelContentHeightForWidth(label_preferred_size.width() * 2)); width 93 ui/views/controls/styled_label_unittest.cc styled()->SetBounds(0, 0, label_preferred_size.width() / 2, 1000); width 109 ui/views/controls/styled_label_unittest.cc StyledLabelContentHeightForWidth(label_preferred_size.width())); width 116 ui/views/controls/styled_label_unittest.cc styled()->GetInsets().width() + label_preferred_size.width(), width 161 ui/views/controls/styled_label_unittest.cc int pref_height = styled()->GetHeightForWidth(label_preferred_size.width()); width 165 ui/views/controls/styled_label_unittest.cc styled()->SetBounds(0, 0, label_preferred_size.width(), pref_height); width 187 ui/views/controls/styled_label_unittest.cc int pref_height = styled()->GetHeightForWidth(label_preferred_size.width()); width 191 ui/views/controls/styled_label_unittest.cc styled()->SetBounds(0, 0, label_preferred_size.width(), pref_height); width 236 ui/views/controls/styled_label_unittest.cc ASSERT_GE(bold_label_size.width(), normal_label_size.width()); width 240 ui/views/controls/styled_label_unittest.cc int styled_width = (normal_label_size.width() + bold_label_size.width()) / 2; width 354 ui/views/controls/styled_label_unittest.cc int pref_height = styled()->GetHeightForWidth(label_preferred_size.width()); width 358 ui/views/controls/styled_label_unittest.cc styled()->SetBounds(0, 0, label_preferred_size.width(), pref_height); width 361 ui/views/controls/styled_label_unittest.cc EXPECT_EQ(label_preferred_size.width(), styled()->width()); width 394 ui/views/controls/styled_label_unittest.cc label.GetPreferredSize().width(), width 399 ui/views/controls/styled_label_unittest.cc EXPECT_EQ(label.GetPreferredSize().width(), styled()->width()); width 146 ui/views/controls/tabbed_pane/tabbed_pane.cc if (size.width() < kTabMinWidth) width 189 ui/views/controls/tabbed_pane/tabbed_pane.cc size.SetSize(size.width() + child_size.width(), width 200 ui/views/controls/tabbed_pane/tabbed_pane.cc child_at(i)->SetBounds(x, 0, ps.width(), ps.height()); width 213 ui/views/controls/tabbed_pane/tabbed_pane.cc SkScalar line_end = SkIntToScalar(width()); width 221 ui/views/controls/tabbed_pane/tabbed_pane.cc SkIntToScalar(selected_tab->width()) - kTabBorderThickness; width 325 ui/views/controls/tabbed_pane/tabbed_pane.cc tab_strip_->SetBounds(0, 0, width(), size.height()); width 326 ui/views/controls/tabbed_pane/tabbed_pane.cc contents_->SetBounds(0, tab_strip_->bounds().bottom(), width(), width 51 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc EXPECT_GE(pref.width(), 20); width 58 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc EXPECT_GT(bounds.width(), 0); width 61 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc EXPECT_LE(bounds.width(), 100); width 58 ui/views/controls/table/table_header.cc SetBounds(x(), y(), table_->width(), GetPreferredSize().height()); width 68 ui/views/controls/table/table_header.cc gfx::Point(width(), height() - 1), border_color); width 74 ui/views/controls/table/table_header.cc if (columns[i].width >= 2) { width 76 ui/views/controls/table/table_header.cc columns[i].x + columns[i].width - 1); width 83 ui/views/controls/table/table_header.cc int width = columns[i].width - kHorizontalPadding - kHorizontalPadding; width 84 ui/views/controls/table/table_header.cc if (width <= 0) width 91 ui/views/controls/table/table_header.cc title_width + kSortIndicatorWidth <= width); width 95 ui/views/controls/table/table_header.cc width -= kSortIndicatorWidth; width 100 ui/views/controls/table/table_header.cc gfx::Rect(GetMirroredXWithWidthInView(x, width), kVerticalPadding, width 101 ui/views/controls/table/table_header.cc width, height() - kVerticalPadding * 2), width 123 ui/views/controls/table/table_header.cc indicator_x = x + width / 2; width 126 ui/views/controls/table/table_header.cc indicator_x = x + width; width 232 ui/views/controls/table/table_header.cc resize_details_->initial_width = table_->visible_columns()[index].width; width 255 ui/views/controls/table/table_header.cc if (x >= column.x && x < column.x + column.width && event.y() >= 0 && width 272 ui/views/controls/table/table_header.cc const int max_x = column.x + column.width; width 23 ui/views/controls/table/table_utils.cc int width = header_padding; width 25 ui/views/controls/table/table_utils.cc width = gfx::GetStringWidth(column.title, header_font_list) + width 31 ui/views/controls/table/table_utils.cc width = std::max(width, cell_width); width 33 ui/views/controls/table/table_utils.cc return width + padding; width 37 ui/views/controls/table/table_utils.cc int width, width 50 ui/views/controls/table/table_utils.cc if (column.width <= 0) { width 65 ui/views/controls/table/table_utils.cc content_widths[i] = column.width; width 66 ui/views/controls/table/table_utils.cc non_percent_width += column.width; width 71 ui/views/controls/table/table_utils.cc const int available_width = width - non_percent_width; width 75 ui/views/controls/table/table_utils.cc if (column.width <= 0 && column.percent > 0 && available_width > 0) { width 86 ui/views/controls/table/table_utils.cc columns.back().width <= 0 && columns.back().percent == 0.f) { width 111 ui/views/controls/table/table_utils.cc if (x <= columns[i].x + columns[i].width) width 39 ui/views/controls/table/table_utils.h int width, width 29 ui/views/controls/table/table_utils_unittest.cc ui::TableColumn CreateTableColumnWithWidth(int width) { width 31 ui/views/controls/table/table_utils_unittest.cc column.width = width; width 262 ui/views/controls/table/table_view.cc void TableView::SetVisibleColumnWidth(int index, int width) { width 264 ui/views/controls/table/table_view.cc if (visible_columns_[index].width == width) width 267 ui/views/controls/table/table_view.cc visible_columns_[index].width = width; width 270 ui/views/controls/table/table_view.cc visible_columns_[i - 1].x + visible_columns_[i - 1].width; width 299 ui/views/controls/table/table_view.cc const int scroll_view_width = scroll_view->GetContentsBounds().width(); width 305 ui/views/controls/table/table_view.cc layout_width_ = parent()->width(); width 312 ui/views/controls/table/table_view.cc int width = pref.width(); width 315 ui/views/controls/table/table_view.cc width = std::max(parent()->width(), width); width 318 ui/views/controls/table/table_view.cc SetBounds(x(), y(), width, height); width 322 ui/views/controls/table/table_view.cc int width = 50; width 324 ui/views/controls/table/table_view.cc width = visible_columns_.back().x + visible_columns_.back().width; width 325 ui/views/controls/table/table_view.cc return gfx::Size(width, RowCount() * row_height_); width 468 ui/views/controls/table/table_view.cc screen_loc.set_x(width()); width 518 ui/views/controls/table/table_view.cc image, 0, 0, image.width(), image.height(), width 640 ui/views/controls/table/table_view.cc return gfx::Rect(0, row * row_height_, width(), row_height_); width 647 ui/views/controls/table/table_view.cc return gfx::Rect(vis_col.x, row * row_height_, vis_col.width, row_height_); width 695 ui/views/controls/table/table_view.cc visible_columns_[i].width = sizes[i]; width 719 ui/views/controls/table/table_view.cc const int paint_max_x = paint_x + bounds.width(); width 723 ui/views/controls/table/table_view.cc int max_x = visible_columns_[i].x + visible_columns_[i].width; width 884 ui/views/controls/table/table_view.cc x > (visible_columns_[column].x + visible_columns_[column].width)) width 67 ui/views/controls/table/table_view.h int width; width 151 ui/views/controls/table/table_view.h void SetVisibleColumnWidth(int index, int width); width 289 ui/views/controls/table/table_view_unittest.cc const int x = table_->visible_columns()[0].width; width 302 ui/views/controls/table/table_view_unittest.cc EXPECT_EQ(x - 1, table_->visible_columns()[0].width); width 308 ui/views/controls/table/table_view_unittest.cc const int x = table_->visible_columns()[0].width; width 321 ui/views/controls/table/table_view_unittest.cc EXPECT_EQ(x - 1, table_->visible_columns()[0].width); width 380 ui/views/controls/table/table_view_unittest.cc const int x = table_->visible_columns()[0].width / 2; width 480 ui/views/controls/textfield/textfield.cc insets.width(), GetFontList().GetHeight() + insets.height()); width 940 ui/views/controls/textfield/textfield.cc size.SetToMin(gfx::Size(display.size().width(), height())); width 59 ui/views/controls/throbber.cc DCHECK(frames_->width() > 0 && frames_->height() > 0); width 60 ui/views/controls/throbber.cc DCHECK(frames_->width() % frames_->height() == 0); width 61 ui/views/controls/throbber.cc frame_count_ = frames_->width() / frames_->height(); width 162 ui/views/controls/throbber.cc int checkmark_x = (width() - checkmark_->width()) / 2; width 91 ui/views/controls/tree/tree_view.cc text_offset_ = closed_icon_.width() + kImagePadding + kImagePadding + width 344 ui/views/controls/tree/tree_view.cc int width = preferred_size_.width(); width 347 ui/views/controls/tree/tree_view.cc width = std::max(parent()->width(), width); width 350 ui/views/controls/tree/tree_view.cc SetBounds(x(), y(), width, height); width 545 ui/views/controls/tree/tree_view.cc screen_loc.set_x(width()); width 649 ui/views/controls/tree/tree_view.cc relative_x = bounds.width() - relative_x; width 697 ui/views/controls/tree/tree_view.cc int width = 0, height = 0; width 699 ui/views/controls/tree/tree_view.cc &width, &height, 0, gfx::Canvas::NO_ELLIPSIS); width 700 ui/views/controls/tree/tree_view.cc node->set_text_width(width); width 728 ui/views/controls/tree/tree_view.cc GetMirroredXWithWidthInView(row_bounds.x(), row_bounds.width())); width 730 ui/views/controls/tree/tree_view.cc row_bounds.set_width(row_bounds.width() - text_offset_); width 732 ui/views/controls/tree/tree_view.cc row_bounds.Inset(-empty_editor_size_.width() / 2, width 735 ui/views/controls/tree/tree_view.cc row_bounds.set_width(row_bounds.width() + 50); width 784 ui/views/controls/tree/tree_view.cc (open_icon_.width() - icon.width()) / 2; width 786 ui/views/controls/tree/tree_view.cc icon_x = bounds.right() - icon_x - open_icon_.width(); width 795 ui/views/controls/tree/tree_view.cc bounds.width() - text_offset_, bounds.height()); width 810 ui/views/controls/tree/tree_view.cc text_bounds.width() - kTextHorizontalPadding * 2, width 880 ui/views/controls/tree/tree_view.cc rect.set_x(GetMirroredXWithWidthInView(rect.x(), rect.width())); width 201 ui/views/controls/tree/tree_view.h void set_text_width(int width) { text_width_ = width; } width 127 ui/views/controls/webview/webview.cc if (capture_size.width() <= holder_bounds.width() && width 136 ui/views/controls/webview/webview.cc const int64 x = static_cast<int64>(capture_size.width()) * width 139 ui/views/controls/webview/webview.cc holder_bounds.width(); width 142 ui/views/controls/webview/webview.cc holder_bounds.width(), static_cast<int>(y / capture_size.width()))); width 77 ui/views/corewm/tooltip_aura.cc int* width, width 79 ui/views/corewm/tooltip_aura.cc *width = 0; width 138 ui/views/corewm/tooltip_aura.cc *width = available_width; width 142 ui/views/corewm/tooltip_aura.cc *width = std::max(*width, line_width); width 153 ui/views/corewm/tooltip_aura.cc return (display_bounds.width() + 1) / 2; width 232 ui/views/corewm/tooltip_aura.cc int width = max_width + 2 * kTooltipHorizontalPadding; width 236 ui/views/corewm/tooltip_aura.cc SetTooltipBounds(location, width, height); width 36 ui/views/corewm/tooltip_aura.h int* width, width 26 ui/views/corewm/tooltip_aura_unittest.cc int width, line_count, expect_lines; width 38 ui/views/corewm/tooltip_aura_unittest.cc width = line_count = -1; width 44 ui/views/corewm/tooltip_aura_unittest.cc TooltipAura::TrimTooltipToFit(font_list, max_width, &tooltip, &width, width 46 ui/views/corewm/tooltip_aura_unittest.cc EXPECT_NEAR(max_pixel_width, width, error_in_pixel_width); width 52 ui/views/corewm/tooltip_aura_unittest.cc width = line_count = -1; width 57 ui/views/corewm/tooltip_aura_unittest.cc TooltipAura::TrimTooltipToFit(font_list, max_width, &tooltip, &width, width 59 ui/views/corewm/tooltip_aura_unittest.cc EXPECT_NEAR(max_pixel_width, width, error_in_pixel_width); width 64 ui/views/corewm/tooltip_aura_unittest.cc width = line_count = -1; width 71 ui/views/corewm/tooltip_aura_unittest.cc TooltipAura::TrimTooltipToFit(font_list, max_width, &tooltip, &width, width 73 ui/views/corewm/tooltip_aura_unittest.cc EXPECT_NEAR(max_pixel_width, width, error_in_pixel_width); width 82 ui/views/corewm/tooltip_aura_unittest.cc width = line_count = -1; width 84 ui/views/corewm/tooltip_aura_unittest.cc TooltipAura::TrimTooltipToFit(font_list, max_width, &tooltip, &width, width 86 ui/views/corewm/tooltip_aura_unittest.cc EXPECT_NEAR(max_pixel_width, width, 5); width 95 ui/views/corewm/tooltip_aura_unittest.cc width = line_count = -1; width 97 ui/views/corewm/tooltip_aura_unittest.cc TooltipAura::TrimTooltipToFit(font_list, max_width, &tooltip, &width, width 100 ui/views/corewm/tooltip_aura_unittest.cc width); width 106 ui/views/corewm/tooltip_aura_unittest.cc width = line_count = -1; width 108 ui/views/corewm/tooltip_aura_unittest.cc TooltipAura::TrimTooltipToFit(font_list, max_width, &tooltip, &width, width 115 ui/views/corewm/tooltip_aura_unittest.cc EXPECT_EQ(expected_width, width); width 121 ui/views/corewm/tooltip_aura_unittest.cc width = line_count = -1; width 123 ui/views/corewm/tooltip_aura_unittest.cc TooltipAura::TrimTooltipToFit(font_list, max_width, &tooltip, &width, width 126 ui/views/corewm/tooltip_aura_unittest.cc width); width 128 ui/views/corewm/tooltip_win.cc int max_width = (monitor_bounds.width() + 1) / 2; width 44 ui/views/examples/multiline_example.cc size.Enlarge(GetInsets().width(), GetInsets().height()); width 55 ui/views/examples/multiline_example.cc rect.set_width(w - GetInsets().width()); width 31 ui/views/examples/scroll_view_example.cc return gfx::Size(width(), height()); width 41 ui/views/examples/scroll_view_example.cc view->SetBounds(0, y, size.width(), size.height()); width 44 ui/views/examples/single_split_view_example.cc return gfx::Size(width(), height()); width 29 ui/views/examples/throbber_example.cc return gfx::Size(width(), height()); width 35 ui/views/examples/throbber_example.cc child->SetBounds((width() - ps.width()) / 2, width 37 ui/views/examples/throbber_example.cc ps.width(), ps.height()); width 455 ui/views/focus/focus_traversal_unittest.cc int width = 60; width 462 ui/views/focus/focus_traversal_unittest.cc button->SetBounds(150, y, width, 30); width 468 ui/views/focus/focus_traversal_unittest.cc button->SetBounds(220, y, width, 30); width 474 ui/views/focus/focus_traversal_unittest.cc button->SetBounds(290, y, width, 30); width 44 ui/views/layout/box_layout.cc total += child->GetPreferredSize().width() + between_child_spacing_; width 46 ui/views/layout/box_layout.cc total += child->GetHeightForWidth(child_area.width()) + width 55 ui/views/layout/box_layout.cc padding = (child_area.width() - total) / visible; width 67 ui/views/layout/box_layout.cc gfx::Rect bounds(x, y, child_area.width(), child_area.height()); width 69 ui/views/layout/box_layout.cc bounds.set_width(child->GetPreferredSize().width() + padding); width 70 ui/views/layout/box_layout.cc if (bounds.width() > 0) width 71 ui/views/layout/box_layout.cc x += bounds.width() + between_child_spacing_; width 73 ui/views/layout/box_layout.cc bounds.set_height(child->GetHeightForWidth(bounds.width()) + padding); width 86 ui/views/layout/box_layout.cc int width = 0; width 93 ui/views/layout/box_layout.cc width = std::max(width, child->GetPreferredSize().width()); width 97 ui/views/layout/box_layout.cc return GetPreferredSizeForChildWidth(host, width); width 100 ui/views/layout/box_layout.cc int BoxLayout::GetPreferredHeightForWidth(View* host, int width) { width 101 ui/views/layout/box_layout.cc int child_width = width - NonChildSize(host).width(); width 123 ui/views/layout/box_layout.cc gfx::Rect child_bounds(position, 0, size.width(), size.height()); width 125 ui/views/layout/box_layout.cc position += size.width() + between_child_spacing_; width 146 ui/views/layout/box_layout.cc return gfx::Size(child_area_bounds.width() + non_child_size.width(), width 152 ui/views/layout/box_layout.cc return gfx::Size(insets.width() + inside_border_insets_.width(), width 50 ui/views/layout/box_layout.h virtual int GetPreferredHeightForWidth(View* host, int width) OVERRIDE; width 150 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(v2->GetPreferredSize().width(), host_->bounds().width()) << i; width 152 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(v1->GetPreferredSize().width(), v1->bounds().width()) << i; width 154 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(v2->GetPreferredSize().width(), v2->bounds().width()) << i; width 32 ui/views/layout/fill_layout.cc int FillLayout::GetPreferredHeightForWidth(View* host, int width) { width 37 ui/views/layout/fill_layout.cc return host->child_at(0)->GetHeightForWidth(width - insets.width()) + width 29 ui/views/layout/fill_layout.h virtual int GetPreferredHeightForWidth(View* host, int width) OVERRIDE; width 388 ui/views/layout/grid_layout.cc void ColumnSet::AddPaddingColumn(float resize_percent, int width) { width 390 ui/views/layout/grid_layout.cc GridLayout::FIXED, width, width, true); width 538 ui/views/layout/grid_layout.cc int width = view_state->remaining_width; width 539 ui/views/layout/grid_layout.cc if (width <= 0) { width 563 ui/views/layout/grid_layout.cc int remaining_width = width; width 568 ui/views/layout/grid_layout.cc static_cast<int>(width * columns_[i]->ResizePercent() / width 577 ui/views/layout/grid_layout.cc int to_distribute = width / pref_size_columns; width 580 ui/views/layout/grid_layout.cc width -= to_distribute; width 581 ui/views/layout/grid_layout.cc if (width < to_distribute) width 582 ui/views/layout/grid_layout.cc to_distribute += width; width 590 ui/views/layout/grid_layout.cc int width = 0; width 593 ui/views/layout/grid_layout.cc width += (*i)->Size(); width 595 ui/views/layout/grid_layout.cc return width; width 615 ui/views/layout/grid_layout.cc view_state->pref_width = pref.width(); width 619 ui/views/layout/grid_layout.cc view_state->remaining_width = pref.width(); width 812 ui/views/layout/grid_layout.cc SizeRowsAndColumns(true, host_->width(), host_->height(), &pref); width 823 ui/views/layout/grid_layout.cc int width = column_set->GetColumnWidth(view_state->start_col, width 826 ui/views/layout/grid_layout.cc &x, &width); width 836 ui/views/layout/grid_layout.cc view->SetBounds(x, y, width, height); width 844 ui/views/layout/grid_layout.cc out.SetSize(std::max(out.width(), minimum_size_.width()), width 849 ui/views/layout/grid_layout.cc int GridLayout::GetPreferredHeightForWidth(View* host, int width) { width 852 ui/views/layout/grid_layout.cc SizeRowsAndColumns(false, width, 0, &pref); width 856 ui/views/layout/grid_layout.cc void GridLayout::SizeRowsAndColumns(bool layout, int width, int height, width 870 ui/views/layout/grid_layout.cc pref->set_width(std::max(pref->width(), (*i)->LayoutWidth())); width 872 ui/views/layout/grid_layout.cc pref->set_width(pref->width() + insets_.width()); width 875 ui/views/layout/grid_layout.cc width = width ? width : pref->width(); width 879 ui/views/layout/grid_layout.cc (*i)->Resize(width - (*i)->LayoutWidth() - insets_.left() - width 183 ui/views/layout/grid_layout.h virtual int GetPreferredHeightForWidth(View* host, int width) OVERRIDE; width 192 ui/views/layout/grid_layout.h void SizeRowsAndColumns(bool layout, int width, int height, gfx::Size* pref); width 275 ui/views/layout/grid_layout.h void AddPaddingColumn(float resize_percent, int width); width 17 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(w, view->width()); width 46 ui/views/layout/grid_layout_unittest.cc virtual int GetHeightForWidth(int width) OVERRIDE { width 47 ui/views/layout/grid_layout_unittest.cc return std::max(0, circumference_ / 2 - width); width 141 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); width 165 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); width 190 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); width 216 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); width 246 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); width 277 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); width 301 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); width 410 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); width 503 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); width 529 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); width 547 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(10, pref.width()); width 550 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); width 568 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(30, pref.width()); width 571 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); width 20 ui/views/layout/layout_manager.cc int LayoutManager::GetPreferredHeightForWidth(View* host, int width) { width 49 ui/views/layout/layout_manager.h virtual int GetPreferredHeightForWidth(View* host, int width); width 40 ui/views/mouse_watcher_view_host.cc bounds.width() + hot_zone_insets_.width(), width 149 ui/views/painter.cc p[1].iset(size.width(), 0); width 159 ui/views/painter.cc SkIntToScalar(size.width()), width 306 ui/views/painter.cc images_[LEFT]->width() + images_[CENTER]->width() + width 307 ui/views/painter.cc images_[RIGHT]->width(), images_[LEFT]->height()); width 311 ui/views/painter.cc if (size.width() < GetMinimumSize().width()) width 315 ui/views/painter.cc canvas->DrawImageInt(*images_[RIGHT], size.width() - images_[RIGHT]->width(), width 318 ui/views/painter.cc *images_[CENTER], images_[LEFT]->width(), 0, width 319 ui/views/painter.cc size.width() - images_[LEFT]->width() - images_[RIGHT]->width(), width 13 ui/views/rect_based_targeting_utils.cc return rect.width() == 1 && rect.height() == 1; width 183 ui/views/test/child_modal_window.cc button_->SetBounds(x(), running_y, width(), kButtonHeight); width 185 ui/views/test/child_modal_window.cc textfield_->SetBounds(x(), running_y, width(), kTextfieldHeight); width 187 ui/views/test/child_modal_window.cc host_->SetBounds(x(), running_y, width(), height() - running_y); width 169 ui/views/touchui/touch_selection_controller_impl.cc SkIntToScalar(image_size.width()) + 2 * kSelectionHandleHorizPadding, width 183 ui/views/touchui/touch_selection_controller_impl.cc int cursor_pos_x = image_size.width() / 2 - kSelectionHandleLineWidth + width 224 ui/views/touchui/touch_selection_controller_impl.cc return gfx::Size(image_size.width() + 2 * kSelectionHandleHorizPadding, width 250 ui/views/touchui/touch_selection_controller_impl.cc rect.x() - image_size.width() / 2 - kSelectionHandleHorizPadding, width 252 ui/views/touchui/touch_selection_controller_impl.cc image_size.width() + 2 * kSelectionHandleHorizPadding, width 301 ui/views/touchui/touch_selection_controller_impl.cc SkIntToScalar(image_size.width()) + 2 * kSelectionHandleHorizPadding, width 106 ui/views/touchui/touch_selection_controller_impl_unittest.cc p.Offset(GetHandleImageSize().width() / 2 + kPadding, 0); width 167 ui/views/touchui/touch_selection_controller_impl_unittest.cc sh1.Offset(GetHandleImageSize().width() / 2 + kPadding, 0); \ width 168 ui/views/touchui/touch_selection_controller_impl_unittest.cc sh2.Offset(GetHandleImageSize().width() / 2 + kPadding, 0); \ width 182 ui/views/touchui/touch_selection_controller_impl_unittest.cc ch_pos.Offset(GetHandleImageSize().width() / 2 + kPadding, 0); \ width 483 ui/views/touchui/touch_selection_controller_impl_unittest.cc cursor_pos.Offset(GetHandleImageSize().width() / 2 + kPadding, 0); width 310 ui/views/view.cc void View::SetBounds(int x, int y, int width, int height) { width 311 ui/views/view.cc SetBoundsRect(gfx::Rect(x, y, std::max(0, width), std::max(0, height))); width 336 ui/views/view.cc SetBounds(x(), y(), size.width(), size.height()); width 340 ui/views/view.cc SetBounds(position.x(), position.y(), width(), height()); width 344 ui/views/view.cc SetBounds(x, y(), width(), height()); width 348 ui/views/view.cc SetBounds(x(), y, width(), height()); width 388 ui/views/view.cc ancestor_bounds.SetRect(0, 0, ancestor->width(), ancestor->height()); width 423 ui/views/view.cc if ((prefsize.width() != width()) || (prefsize.height() != height())) width 424 ui/views/view.cc SetBounds(x(), y(), prefsize.width(), prefsize.height()); width 529 ui/views/view.cc (width() - bounds.x() - bounds.width()) : bounds.x(); width 533 ui/views/view.cc return base::i18n::IsRTL() ? width() - x : x; width 537 ui/views/view.cc return base::i18n::IsRTL() ? width() - x - w : x; width 928 ui/views/view.cc clip_region.setRect(0, 0, width(), height()); width 1391 ui/views/view.cc "width", canvas->sk_canvas()->getDevice()->width(), width 1400 ui/views/view.cc "width", canvas->sk_canvas()->getDevice()->width(), width 1449 ui/views/view.cc width(), height())); width 1595 ui/views/view.cc gfx::Point screen_point(vis_bounds.x() + vis_bounds.width() / 2, width 1661 ui/views/view.cc bounds().width(), width 1773 ui/views/view.cc canvas->Translate(gfx::Vector2d(width(), 0)); width 218 ui/views/view.h void SetBounds(int x, int y, int width, int height); width 229 ui/views/view.h int width() const { return bounds_.width(); } width 53 ui/views/view_model_utils.cc model.ideal_bounds(i).x() + model.ideal_bounds(i).width() / 2, width 74 ui/views/view_model_utils.cc bounds.x() + bounds.width() / 2 - delta, width 789 ui/views/view_unittest.cc SkScalar w = SkIntToScalar(width()); width 2242 ui/views/view_unittest.cc EXPECT_FLOAT_EQ(30.0f, rect.width()); width 2254 ui/views/view_unittest.cc EXPECT_FLOAT_EQ(10.0f, rect.width()); width 2269 ui/views/view_unittest.cc EXPECT_FLOAT_EQ(150.0f, rect.width()); width 2281 ui/views/view_unittest.cc EXPECT_FLOAT_EQ(10.0f, rect.width()); width 2296 ui/views/view_unittest.cc EXPECT_FLOAT_EQ(50.0f, rect.width()); width 2308 ui/views/view_unittest.cc EXPECT_FLOAT_EQ(10.0f, rect.width()); width 2325 ui/views/view_unittest.cc EXPECT_NEAR(3.33f, rect.width(), error); width 2335 ui/views/view_unittest.cc EXPECT_FLOAT_EQ(30.0f, rect.width()); width 2342 ui/views/view_unittest.cc EXPECT_FLOAT_EQ(20.0f, rect.width()); width 3056 ui/views/view_unittest.cc int content_width = view->width(); width 3090 ui/views/view_unittest.cc v1->SetBounds(v1->x() - 5, v1->y(), v1->width(), v1->height()); width 3099 ui/views/view_unittest.cc v2->SetBounds(v2->x() + 5, v2->y(), v2->width(), v2->height()); width 49 ui/views/widget/desktop_aura/desktop_screen_x11.cc int width = WidthOfScreen(screen); width 53 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Rect bounds_in_pixels(0, 0, width, height); width 58 ui/views/widget/desktop_aura/desktop_screen_x11.cc width, physical_size.width()); width 287 ui/views/widget/desktop_aura/desktop_screen_x11.cc int area = intersect.width() * intersect.height(); width 385 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Rect crtc_bounds(crtc->x, crtc->y, crtc->width, crtc->height); width 393 ui/views/widget/desktop_aura/desktop_screen_x11.cc device_scale_factor = GetDeviceScaleFactor(crtc->width, width 54 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Size expanded(std::max(size.width(), 64), std::max(size.height(), 64)); width 226 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Vector2d(expanded.width() - size_in_pixels.width(), width 241 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Vector2d(expanded_size.width() - size_in_pixels.width(), width 468 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc bounds.width() - window_expansion_bottom_right_delta_.x() - width 485 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc bounds.width() + window_expansion_bottom_right_delta_.x(), width 493 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Vector2d(new_expanded.width() - expanded.width(), width 683 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc path->addRect(SkRect::MakeXYWH(0, 0, bounds.width(), bounds.height())); width 221 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc if (sanitized_params.bounds.width() == 0) width 353 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc XResizeWindow(xdisplay_, xwindow_, size.width(), size.height()); width 372 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc transient_parent_rect.width() >= size.width()) { width 378 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc parent_bounds.x() + (parent_bounds.width() - size.width()) / 2, width 380 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc size.width(), width 444 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc unsigned int width, height; width 447 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc &width, &height, &border_width, &depth)) { width 452 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc return gfx::Rect(x, y, width, height); width 711 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc hints.min_width = minimum.width(); width 720 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc hints.max_width = maximum.width(); width 778 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc DCHECK_GT(bounds.width(), 0); width 781 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc changes.width = bounds.width(); width 861 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc std::max(0, std::min(bounds_.width(), win_x_return)), width 863 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc return (win_x_return >= 0 && win_x_return < bounds_.width() && width 972 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc bounds_.width(), bounds_.height(), width 1233 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc XRectangle r = {0, 0, static_cast<unsigned short>(bounds_.width()), width 1243 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc int width = rep.GetWidth(); width 1244 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc data->push_back(width); width 1253 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc for (int x = 0; x < width; ++x) width 1331 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc xev->xexpose.width, xev->xexpose.height); width 1393 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc xev->xconfigure.width, xev->xconfigure.height); width 303 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc image->SetBounds(0, 0, drag_image_.width(), drag_image_.height()); width 328 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc for (int x = 0; x < in_bitmap->width(); ++x) { width 323 ui/views/widget/native_widget_aura.cc transient_parent_rect.width() >= size.width()) width 328 ui/views/widget/native_widget_aura.cc parent_bounds.x() + (parent_bounds.width() - size.width()) / 2, width 330 ui/views/widget/native_widget_aura.cc size.width(), width 189 ui/views/widget/native_widget_aura_unittest.cc EXPECT_EQ(300, client_bounds.width()); width 593 ui/views/widget/root_view.cc touch_rect.Offset(-touch_rect.width() / 2, -touch_rect.height() / 2); width 26 ui/views/widget/tooltip_manager.cc return (display.bounds().width() + 1) / 2; width 1419 ui/views/widget/widget.cc if (bounds->width() < minimum_size.width()) width 1420 ui/views/widget/widget.cc bounds->set_width(minimum_size.width()); width 840 ui/views/widget/widget_unittest.cc EXPECT_GT(toplevel->GetRestoredBounds().width(), 0); width 852 ui/views/widget/widget_unittest.cc EXPECT_GT(toplevel->GetRestoredBounds().width(), 0); width 1009 ui/views/widget/widget_unittest.cc EXPECT_EQ(0, frame_view->width()); width 83 ui/views/win/fullscreen_handler.cc window_rect.width(), window_rect.height(), width 97 ui/views/win/fullscreen_handler.cc new_rect.width(), new_rect.height(), width 533 ui/views/win/hwnd_message_handler.cc bounds_in_pixels.width(), bounds_in_pixels.height(), width 538 ui/views/win/hwnd_message_handler.cc SetWindowPos(hwnd(), NULL, 0, 0, size.width(), size.height(), width 1421 ui/views/win/hwnd_message_handler.cc minmax_info->ptMinTrackSize.x = min_window_size.width(); width 1423 ui/views/win/hwnd_message_handler.cc if (max_window_size.width() || max_window_size.height()) { width 1424 ui/views/win/hwnd_message_handler.cc if (!max_window_size.width()) width 1428 ui/views/win/hwnd_message_handler.cc minmax_info->ptMaxTrackSize.x = max_window_size.width(); width 2231 ui/views/win/hwnd_message_handler.cc window_pos->cx = new_window_rect.width(); width 70 ui/views/window/client_view.cc contents_view_->SetBounds(0, 0, width(), height()); width 129 ui/views/window/custom_frame_view.cc client_bounds.width() + (2 * border_thickness), width 238 ui/views/window/custom_frame_view.cc return gfx::Size(max_size.width() == 0 ? 0 : converted_size.width(), width 373 ui/views/window/custom_frame_view.cc frame_->client_view()->y() - edge_height, width(), edge_height); width 403 ui/views/window/custom_frame_view.cc client_area_bounds.x() - top_left->width(), width 408 ui/views/window/custom_frame_view.cc client_area_bounds.width(), width 420 ui/views/window/custom_frame_view.cc right->width(), width 432 ui/views/window/custom_frame_view.cc client_area_bounds.x() - bottom_left->width(), width 438 ui/views/window/custom_frame_view.cc client_area_bounds.width(), width 447 ui/views/window/custom_frame_view.cc client_area_bounds.x() - left->width(), width 449 ui/views/window/custom_frame_view.cc left->width(), width 455 ui/views/window/custom_frame_view.cc client_area_bounds.width() + 1, width 480 ui/views/window/custom_frame_view.cc close_button_->SetBounds(width() - FrameBorderThickness() - width 481 ui/views/window/custom_frame_view.cc right_extra_width - close_button_size.width(), caption_y, width 482 ui/views/window/custom_frame_view.cc close_button_size.width() + right_extra_width, width 501 ui/views/window/custom_frame_view.cc visible_button->SetBounds(close_button_->x() - visible_button_size.width(), width 502 ui/views/window/custom_frame_view.cc caption_y, visible_button_size.width(), width 515 ui/views/window/custom_frame_view.cc next_button_x - minimize_button_size.width(), caption_y, width 516 ui/views/window/custom_frame_view.cc minimize_button_size.width(), width 565 ui/views/window/custom_frame_view.cc std::max(0, width() - (2 * border_thickness)), width 43 ui/views/window/dialog_client_view.cc row_bounds->set_width(row_bounds->width() - size.width()); width 45 ui/views/window/dialog_client_view.cc size.width(), row_bounds->height()); width 46 ui/views/window/dialog_client_view.cc row_bounds->set_width(row_bounds->width() - kRelatedButtonHSpacing); width 181 ui/views/window/dialog_client_view.cc (ok_button_ ? ok_button_->GetPreferredSize().width() : 0) + width 182 ui/views/window/dialog_client_view.cc (cancel_button_ ? cancel_button_->GetPreferredSize().width() : 0) + width 184 ui/views/window/dialog_client_view.cc (ShouldShow(extra_view_) ? extra_view_->GetPreferredSize().width() : 0) + width 194 ui/views/window/dialog_client_view.cc size.Enlarge(insets.width(), insets.height()); width 201 ui/views/window/dialog_client_view.cc size.set_width(std::max(size.width(), contents_size.width())); width 207 ui/views/window/dialog_client_view.cc size.set_width(std::max(size.width(), footnote_size.width())); width 209 ui/views/window/dialog_client_view.cc int footnote_height = footnote_view_->GetHeightForWidth(size.width()); width 221 ui/views/window/dialog_client_view.cc const int height = footnote_view_->GetHeightForWidth(bounds.width()); width 223 ui/views/window/dialog_client_view.cc bounds.width(), height); width 233 ui/views/window/dialog_client_view.cc bounds.width(), height); width 242 ui/views/window/dialog_client_view.cc row_bounds.set_width(std::min(row_bounds.width(), width 243 ui/views/window/dialog_client_view.cc extra_view_->GetPreferredSize().width())); width 255 ui/views/window/dialog_client_view.cc contents_bounds.width(), bounds.bottom() - contents_bounds.y()); width 78 ui/views/window/dialog_client_view_unittest.cc EXPECT_LE(preferred_size.width(), contents_->bounds().width()); width 185 ui/views/window/dialog_client_view_unittest.cc int width_of_extra_view = extra_view->bounds().width(); width 191 ui/views/window/dialog_client_view_unittest.cc EXPECT_EQ(no_extra_view_size.width(), client_view()->bounds().width()); width 197 ui/views/window/dialog_client_view_unittest.cc DCHECK_GT(width_of_extra_view, extra_view->bounds().width()); width 211 ui/views/window/dialog_client_view_unittest.cc EXPECT_EQ(with_footnote_size.width(), footnote_view->bounds().width()); width 216 ui/views/window/dialog_client_view_unittest.cc EXPECT_LE(with_footnote_size.width(), client_view()->bounds().width()); width 223 ui/views/window/dialog_client_view_unittest.cc EXPECT_EQ(no_footnote_size.width(), client_view()->bounds().width()); width 235 ui/views/window/dialog_client_view_unittest.cc EXPECT_EQ(footnote_view->bounds().width() * 3, width 62 ui/views/window/frame_background.cc 0, 0, view->width(), theme_image_->height()); width 74 ui/views/window/frame_background.cc 0, 0, top_left_corner_->width(), top_left_height, width 75 ui/views/window/frame_background.cc 0, 0, top_left_corner_->width(), top_left_height, width 78 ui/views/window/frame_background.cc top_left_corner_->width(), width 80 ui/views/window/frame_background.cc view->width() - top_left_corner_->width() - top_right_corner_->width(), width 87 ui/views/window/frame_background.cc top_right_corner_->width(), top_right_height, width 88 ui/views/window/frame_background.cc view->width() - top_right_corner_->width(), 0, width 89 ui/views/window/frame_background.cc top_right_corner_->width(), top_right_height, width 96 ui/views/window/frame_background.cc view->width() - right_edge_->width(), width 98 ui/views/window/frame_background.cc right_edge_->width(), width 103 ui/views/window/frame_background.cc view->width() - bottom_right_corner_->width(), width 107 ui/views/window/frame_background.cc bottom_left_corner_->width(), width 109 ui/views/window/frame_background.cc view->width() - bottom_left_corner_->width() width 110 ui/views/window/frame_background.cc - bottom_right_corner_->width(), width 120 ui/views/window/frame_background.cc left_edge_->width(), left_edge_height); width 130 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(0, 0, view->width(), top_area_height_), width 138 ui/views/window/frame_background.cc view->width(), width 147 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(0, 0, view->width(), top_area_height_), width 156 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(0, top_area_height_, left_edge_->width(), width 158 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(view->width() - right_edge_->width(), width 159 ui/views/window/frame_background.cc top_area_height_, right_edge_->width(), width 164 ui/views/window/frame_background.cc view->width() - left_edge_->width() - right_edge_->width(); width 169 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(left_edge_->width(), width 31 ui/views/window/native_frame_view.cc return gfx::Rect(0, 0, width(), height()); width 118 ui/views/window/non_client_view.cc frame_view_->SetBounds(0, 0, width(), height()); width 273 ui/views/window/non_client_view.cc } else if (point.x() >= (width() - resize_border_thickness)) { width 283 ui/views/window/non_client_view.cc else if (point.x() >= (width() - resize_corner_width)) width 290 ui/views/window/non_client_view.cc else if (point.x() >= (width() - resize_corner_width)) width 20 ui/views/window/window_shape.cc window_mask->lineTo(SkIntToScalar(size.width() - 3), 0); width 21 ui/views/window/window_shape.cc window_mask->lineTo(SkIntToScalar(size.width() - 2), 1); width 22 ui/views/window/window_shape.cc window_mask->lineTo(SkIntToScalar(size.width() - 1), 1); width 23 ui/views/window/window_shape.cc window_mask->lineTo(SkIntToScalar(size.width() - 1), 2); width 24 ui/views/window/window_shape.cc window_mask->lineTo(SkIntToScalar(size.width()), 3); width 26 ui/views/window/window_shape.cc window_mask->lineTo(SkIntToScalar(size.width()), width 28 ui/views/window/window_shape.cc window_mask->lineTo(SkIntToScalar(size.width() - 1), width 30 ui/views/window/window_shape.cc window_mask->lineTo(SkIntToScalar(size.width() - 1), width 32 ui/views/window/window_shape.cc window_mask->lineTo(SkIntToScalar(size.width() - 3), width 34 ui/views/window/window_shape.cc window_mask->lineTo(SkIntToScalar(size.width() - 3), width 23 ui/web_dialogs/test/test_web_dialog_delegate.h void set_size(int width, int height) { width 24 ui/web_dialogs/test/test_web_dialog_delegate.h size_.SetSize(width, height); width 50 ui/web_dialogs/web_dialog_ui.h int width; width 68 ui/wm/core/image_grid.cc left_image_width_ = GetImageSize(left_image).width(); width 69 ui/wm/core/image_grid.cc right_image_width_ = GetImageSize(right_image).width(); width 77 ui/wm/core/image_grid.cc base_left_column_width_ = max(GetImageSize(top_left_image).width(), width 78 ui/wm/core/image_grid.cc max(GetImageSize(left_image).width(), width 79 ui/wm/core/image_grid.cc GetImageSize(bottom_left_image).width())); width 80 ui/wm/core/image_grid.cc base_right_column_width_ = max(GetImageSize(top_right_image).width(), width 81 ui/wm/core/image_grid.cc max(GetImageSize(right_image).width(), width 82 ui/wm/core/image_grid.cc GetImageSize(bottom_right_image).width())); width 100 ui/wm/core/image_grid.cc const int left = min(base_left_column_width_, size_.width() / 2); width 101 ui/wm/core/image_grid.cc const int right = min(base_right_column_width_, size_.width() - left); width 106 ui/wm/core/image_grid.cc int center_width = std::max(size.width() - left - right, 0); width 147 ui/wm/core/image_grid.cc size.width() - right_layer_->bounds().width(), top); width 164 ui/wm/core/image_grid.cc transform.Translate(size.width() - top_right_layer_->bounds().width(), 0.0); width 168 ui/wm/core/image_grid.cc gfx::Rect(top_right_layer_->bounds().width() - right, 0, width 188 ui/wm/core/image_grid.cc size.width() - bottom_right_layer_->bounds().width(), width 193 ui/wm/core/image_grid.cc gfx::Rect(bottom_right_layer_->bounds().width() - right, width 204 ui/wm/core/image_grid.cc transform.Scale(center_width / center_layer_->bounds().width(), width 215 ui/wm/core/image_grid.cc content_bounds.width() + left_image_width_ + right_image_width_, width 221 ui/wm/core/image_grid.cc layer_->bounds().width(), width 251 ui/wm/core/image_grid.cc gfx::Size(image->ToImageSkia()->width(), image->ToImageSkia()->height()) : width 258 ui/wm/core/image_grid.cc return layer->bounds().width() > size.width() || width 279 ui/wm/core/image_grid.cc layer_ptr->get()->SetBounds(gfx::Rect(0, 0, size.width(), size.height())); width 292 ui/wm/core/image_grid.cc layer->bounds().size()).width(); width 293 ui/wm/core/image_grid.cc float scale = static_cast<float>(center.width()) / layer_width; width 20 ui/wm/core/image_grid_unittest.cc bitmap.setConfig(SkBitmap::kARGB_8888_Config, size.width(), size.height()); width 66 ui/wm/core/image_grid_unittest.cc kBorder, 0, size.width() - 2 * kBorder, kBorder).ToString(), width 71 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF(size.width() - kBorder, 0, kBorder, kBorder).ToString(), width 84 ui/wm/core/image_grid_unittest.cc kBorder, kBorder, size.width() - 2 * kBorder, width 92 ui/wm/core/image_grid_unittest.cc size.width() - kBorder, kBorder, width 107 ui/wm/core/image_grid_unittest.cc size.width() - 2 * kBorder, kBorder).ToString(), width 114 ui/wm/core/image_grid_unittest.cc size.width() - kBorder, size.height() - kBorder, width 146 ui/wm/core/image_grid_unittest.cc size.width() + 2 * kBorder, width 177 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF(0, 0, kSize.width(), kBorder).ToString(), width 248 ui/wm/core/image_grid_unittest.cc kCorner, 0, kSize.width() - 2 * kCorner, kEdge).ToString(), width 262 ui/wm/core/image_grid_unittest.cc kSize.width() - kEdge, kCorner, width 308 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(kSmallSize.width(), width 309 ui/wm/core/image_grid_unittest.cc test_api.top_left_clip_rect().width() + width 310 ui/wm/core/image_grid_unittest.cc test_api.top_right_clip_rect().width()); width 311 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(kSmallSize.width(), width 312 ui/wm/core/image_grid_unittest.cc test_api.bottom_left_clip_rect().width() + width 313 ui/wm/core/image_grid_unittest.cc test_api.bottom_right_clip_rect().width()); width 28 ui/wm/core/masked_window_targeter.cc clip_region.setRect(0, 0, size.width(), size.height()); width 187 ui/wm/core/window_animations.cc union_in_window_space.x() + union_in_window_space.width() - width 188 ui/wm/core/window_animations.cc (world_at_start.x() + world_at_start.width()), width 242 ui/wm/core/window_animations.cc gfx::Point(kWindowAnimation_TranslateFactor * bounds.width(), width 290 ui/wm/core/window_animations.cc gfx::Point(window->bounds().width() * 0.5, width 346 ui/wm/core/window_animations.cc float xcenter = window->bounds().width() * 0.5; width 350 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc int x, int y, int width, int height) { width 384 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc WGC3Dsizei width, width 391 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc target, level, xoffset, yoffset, width, height, format, type, access); width 443 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc WGC3Dsizei width, WGC3Dsizei height) { width 446 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc target, samples, internalformat, width, height); width 82 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h virtual void reshapeWithScaleFactor(int width, int height, float scaleFactor); width 85 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h virtual void postSubBufferCHROMIUM(int x, int y, int width, int height); width 124 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, width 133 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, width 143 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, width 152 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, width 276 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, width 285 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, width 289 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, WGC3Dsizei height); width 309 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, width 327 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, width 397 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, WGC3Dsizei height); width 437 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, width 462 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, WGC3Dsizei height); width 471 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Denum target, WGC3Dint width, WGC3Dint height, width 479 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dint width, WGC3Dint height); width 481 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, WGC3Dsizei height, WGC3Denum internalformat); width 530 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, width 539 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, width 550 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei width, width 51 webkit/renderer/compositor_bindings/scrollbar_impl.cc return thumb_rect.width(); width 57 webkit/renderer/compositor_bindings/scrollbar_impl.cc return thumb_rect.width(); width 28 webkit/renderer/compositor_bindings/web_external_bitmap_impl.cc size_t byte_size = size.width * size.height * 4; width 29 webkit/renderer/compositor_bindings/web_image_layer_impl.cc gfx::Size(bitmap.width(), bitmap.height())); width 93 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc static_cast<float>(original_bounds_.width()) / fixed_bounds_.width(); width 53 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc original_point.x() * bounds.width / fixed_bounds.width(), width 128 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc fixed_bounds_layer->SetFixedBounds(gfx::Size(fixed_bounds.width() / 2, width 29 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc bitmap.width() - aperture.width, width 265 win8/metro_driver/print_document_source.cc float width, width 267 win8/metro_driver/print_document_source.cc DVLOG(1) << __FUNCTION__ << ", width: " << width << ", height: " << height width 269 win8/metro_driver/print_document_source.cc DCHECK(width > 0 && height > 0); width 280 win8/metro_driver/print_document_source.cc preview_size.Width = width; width 282 win8/metro_driver/print_document_source.cc float scale = width_ / width; width 301 win8/metro_driver/print_document_source.cc static_cast<UINT32>(ceil(width * dpi_ / 96)), width 416 win8/metro_driver/print_document_source.cc DVLOG(1) << __FUNCTION__ << ", page_size: (" << page_size.width << ", " width 91 win8/metro_driver/print_document_source.h STDMETHOD(MakePage)(uint32 desired_page, float width, float height); width 77 win8/viewer/metro_viewer_process_host.h virtual void OnWindowSizeChanged(uint32 width, uint32 height) = 0;