Searched defs:image (Results 201 - 225 of 902) sorted by relevance

1234567891011>>

/external/skia/src/image/
H A DSkImage_Gpu.cpp75 GrTexture* SkTextureImageGetTexture(SkImage* image) { argument
76 return ((SkImage_Gpu*)image)->getTexture();
H A DSkSurface.cpp36 SkImage* image = this->newImageSnapshot(); local
37 if (image) {
38 image->draw(canvas, x, y, paint);
39 image->unref();
50 // the cached image. Note: we only call if there is an outstanding owner
51 // on the image (besides us).
56 // regardless of copy-on-write, we must drop our cached image now, so
108 SkImage* image = asSB(this)->getCachedImage(); local
109 SkSafeRef(image); // the caller will call unref() to balance this
110 return image;
[all...]
/external/ceres-solver/examples/
H A Ddenoising.cc55 DEFINE_string(input, "", "File to which the output image should be written");
57 DEFINE_string(output, "", "File to which the output image should be written");
90 const PGMImage<double>& image,
96 for (unsigned index = 0; index < image.NumPixels(); ++index) {
99 image.PixelFromLinearIndex(index));
114 // Add FoE regularization for each patch in the image.
115 for (int x = 0; x < image.width() - (foe.Size() - 1); ++x) {
116 for (int y = 0; y < image.height() - (foe.Size() - 1); ++y) {
176 usage("This program denoises an image using Ceres. Sample usage:\n");
178 usage += " --input=<noisy image PG
89 CreateProblem(const FieldsOfExperts& foe, const PGMImage<double>& image, Problem* problem, PGMImage<double>* solution) argument
[all...]
/external/chromium_org/ash/desktop_background/
H A Ddesktop_background_controller_unittest.cc95 // Creates an image of size |size|.
100 gfx::ImageSkia image = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); local
101 return image;
288 gfx::ImageSkia image = CreateImage(640, 480, kCustomWallpaperColor); local
290 // Set the image as custom wallpaper, wait for the resize to finish, and check
291 // that the resized image is the expected size.
292 controller_->SetWallpaperImage(image, WALLPAPER_LAYOUT_STRETCH);
293 EXPECT_TRUE(image.BackedBySameObjectAs(controller_->GetWallpaper()));
296 EXPECT_FALSE(image.BackedBySameObjectAs(resized_image));
300 // previously-resized image instea
[all...]
H A Dwallpaper_resizer.cc14 #include "ui/gfx/image/image_skia_rep.h"
96 uint32_t WallpaperResizer::GetImageId(const gfx::ImageSkia& image) { argument
97 const gfx::ImageSkiaRep& image_rep = image.GetRepresentation(1.0f);
101 WallpaperResizer::WallpaperResizer(const gfx::ImageSkia& image, argument
104 : image_(image),
H A Dwallpaper_resizer_unittest.cc11 #include "ui/gfx/image/image_skia_rep.h"
42 gfx::ImageSkia image = gfx::ImageSkia::CreateFrom1xBitmap(src); local
43 return image;
46 bool IsColor(const gfx::ImageSkia& image, const uint32_t expect) { argument
47 EXPECT_EQ(image.width(), kTargetWidth);
48 EXPECT_EQ(image.height(), kTargetHeight);
49 const SkBitmap* image_bitmap = image.bitmap();
66 gfx::ImageSkia Resize(const gfx::ImageSkia& image, argument
70 resizer.reset(new WallpaperResizer(image, target_size, layout));
75 return resizer->image();
123 gfx::ImageSkia image = CreateTestImage( local
143 gfx::ImageSkia image = CreateTestImage( local
[all...]
/external/chromium_org/ash/display/
H A Dcursor_window_controller.cc21 #include "ui/gfx/image/image_skia.h"
22 #include "ui/gfx/image/image_skia_operations.h"
66 // Sets the cursor image for the |display|'s scale factor.
67 void SetCursorImage(const gfx::ImageSkia& image, argument
70 const gfx::ImageSkiaRep& image_rep = image.GetRepresentation(scale_factor);
73 // need to take 2x's image and paint as if it's 1x image.
77 size_ = image.size();
225 const gfx::ImageSkia* image = local
227 gfx::ImageSkia rotated = *image;
[all...]
/external/chromium_org/ash/system/chromeos/network/
H A Dtray_vpn.cc55 gfx::ImageSkia image; local
58 GetNetworkStateHandlerImageAndLabel(&image, &label, &animating);
64 SetImage(&image);
75 void GetNetworkStateHandlerImageAndLabel(gfx::ImageSkia* image, argument
83 *image = ui::network_icon::GetImageForDisconnectedNetwork(
93 *image = ui::network_icon::GetImageForNetwork(
/external/chromium_org/ash/system/chromeos/
H A Dtray_caps_lock.cc21 #include "ui/gfx/image/image.h"
51 FixedSizedImageView* image = local
53 image->SetImage(bundle.GetImageNamed(IDR_AURA_UBER_TRAY_CAPS_LOCK_DARK).
55 AddChildView(image);
194 views::ImageView* image = new views::ImageView; local
195 image->SetImage(bundle.GetImageNamed(IDR_AURA_UBER_TRAY_CAPS_LOCK_DARK).
198 detailed_->AddChildView(image);
/external/chromium_org/ash/system/tray/
H A Dhover_highlight_view.cc46 void HoverHighlightView::AddIconAndLabel(const gfx::ImageSkia& image, argument
53 image_view->SetImage(image);
H A Dsystem_tray_delegate.h17 #include "ui/gfx/image/image_skia.h"
35 gfx::ImageSkia image; member in struct:ash::NetworkIconInfo
H A Dtray_notification_view.cc10 #include "ui/gfx/image/image_skia.h"
84 void TrayNotificationView::SetIconImage(const gfx::ImageSkia& image) { argument
85 icon_->SetImage(image);
102 const gfx::ImageSkia& image) {
105 icon_->SetImage(image);
101 UpdateViewAndImage(views::View* new_contents, const gfx::ImageSkia& image) argument
/external/chromium_org/ash/system/
H A Dtray_update.cc26 #include "ui/gfx/image/image.h"
72 views::ImageView* image = local
74 image->SetImage(bundle.GetImageNamed(DecideResource(severity, true)).
77 AddChildView(image);
/external/chromium_org/athena/content/
H A Dcontent_proxy.cc17 #include "ui/gfx/image/image.h"
18 #include "ui/gfx/image/image_png_rep.h"
37 // When coming here, the resulting image will be empty.
69 // Note: The content will be hidden once the image got created.
168 // While we are encoding the image, we keep the current image as reference
182 scoped_refptr<ProxyImageData> image) {
183 png_data_ = image->data();
185 // From now on we decode the image a
181 OnContentImageEncodeComplete( scoped_refptr<ProxyImageData> image) argument
[all...]
/external/chromium_org/base/debug/
H A Dprofiler.cc115 base::win::PEImage image(this_module);
117 // Check to be sure our image is structured as we'd expect.
118 DCHECK(image.VerifyMagic());
120 // Syzygy-instrumented binaries contain a PE image section named ".thunks",
121 // and all Syzygy-modified binaries contain the ".syzygy" image section.
122 // This is a very fast check, as it only looks at the image header.
123 if ((image.GetImageSectionHeaderByName(".thunks") != NULL) &&
124 (image.GetImageSectionHeaderByName(".syzygy") != NULL)) {
144 const base::win::PEImage &image, const char* module_name,
186 base::win::PEImage image(this_modul
143 FindResolutionFunctionInImports( const base::win::PEImage &image, const char* module_name, PIMAGE_THUNK_DATA unused_name_table, PIMAGE_THUNK_DATA import_address_table, PVOID cookie) argument
[all...]
/external/chromium_org/cc/resources/
H A Dprioritized_resource.cc79 const uint8_t* image,
88 resource_id(), image, image_rect, source_rect, dest_offset); local
91 // texture. Mark contents as swizzled if image component order is
78 SetPixels(ResourceProvider* resource_provider, const uint8_t* image, const gfx::Rect& image_rect, const gfx::Rect& source_rect, const gfx::Vector2d& dest_offset) argument
H A Dprioritized_resource_unittest.cc262 uint8_t image[4] = {0}; local
264 image,
332 uint8_t image[4] = {0}; local
334 image,
481 uint8_t image[4] = {0};
483 image,
534 uint8_t image[4] = {0};
536 image,
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/favicon/
H A DFaviconHelper.java16 * You can request a favicon image by web page URL. Note that an instance of
37 * @param image Favicon image.
38 * @param iconUrl Favicon image's icon url.
41 public void onFaviconAvailable(Bitmap image, String iconUrl); argument
112 * @param image The bitmap image to find the dominant color for.
115 public static int getDominantColorForBitmap(Bitmap image) { argument
116 return nativeGetDominantColorForBitmap(image);
143 private static native int nativeGetDominantColorForBitmap(Bitmap image); argument
[all...]
/external/chromium_org/chrome/browser/bitmap_fetcher/
H A Dbitmap_fetcher_service_unittest.cc55 url1_ = GURL("http://example.org/sample-image-1.png");
56 url2_ = GURL("http://example.org/sample-image-2.png");
77 SkBitmap image; local
78 image.allocN32Pixels(2, 2);
79 image.eraseColor(SK_ColorGREEN);
81 const_cast<chrome::BitmapFetcher*>(fetcher)->OnImageDecoded(NULL, image);
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Dwallpaper_api.cc124 const gfx::ImageSkia& image) {
147 image,
152 image.EnsureRepsForSupportedScales();
153 scoped_ptr<gfx::ImageSkia> deep_copy(image.DeepCopy());
179 const base::FilePath& thumbnail_path, scoped_ptr<gfx::ImageSkia> image) {
187 *image,
123 OnWallpaperDecoded( const gfx::ImageSkia& image) argument
178 GenerateThumbnail( const base::FilePath& thumbnail_path, scoped_ptr<gfx::ImageSkia> image) argument
/external/chromium_org/chrome/browser/chromeos/file_system_provider/
H A Dnotification_manager.cc113 const gfx::ImageSkia& image) {
114 extension_icon_.reset(new gfx::Image(image));
112 SetAppImage(const std::string& id, const gfx::ImageSkia& image) argument
/external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/
H A Dwallpaper_manager_test_utils.cc124 bool ImageIsNearColor(gfx::ImageSkia image, SkColor expected_color) { argument
125 if (image.size().IsEmpty()) {
130 const SkBitmap* bitmap = image.bitmap();
132 LOG(ERROR) << "Unable to get bitmap from image";
137 gfx::Point center = gfx::Rect(image.size()).CenterPoint();
/external/chromium_org/chrome/browser/favicon/
H A Dfavicon_handler.h19 #include "ui/gfx/image/image.h"
96 // Processes the current image_irls_ entry, requesting the image from the
100 // Message handler for ImageHostMsg_DidDownloadImage. Called when the image
102 // |bitmaps| is a list of all the frames of the image at |image_url|.
146 const gfx::Image& image);
159 // Represents an in progress download of an image from the renderer.
180 const gfx::Image& image,
186 gfx::Image image; member in struct:FaviconHandler::FaviconCandidate
215 const gfx::Image& image,
[all...]
/external/chromium_org/chrome/browser/history/
H A Dselect_favicon_frames_unittest.cc11 #include "ui/gfx/image/image_skia.h"
50 SkColor GetColor(const gfx::ImageSkia& image, float scale, argument
53 image.GetRepresentation(scale).sk_bitmap();
64 SkColor GetColor1x(const gfx::ImageSkia& image) { argument
65 return GetColor(image, 1.0f);
68 SkColor GetColor2x(const gfx::ImageSkia& image) { argument
69 return GetColor(image, 2.0f);
78 gfx::ImageSkia image = CreateFaviconImageSkia(bitmaps, local
80 EXPECT_EQ(1u, image.image_reps().size());
81 ASSERT_TRUE(image
96 gfx::ImageSkia image = CreateFaviconImageSkia(bitmaps, local
124 gfx::ImageSkia image = CreateFaviconImageSkia(bitmaps, local
143 gfx::ImageSkia image = CreateFaviconImageSkia(bitmaps, local
158 gfx::ImageSkia image = CreateFaviconImageSkia(bitmaps, local
177 gfx::ImageSkia image = CreateFaviconImageSkia(bitmaps, local
[all...]
/external/chromium_org/chrome/browser/media/
H A Ddesktop_media_list_ash.cc21 #include "ui/gfx/image/image.h"
232 const gfx::Image& image) {
235 sources_[i].thumbnail = image.AsImageSkia();
231 OnThumbnailCaptured(content::DesktopMediaID id, const gfx::Image& image) argument

Completed in 415 milliseconds

1234567891011>>