/external/chromium_org/ui/base/dragdrop/ |
drag_utils_win.cc | 43 static HBITMAP CreateHBITMAPFromSkBitmap(const SkBitmap& sk_bitmap) { 46 gfx::CreateBitmapHeader(sk_bitmap.width(), sk_bitmap.height(), &header); 53 DCHECK_EQ(sk_bitmap.rowBytes(), static_cast<size_t>(sk_bitmap.width() * 4)); 54 SkAutoLockPixels lock(sk_bitmap); 56 bits, sk_bitmap.getPixels(), sk_bitmap.height() * sk_bitmap.rowBytes());
|
/external/chromium_org/ui/views/controls/button/ |
blue_button_unittest.cc | 47 EXPECT_FALSE(gfx::BitmapsAreEqual(button_canvas.ExtractImageRep().sk_bitmap(), 48 canvas.ExtractImageRep().sk_bitmap())); 55 EXPECT_TRUE(gfx::BitmapsAreEqual(canvas.ExtractImageRep().sk_bitmap(), 56 canvas2.ExtractImageRep().sk_bitmap()));
|
/external/chromium_org/chrome/browser/themes/ |
browser_theme_pack_unittest.cc | 282 EXPECT_EQ(80, rep1.sk_bitmap().width()); 283 EXPECT_EQ(80, rep1.sk_bitmap().height()); 284 rep1.sk_bitmap().lockPixels(); 285 EXPECT_EQ(SkColorSetRGB(255, 255, 255), rep1.sk_bitmap().getColor( 4, 4)); 286 EXPECT_EQ(SkColorSetRGB(255, 255, 255), rep1.sk_bitmap().getColor( 8, 8)); 287 EXPECT_EQ(SkColorSetRGB( 0, 241, 237), rep1.sk_bitmap().getColor(16, 16)); 288 EXPECT_EQ(SkColorSetRGB(255, 255, 255), rep1.sk_bitmap().getColor(24, 24)); 289 EXPECT_EQ(SkColorSetRGB( 0, 241, 237), rep1.sk_bitmap().getColor(32, 32)); 290 rep1.sk_bitmap().unlockPixels(); 294 EXPECT_EQ(160, rep2.sk_bitmap().width()) [all...] |
/external/chromium_org/ui/gfx/image/ |
image_skia_rep.h | 58 const SkBitmap& sk_bitmap() const { return bitmap_; } function in class:gfx::ImageSkiaRep
|
image_util.cc | 35 const SkBitmap& bitmap = image_skia_rep.sk_bitmap(); 60 const SkBitmap& bitmap = rep.sk_bitmap();
|
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_unittest_util.cc | 94 !IsEqual(img1_reps[i].sk_bitmap(), image_rep2.sk_bitmap())) {
|
/external/chromium_org/extensions/browser/ |
extension_icon_image_unittest.cc | 248 representation.sk_bitmap(), 258 EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), bitmap_16)); 265 representation.sk_bitmap(), 276 EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), 318 EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), 356 EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), 381 representation.sk_bitmap(), 383 default_icon.GetRepresentation(1.0f).sk_bitmap(), 392 representation.sk_bitmap(), 394 default_icon.GetRepresentation(1.0f).sk_bitmap(), [all...] |
/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/cc/layers/ |
ui_resource_layer_impl_unittest.cc | 159 SkBitmap sk_bitmap; local 160 sk_bitmap.allocN32Pixels(10, 10); 161 sk_bitmap.setImmutable(); 163 UIResourceBitmap bitmap(sk_bitmap);
|
nine_patch_layer_impl_unittest.cc | 224 SkBitmap sk_bitmap; local 225 sk_bitmap.allocN32Pixels(10, 10); 226 sk_bitmap.setImmutable(); 228 UIResourceBitmap bitmap(sk_bitmap);
|
/external/chromium_org/ui/base/cursor/ |
cursor_loader_ozone.cc | 25 SkBitmap bitmap = image_rep.sk_bitmap();
|
cursor_loader_x11.cc | 163 SkBitmap bitmap = image_rep.sk_bitmap(); 183 SkBitmap bitmap = image_rep.sk_bitmap();
|
/external/chromium_org/chrome/browser/ui/app_list/test/ |
fast_show_pickler_unittest.cc | 42 gfx::BitmapsAreEqual(reps1[i].sk_bitmap(), reps2[i].sk_bitmap()));
|
/external/chromium_org/chrome/browser/ui/webui/ |
fileicon_source.cc | 106 icon->ToImageSkia()->GetRepresentation(scale_factor).sk_bitmap(), 155 details.scale_factor).sk_bitmap(),
|
/external/chromium_org/chrome/browser/ui/app_list/ |
fast_show_pickler.cc | 87 if (!ConfigToFormat(it->sk_bitmap().config(), &format)) 90 int size = static_cast<int>(it->sk_bitmap().getSafeSize()); 92 SkBitmap bitmap = it->sk_bitmap();
|
/external/chromium_org/chrome/browser/extensions/ |
extension_uninstall_dialog.cc | 41 gfx::ImageSkia::GetMaxSupportedScale()).sk_bitmap();
|
extension_icon_manager.cc | 42 return result->ExtractImageRep().sk_bitmap();
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
icon_label_bubble_view.cc | 54 background_images[4])->GetRepresentation(1.0f).sk_bitmap());
|
/external/chromium_org/ash/display/ |
cursor_window_controller.cc | 75 cursor_image_ = gfx::ImageSkia::CreateFrom1xBitmap(image_rep.sk_bitmap()); 79 gfx::ImageSkiaRep(image_rep.sk_bitmap(), scale_factor));
|
/external/chromium_org/cc/resources/ |
resource_provider_unittest.cc | 354 lock_software.sk_bitmap()->getPixels(), 355 lock_software.sk_bitmap()->getSize()); 1033 const SkBitmap* sk_bitmap = lock.sk_bitmap(); local 1041 const SkBitmap* sk_bitmap = lock.sk_bitmap(); local 1049 const SkBitmap* sk_bitmap = lock.sk_bitmap(); local 2421 const SkBitmap* sk_bitmap = lock.sk_bitmap(); local 3028 const SkBitmap* sk_bitmap = lock.sk_bitmap(); local 3160 const SkBitmap* sk_bitmap = lock.sk_bitmap(); local [all...] |
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
network_dropdown.cc | 93 web_ui_->GetDeviceScaleFactor()).sk_bitmap(); 194 web_ui_->GetDeviceScaleFactor()).sk_bitmap();
|
/external/chromium_org/ash/desktop_background/ |
wallpaper_resizer.cc | 99 return image_rep.is_null() ? 0 : image_rep.sk_bitmap().getGenerationID();
|
/external/chromium_org/ash/drag_drop/ |
drag_image_view.cc | 126 image_rep.sk_bitmap(), skia::ImageOperations::RESIZE_LANCZOS3,
|
/external/chromium_org/cc/output/ |
software_renderer.cc | 425 const SkBitmap* bitmap = lock.sk_bitmap(); 494 *lock.sk_bitmap(), 523 const SkBitmap* content = lock.sk_bitmap(); 567 const SkBitmap* mask = mask_lock.sk_bitmap();
|