/external/chromium_org/chrome/utility/importer/ |
H A D | favicon_reencode.cc | 30 int new_height = decoded.height(); local 31 gfx::CalculateFaviconTargetSize(&new_width, &new_height); 33 decoded, skia::ImageOperations::RESIZE_LANCZOS3, new_width, new_height);
|
/external/chromium/chrome/browser/chromeos/ |
H A D | wm_overview_favicon.cc | 60 int new_height = kIconSize; local 62 new_height = kIconSize / aspect_ratio; 66 if (new_width && new_height) { 69 new_width, new_height);
|
/external/chromium/chrome/browser/importer/ |
H A D | importer.cc | 41 int new_height = decoded.height(); local 42 calc_favicon_target_size(&new_width, &new_height); 44 decoded, skia::ImageOperations::RESIZE_LANCZOS3, new_width, new_height);
|
/external/chromium_org/ash/wm/gestures/ |
H A D | tray_gesture_handler.cc | 58 int new_height = std::min( local 61 int height_change = bounds.height() - new_height; 62 bounds.set_height(new_height);
|
/external/chromium_org/chrome/browser/ui/panels/ |
H A D | panel_resize_controller.cc | 115 int new_height = std::max(bounds_at_start_.height() + local 117 int new_y = bounds_at_start_.bottom() - new_height; 127 new_height -= work_area.y() - new_y; 130 bounds.set_height(new_height);
|
H A D | panel.cc | 685 int new_height = size.height(); local 686 if (new_height > max_size_.height()) 687 new_height = max_size_.height(); 688 if (new_height < min_size_.height()) 689 new_height = min_size_.height(); 691 return gfx::Size(new_width, new_height);
|
/external/chromium_org/ash/desktop_background/ |
H A D | wallpaper_resizer.cc | 40 const int new_height = target_size.height(); local 42 if (orig_width > new_width || orig_height > new_height) { 45 std::min(new_height, orig_height)); 60 new_width, new_height); 63 if (orig_width > new_width && orig_height > new_height) { 68 double vertical_ratio = static_cast<double>(new_height) / 77 static_cast<double>(new_height) / horizontal_ratio)); 85 new_width, new_height);
|
/external/chromium_org/ppapi/cpp/ |
H A D | rect.cc | 113 int32_t new_height = height(); local 115 AdjustAlongAxis(rect.y(), rect.height(), &new_y, &new_height); 116 return Rect(new_x, new_y, new_width, new_height);
|
/external/chromium_org/ui/keyboard/ |
H A D | keyboard_controller_proxy.cc | 84 int new_height = pos.height(); variable 85 bounds.set_y(bounds.y() + bounds.height() - new_height); 86 bounds.set_height(new_height);
|
/external/chromium_org/ui/gfx/ |
H A D | rect_base_impl.h | 255 Type new_height = height(); local 257 AdjustAlongAxis(rect.y(), rect.height(), &new_y, &new_height); 258 SetRect(new_x, new_y, new_width, new_height); 281 Type new_height = std::min(height(), size.height()); local 283 Type new_y = y() + (height() - new_height) / 2; 284 SetRect(new_x, new_y, new_width, new_height);
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
H A D | videoadapter.cc | 444 int new_width, new_height; local 445 bool changed = AdaptToMinimumFormat(&new_width, &new_height); 450 << " To: " << new_width << "x" << new_height; local 472 int new_width, new_height; local 473 bool changed = AdaptToMinimumFormat(&new_width, &new_height); 487 << " To: " << new_width << "x" << new_height; local 533 int new_width, new_height; local 534 bool changed = AdaptToMinimumFormat(&new_width, &new_height); 540 << " To: " << new_width << "x" << new_height; local 604 int* new_height) { 603 AdaptToMinimumFormat(int* new_width, int* new_height) argument [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
H A D | webrtcvideoframe.cc | 349 int new_height = dh; local 352 new_height = dw; 355 size_t desired_size = SizeOf(new_width, new_height); 360 Attach(video_buffer.get(), desired_size, new_width, new_height, pixel_width,
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
H A D | r600_blit.c | 275 int new_height, new_width; local 291 new_height = util_format_get_nblocksy(tex->format, orig->height0); 294 tex->height0 = new_height;
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | r600_blit.c | 275 int new_height, new_width; local 291 new_height = util_format_get_nblocksy(tex->format, orig->height0); 294 tex->height0 = new_height;
|
/external/chromium_org/native_client_sdk/src/examples/api/graphics_3d/ |
H A D | graphics_3d.cc | 251 int32_t new_height = view.GetRect().height(); local 254 if (!InitGL(new_width, new_height)) { 265 int32_t result = context_.ResizeBuffers(new_width, new_height); 270 new_height); 276 height_ = new_height; 319 bool InitGL(int32_t new_width, int32_t new_height) { argument 329 PP_GRAPHICS3DATTRIB_HEIGHT, new_height,
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/cube/ |
H A D | cube.cc | 254 int32_t new_height = view.GetRect().height(); local 257 if (!InitGL(new_width, new_height)) { 268 int32_t result = context_.ResizeBuffers(new_width, new_height); 273 new_height); 279 height_ = new_height; 322 bool InitGL(int32_t new_width, int32_t new_height) { argument 332 PP_GRAPHICS3DATTRIB_HEIGHT, new_height,
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
H A D | r600_blit.c | 577 int new_height, new_width; local 593 new_height = util_format_get_nblocksy(tex->format, orig->height0); 596 tex->height0 = new_height;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/ |
H A D | wmesa.c | 962 GLuint new_width, new_height; local 964 wmesa_get_buffer_size(ctx->WinSysDrawBuffer, &new_width, &new_height); 969 wmesa_resize_buffers(ctx, ctx->WinSysDrawBuffer, new_width, new_height);
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_blit.c | 577 int new_height, new_width; local 593 new_height = util_format_get_nblocksy(tex->format, orig->height0); 596 tex->height0 = new_height;
|
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
H A D | wmesa.c | 962 GLuint new_width, new_height; local 964 wmesa_get_buffer_size(ctx->WinSysDrawBuffer, &new_width, &new_height); 969 wmesa_resize_buffers(ctx, ctx->WinSysDrawBuffer, new_width, new_height);
|
/external/pixman/demos/ |
H A D | scale.c | 191 double new_width, new_height; local 214 new_height = pixman_image_get_height (app->original) * fscale_y; 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); 251 app->scaled_height = ceil (new_height); 254 get_widget (app, "drawing_area"), new_width + 0.5, new_height + 0.5);
|
/external/chromium/chrome/browser/chromeos/notifications/ |
H A D | notification_panel.cc | 750 int new_height = std::min(pref_size.height(), kMaxPanelHeight); local 753 if (new_height != pref_size.height()) { 756 return gfx::Rect(0, 0, new_width, new_height).Union(min_bounds_); 762 int new_height = std::min(sticky_size.height(), kMaxPanelHeight); local 765 if (new_height != pref_size.height()) 767 return gfx::Rect(0, 0, new_width, new_height).Union(min_bounds_);
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | firstpass.c | 3209 int new_height = cpi->oxcf.Height; local 3283 fprintf(f, " %8d %8d %8d %8d %12.0f %8d %8d %8d\n", cpi->common.current_video_frame, kf_q, cpi->common.horiz_scale, cpi->common.vert_scale, kf_group_err / cpi->twopass.frames_to_key, (int)(cpi->twopass.kf_group_bits / cpi->twopass.frames_to_key), new_height, new_width); 3335 new_height = ((vs - 1) + (cpi->oxcf.Height * vr)) / vs; 3341 effective_size_ratio = (double)(new_width * new_height) / (double)(cpi->oxcf.Width * cpi->oxcf.Height); 3354 fprintf(f, "******** %8d %8d %8d %12.0f %8d %8d %8d\n", kf_q, cpi->common.horiz_scale, cpi->common.vert_scale, kf_group_err / cpi->twopass.frames_to_key, (int)(cpi->twopass.kf_group_bits / cpi->twopass.frames_to_key), new_height, new_width); 3360 if ((cpi->common.Width != new_width) || (cpi->common.Height != new_height)) 3363 cpi->common.Height = new_height;
|
H A D | onyx_if.c | 2685 int new_width, new_height; local 2706 new_height = ((vs - 1) + (cpi->oxcf.Height * vr)) / vs; 2711 if ((cm->Width != new_width) || (cm->Height != new_height)) 2714 cm->Height = new_height;
|
/external/chromium/chrome/browser/ui/views/frame/ |
H A D | browser_view.cc | 2070 int new_height = 0; local 2072 new_height = new_view->GetPreferredSize().height(); 2076 if (new_height != current_height) { 2084 DCHECK_EQ(0, new_height);
|