Searched refs:bitmap (Results 276 - 300 of 1242) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/profiles/
H A DProfileDownloader.java29 * @param bitmap A user picture.
31 void onProfileDownloaded(String accountId, String fullName, Bitmap bitmap); argument
63 private static void onProfileDownloadSuccess(String accountId, String fullName, Bitmap bitmap) { argument
66 observer.onProfileDownloaded(accountId, fullName, bitmap);
/external/chromium_org/chrome/browser/
H A Dicon_loader_win.cc61 scoped_ptr<SkBitmap> bitmap(IconUtil::CreateSkBitmapFromHICON(
63 if (bitmap.get()) {
65 *bitmap, gfx::win::GetDeviceScaleFactor()));
/external/chromium_org/content/renderer/fetchers/
H A Dimage_resource_fetcher.cc52 SkBitmap bitmap; local
56 bitmap = decoder.Decode(
66 callback.Run(this, bitmap);
/external/chromium_org/printing/
H A Dimage_win.cc19 // The bitmap image rendered via the PlayEnhMetaFile() function depends on
56 // Create a temporary HDC and bitmap to retrieve the rendered data.
70 base::win::ScopedBitmap bitmap(
73 DCHECK(bitmap);
74 base::win::ScopedSelectObject select_object(hdc.Get(), bitmap);
/external/chromium_org/skia/ext/
H A Dvector_platform_device_skia.cc17 SkBitmap bitmap; local
18 bitmap.setInfo(SkImageInfo::MakeUnknown(width, height));
19 return bitmap;
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DEdgeWalker_Test.h15 extern int comparePaths(const SkPath& one, const SkPath& two, SkBitmap& bitmap);
24 SkBitmap& bitmap);
47 SkBitmap bitmap; member in struct:State4
/external/chromium_org/third_party/skia/tests/
H A DPipeTest.cpp16 // Ensures that the pipe gracefully handles drawing an invalid bitmap.
45 SkBitmap bitmap; local
46 bitmap.setInfo(SkImageInfo::MakeN32Premul(64, 64));
47 SkCanvas canvas(bitmap);
/external/chromium_org/third_party/skia/tools/
H A Ddump_record.cpp27 SkBitmap bitmap; local
28 bitmap.allocN32Pixels(w, h);
29 SkCanvas canvas(bitmap);
H A Dimage_expectations.h25 * Create an ImageDigest of a bitmap.
27 * Computes the hash of the bitmap lazily, since that is an expensive operation.
29 * @param bitmap image to get the digest of
31 explicit ImageDigest(const SkBitmap &bitmap);
73 explicit BitmapAndDigest(const SkBitmap &bitmap);
110 * Expect an image, passed as a bitmap.
112 explicit Expectation(const SkBitmap& bitmap,
/external/chromium_org/ui/base/cursor/
H A Dcursor_loader_ozone.cc22 SkBitmap bitmap; local
25 GetImageCursorBitmap(resource_id, scale(), rotation(), &hotspot, &bitmap);
28 CursorFactoryOzone::GetInstance()->CreateImageCursor(bitmap, hotspot);
/external/chromium_org/ui/base/cursor/ozone/
H A Dbitmap_cursor_factory_ozone.h23 BitmapCursorOzone(const SkBitmap& bitmap, const gfx::Point& hotspot);
29 const SkBitmap& bitmap();
64 virtual PlatformCursor CreateImageCursor(const SkBitmap& bitmap,
/external/chromium_org/ui/gfx/
H A Dcolor_analysis.h60 // |png|/|bitmap| represents the data of a png/bitmap encoded image.
102 GFX_EXPORT SkColor CalculateKMeanColorOfBitmap(const SkBitmap& bitmap,
108 GFX_EXPORT SkColor CalculateKMeanColorOfBitmap(const SkBitmap& bitmap);
110 // Compute color covariance matrix for the input bitmap.
111 GFX_EXPORT gfx::Matrix3F ComputeColorCovariance(const SkBitmap& bitmap);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DBitmapTest.java25 shadowOf(originalBitmap).appendDescription("Original bitmap");
27 assertEquals("Original bitmap scaled to 100 x 200", shadowOf(scaledBitmap).getDescription());
34 Bitmap bitmap = Bitmap.createBitmap(100, 200, Config.ARGB_8888);
35 assertFalse(bitmap.isRecycled());
40 Bitmap bitmap = Bitmap.createBitmap(100, 200, Config.ARGB_8888);
41 assertEquals(bitmap.getConfig(), Config.ARGB_8888);
47 shadowOf(originalBitmap).appendDescription("Original bitmap");
49 assertEquals("Original bitmap created from Bitmap object", shadowOf(newBitmap).getDescription());
55 Bitmap bitmap = Bitmap.createBitmap(100, 200, Config.ARGB_8888);
56 bitmap
[all...]
/external/skia/experimental/Intersection/
H A DEdgeWalker_Test.h15 extern int comparePaths(const SkPath& one, const SkPath& two, SkBitmap& bitmap);
24 SkBitmap& bitmap);
47 SkBitmap bitmap; member in struct:State4
/external/skia/tests/
H A DPipeTest.cpp16 // Ensures that the pipe gracefully handles drawing an invalid bitmap.
45 SkBitmap bitmap; local
46 bitmap.setInfo(SkImageInfo::MakeN32Premul(64, 64));
47 SkCanvas canvas(bitmap);
H A DScaledImageCache.cpp18 SkBitmap bitmap; local
19 SkAssertResult(bitmap.allocN32Pixels(kBitmapSize, kBitmapSize));
25 canvas->drawBitmapRect(bitmap,
/external/skia/tools/
H A Ddump_record.cpp27 SkBitmap bitmap; local
28 bitmap.allocN32Pixels(w, h);
29 SkCanvas canvas(bitmap);
/external/valgrind/main/drd/
H A Ddrd_segment.h60 struct bitmap bm;
69 static struct bitmap* DRD_(sg_bm)(Segment* const sg);
90 /** Return the pointer to the bitmap of the segment. */
91 static __inline__ struct bitmap* DRD_(sg_bm)(Segment* const sg)
/external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/
H A Dwallpaper_manager_policy_browsertest.cc80 // Compute the average ARGB color of |bitmap|.
81 SkColor ComputeAverageColor(const SkBitmap& bitmap) { argument
82 if (bitmap.empty() || bitmap.width() < 1 || bitmap.height() < 1) {
83 ADD_FAILURE() << "Empty or invalid bitmap.";
86 if (bitmap.isNull()) {
90 if (bitmap.colorType() == kUnknown_SkColorType) {
95 bitmap.lockPixels();
96 for (int x = 0; x < bitmap
125 const SkBitmap& bitmap = representation.sk_bitmap(); local
[all...]
/external/chromium_org/third_party/freetype/src/cache/
H A Dftcsbits.c44 FT_Bitmap* bitmap,
48 FT_Int pitch = bitmap->pitch;
55 size = (FT_ULong)( pitch * bitmap->rows );
58 FT_MEM_COPY( sbit->buffer, bitmap->buffer, size );
92 * This function tries to load a small bitmap within a given FTC_SNode.
134 FT_Bitmap* bitmap = &slot->bitmap; local
141 " glyph loaded didn't return a bitmap\n" ));
146 /* If this is not the case, our bitmap is too large */
156 if ( !CHECK_BYTE( bitmap
43 ftc_sbit_copy_bitmap( FTC_SBit sbit, FT_Bitmap* bitmap, FT_Memory memory ) argument
[all...]
/external/chromium_org/third_party/skia/src/ports/
H A DSkImageDecoder_WIC.cpp180 //Get the size of the bitmap.
187 //Exit early if we're only looking for the bitmap bounds.
213 piBitmapSourceOriginal.get() //Input bitmap to convert
230 //Copy the pixels into the bitmap.
307 const SkBitmap* bitmap; local
310 bitmap = &bitmapOrig;
315 bitmap = &bitmapCopy;
319 if (!bitmap->isOpaque()) {
320 SkAutoLockPixels alp(*bitmap);
322 uint8_t* pixels = reinterpret_cast<uint8_t*>(bitmap
[all...]
/external/freetype/src/cache/
H A Dftcsbits.c44 FT_Bitmap* bitmap,
48 FT_Int pitch = bitmap->pitch;
55 size = (FT_ULong)( pitch * bitmap->rows );
58 FT_MEM_COPY( sbit->buffer, bitmap->buffer, size );
92 * This function tries to load a small bitmap within a given FTC_SNode.
134 FT_Bitmap* bitmap = &slot->bitmap; local
141 " glyph loaded didn't return a bitmap\n" ));
146 /* If this is not the case, our bitmap is too large */
156 if ( !CHECK_BYTE( bitmap
43 ftc_sbit_copy_bitmap( FTC_SBit sbit, FT_Bitmap* bitmap, FT_Memory memory ) argument
[all...]
/external/skia/src/ports/
H A DSkImageDecoder_WIC.cpp180 //Get the size of the bitmap.
187 //Exit early if we're only looking for the bitmap bounds.
213 piBitmapSourceOriginal.get() //Input bitmap to convert
230 //Copy the pixels into the bitmap.
307 const SkBitmap* bitmap; local
310 bitmap = &bitmapOrig;
315 bitmap = &bitmapCopy;
319 if (!bitmap->isOpaque()) {
320 SkAutoLockPixels alp(*bitmap);
322 uint8_t* pixels = reinterpret_cast<uint8_t*>(bitmap
[all...]
/external/chromium_org/chrome/browser/android/thumbnail/
H A Dthumbnail.cc55 void Thumbnail::SetBitmap(const SkBitmap& bitmap) { argument
56 DCHECK(!bitmap.empty());
59 gfx::ScaleSize(gfx::Size(bitmap.width(), bitmap.height()), 1.f / scale_);
61 bitmap_ = cc::UIResourceBitmap(bitmap);
/external/chromium_org/chrome/browser/ui/views/location_bar/
H A Dicon_label_bubble_view.cc51 const SkBitmap& bitmap(
54 SkAutoLockPixels pixel_lock(bitmap);
56 bitmap.getColor(bitmap.width() / 2, bitmap.height() / 2);

Completed in 1507 milliseconds

<<11121314151617181920>>