Searched defs:new_height (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/chrome/utility/importer/
H A Dfavicon_reencode.cc30 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 Dwm_overview_favicon.cc60 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 Dimporter.cc41 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 Dtray_gesture_handler.cc58 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 Dpanel_resize_controller.cc115 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 Dpanel.cc685 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 Dwallpaper_resizer.cc40 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 Drect.cc113 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 Dkeyboard_controller_proxy.cc84 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 Drect_base_impl.h255 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 Dvideoadapter.cc444 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 Dwebrtcvideoframe.cc349 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 Dr600_blit.c275 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 Dr600_blit.c275 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 Dgraphics_3d.cc251 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 Dcube.cc254 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 Dr600_blit.c577 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 Dwmesa.c962 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 Dr600_blit.c577 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 Dwmesa.c962 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 Dscale.c191 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 Dnotification_panel.cc750 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 Dfirstpass.c3209 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 Donyx_if.c2685 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 Dbrowser_view.cc2070 int new_height = 0; local
2072 new_height = new_view->GetPreferredSize().height();
2076 if (new_height != current_height) {
2084 DCHECK_EQ(0, new_height);

Completed in 955 milliseconds

12