/external/chromium_org/cc/test/ |
D | pixel_test_software_output_device.cc | 9 void PixelTestSoftwareOutputDevice::Resize(const gfx::Size& pixel_size, in Resize() argument 12 pixel_size.width() + surface_expansion_size_.width(), in Resize() 13 pixel_size.height() + surface_expansion_size_.height()); in Resize()
|
D | pixel_test_software_output_device.h | 14 virtual void Resize(const gfx::Size& pixel_size, float scale_factor) OVERRIDE;
|
/external/chromium_org/components/favicon_base/ |
D | favicon_util.cc | 44 int area = png_data[i].pixel_size.GetArea(); in SelectFaviconFramesFromPNGsWithoutResizing() 58 int pixel_size = std::ceil(favicon_size * favicon_scales[i]); in SelectFaviconFramesFromPNGsWithoutResizing() local 59 desired_pixel_sizes[pixel_size] = favicon_scales[i]; in SelectFaviconFramesFromPNGsWithoutResizing() 66 const gfx::Size& pixel_size = png_data[i].pixel_size; in SelectFaviconFramesFromPNGsWithoutResizing() local 67 if (pixel_size.width() != pixel_size.height()) in SelectFaviconFramesFromPNGsWithoutResizing() 71 desired_pixel_sizes.find(pixel_size.width()); in SelectFaviconFramesFromPNGsWithoutResizing()
|
D | favicon_types.h | 62 gfx::Size pixel_size; member
|
/external/chromium_org/third_party/ots/src/ |
D | hdmx.cc | 67 if (!table.ReadU8(&rec.pixel_size) || in ots_hdmx_parse() 72 (rec.pixel_size <= last_pixel_size)) { in ots_hdmx_parse() 77 last_pixel_size = rec.pixel_size; in ots_hdmx_parse() 116 if (!out->Write(&rec.pixel_size, 1) || in ots_hdmx_serialise()
|
D | hdmx.h | 15 uint8_t pixel_size; member
|
/external/jpeg/ |
D | rdtarga.c | 64 int pixel_size; /* Bytes per Targa pixel (1 to 4) */ member 129 for (i = 0; i < sinfo->pixel_size; i++) { in read_non_rle_pixel() 160 for (i = 0; i < sinfo->pixel_size; i++) { in read_rle_pixel() 357 source->pixel_size = UCH(targaheader[16]) >> 3; in start_input_tga() 364 source->pixel_size < 1 || source->pixel_size > 4 || in start_input_tga() 385 if (source->pixel_size == 1 && cmaptype == 1) in start_input_tga() 392 switch (source->pixel_size) { in start_input_tga() 411 if (source->pixel_size == 1) in start_input_tga()
|
/external/qemu/distrib/jpeg-6b/ |
D | rdtarga.c | 64 int pixel_size; /* Bytes per Targa pixel (1 to 4) */ member 129 for (i = 0; i < sinfo->pixel_size; i++) { in read_non_rle_pixel() 160 for (i = 0; i < sinfo->pixel_size; i++) { in read_rle_pixel() 357 source->pixel_size = UCH(targaheader[16]) >> 3; in start_input_tga() 364 source->pixel_size < 1 || source->pixel_size > 4 || in start_input_tga() 385 if (source->pixel_size == 1 && cmaptype == 1) in start_input_tga() 392 switch (source->pixel_size) { in start_input_tga() 411 if (source->pixel_size == 1) in start_input_tga()
|
/external/chromium_org/ui/gfx/image/ |
D | image_skia_operations.cc | 39 ImageSkiaRep GetErrorImageRep(float scale, const gfx::Size& pixel_size) { in GetErrorImageRep() argument 42 SkBitmap::kARGB_8888_Config, pixel_size.width(), pixel_size.height()); in GetErrorImageRep() 66 if (first_rep.pixel_size() != second_rep.pixel_size()) { in GetImageForScale() 70 return GetErrorImageRep(first_rep.scale(),first_rep.pixel_size()); in GetImageForScale() 76 if (first_rep.pixel_size() != second_rep.pixel_size()) { in GetImageForScale() 78 return GetErrorImageRep(first_rep.scale(), first_rep.pixel_size()); in GetImageForScale()
|
D | image_skia_rep.h | 45 Size pixel_size() const { in pixel_size() function
|
/external/chromium_org/chrome/browser/favicon/ |
D | favicon_service.cc | 297 const gfx::Size& pixel_size) { in MergeFavicon() argument 300 pixel_size); in MergeFavicon() 329 gfx::Size pixel_size(image_reps[i].pixel_width(), in SetFavicons() local 333 bitmap_data_element.pixel_size = pixel_size; in SetFavicons() 418 if (bitmap_result.pixel_size.width() == desired_size_in_pixel && in RunFaviconRawBitmapCallbackWithBitmapResults() 419 bitmap_result.pixel_size.height() == desired_size_in_pixel) { in RunFaviconRawBitmapCallbackWithBitmapResults()
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | favicon_cache.cc | 85 IconSize GetIconSizeBinFromBitmapResult(const gfx::Size& pixel_size) { in GetIconSizeBinFromBitmapResult() argument 87 (pixel_size.width() > pixel_size.height() ? in GetIconSizeBinFromBitmapResult() 88 pixel_size.width() : pixel_size.height()); in GetIconSizeBinFromBitmapResult() 130 bitmap_result.pixel_size.set_height(favicon_data.height()); in GetImageDataFromSpecifics() 131 bitmap_result.pixel_size.set_width(favicon_data.width()); in GetImageDataFromSpecifics() 141 favicon_data->set_height(bitmap_result.pixel_size.height()); in FillSpecificsWithImageData() 142 favicon_data->set_width(bitmap_result.pixel_size.width()); in FillSpecificsWithImageData() 182 bitmap_result.pixel_size); in UpdateFaviconFromBitmapResult() 185 << bitmap_result.pixel_size.height() << "x" in UpdateFaviconFromBitmapResult() 186 << bitmap_result.pixel_size.width(); in UpdateFaviconFromBitmapResult() [all …]
|
/external/chromium_org/chrome/browser/history/ |
D | thumbnail_database.h | 84 gfx::Size* pixel_size); 98 const gfx::Size& pixel_size); 151 const gfx::Size& pixel_size);
|
D | history_backend.cc | 1611 (largest.pixel_size.width() < j->pixel_size.width() && in GetLargestFaviconForURL() 1612 largest.pixel_size.height() < j->pixel_size.height())) { in GetLargestFaviconForURL() 1615 largest.pixel_size = j->pixel_size; in GetLargestFaviconForURL() 1633 (largest_icon.pixel_size.height() < f->second.pixel_size.height() && in GetLargestFaviconForURL() 1634 largest_icon.pixel_size.width() < f->second.pixel_size.width()))) { in GetLargestFaviconForURL() 1638 if (largest_icon.pixel_size.width() > minimum_size_in_pixels && in GetLargestFaviconForURL() 1639 largest_icon.pixel_size.height() > minimum_size_in_pixels) in GetLargestFaviconForURL() 1657 &bitmap_result.pixel_size)) { in GetLargestFaviconForURL() 1709 const gfx::Size& pixel_size) { in MergeFavicon() argument 1729 if (bitmap_id_sizes[i].pixel_size == pixel_size) { in MergeFavicon() [all …]
|
D | thumbnail_database.cc | 664 bitmap_id_size.pixel_size = gfx::Size(statement.ColumnInt(1), in GetFaviconBitmapIDSizes() 696 favicon_bitmap.pixel_size = gfx::Size(statement.ColumnInt(3), in GetFaviconBitmaps() 707 gfx::Size* pixel_size) { in GetFaviconBitmap() argument 726 if (pixel_size) { in GetFaviconBitmap() 727 *pixel_size = gfx::Size(statement.ColumnInt(2), in GetFaviconBitmap() 737 const gfx::Size& pixel_size) { in AddFaviconBitmap() argument 750 statement.BindInt(3, pixel_size.width()); in AddFaviconBitmap() 751 statement.BindInt(4, pixel_size.height()); in AddFaviconBitmap() 861 const gfx::Size& pixel_size) { in AddFavicon() argument 863 if (!icon_id || !AddFaviconBitmap(icon_id, icon_data, time, pixel_size)) in AddFavicon()
|
D | history_backend_unittest.cc | 68 return a.pixel_size.GetArea() < b.pixel_size.GetArea(); in FaviconBitmapLessThan() 407 bitmap_data_element.pixel_size = in GenerateFaviconBitmapData() 421 bitmap_data_element.pixel_size = in GenerateFaviconBitmapData() 649 if (favicon_bitmap1.pixel_size == kLargeSize) { in TEST_F() 656 EXPECT_EQ(kSmallSize, favicon_bitmap1.pixel_size); in TEST_F() 659 EXPECT_EQ(kLargeSize, favicon_bitmap2.pixel_size); in TEST_F() 1650 EXPECT_EQ(kSmallSize, favicon_bitmaps[0].pixel_size); in TEST_F() 1654 EXPECT_EQ(kLargeSize, favicon_bitmaps[1].pixel_size); in TEST_F() 1703 bitmap_data_element.pixel_size = kSmallSize; in TEST_F() 1901 EXPECT_EQ(kSmallSize, favicon_bitmap.pixel_size); in TEST_F() [all …]
|
/external/chromium_org/ash/desktop_background/ |
D | desktop_background_view.cc | 58 gfx::SizeF pixel_size = display.size(); in Layout() local 59 pixel_size.Scale(1.0f / ui_scale); in Layout() 60 gfx::Size rounded_size = gfx::ToCeiledSize(pixel_size); in Layout()
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_web_ui.cc | 107 bitmap_result.pixel_size = gfx::Size(image_rep.pixel_width(), in RunFaviconCallbackAsync() 431 int pixel_size = static_cast<int>(gfx::kFaviconSize * scale); in GetFaviconForURL() local 434 pixel_size, in GetFaviconForURL() 441 gfx::Size(pixel_size, pixel_size), in GetFaviconForURL()
|
/external/chromium_org/cc/resources/ |
D | resource_provider_unittest.cc | 495 size_t pixel_size = TextureSizeBytes(size, format); in CheckCreateResource() local 496 ASSERT_EQ(4U, pixel_size); in CheckCreateResource() 512 EXPECT_EQ(0, memcmp(data, result, pixel_size)); in CheckCreateResource() 527 size_t pixel_size = TextureSizeBytes(size, format); in TEST_P() local 528 ASSERT_EQ(16U, pixel_size); in TEST_P() 538 for (uint8_t i = 0; i < pixel_size; ++i) in TEST_P() 551 EXPECT_EQ(0, memcmp(expected, result, pixel_size)); in TEST_P() 562 EXPECT_EQ(0, memcmp(expected, result, pixel_size)); in TEST_P() 573 EXPECT_EQ(0, memcmp(expected, result, pixel_size)); in TEST_P() 585 EXPECT_EQ(0, memcmp(expected, result, pixel_size)); in TEST_P() [all …]
|
/external/chromium_org/chrome/browser/ui/views/apps/app_info_dialog/ |
D | app_info_header_panel.cc | 201 int pixel_size = in LoadAppImageAsync() local 206 gfx::Size(pixel_size, pixel_size), in LoadAppImageAsync()
|
/external/chromium_org/ui/gfx/ |
D | canvas.cc | 29 Size pixel_size = ToCeiledSize(ScaleSize(size, image_scale)); in Canvas() local 30 owned_canvas_ = skia::AdoptRef(skia::CreatePlatformCanvas(pixel_size.width(), in Canvas() 31 pixel_size.height(), in Canvas() 76 Size pixel_size = ToFlooredSize(ScaleSize(size, image_scale)); in RecreateBackingCanvas() local 77 owned_canvas_ = skia::AdoptRef(skia::CreatePlatformCanvas(pixel_size.width(), in RecreateBackingCanvas() 78 pixel_size.height(), in RecreateBackingCanvas()
|
/external/chromium_org/content/browser/compositor/ |
D | browser_compositor_view_mac.h | 27 withPixelSize:(gfx::Size)pixel_size
|
D | browser_compositor_view_mac.mm | 53 withPixelSize:(gfx::Size)pixel_size 153 withPixelSize:(gfx::Size)pixel_size 188 [accelerated_layer_ context], surface_handle, pixel_size, scale_factor);
|
/external/chromium_org/cc/output/ |
D | software_output_device.h | 39 virtual void Resize(const gfx::Size& pixel_size, float scale_factor);
|
/external/chromium_org/content/renderer/gpu/ |
D | compositor_software_output_device.h | 34 virtual void Resize(const gfx::Size& pixel_size, float scale_factor) OVERRIDE; in NON_EXPORTED_BASE()
|