/external/chromium_org/chrome/browser/history/ |
H A D | select_favicon_frames_unittest.cc | 35 // Return gfx::Size vector with the pixel sizes of |bitmaps|. 36 vector<gfx::Size> SizesFromBitmaps(const vector<SkBitmap>& bitmaps) { argument 38 for (size_t i = 0; i < bitmaps.size(); ++i) 39 sizes.push_back(gfx::Size(bitmaps[i].width(), bitmaps[i].height())); 73 vector<SkBitmap> bitmaps; local 74 bitmaps.push_back(MakeBitmap(SK_ColorRED, 16, 16)); 75 bitmaps.push_back(MakeBitmap(SK_ColorGREEN, 48, 48)); 76 bitmaps.push_back(MakeBitmap(SK_ColorBLUE, 32, 32)); 78 gfx::ImageSkia image = CreateFaviconImageSkia(bitmaps, 91 vector<SkBitmap> bitmaps; local 119 vector<SkBitmap> bitmaps; local 137 vector<SkBitmap> bitmaps; local 155 vector<SkBitmap> bitmaps; local 173 vector<SkBitmap> bitmaps; local [all...] |
/external/chromium_org/ui/base/cursor/ozone/ |
H A D | bitmap_cursor_factory_ozone.cc | 39 BitmapCursorOzone::BitmapCursorOzone(const std::vector<SkBitmap>& bitmaps, argument 42 : bitmaps_(bitmaps), hotspot_(hotspot), frame_delay_ms_(frame_delay_ms) { 43 DCHECK_LT(0U, bitmaps.size()); 58 const std::vector<SkBitmap>& BitmapCursorOzone::bitmaps() { function in class:ui::BitmapCursorOzone 89 const std::vector<SkBitmap>& bitmaps, 92 DCHECK_LT(0U, bitmaps.size()); 94 new BitmapCursorOzone(bitmaps, hotspot, frame_delay_ms); 88 CreateAnimatedCursor( const std::vector<SkBitmap>& bitmaps, const gfx::Point& hotspot, int frame_delay_ms) argument
|
H A D | bitmap_cursor_factory_ozone.h | 24 BitmapCursorOzone(const std::vector<SkBitmap>& bitmaps, 32 const std::vector<SkBitmap>& bitmaps(); 67 const std::vector<SkBitmap>& bitmaps,
|
/external/chromium_org/components/favicon_base/ |
H A D | select_favicon_frames.h | 23 // Takes a list of all bitmaps found in a .ico file, and creates an 28 // |original_sizes| are the original sizes of the bitmaps. (For instance, 31 // that describes how well |bitmaps| were able to produce an image at 41 const std::vector<SkBitmap>& bitmaps, 46 // Takes a list of the pixel sizes of a favicon's favicon bitmaps and returns 57 // are the sizes of the favicon bitmaps after they were resized.
|
/external/chromium_org/third_party/skia/tests/ |
H A D | CanvasStateTest.cpp | 97 SkBitmap bitmaps[2]; local 99 bitmaps[j].allocPixels(SkImageInfo::Make(WIDTH, HEIGHT, 103 SkCanvas canvas(bitmaps[j]); 136 // now we memcmp the two bitmaps 137 REPORTER_ASSERT(reporter, bitmaps[0].getSize() == bitmaps[1].getSize()); 138 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(), 139 bitmaps[1].getPixels(), 140 bitmaps[0].getSize())); 198 SkBitmap bitmaps[ local [all...] |
/external/chromium_org/ui/ozone/platform/dri/ |
H A D | hardware_cursor_delegate.h | 23 const std::vector<SkBitmap>& bitmaps,
|
H A D | gpu_platform_support_gbm.cc | 87 const std::vector<SkBitmap>& bitmaps, 90 dri_->SetHardwareCursor(widget, bitmaps, location, frame_delay_ms); 86 OnCursorSet(gfx::AcceleratedWidget widget, const std::vector<SkBitmap>& bitmaps, const gfx::Point& location, int frame_delay_ms) argument
|
/external/skia/tests/ |
H A D | CanvasStateTest.cpp | 42 SkBitmap bitmaps[2]; local 44 bitmaps[j].allocPixels(SkImageInfo::Make(WIDTH, HEIGHT, 48 SkCanvas canvas(bitmaps[j]); 85 // now we memcmp the two bitmaps 86 REPORTER_ASSERT(reporter, bitmaps[0].getSize() == bitmaps[1].getSize()); 87 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(), 88 bitmaps[1].getPixels(), 89 bitmaps[0].getSize())); 131 SkBitmap bitmaps[ local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | bookmark_app_helper.h | 47 // This finds the closest not-smaller bitmap in |bitmaps| for each size in 48 // |sizes| and resizes it to that size. This returns a map of sizes to bitmaps 49 // which contains only bitmaps of a size in |sizes| and at most one bitmap of 52 const std::vector<SkBitmap>& bitmaps, 55 // Adds a square container icon of |output_size| pixels to |bitmaps| by 57 // Does nothing if an icon of |output_size| already exists in |bitmaps|. 58 static void GenerateIcon(std::map<int, SkBitmap>* bitmaps, 71 const std::map<GURL, std::vector<SkBitmap> >& bitmaps);
|
H A D | bookmark_app_helper_unittest.cc | 134 const std::map<GURL, std::vector<SkBitmap> >& bitmaps) { 135 BookmarkAppHelper::OnIconsDownloaded(success, bitmaps); 297 std::vector<SkBitmap> bitmaps; local 298 bitmaps.push_back(CreateSquareBitmapWithColor(16, SK_ColorRED)); 299 bitmaps.push_back(CreateSquareBitmapWithColor(32, SK_ColorGREEN)); 300 bitmaps.push_back(CreateSquareBitmapWithColor(48, SK_ColorBLUE)); 301 bitmaps.push_back(CreateSquareBitmapWithColor(144, SK_ColorYELLOW)); 304 BookmarkAppHelper::ConstrainBitmapsToSizes(bitmaps, desired_sizes)); 312 std::vector<SkBitmap> bitmaps; local 313 bitmaps 132 CompleteIconDownload( bool success, const std::map<GURL, std::vector<SkBitmap> >& bitmaps) argument [all...] |
/external/chromium_org/content/renderer/fetchers/ |
H A D | multi_resolution_image_resource_fetcher.cc | 48 std::vector<SkBitmap> bitmaps; local 54 bitmaps = ImageDecoder::DecodeAll( 64 callback.Run(this, bitmaps);
|
/external/chromium_org/ui/base/cursor/ |
H A D | cursor_loader_ozone.cc | 35 std::vector<SkBitmap> bitmaps; local 39 resource_id, scale(), rotation(), &hotspot, &bitmaps); 42 bitmaps, hotspot, frame_delay_ms);
|
H A D | cursor_util.h | 37 std::vector<SkBitmap>* bitmaps);
|
H A D | cursor_util.cc | 82 std::vector<SkBitmap>* bitmaps) { 95 bitmaps->resize(frame_count); 106 (*bitmaps)[frame] = cropped; 78 GetAnimatedCursorBitmaps(int resource_id, float scale, gfx::Display::Rotation rotation, gfx::Point* hotspot, std::vector<SkBitmap>* bitmaps) argument
|
H A D | cursor_loader_x11.cc | 169 std::vector<SkBitmap> bitmaps; local 173 resource_id, scale(), rotation(), &hotspot, &bitmaps); 175 XcursorImages* x_images = XcursorImagesCreate(bitmaps.size()); 176 x_images->nimage = bitmaps.size(); 178 for (unsigned int frame = 0; frame < bitmaps.size(); ++frame) { 179 XcursorImage* x_image = SkBitmapToXcursorImage(&bitmaps[frame], hotspot);
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
H A D | sbixBitmapSet.py | 28 self.bitmaps = {} 42 # calculate number of bitmaps 46 # ^ -1 because there's one more offset than bitmaps 50 for i in range(self.numBitmaps + 1): # + 1 because there's one more offset than bitmaps 55 # iterate through offset list and slice raw data into bitmaps 59 self.bitmaps[myBitmap.glyphName] = myBitmap 72 if glyphName in self.bitmaps: 74 myBitmap = self.bitmaps[glyphName] 110 if glyphOrder[i] in self.bitmaps: 111 self.bitmaps[glyphOrde [all...] |
/external/fonttools/Tools/fontTools/ttLib/tables/ |
H A D | sbixBitmapSet.py | 28 self.bitmaps = {} 42 # calculate number of bitmaps 46 # ^ -1 because there's one more offset than bitmaps 50 for i in range(self.numBitmaps + 1): # + 1 because there's one more offset than bitmaps 55 # iterate through offset list and slice raw data into bitmaps 59 self.bitmaps[myBitmap.glyphName] = myBitmap 72 if glyphName in self.bitmaps: 74 myBitmap = self.bitmaps[glyphName] 110 if glyphOrder[i] in self.bitmaps: 111 self.bitmaps[glyphOrde [all...] |
/external/chromium_org/net/disk_cache/blockfile/ |
H A D | block_bitmaps_v3_unittest.cc | 14 disk_cache::BlockFilesBitmaps bitmaps; local 25 bitmaps.push_back(disk_cache::BlockHeader(&headers[i])); 28 block_bitmaps.Init(bitmaps);
|
H A D | block_bitmaps_v3.h | 28 void Init(const BlockFilesBitmaps& bitmaps); 38 // Releases the internal bitmaps. The cache is being purged.
|
/external/chromium_org/ui/ozone/public/ |
H A D | cursor_factory_ozone.h | 45 const std::vector<SkBitmap>& bitmaps,
|
H A D | cursor_factory_ozone.cc | 42 const std::vector<SkBitmap>& bitmaps, 41 CreateAnimatedCursor( const std::vector<SkBitmap>& bitmaps, const gfx::Point& hotspot, int frame_delay_ms) argument
|
/external/chromium_org/android_webview/browser/ |
H A D | icon_helper.cc | 39 const std::vector<SkBitmap>& bitmaps, 47 if (bitmaps.size() == 0) { 57 listener_->OnReceivedIcon(image_url, bitmaps[0]); 35 DownloadFaviconCallback( int id, int http_status_code, const GURL& image_url, const std::vector<SkBitmap>& bitmaps, const std::vector<gfx::Size>& original_bitmap_sizes) argument
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
H A D | launcher_favicon_loader.cc | 21 // FaviconRawBitmapHandler fetchs all bitmaps with the 'icon' (or 'shortcut 24 // These icon bitmaps are not resized and are not cached beyond the lifetime 50 const std::vector<SkBitmap>& bitmaps, 125 const std::vector<SkBitmap>& bitmaps, 134 // Favicon bitmaps are ordered by decreasing width. 135 if (!bitmaps.empty()) 136 AddFavicon(image_url, bitmaps[0]); 121 DidDownloadFavicon( int id, int http_status_code, const GURL& image_url, const std::vector<SkBitmap>& bitmaps, const std::vector<gfx::Size>& original_bitmap_sizes) argument
|
/external/chromium_org/chrome/browser/ui/ |
H A D | metro_pin_tab_helper_win.h | 51 const std::vector<SkBitmap>& bitmaps,
|
/external/chromium_org/chrome/browser/web_applications/ |
H A D | update_shortcut_worker_win.h | 47 const std::vector<SkBitmap>& bitmaps,
|