/external/chromium_org/chrome/common/favicon/ |
D | favicon_url_parser_unittest.cc | 45 EXPECT_EQ(16, parsed.size_in_dip); in TEST_F() 60 EXPECT_EQ(32, parsed.size_in_dip); in TEST_F() 68 EXPECT_EQ(32, parsed.size_in_dip); in TEST_F() 77 EXPECT_EQ(16, parsed.size_in_dip); in TEST_F() 93 EXPECT_EQ(16, parsed.size_in_dip); in TEST_F() 107 EXPECT_EQ(0, parsed.size_in_dip); in TEST_F() 121 EXPECT_EQ(16, parsed.size_in_dip); in TEST_F() 135 EXPECT_EQ(16, parsed.size_in_dip); in TEST_F() 142 EXPECT_EQ(16, parsed.size_in_dip); in TEST_F() 157 EXPECT_EQ(32, parsed.size_in_dip); in TEST_F() [all …]
|
D | favicon_url_parser.cc | 40 parsed->size_in_dip = gfx::kFaviconSize; in ParseFaviconPath() 50 parsed->size_in_dip = 0; in ParseFaviconPath() 71 if (!base::StringToInt(size_str, &parsed->size_in_dip)) in ParseFaviconPath() 74 if (parsed->size_in_dip != (gfx::kFaviconSize * 4) && in ParseFaviconPath() 75 parsed->size_in_dip != (gfx::kFaviconSize * 2)) { in ParseFaviconPath() 77 parsed->size_in_dip = gfx::kFaviconSize; in ParseFaviconPath() 88 if (parsed->size_in_dip != gfx::kFaviconSize && in ParseFaviconPath()
|
D | favicon_url_parser.h | 20 int size_in_dip; member
|
/external/chromium_org/content/browser/renderer_host/ |
D | dip_util.cc | 31 const gfx::Size& size_in_dip) { in ConvertViewSizeToPixel() argument 32 return ConvertSizeToPixel(GetScaleFactorForView(view), size_in_dip); in ConvertViewSizeToPixel() 53 const gfx::Size& size_in_dip) { in ConvertSizeToPixel() argument 54 return gfx::ToFlooredSize(gfx::ScaleSize(size_in_dip, scale_factor)); in ConvertSizeToPixel()
|
D | dip_util.h | 28 const RenderWidgetHostView* view, const gfx::Size& size_in_dip);
|
/external/chromium_org/extensions/browser/ |
D | extension_icon_image.cc | 55 explicit BlankImageSource(const gfx::Size& size_in_dip) in BlankImageSource() argument 56 : CanvasImageSource(size_in_dip, /*is_opaque =*/ false) { in BlankImageSource() 78 Source(IconImage* host, const gfx::Size& size_in_dip); 98 IconImage::Source::Source(IconImage* host, const gfx::Size& size_in_dip) in Source() argument 100 blank_image_(new BlankImageSource(size_in_dip), size_in_dip) { in Source()
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | favicon_source.cc | 30 : size_in_dip(gfx::kFaviconSize), device_scale_factor(1.0f) { in IconRequest() 40 size_in_dip(size), in IconRequest() 83 std::ceil(parsed.size_in_dip * parsed.device_scale_factor); in StartDataRequest() 96 callback, url, parsed.size_in_dip, parsed.device_scale_factor)), in StartDataRequest() 121 callback, url, parsed.size_in_dip, parsed.device_scale_factor)), in StartDataRequest() 180 switch (icon_request.size_in_dip) { in SendDefaultResponse()
|
D | favicon_source.h | 96 int size_in_dip; member
|
/external/chromium_org/ui/compositor/ |
D | dip_util.cc | 61 const gfx::Size& size_in_dip) { in ConvertSizeToPixel() argument 63 gfx::ScaleSize(size_in_dip, GetDeviceScaleFactor(layer))); in ConvertSizeToPixel()
|
D | dip_util.h | 42 const gfx::Size& size_in_dip);
|
/external/chromium_org/ash/magnifier/ |
D | magnification_controller.cc | 393 const gfx::Size size_in_dip = root_window_->bounds().size(); in GetWindowRectDIP() local 394 const float width = size_in_dip.width() / scale; in GetWindowRectDIP() 395 const float height = size_in_dip.height() / scale; in GetWindowRectDIP()
|
/external/chromium_org/chrome/browser/favicon/ |
D | favicon_service.cc | 69 std::vector<int> GetPixelSizesForFaviconScales(int size_in_dip) { in GetPixelSizesForFaviconScales() argument 73 sizes_in_pixel.push_back(std::ceil(size_in_dip * scales[i])); in GetPixelSizesForFaviconScales()
|
/external/chromium_org/content/browser/compositor/ |
D | delegated_frame_host.h | 166 bool ShouldSkipFrame(gfx::Size size_in_dip) const;
|
D | delegated_frame_host.cc | 231 bool DelegatedFrameHost::ShouldSkipFrame(gfx::Size size_in_dip) const { in ShouldSkipFrame() 240 return size_in_dip != resize_lock_->expected_size(); in ShouldSkipFrame()
|