HomeSort by relevance Sort by last modified time
    Searched refs:bitmaps (Results 1 - 25 of 49) sorted by null

1 2

  /external/chromium_org/chrome/browser/history/
select_favicon_frames_unittest.cc 58 vector<SkBitmap> bitmaps; local
59 bitmaps.push_back(MakeBitmap(SK_ColorRED, 16, 16));
60 bitmaps.push_back(MakeBitmap(SK_ColorGREEN, 48, 48));
61 bitmaps.push_back(MakeBitmap(SK_ColorBLUE, 32, 32));
63 gfx::ImageSkia image = SelectFaviconFrames(bitmaps, Scale1x(), 0, NULL);
73 vector<SkBitmap> bitmaps; local
74 bitmaps.push_back(MakeBitmap(SK_ColorRED, 15, 15));
75 bitmaps.push_back(MakeBitmap(SK_ColorGREEN, 16, 16));
76 bitmaps.push_back(MakeBitmap(SK_ColorBLUE, 17, 17));
78 gfx::ImageSkia image = SelectFaviconFrames(bitmaps, Scale1x(), 16, NULL)
87 vector<SkBitmap> bitmaps; local
101 vector<SkBitmap> bitmaps; local
116 vector<SkBitmap> bitmaps; local
130 vector<SkBitmap> bitmaps; local
145 vector<SkBitmap> bitmaps; local
175 vector<SkBitmap> bitmaps; local
    [all...]
select_favicon_frames.h 23 // Takes a list of all bitmaps found in a .ico file, and creates an
28 // that describes how well |bitmaps| were able to produce an image at
33 const std::vector<SkBitmap>& bitmaps,
38 // Takes a list of the pixel sizes of a favicon's favicon bitmaps and returns
select_favicon_frames.cc 17 // Return gfx::Size vector with the pixel sizes of |bitmaps|.
18 void SizesFromBitmaps(const std::vector<SkBitmap>& bitmaps,
20 for (size_t i = 0; i < bitmaps.size(); ++i)
21 sizes->push_back(gfx::Size(bitmaps[i].width(), bitmaps[i].height()));
240 const std::vector<SkBitmap>& bitmaps,
245 SizesFromBitmaps(bitmaps, &candidate_sizes);
254 SkBitmap resized_bitmap = GetResizedBitmap(bitmaps[result.index],
  /external/chromium_org/content/renderer/fetchers/
multi_resolution_image_resource_fetcher.cc 44 std::vector<SkBitmap> bitmaps; local
50 bitmaps = ImageDecoder::DecodeAll(
60 callback.Run(this, bitmaps);
  /external/skia/tests/
CanvasStateTest.cpp 39 SkBitmap bitmaps[2]; local
41 bitmaps[j].setConfig(configs[i], WIDTH, HEIGHT);
42 bitmaps[j].allocPixels();
44 SkCanvas canvas(bitmaps[j]);
81 // now we memcmp the two bitmaps
82 REPORTER_ASSERT(reporter, bitmaps[0].getSize() == bitmaps[1].getSize());
83 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(),
84 bitmaps[1].getPixels(),
85 bitmaps[0].getSize()))
127 SkBitmap bitmaps[2]; local
    [all...]
  /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/android_webview/browser/
icon_helper.cc 34 const std::vector<SkBitmap>& bitmaps) {
36 if (bitmaps.size() == 0) {
46 listener_->OnReceivedIcon(image_url, bitmaps[0]);
icon_helper.h 45 const std::vector<SkBitmap>& bitmaps);
  /external/chromium_org/chrome/browser/favicon/
favicon_util.h 43 // Takes a vector of bitmaps and returns the index of the image that will best
46 const std::vector<SkBitmap>& bitmaps,
favicon_util.cc 150 std::vector<SkBitmap> bitmaps;
159 bitmaps.push_back(bitmap);
163 if (bitmaps.empty())
166 gfx::ImageSkia resized_image_skia = SelectFaviconFrames(bitmaps,
188 const std::vector<SkBitmap>& bitmaps,
192 for (size_t i = 0; i < bitmaps.size(); ++i)
193 sizes.push_back(gfx::Size(bitmaps[i].width(), bitmaps[i].height()));
favicon_tab_helper.cc 198 const std::vector<SkBitmap>& bitmaps) {
200 if (bitmaps.empty() && http_status_code == 404) {
209 id, image_url, requested_size, bitmaps);
212 id, image_url, requested_size, bitmaps);
favicon_tab_helper.h 82 const std::vector<SkBitmap>& bitmaps);
  /external/chromium_org/chrome/browser/ui/ash/launcher/
