/external/chromium_org/chrome/utility/importer/ |
favicon_reencode.cc | 29 int new_width = decoded.width(); local 31 gfx::CalculateFaviconTargetSize(&new_width, &new_height); 33 decoded, skia::ImageOperations::RESIZE_LANCZOS3, new_width, new_height);
|
/external/chromium/chrome/browser/importer/ |
importer.cc | 40 int new_width = decoded.width(); local 42 calc_favicon_target_size(&new_width, &new_height); 44 decoded, skia::ImageOperations::RESIZE_LANCZOS3, new_width, new_height);
|
/external/chromium/chrome/browser/chromeos/ |
wm_overview_favicon.cc | 59 int new_width = kIconSize; local 64 new_width = kIconSize * aspect_ratio; 66 if (new_width && new_height) { 69 new_width, new_height);
|
/external/chromium_org/ash/desktop_background/ |
wallpaper_resizer.cc | 37 const int new_width = target_size.width(); local 40 if (orig_width > new_width || orig_height > new_height) { 42 gfx::Size cropped_size = gfx::Size(std::min(new_width, orig_width), 58 new_width, new_height); 61 if (orig_width > new_width && orig_height > new_height) { 64 double horizontal_ratio = static_cast<double>(new_width) / 71 RoundPositive(static_cast<double>(new_width) / vertical_ratio), 83 new_width, new_height);
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
videoadapter.cc | 366 int new_width, new_height; local 367 bool changed = AdaptToMinimumFormat(&new_width, &new_height); 372 << " To: " << new_width << "x" << new_height; 394 int new_width, new_height; local 395 bool changed = AdaptToMinimumFormat(&new_width, &new_height); 409 << " To: " << new_width << "x" << new_height; 480 int new_width, new_height; local 481 bool changed = AdaptToMinimumFormat(&new_width, &new_height); 489 << " To: " << new_width << "x" << new_height; 517 bool CoordinatedVideoAdapter::AdaptToMinimumFormat(int* new_width, [all...] |
videoadapter.h | 188 bool AdaptToMinimumFormat(int* new_width, int* new_height);
|
/external/chromium_org/ui/gfx/ |
rect_base_impl.h | 252 Type new_width = width(); local 254 AdjustAlongAxis(rect.x(), rect.width(), &new_x, &new_width); 256 SetRect(new_x, new_y, new_width, new_height); 278 Type new_width = std::min(width(), size.width()); local 280 Type new_x = x() + (width() - new_width) / 2; 282 SetRect(new_x, new_y, new_width, new_height);
|
/external/pixman/demos/ |
scale.c | 191 double new_width, new_height; local 213 new_width = pixman_image_get_width (app->original) * fscale_x; 218 pixman_f_transform_translate (&ftransform, NULL, - new_width / 2.0, - new_height / 2.0); 223 pixman_f_transform_translate (&ftransform, NULL, new_width / 2.0, new_height / 2.0); 250 app->scaled_width = ceil (new_width); 254 get_widget (app, "drawing_area"), new_width + 0.5, new_height + 0.5);
|
/external/chromium_org/chrome/browser/thumbnails/ |
simple_thumbnail_crop.cc | 163 int new_width = static_cast<int>(source_size.height() * desired_aspect); local 164 int x_offset = (source_size.width() - new_width) / 2; 165 clipping_rect.SetRect(x_offset, 0, new_width, source_size.height());
|
/external/chromium_org/ppapi/cpp/ |
rect.cc | 112 int32_t new_width = width(); local 114 AdjustAlongAxis(rect.x(), rect.width(), &new_x, &new_width); 116 return Rect(new_x, new_y, new_width, new_height);
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtcvideoframe.cc | 300 int new_width = dw; local 303 new_width = dh; 307 size_t desired_size = SizeOf(new_width, new_height); 312 Attach(video_buffer.get(), desired_size, new_width, new_height, pixel_width,
|
/external/linux-tools-perf/util/ |
svghelper.c | 76 int new_width; local 91 new_width = (last_time - first_time) / 5000000; 93 if (new_width > svg_page_width) 94 svg_page_width = new_width;
|
/external/chromium/chrome/browser/printing/cloud_print/ |
cloud_print_setup_flow.cc | 319 FundamentalValue new_width(done_size.width()); 322 new_width, new_height);
|
/external/chromium/chrome/browser/ui/gtk/ |
browser_actions_toolbar_gtk.cc | 719 void BrowserActionsToolbarGtk::SetButtonHBoxWidth(int new_width) { 721 new_width = std::min(max_width, new_width); 722 new_width = std::max(new_width, 0); 723 gtk_widget_set_size_request(button_hbox_.get(), new_width, -1); 834 gint new_width = button_hbox_->allocation.width - distance_dragged; local 835 SetButtonHBoxWidth(new_width); [all...] |
browser_actions_toolbar_gtk.h | 134 // Sets the width of the button area of the toolbar to |new_width|, clamping 136 void SetButtonHBoxWidth(int new_width);
|
status_bubble_gtk.cc | 341 int new_width = start_width_ + local 343 gtk_widget_set_size_request(label_.get(), new_width, -1);
|
/external/chromium_org/chrome/browser/ui/gtk/ |
browser_actions_toolbar_gtk.cc | 843 void BrowserActionsToolbarGtk::SetButtonHBoxWidth(int new_width) { 845 new_width = std::min(max_width, new_width); 846 new_width = std::max(new_width, 0); 847 gtk_widget_set_size_request(button_hbox_.get(), new_width, -1); 973 gint new_width = button_hbox_allocation.width - distance_dragged; local [all...] |
browser_actions_toolbar_gtk.h | 143 // Sets the width of the button area of the toolbar to |new_width|, clamping 145 void SetButtonHBoxWidth(int new_width);
|
status_bubble_gtk.cc | 355 int new_width = start_width_ + local 357 gtk_widget_set_size_request(label_.get(), new_width, -1);
|
/external/chromium_org/ui/views/controls/scrollbar/ |
bitmap_scroll_bar.cc | 220 int new_width = local 222 gfx::Rect track_bounds(prefsize.width(), 0, new_width, prefsize.height());
|
/external/chromium/chrome/browser/tab_contents/ |
thumbnail_generator.cc | 416 S16CPU new_width = static_cast<S16CPU>(bitmap.height() * dest_aspect); local 417 S16CPU x_offset = (bitmap.width() - new_width) / 2; 418 src_rect.set(x_offset, 0, new_width + x_offset, bitmap.height());
|
/external/chromium_org/chrome/test/gpu/ |
gpu_feature_browsertest.cc | 502 Query::EventHasNumberArg("new_width"); 524 int new_width = resize->GetKnownArgAsInt("new_width"); local 525 bool expect_create = (old_width/roundup != new_width/roundup || 546 old_width, new_width, num_creates, expected_creates);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
r600_blit.c | 275 int new_height, new_width; local 290 new_width = util_format_get_nblocksx(tex->format, orig->width0); 293 tex->width0 = new_width;
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
r600_blit.c | 275 int new_height, new_width; local 290 new_width = util_format_get_nblocksx(tex->format, orig->width0); 293 tex->width0 = new_width;
|
/external/chromium/chrome/browser/chromeos/notifications/ |
notification_panel.cc | 751 int new_width = pref_size.width(); local 754 new_width += scroll_view_->GetScrollBarWidth(); 756 return gfx::Rect(0, 0, new_width, new_height).Union(min_bounds_); 763 int new_width = pref_size.width(); local 766 new_width += scroll_view_->GetScrollBarWidth(); 767 return gfx::Rect(0, 0, new_width, new_height).Union(min_bounds_);
|