/external/chromium_org/ash/desktop_background/ |
D | wallpaper_resizer.cc | 38 const int new_width = target_size.width(); in Resize() local 41 if (orig_width > new_width || orig_height > new_height) { in Resize() 43 gfx::Size cropped_size = gfx::Size(std::min(new_width, orig_width), in Resize() 59 new_width, new_height); in Resize() 62 if (orig_width > new_width && orig_height > new_height) { in Resize() 65 double horizontal_ratio = static_cast<double>(new_width) / in Resize() 72 RoundPositive(static_cast<double>(new_width) / vertical_ratio), in Resize() 84 new_width, new_height); in Resize()
|
/external/chromium_org/chrome/utility/importer/ |
D | favicon_reencode.cc | 29 int new_width = decoded.width(); in ReencodeFavicon() local 31 gfx::CalculateFaviconTargetSize(&new_width, &new_height); in ReencodeFavicon() 33 decoded, skia::ImageOperations::RESIZE_LANCZOS3, new_width, new_height); in ReencodeFavicon()
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | videoadapter.cc | 502 int new_width, new_height; in OnOutputFormatRequest() local 503 bool changed = AdaptToMinimumFormat(&new_width, &new_height); in OnOutputFormatRequest() 508 << " To: " << new_width << "x" << new_height; in OnOutputFormatRequest() 572 int new_width, new_height; in OnEncoderResolutionRequest() local 573 bool changed = AdaptToMinimumFormat(&new_width, &new_height); in OnEncoderResolutionRequest() 587 << " To: " << new_width << "x" << new_height; in OnEncoderResolutionRequest() 633 int new_width, new_height; in OnCpuResolutionRequest() local 634 bool changed = AdaptToMinimumFormat(&new_width, &new_height); in OnCpuResolutionRequest() 640 << " To: " << new_width << "x" << new_height; in OnCpuResolutionRequest() 699 bool CoordinatedVideoAdapter::AdaptToMinimumFormat(int* new_width, in AdaptToMinimumFormat() argument [all …]
|
D | videoadapter.h | 180 bool AdaptToMinimumFormat(int* new_width, int* new_height);
|
/external/chromium_org/chrome/browser/ui/views/status_icons/ |
D | status_tray_state_changer_interactive_uitest_win.cc | 159 LONG new_width = new_tray_notify_rect.right - new_tray_notify_rect.left; in TEST_F() local 161 EXPECT_GT(new_width, width); in TEST_F() 165 new_width = new_tray_notify_rect.right - new_tray_notify_rect.left; in TEST_F() 166 EXPECT_EQ(width, new_width); in TEST_F()
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/cube/ |
D | cube.cc | 253 int32_t new_width = view.GetRect().width(); in DidChangeView() local 257 if (!InitGL(new_width, new_height)) { in DidChangeView() 268 int32_t result = context_.ResizeBuffers(new_width, new_height); in DidChangeView() 272 new_width, in DidChangeView() 278 width_ = new_width; in DidChangeView() 322 bool InitGL(int32_t new_width, int32_t new_height) { in InitGL() argument 331 PP_GRAPHICS3DATTRIB_WIDTH, new_width, in InitGL()
|
/external/chromium_org/native_client_sdk/src/examples/api/graphics_3d/ |
D | graphics_3d.cc | 253 int32_t new_width = view.GetRect().width() * view.GetDeviceScale(); in DidChangeView() local 257 if (!InitGL(new_width, new_height)) { in DidChangeView() 268 int32_t result = context_.ResizeBuffers(new_width, new_height); in DidChangeView() 272 new_width, in DidChangeView() 278 width_ = new_width; in DidChangeView() 322 bool InitGL(int32_t new_width, int32_t new_height) { in InitGL() argument 331 PP_GRAPHICS3DATTRIB_WIDTH, new_width, in InitGL()
|
/external/chromium_org/ppapi/cpp/ |
D | rect.cc | 113 int32_t new_width = width(); in AdjustToFit() local 115 AdjustAlongAxis(rect.x(), rect.width(), &new_x, &new_width); in AdjustToFit() 117 return Rect(new_x, new_y, new_width, new_height); in AdjustToFit() 217 float new_width = width(); in AdjustToFit() local 219 AdjustAlongAxis(rect.x(), rect.width(), &new_x, &new_width); in AdjustToFit() 221 return FloatRect(new_x, new_y, new_width, new_height); in AdjustToFit()
|
/external/pixman/demos/ |
D | scale.c | 191 double new_width, new_height; in rescale() local 213 new_width = pixman_image_get_width (app->original) * fscale_x; in rescale() 218 pixman_f_transform_translate (&ftransform, NULL, - new_width / 2.0, - new_height / 2.0); in rescale() 223 pixman_f_transform_translate (&ftransform, NULL, new_width / 2.0, new_height / 2.0); in rescale() 250 app->scaled_width = ceil (new_width); in rescale() 254 get_widget (app, "drawing_area"), new_width + 0.5, new_height + 0.5); in rescale()
|
/external/chromium_org/ui/gfx/geometry/ |
D | rect_base_impl.h | 253 Type new_width = width(); in AdjustToFit() local 255 AdjustAlongAxis(rect.x(), rect.width(), &new_x, &new_width); in AdjustToFit() 257 SetRect(new_x, new_y, new_width, new_height); in AdjustToFit() 279 Type new_width = std::min(width(), size.width()); in ClampToCenteredSize() local 281 Type new_x = x() + (width() - new_width) / 2; in ClampToCenteredSize() 283 SetRect(new_x, new_y, new_width, new_height); in ClampToCenteredSize()
|
/external/chromium_org/chrome/browser/thumbnails/ |
D | simple_thumbnail_crop.cc | 163 int new_width = static_cast<int>(source_size.height() * desired_aspect); in GetClippingRect() local 164 int x_offset = (source_size.width() - new_width) / 2; in GetClippingRect() 165 clipping_rect.SetRect(x_offset, 0, new_width, source_size.height()); in GetClippingRect()
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | svghelper.c | 76 int new_width; in open_svg() local 91 new_width = (last_time - first_time) / 5000000; in open_svg() 93 if (new_width > svg_page_width) in open_svg() 94 svg_page_width = new_width; in open_svg()
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
D | webrtcvideoframe.cc | 319 int new_width = dw; in Reset() local 322 new_width = dh; in Reset() 326 size_t desired_size = SizeOf(new_width, new_height); in Reset() 331 Attach(video_buffer.get(), desired_size, new_width, new_height, pixel_width, in Reset()
|
/external/chromium_org/chrome/browser/ui/panels/ |
D | panel.cc | 684 int new_width = size.width(); in ClampSize() local 685 if (new_width > max_size_.width()) in ClampSize() 686 new_width = max_size_.width(); in ClampSize() 687 if (new_width < min_size_.width()) in ClampSize() 688 new_width = min_size_.width(); in ClampSize() 698 return gfx::Size(new_width, new_height); in ClampSize()
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkBlurMask.cpp | 87 int new_width = width + SkMax32(leftRadius, rightRadius) * 2; in boxBlur() local 89 int dst_y_stride = transpose ? 1 : new_width; in boxBlur() 225 return new_width; in boxBlur() 294 int new_width = width + diameter; in boxBlurInterp() local 296 int dst_y_stride = transpose ? 1 : new_width; in boxBlurInterp() 406 return new_width; in boxBlurInterp()
|
/external/skia/src/effects/ |
D | SkBlurMask.cpp | 87 int new_width = width + SkMax32(leftRadius, rightRadius) * 2; in boxBlur() local 89 int dst_y_stride = transpose ? 1 : new_width; in boxBlur() 225 return new_width; in boxBlur() 294 int new_width = width + diameter; in boxBlurInterp() local 296 int dst_y_stride = transpose ? 1 : new_width; in boxBlurInterp() 406 return new_width; in boxBlurInterp()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
D | r600_blit.c | 275 int new_height, new_width; in r600_compressed_to_blittable() local 290 new_width = util_format_get_nblocksx(tex->format, orig->width0); in r600_compressed_to_blittable() 293 tex->width0 = new_width; in r600_compressed_to_blittable()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | r600_blit.c | 275 int new_height, new_width; in r600_compressed_to_blittable() local 290 new_width = util_format_get_nblocksx(tex->format, orig->width0); in r600_compressed_to_blittable() 293 tex->width0 = new_width; in r600_compressed_to_blittable()
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | stacked_tab_strip_layout_unittest.cc | 403 int new_width; in TEST_F() member 425 layout_->SetWidth(test_data[i].new_width); in TEST_F()
|
/external/chromium_org/media/video/capture/mac/ |
D | video_capture_device_mac.mm | 518 int new_width = capture_format_.frame_size.width(); 521 new_width = (new_width * aspect_numerator) / aspect_denominator; 524 capture_format_.frame_size.SetSize(new_width, new_height);
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
D | firstpass.c | 3208 int new_width = cpi->oxcf.Width; in find_next_key_frame() local 3283 …mes_to_key, (int)(cpi->twopass.kf_group_bits / cpi->twopass.frames_to_key), new_height, new_width); in find_next_key_frame() 3334 new_width = ((hs - 1) + (cpi->oxcf.Width * hr)) / hs; in find_next_key_frame() 3341 …effective_size_ratio = (double)(new_width * new_height) / (double)(cpi->oxcf.Width * cpi->oxcf.Hei… in find_next_key_frame() 3354 …mes_to_key, (int)(cpi->twopass.kf_group_bits / cpi->twopass.frames_to_key), new_height, new_width); in find_next_key_frame() 3360 if ((cpi->common.Width != new_width) || (cpi->common.Height != new_height)) in find_next_key_frame() 3362 cpi->common.Width = new_width; in find_next_key_frame()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | firstpass.c | 3208 int new_width = cpi->oxcf.Width; in find_next_key_frame() local 3283 …mes_to_key, (int)(cpi->twopass.kf_group_bits / cpi->twopass.frames_to_key), new_height, new_width); in find_next_key_frame() 3334 new_width = ((hs - 1) + (cpi->oxcf.Width * hr)) / hs; in find_next_key_frame() 3341 …effective_size_ratio = (double)(new_width * new_height) / (double)(cpi->oxcf.Width * cpi->oxcf.Hei… in find_next_key_frame() 3354 …mes_to_key, (int)(cpi->twopass.kf_group_bits / cpi->twopass.frames_to_key), new_height, new_width); in find_next_key_frame() 3360 if ((cpi->common.Width != new_width) || (cpi->common.Height != new_height)) in find_next_key_frame() 3362 cpi->common.Width = new_width; in find_next_key_frame()
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
D | qm_select_unittest.cc | 66 uint16_t new_width, 1297 uint16_t new_width, in IsSelectedActionCorrect() argument 1303 qm_scale->codec_width == new_width && in IsSelectedActionCorrect()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
D | r600_blit.c | 577 int new_height, new_width; in r600_compressed_to_blittable() local 592 new_width = util_format_get_nblocksx(tex->format, orig->width0); in r600_compressed_to_blittable() 595 tex->width0 = new_width; in r600_compressed_to_blittable()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_blit.c | 577 int new_height, new_width; in r600_compressed_to_blittable() local 592 new_width = util_format_get_nblocksx(tex->format, orig->width0); in r600_compressed_to_blittable() 595 tex->width0 = new_width; in r600_compressed_to_blittable()
|