Home
last modified time | relevance | path

Searched refs:size_in_dip (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/chrome/common/favicon/
Dfavicon_url_parser_unittest.cc45 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 …]
Dfavicon_url_parser.cc40 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()
Dfavicon_url_parser.h20 int size_in_dip; member
/external/chromium_org/content/browser/renderer_host/
Ddip_util.cc31 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()
Ddip_util.h28 const RenderWidgetHostView* view, const gfx::Size& size_in_dip);
/external/chromium_org/extensions/browser/
Dextension_icon_image.cc55 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/
Dfavicon_source.cc30 : 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()
Dfavicon_source.h96 int size_in_dip; member
/external/chromium_org/ui/compositor/
Ddip_util.cc61 const gfx::Size& size_in_dip) { in ConvertSizeToPixel() argument
63 gfx::ScaleSize(size_in_dip, GetDeviceScaleFactor(layer))); in ConvertSizeToPixel()
Ddip_util.h42 const gfx::Size& size_in_dip);
/external/chromium_org/ash/magnifier/
Dmagnification_controller.cc393 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/
Dfavicon_service.cc69 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/
Ddelegated_frame_host.h166 bool ShouldSkipFrame(gfx::Size size_in_dip) const;
Ddelegated_frame_host.cc231 bool DelegatedFrameHost::ShouldSkipFrame(gfx::Size size_in_dip) const { in ShouldSkipFrame()
240 return size_in_dip != resize_lock_->expected_size(); in ShouldSkipFrame()