/external/chromium_org/chrome/browser/history/ |
D | select_favicon_frames.cc | 30 SkBitmap SampleNearestNeighbor(const SkBitmap& contents, int desired_size) { in SampleNearestNeighbor() argument 33 SkBitmap::kARGB_8888_Config, desired_size, desired_size); in SampleNearestNeighbor() 40 SkRect dest(SkRect::MakeWH(desired_size, desired_size)); in SampleNearestNeighbor() 142 int desired_size, in GetCandidateIndicesWithBestScores() argument 150 if (desired_size == 0) { in GetCandidateIndicesWithBestScores() 168 result.scale_factor, desired_size, &score, &result.resize_method); in GetCandidateIndicesWithBestScores() 207 int desired_size, in SelectFaviconFrames() argument 211 desired_size, match_score, &results); in SelectFaviconFrames() 217 desired_size, result.scale_factor, result.resize_method); in SelectFaviconFrames() 228 int desired_size, in SelectFaviconFrameIndices() argument [all …]
|
D | select_favicon_frames.h | 41 int desired_size, 58 int desired_size,
|
/external/chromium_org/chrome/browser/thumbnails/ |
D | simple_thumbnail_crop.cc | 141 const gfx::Size& desired_size, in GetClippingRect() argument 146 static_cast<float>(desired_size.width()) / desired_size.height(); in GetClippingRect() 151 if (source_size.width() < desired_size.width() || in GetClippingRect() 152 source_size.height() < desired_size.height()) { in GetClippingRect() 156 clipping_rect = gfx::Rect(desired_size); in GetClippingRect() 197 const gfx::Size& desired_size, in CreateThumbnail() argument 214 bmp, desired_size.width(), desired_size.height(), clip_result); in CreateThumbnail() 222 clipped_bitmap, desired_size.width(), desired_size.height()); in CreateThumbnail()
|
D | simple_thumbnail_crop_unittest.cc | 201 const gfx::Size desired_size(300, 200); in TEST_F() local 205 gfx::Size(300, 199), desired_size, &clip_result); in TEST_F() 208 EXPECT_EQ(desired_size.ToString(), clip_rect.size().ToString()); in TEST_F() 212 gfx::Size(500, 1200), desired_size, &clip_result); in TEST_F() 219 gfx::Size(2000, 800), desired_size, &clip_result); in TEST_F() 228 gfx::Size(900, 600), desired_size, &clip_result); in TEST_F()
|
D | simple_thumbnail_crop.h | 50 const gfx::Size& desired_size, 64 const gfx::Size& desired_size,
|
D | render_widget_snapshot_taker.cc | 43 gfx::Size desired_size) { in AskForSnapshot() argument 51 gfx::ScaleSize(desired_size, scale_factor)); in AskForSnapshot() 93 renderer_dib_handle, sequence_num, page_size, desired_size); in AskForSnapshot()
|
D | render_widget_snapshot_taker.h | 50 gfx::Size desired_size);
|
/external/chromium_org/ui/gfx/image/ |
D | image_skia_util_mac.mm | 21 // Returns NSImageRep whose pixel size most closely matches |desired_size|. 23 NSSize desired_size) { 27 float diff = std::abs(desired_size.width - [image_rep pixelsWide]) + 28 std::abs(desired_size.height - [image_rep pixelsHigh]); 51 NSSize desired_size) { 65 NSSize desired_size_for_scale = NSMakeSize(desired_size.width * scale, 66 desired_size.height * scale); 81 gfx::ImageSkia ApplicationIconAtSize(int desired_size) { 84 NSMakeSize(desired_size, desired_size));
|
/external/chromium/chrome/browser/chromeos/login/ |
D | proxy_settings_dialog.cc | 21 int desired_size = static_cast<int>(desired_ratio * screen_size); in CalculateSize() local 22 desired_size = std::max(min_comfortable, desired_size); in CalculateSize() 23 return std::min(screen_size, desired_size); in CalculateSize()
|
D | user_view.cc | 296 int desired_size = std::min(image.width(), image.height()); in SetImage() local 298 if (desired_size * 4 > 3 * kUserImageSize) in SetImage() 299 desired_size = kUserImageSize; in SetImage() 300 image_view_->SetImageSize(gfx::Size(desired_size, desired_size)); in SetImage()
|
/external/chromium_org/chrome/browser/extensions/ |
D | image_loader.cc | 43 const gfx::Size& desired_size) { in ShouldResizeImageRepresentation() argument 46 return decoded_size != desired_size; in ShouldResizeImageRepresentation() 48 return decoded_size.width() > desired_size.width() || in ShouldResizeImageRepresentation() 49 decoded_size.height() > desired_size.height(); in ShouldResizeImageRepresentation() 61 image_info.desired_size)) { in ResizeIfNeeded() 64 image_info.desired_size.width(), image_info.desired_size.height()); in ResizeIfNeeded() 128 const gfx::Size& desired_size, in ImageRepresentation() argument 132 desired_size(desired_size), in ImageRepresentation() 322 << "; desired_size = " << it->desired_size.ToString() in LoadImagesAsync()
|
D | image_loader.h | 52 const gfx::Size& desired_size, 63 gfx::Size desired_size; member
|
/external/chromium_org/chrome/browser/chromeos/login/ |
D | proxy_settings_dialog.cc | 34 int desired_size = static_cast<int>(desired_ratio * screen_size); in CalculateSize() local 35 desired_size = std::max(min_comfortable, desired_size); in CalculateSize() 36 return std::min(screen_size, desired_size); in CalculateSize()
|
/external/chromium/chrome/browser/tab_contents/ |
D | thumbnail_generator.cc | 186 gfx::Size desired_size) { in AskForSnapshot() argument 193 desired_size.width(), in AskForSnapshot() 194 desired_size.height(), in AskForSnapshot() 211 desired_size.width() * desired_size.height() * 4, sequence_num)); in AskForSnapshot() 243 renderer_dib_handle, sequence_num, page_size, desired_size); in AskForSnapshot()
|
D | thumbnail_generator.h | 84 gfx::Size desired_size);
|
/external/chromium_org/content/public/test/ |
D | render_widget_test.cc | 36 const gfx::Size& desired_size, in ResizeAndPaint() argument 54 desired_size); in ResizeAndPaint() 64 EXPECT_EQ(desired_size, size); in ResizeAndPaint()
|
D | render_widget_test.h | 39 const gfx::Size& desired_size,
|
/external/chromium_org/content/browser/renderer_host/ |
D | backing_store_manager.h | 33 const gfx::Size& desired_size);
|
D | backing_store_manager.cc | 180 const gfx::Size& desired_size) { in GetBackingStore() argument 185 if (backing_store->size() == desired_size) in GetBackingStore()
|
D | render_widget_host_impl.h | 167 const gfx::Size& desired_size) OVERRIDE; 252 bool TryGetBackingStore(const gfx::Size& desired_size,
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
D | webrtcvideoframe.cc | 355 size_t desired_size = SizeOf(new_width, new_height); in Reset() local 357 new RefCountedBuffer(desired_size)); in Reset() 360 Attach(video_buffer.get(), desired_size, new_width, new_height, pixel_width, in Reset()
|
/external/chromium_org/chrome/installer/setup/ |
D | setup_util_unittest.cc | 82 const DWORD desired_size = wcslen(privilege_name); in CurrentProcessHasPrivilege() local 83 const DWORD buffer_size = desired_size + 1; in CurrentProcessHasPrivilege() 89 if (size == desired_size && in CurrentProcessHasPrivilege()
|
/external/chromium_org/content/public/browser/ |
D | render_widget_host.h | 255 const gfx::Size& desired_size) = 0;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | socket_unittest.cc | 976 const int desired_size = 12345; in GetSetOptionsInternal() local 979 const int expected_size = desired_size * 2; in GetSetOptionsInternal() 981 const int expected_size = desired_size; in GetSetOptionsInternal() 989 ASSERT_NE(-1, socket->SetOption(Socket::OPT_RCVBUF, desired_size)); in GetSetOptionsInternal() 990 ASSERT_NE(-1, socket->SetOption(Socket::OPT_SNDBUF, desired_size)); in GetSetOptionsInternal()
|
/external/chromium_org/content/port/browser/ |
D | render_widget_host_view_port.h | 243 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) = 0;
|