Lines Matching defs:bitmaps
35 // Return gfx::Size vector with the pixel sizes of |bitmaps|.
36 vector<gfx::Size> SizesFromBitmaps(const vector<SkBitmap>& bitmaps) {
38 for (size_t i = 0; i < bitmaps.size(); ++i)
39 sizes.push_back(gfx::Size(bitmaps[i].width(), bitmaps[i].height()));
74 vector<SkBitmap> bitmaps;
75 bitmaps.push_back(MakeBitmap(SK_ColorRED, 16, 16));
76 bitmaps.push_back(MakeBitmap(SK_ColorGREEN, 48, 48));
77 bitmaps.push_back(MakeBitmap(SK_ColorBLUE, 32, 32));
79 gfx::ImageSkia image = CreateFaviconImageSkia(bitmaps,
80 SizesFromBitmaps(bitmaps), 0, NULL);
92 vector<SkBitmap> bitmaps;
93 bitmaps.push_back(MakeBitmap(SK_ColorRED, 15, 15));
94 bitmaps.push_back(MakeBitmap(SK_ColorGREEN, 16, 16));
95 bitmaps.push_back(MakeBitmap(SK_ColorBLUE, 17, 17));
97 gfx::ImageSkia image = CreateFaviconImageSkia(bitmaps,
98 SizesFromBitmaps(bitmaps), 16, NULL);
120 vector<SkBitmap> bitmaps;
121 bitmaps.push_back(MakeBitmap(SK_ColorRED, 15, 15));
122 bitmaps.push_back(MakeBitmap(SK_ColorGREEN, 17, 17));
125 gfx::ImageSkia image = CreateFaviconImageSkia(bitmaps,
126 SizesFromBitmaps(bitmaps), 16, NULL);
138 vector<SkBitmap> bitmaps;
139 bitmaps.push_back(MakeBitmap(SK_ColorRED, 14, 14));
140 bitmaps.push_back(MakeBitmap(SK_ColorGREEN, 15, 15));
144 gfx::ImageSkia image = CreateFaviconImageSkia(bitmaps,
145 SizesFromBitmaps(bitmaps), 16, NULL);
156 vector<SkBitmap> bitmaps;
157 bitmaps.push_back(MakeBitmap(SK_ColorGREEN, 16, 16));
159 gfx::ImageSkia image = CreateFaviconImageSkia(bitmaps,
160 SizesFromBitmaps(bitmaps), 16, NULL);
174 vector<SkBitmap> bitmaps;
175 bitmaps.push_back(MakeBitmap(SK_ColorGREEN, 16, 16));
176 bitmaps.push_back(MakeBitmap(SK_ColorBLUE, 32, 32));
178 gfx::ImageSkia image = CreateFaviconImageSkia(bitmaps,
179 SizesFromBitmaps(bitmaps), 16, NULL);
297 // |bitmaps| parameter to SelectFaviconFrames().