/external/chromium_org/ui/base/dragdrop/ |
drag_utils_win.cc | 42 static HBITMAP CreateHBITMAPFromSkBitmap(const SkBitmap& sk_bitmap) { 45 gfx::CreateBitmapHeader(sk_bitmap.width(), sk_bitmap.height(), &header); 52 DCHECK_EQ(sk_bitmap.rowBytes(), static_cast<size_t>(sk_bitmap.width() * 4)); 53 SkAutoLockPixels lock(sk_bitmap); 55 bits, sk_bitmap.getPixels(), sk_bitmap.height() * sk_bitmap.rowBytes());
|
/external/chromium_org/chrome/browser/extensions/ |
extension_icon_image_unittest.cc | 251 representation.sk_bitmap(), 261 EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), bitmap_16)); 268 representation.sk_bitmap(), 279 EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), 321 EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), 359 EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), 384 representation.sk_bitmap(), 386 default_icon.GetRepresentation(1.0f).sk_bitmap(), 395 representation.sk_bitmap(), 397 default_icon.GetRepresentation(1.0f).sk_bitmap(), [all...] |
extension_icon_manager.cc | 42 return result->ExtractImageRep().sk_bitmap();
|
extension_action_icon_factory_unittest.cc | 42 gfx::BitmapsAreEqual(image_rep1.sk_bitmap(), image_rep2.sk_bitmap());
|
/external/chromium_org/chrome/browser/themes/ |
browser_theme_pack_unittest.cc | 280 EXPECT_EQ(80, rep1.sk_bitmap().width()); 281 EXPECT_EQ(80, rep1.sk_bitmap().height()); 282 rep1.sk_bitmap().lockPixels(); 283 EXPECT_EQ(SkColorSetRGB(255, 255, 255), rep1.sk_bitmap().getColor( 4, 4)); 284 EXPECT_EQ(SkColorSetRGB(255, 255, 255), rep1.sk_bitmap().getColor( 8, 8)); 285 EXPECT_EQ(SkColorSetRGB( 0, 241, 237), rep1.sk_bitmap().getColor(16, 16)); 286 EXPECT_EQ(SkColorSetRGB(255, 255, 255), rep1.sk_bitmap().getColor(24, 24)); 287 EXPECT_EQ(SkColorSetRGB( 0, 241, 237), rep1.sk_bitmap().getColor(32, 32)); 288 rep1.sk_bitmap().unlockPixels(); 292 EXPECT_EQ(160, rep2.sk_bitmap().width()) [all...] |
/external/chromium_org/content/renderer/browser_plugin/ |
browser_plugin_backing_store.cc | 57 SkBitmap sk_bitmap; local 58 sk_bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); 59 sk_bitmap.setPixels(bitmap); 74 canvas_.get()->drawBitmapRect(sk_bitmap, &srcrect, dstrect, ©_paint);
|
/external/chromium_org/skia/ext/ |
platform_canvas_unittest.cc | 425 SkBitmap sk_bitmap = platform_bitmap->GetBitmap(); local 426 sk_bitmap.lockPixels(); 429 EXPECT_EQ(2, sk_bitmap.pixelRef()->getRefCnt()); 431 EXPECT_EQ(0xDEED1020, *sk_bitmap.getAddr32(10, 20)); 432 EXPECT_EQ(0xDEED2030, *sk_bitmap.getAddr32(20, 30)); 440 EXPECT_EQ(1, sk_bitmap.pixelRef()->getRefCnt()); 442 EXPECT_EQ(0xDEED1020, *sk_bitmap.getAddr32(10, 20)); 443 EXPECT_EQ(0xDEED2030, *sk_bitmap.getAddr32(20, 30)); 444 EXPECT_EQ(0xDEED3040, *sk_bitmap.getAddr32(30, 40)); 445 sk_bitmap.unlockPixels() [all...] |
/external/chromium_org/ui/gfx/image/ |
image_skia_operations.cc | 119 first_rep.sk_bitmap(), second_rep.sk_bitmap(), alpha_); 175 SkBitmapOperations::CreateMaskedBitmap(image_rep.sk_bitmap(), alpha), 199 first_rep.sk_bitmap(), second_rep.sk_bitmap()), 229 source_rep.sk_bitmap(), 259 SkBitmapOperations::CreateHSLShiftedBitmap(image_rep.sk_bitmap(), 295 image_rep.sk_bitmap(), mask_rep.sk_bitmap()), 326 bool success = image_rep.sk_bitmap().extractSubset(&dst [all...] |
image_skia_rep.h | 47 const SkBitmap& sk_bitmap() const { return bitmap_; } function in class:gfx::ImageSkiaRep
|
image_skia_util_ios.mm | 52 return gfx::SkBitmapToUIImageWithColorSpace(image_skia_rep.sk_bitmap(), scale,
|
image_util.cc | 33 const SkBitmap& bitmap = image_skia_rep.sk_bitmap();
|
image_skia_util_mac.mm | 97 gfx::SkBitmapToNSBitmapImageRep(it->sk_bitmap())]; 115 gfx::SkBitmapToNSBitmapImageRepWithColorSpace(it->sk_bitmap(),
|
image_mac_unittest.mm | 204 image_skia.GetRepresentation(1.0f).sk_bitmap())); 206 image_skia.GetRepresentation(2.0f).sk_bitmap()));
|
image_unittest_util.cc | 95 !IsEqual(img1_reps[i].sk_bitmap(), image_rep2.sk_bitmap())) {
|
/external/chromium_org/content/browser/renderer_host/ |
backing_store_aura.cc | 120 SkBitmap sk_bitmap; local 121 sk_bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); 122 sk_bitmap.setPixels(dib->memory()); 139 canvas_.get()->drawBitmapRect(sk_bitmap, &srcrect, dstrect, ©_paint);
|
/external/chromium_org/chrome/browser/ui/app_list/test/ |
fast_show_pickler_unittest.cc | 40 gfx::BitmapsAreEqual(reps1[i].sk_bitmap(), reps2[i].sk_bitmap()));
|
/external/chromium_org/chrome/browser/ui/app_list/ |
fast_show_pickler.cc | 87 if (!ConfigToFormat(it->sk_bitmap().getConfig(), &format)) 90 int size = static_cast<int>(it->sk_bitmap().getSafeSize()); 92 SkBitmap bitmap = it->sk_bitmap();
|
/external/chromium_org/chrome/browser/speech/ |
speech_recognition_bubble.cc | 103 const SkBitmap& copy_src = image_reps[i].sk_bitmap(); 244 buffer_canvas.drawBitmap(image.GetRepresentation(scale_).sk_bitmap(), 0, 0); 249 g_images.Get().mic_mask()->GetRepresentation(scale_).sk_bitmap(), 263 g_images.Get().mic_empty()->GetRepresentation(scale_).sk_bitmap(),
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
network_dropdown.cc | 94 web_ui_->GetDeviceScaleFactor())).sk_bitmap(); 196 ui::GetImageScale(web_ui_->GetDeviceScaleFactor())).sk_bitmap();
|
/external/chromium_org/chrome/browser/ui/webui/ |
fileicon_source.cc | 107 ui::GetImageScale(scale_factor)).sk_bitmap(), 155 ui::GetImageScale(details.scale_factor)).sk_bitmap(),
|
/external/chromium_org/ui/views/controls/ |
image_view.cc | 103 img.GetRepresentation(last_paint_scale_).sk_bitmap().getPixels(); 223 image_.GetRepresentation(last_paint_scale_).sk_bitmap().getPixels();
|
/external/chromium_org/cc/resources/ |
resource_provider_unittest.cc | 397 lock_software.sk_bitmap()->getPixels(), 398 lock_software.sk_bitmap()->getSize()); 931 const SkBitmap* sk_bitmap = lock.sk_bitmap(); local 939 const SkBitmap* sk_bitmap = lock.sk_bitmap(); local 2234 const SkBitmap* sk_bitmap = lock.sk_bitmap(); local 2666 const SkBitmap* sk_bitmap = lock.sk_bitmap(); local 2882 const SkBitmap* sk_bitmap = lock.sk_bitmap(); local [all...] |
/external/chromium_org/cc/output/ |
software_renderer.cc | 370 const SkBitmap* bitmap = lock.sk_bitmap(); 436 *lock.sk_bitmap(), 463 const SkBitmap* content = lock.sk_bitmap(); 510 const SkBitmap* mask = mask_lock.sk_bitmap();
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
icon_label_bubble_view.cc | 55 background_images[4])->GetRepresentation(1.0f).sk_bitmap());
|
/external/chromium_org/ui/base/cursor/ |
cursor_loader_x11.cc | 163 SkBitmap bitmap = image_rep.sk_bitmap(); 181 SkBitmap bitmap = image_rep.sk_bitmap();
|