/external/chromium_org/chrome/browser/history/ |
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) { 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/ozone/platform/dri/ |
hardware_cursor_delegate.h | 23 const std::vector<SkBitmap>& bitmaps,
|
gpu_platform_support_gbm.h | 49 const std::vector<SkBitmap>& bitmaps,
|
gpu_platform_support_gbm.cc | 87 const std::vector<SkBitmap>& bitmaps, 90 dri_->SetHardwareCursor(widget, bitmaps, location, frame_delay_ms);
|
/packages/apps/Gallery/src/com/android/camera/ |
PhotoAppWidgetBind.java | 43 // This is dangerous because the caller could set bitmaps on 52 final ArrayList<Bitmap> bitmaps = local 55 if (appWidgetIds == null || bitmaps == null 56 || appWidgetIds.length != bitmaps.size()) { 66 helper.setPhoto(appWidgetId, bitmaps.get(i));
|
/external/chromium_org/ui/base/cursor/ozone/ |
bitmap_cursor_factory_ozone.cc | 39 BitmapCursorOzone::BitmapCursorOzone(const std::vector<SkBitmap>& bitmaps, 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);
|
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/ |
select_favicon_frames.h | 23 // Takes a list of all bitmaps found in a .ico file, and creates an 25 // Bitmaps are selected by using |SelectFaviconFrameIndices| and the 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/net/disk_cache/blockfile/ |
block_bitmaps_v3.h | 28 void Init(const BlockFilesBitmaps& bitmaps); 38 // Releases the internal bitmaps. The cache is being purged.
|
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);
|
/external/chromium_org/third_party/skia/tests/ |
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[2] local [all...] |
/external/chromium_org/ui/ozone/public/ |
cursor_factory_ozone.h | 45 const std::vector<SkBitmap>& bitmaps,
|
cursor_factory_ozone.cc | 42 const std::vector<SkBitmap>& bitmaps,
|
/external/skia/tests/ |
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[2] local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
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);
|
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.push_back(CreateSquareBitmapWithColor(512, SK_ColorRED)) [all...] |
/external/chromium_org/content/renderer/fetchers/ |
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/ |
cursor_loader_ozone.cc | 35 std::vector<SkBitmap> bitmaps; local 39 resource_id, scale(), rotation(), &hotspot, &bitmaps); 42 bitmaps, hotspot, frame_delay_ms);
|
cursor_util.h | 37 std::vector<SkBitmap>* bitmaps);
|
cursor_util.cc | 82 std::vector<SkBitmap>* bitmaps) { 95 bitmaps->resize(frame_count); 106 (*bitmaps)[frame] = cropped;
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
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[glyphOrder[i]].toXML(xmlWriter, ttFont [all...] |
/external/chromium_org/android_webview/browser/ |
icon_helper.cc | 39 const std::vector<SkBitmap>& bitmaps, 47 if (bitmaps.size() == 0) { 57 listener_->OnReceivedIcon(image_url, bitmaps[0]);
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
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 25 // of the class. Bitmaps larger than kMaxBitmapSize are ignored. 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]);
|
/external/chromium_org/chrome/browser/ui/ |
metro_pin_tab_helper_win.h | 51 const std::vector<SkBitmap>& bitmaps,
|
/external/chromium_org/chrome/browser/web_applications/ |
update_shortcut_worker_win.h | 47 const std::vector<SkBitmap>& bitmaps,
|