Searched refs:new_height (Results 1 - 25 of 31) 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_org/ash/desktop_background/
H A Dwallpaper_resizer.cc39 const int new_height = target_size.height(); local
41 if (orig_width > new_width || orig_height > new_height) {
44 std::min(new_height, orig_height));
59 new_width, new_height);
62 if (orig_width > new_width && orig_height > new_height) {
67 double vertical_ratio = static_cast<double>(new_height) /
76 static_cast<double>(new_height) / horizontal_ratio));
84 new_width, new_height);
/external/chromium_org/ash/wm/gestures/
H A Dtray_gesture_handler.cc57 int new_height = std::min( local
60 int height_change = bounds.height() - new_height;
61 bounds.set_height(new_height);
/external/chromium_org/chrome/browser/ui/panels/
H A Dpanel_resize_controller.cc116 int new_height = std::max(bounds_at_start_.height() + local
118 int new_y = bounds_at_start_.bottom() - new_height;
128 new_height -= work_area.y() - new_y;
131 bounds.set_height(new_height);
H A Dpanel.cc692 int new_height = size.height(); local
693 if (new_height > max_size_.height())
694 new_height = max_size_.height();
695 if (new_height < min_size_.height())
696 new_height = min_size_.height();
698 return gfx::Size(new_width, new_height);
/external/chromium_org/native_client_sdk/src/examples/api/graphics_3d/
H A Dgraphics_3d.cc254 int32_t new_height = view.GetRect().height() * view.GetDeviceScale(); 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/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/ui/keyboard/
H A Dkeyboard_controller_proxy.cc60 int new_height = pos.height(); variable
61 bounds.set_y(bounds.y() + bounds.height() - new_height);
62 bounds.set_height(new_height);
/external/chromium_org/ppapi/cpp/
H A Drect.cc114 int32_t new_height = height(); local
116 AdjustAlongAxis(rect.y(), rect.height(), &new_y, &new_height);
117 return Rect(new_x, new_y, new_width, new_height);
218 float new_height = height(); local
220 AdjustAlongAxis(rect.y(), rect.height(), &new_y, &new_height);
221 return FloatRect(new_x, new_y, new_width, new_height);
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dvideoadapter.cc502 int new_width, new_height; local
503 bool changed = AdaptToMinimumFormat(&new_width, &new_height);
508 << " To: " << new_width << "x" << new_height; local
572 int new_width, new_height; local
573 bool changed = AdaptToMinimumFormat(&new_width, &new_height);
587 << " To: " << new_width << "x" << new_height; local
633 int new_width, new_height; local
634 bool changed = AdaptToMinimumFormat(&new_width, &new_height);
640 << " To: " << new_width << "x" << new_height; local
700 int* new_height) {
699 AdaptToMinimumFormat(int* new_width, int* new_height) argument
[all...]
H A Dvideoadapter.h180 bool AdaptToMinimumFormat(int* new_width, int* 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_org/ui/gfx/geometry/
H A Drect_base_impl.h254 Type new_height = height(); local
256 AdjustAlongAxis(rect.y(), rect.height(), &new_y, &new_height);
257 SetRect(new_x, new_y, new_width, new_height);
280 Type new_height = std::min(height(), size.height()); local
282 Type new_y = y() + (height() - new_height) / 2;
283 SetRect(new_x, new_y, new_width, new_height);
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtcvideoframe.cc320 int new_height = dh; local
323 new_height = dw;
326 size_t desired_size = SizeOf(new_width, new_height);
331 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/chrome/browser/ui/views/
H A Ddesktop_media_picker_views.cc547 int new_height = widget_bound.height() - scroll_view_->height() + local
550 GetWidget()->CenterWindow(gfx::Size(widget_bound.width(), 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/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/chromium_org/third_party/libvpx/source/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;
/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;
/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/chromium_org/third_party/webrtc/modules/video_coding/main/source/
H A Dqm_select_unittest.cc67 uint16_t new_height,
1298 uint16_t new_height,
1304 qm_scale->codec_height == new_height &&
1293 IsSelectedActionCorrect(VCMResolutionScale* qm_scale, float fac_width, float fac_height, float fac_temp, uint16_t new_width, uint16_t new_height, float new_frame_rate) argument
/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/chromium_org/content/shell/renderer/test_runner/
H A Dtest_runner.h282 bool DisableAutoResizeMode(int new_width, int new_height);

Completed in 671 milliseconds

12