launcher_favicon_loader.cc 21 // FaviconBitmapHandler fetchs all bitmaps with the 'icon' (or 'shortcut icon')
23 // These icon bitmaps are not resized and are not cached beyond the lifetime
24 // of the class. Bitmaps larger than kMaxBitmapSize are ignored.
53 const std::vector<SkBitmap>& bitmaps);
132 const std::vector<SkBitmap>& bitmaps) {
140 // Favicon bitmaps are ordered by decreasing width.
141 if (!bitmaps.empty())
142 AddFavicon(image_url, bitmaps[0]);
  /external/chromium_org/chrome/browser/ui/
metro_pin_tab_helper_win.h 49 const std::vector<SkBitmap>& bitmaps);
metro_pin_tab_helper_win.cc 249 const std::vector<SkBitmap>& bitmaps);
292 const std::vector<SkBitmap>& bitmaps) {
304 // Process the bitmaps, keeping the one that is best so far.
305 for (std::vector<SkBitmap>::const_iterator iter = bitmaps.begin();
306 iter != bitmaps.end();
436 const std::vector<SkBitmap>& bitmaps) {
438 favicon_chooser_->UpdateCandidate(id, image_url, requested_size, bitmaps);
  /external/chromium_org/chrome/browser/extensions/
image_loader.cc 92 // Note: This class only decodes bitmaps from extension resources. Chrome
97 // Chrome is therefore decoding bitmaps here that were generated by Chrome.
265 std::vector<SkBitmap> bitmaps; local
266 bitmaps.resize(info_list.size());
279 LoadResourceOnUIThread(resource_id, &bitmaps[i]);
287 base::Bind(LoadImagesOnBlockingPool, info_list, bitmaps, load_result),
295 const std::vector<SkBitmap>& bitmaps,
307 if (!bitmaps[i].isNull()) {
308 bitmap = bitmaps[i];
image_loader.h 106 const std::vector<SkBitmap>& bitmaps,
  /frameworks/base/services/java/com/android/server/
AssetAtlasService.java 57 * This service is responsible for packing preloaded bitmaps into a single
115 // Describes how bitmaps are placed in the atlas. Each bitmap is
135 ArrayList<Bitmap> bitmaps = new ArrayList<Bitmap>(300); local
138 // We only care about drawables that hold bitmaps
146 bitmaps.add(bitmap);
151 // Our algorithms perform better when the bitmaps are first sorted
153 Collections.sort(bitmaps, new Comparator<Bitmap>() {
164 new Thread(new Renderer(bitmaps, totalPixelCount)).start();
204 Renderer(ArrayList<Bitmap> bitmaps, int pixelCount) {
205 mBitmaps = bitmaps;
    [all...]
  /external/chromium/chrome/browser/themes/
browser_theme_pack.h 90 // Cached images. We cache all retrieved and generated bitmaps and keep
136 // Loads the unmodified bitmaps packed in the extension to SkBitmaps. Returns
142 // |bitmaps|.
143 void GenerateFrameImages(ImageCache* bitmaps) const;
151 // in |bitmaps|. Must be called after GenerateFrameImages().
152 void GenerateTabBackgroundImages(ImageCache* bitmaps) const;
browser_theme_pack.cc 356 // graphics tricks. Other platforms use bitmaps and we must pre-tint them.
887 void BrowserThemePack::GenerateFrameImages(ImageCache* bitmaps) const {
890 // Create all the output bitmaps in a separate cache and move them back into
891 // the input bitmaps because there can be name collisions.
903 prs_base_id = bitmaps->count(PRS_THEME_FRAME_INCOGNITO) ?
910 !bitmaps->count(PRS_THEME_FRAME_INCOGNITO)) {
916 if (bitmaps->count(prs_id)) {
917 frame.reset(new SkBitmap(*(*bitmaps)[prs_id]));
918 } else if (prs_base_id != prs_id && bitmaps->count(prs_base_id)) {
919 frame.reset(new SkBitmap(*(*bitmaps)[prs_base_id]))
    [all...]
  /external/chromium_org/chrome/browser/ui/web_applications/
web_app_ui.cc 99 const std::vector<SkBitmap>& bitmaps);
205 const std::vector<SkBitmap>& bitmaps) {
210 FaviconUtil::SelectBestFaviconFromBitmaps(bitmaps,
214 if (!bitmaps.empty() && !bitmaps[closest_index].isNull()) {
217 gfx::Image::CreateFrom1xBitmap(bitmaps[closest_index]));
220 extensions_tab_helper->SetAppIcon(bitmaps[closest_index]);
  /external/chromium_org/ui/gfx/
icon_util.cc 91 // Creates a set of bitmaps from an image family.
93 // |bitmaps| in order of aspect ratio (thinnest to widest), and then ascending
97 // |bitmaps| must be an empty vector, and not NULL.
102 std::vector<SkBitmap>* bitmaps,
104 DCHECK(bitmaps != NULL);
105 DCHECK(bitmaps->empty());
119 // Only 32 bit ARGB bitmaps are supported. We also make sure the bitmap has
132 bitmaps->push_back(bitmap);
166 // Only 32 bit ARGB bitmaps are supported. We also try to perform as many
453 // Creating a set of bitmaps corresponding to the icon images we'll end u
    [all...]
  /external/e2fsprogs/lib/ext2fs/
Android.mk 11 bitmaps.c \
  /external/chromium_org/chrome/browser/ui/views/
create_application_shortcut_view.h 103 const std::vector<SkBitmap>& bitmaps);
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
TransitionView.java 162 // Release the current set of bitmaps
200 // Request the preview bitmaps
227 * @param bitmaps The bitmaps array
229 * @return true if the bitmaps were used
231 public boolean setBitmaps(Bitmap[] bitmaps) {
236 // Release the current set of bitmaps
245 mBitmaps = bitmaps;
266 // Draw the bitmaps
320 * @return true if the bitmaps already exis
    [all...]

Completed in 755 milliseconds

1 2