/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/themes/ |
browser_theme_pack_unittest.cc | 276 EXPECT_EQ(80, rep1.sk_bitmap().width()); 277 EXPECT_EQ(80, rep1.sk_bitmap().height()); 278 rep1.sk_bitmap().lockPixels(); 279 EXPECT_EQ(SkColorSetRGB(255, 255, 255), rep1.sk_bitmap().getColor( 4, 4)); 280 EXPECT_EQ(SkColorSetRGB(255, 255, 255), rep1.sk_bitmap().getColor( 8, 8)); 281 EXPECT_EQ(SkColorSetRGB( 0, 241, 237), rep1.sk_bitmap().getColor(16, 16)); 282 EXPECT_EQ(SkColorSetRGB(255, 255, 255), rep1.sk_bitmap().getColor(24, 24)); 283 EXPECT_EQ(SkColorSetRGB( 0, 241, 237), rep1.sk_bitmap().getColor(32, 32)); 284 rep1.sk_bitmap().unlockPixels(); 289 EXPECT_EQ(160, rep2.sk_bitmap().width()) [all...] |
/external/chromium_org/ui/gfx/image/ |
image_skia_rep.h | 49 const SkBitmap& sk_bitmap() const { return bitmap_; } function in class:gfx::ImageSkiaRep
|
image_util.cc | 33 const SkBitmap& bitmap = image_skia_rep.sk_bitmap();
|
image_skia_operations.cc | 123 first_rep.sk_bitmap(), second_rep.sk_bitmap(), alpha_); 179 SkBitmapOperations::CreateMaskedBitmap(image_rep.sk_bitmap(), alpha), 203 first_rep.sk_bitmap(), second_rep.sk_bitmap()), 234 source_rep.sk_bitmap(), 264 SkBitmapOperations::CreateHSLShiftedBitmap(image_rep.sk_bitmap(), 300 image_rep.sk_bitmap(), mask_rep.sk_bitmap()), 332 bool success = image_rep.sk_bitmap().extractSubset(&dst [all...] |
image_unittest_util.cc | 96 !IsEqual(img1_reps[i].sk_bitmap(), image_rep2.sk_bitmap())) {
|
/external/chromium_org/chrome/browser/extensions/ |
extension_icon_image_unittest.cc | 249 representation.sk_bitmap(), 259 EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), bitmap_16)); 266 representation.sk_bitmap(), 277 EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), 316 EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), 355 EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), 381 representation.sk_bitmap(), 383 default_icon.GetRepresentation(ui::SCALE_FACTOR_100P).sk_bitmap(), 392 representation.sk_bitmap(), 394 default_icon.GetRepresentation(ui::SCALE_FACTOR_100P).sk_bitmap(), [all...] |
extension_uninstall_dialog.cc | 42 return image.GetRepresentation(ui::GetMaxScaleFactor()).sk_bitmap();
|
extension_icon_manager.cc | 42 return result->ExtractImageRep().sk_bitmap();
|
extension_action.cc | 47 SkBitmapOperations::CreateHSLShiftedBitmap(icon_rep.sk_bitmap(), shift), 80 animation_->Apply(original_rep.sk_bitmap()),
|
extension_action_icon_factory_unittest.cc | 42 gfx::BitmapsAreEqual(image_rep1.sk_bitmap(), image_rep2.sk_bitmap());
|
/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 | 427 SkBitmap sk_bitmap = platform_bitmap->GetBitmap(); local 428 sk_bitmap.lockPixels(); 431 EXPECT_EQ(2, sk_bitmap.pixelRef()->getRefCnt()); 433 EXPECT_EQ(0xDEED1020, *sk_bitmap.getAddr32(10, 20)); 434 EXPECT_EQ(0xDEED2030, *sk_bitmap.getAddr32(20, 30)); 442 EXPECT_EQ(1, sk_bitmap.pixelRef()->getRefCnt()); 444 EXPECT_EQ(0xDEED1020, *sk_bitmap.getAddr32(10, 20)); 445 EXPECT_EQ(0xDEED2030, *sk_bitmap.getAddr32(20, 30)); 446 EXPECT_EQ(0xDEED3040, *sk_bitmap.getAddr32(30, 40)); 447 sk_bitmap.unlockPixels() [all...] |
/external/chromium_org/chrome/browser/speech/ |
speech_recognition_bubble.cc | 102 const SkBitmap& copy_src = image_reps[i].sk_bitmap(); 239 image.GetRepresentation(scale_factor_).sk_bitmap(), 0, 0); 244 g_images.Get().mic_mask()->GetRepresentation(scale_factor_).sk_bitmap(), 258 g_images.Get().mic_empty()->GetRepresentation(scale_factor_).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/webui/ |
fileicon_source.cc | 106 icon->ToImageSkia()->GetRepresentation(scale_factor).sk_bitmap(), 154 .sk_bitmap(),
|
/external/chromium_org/ash/drag_drop/ |
drag_image_view.cc | 95 image_rep.sk_bitmap(), skia::ImageOperations::RESIZE_LANCZOS3,
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
icon_label_bubble_view.cc | 59 ui::SCALE_FACTOR_100P).sk_bitmap());
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
network_dropdown.cc | 93 web_ui_->GetDeviceScaleFactor()).sk_bitmap(); 195 web_ui_->GetDeviceScaleFactor()).sk_bitmap();
|
/external/chromium_org/cc/resources/ |
resource_provider_unittest.cc | 355 lock_software.sk_bitmap()->getPixels(), 356 lock_software.sk_bitmap()->getSize()); 1173 const SkBitmap* sk_bitmap = lock.sk_bitmap(); local 1499 const SkBitmap* sk_bitmap = lock.sk_bitmap(); local 1710 const SkBitmap* sk_bitmap = lock.sk_bitmap(); local [all...] |
resource_provider.h | 239 const SkBitmap* sk_bitmap() const { return &sk_bitmap_; } function in class:cc::ResourceProvider::ScopedReadLockSoftware 401 static void PopulateSkBitmapWithResource(SkBitmap* sk_bitmap,
|
/external/chromium_org/cc/output/ |
software_renderer.cc | 349 const SkBitmap* bitmap = lock.sk_bitmap(); 391 current_canvas_->drawBitmapRectToRect(*lock.sk_bitmap(), &uv_rect, 414 const SkBitmap* content = lock.sk_bitmap(); 430 const SkBitmap* mask = mask_lock.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();
|
/external/chromium/chrome/browser/chromeos/ |
wm_overview_controller.cc | 125 void OnSnapshotReady(const SkBitmap& sk_bitmap); 367 void BrowserListener::OnSnapshotReady(const SkBitmap& sk_bitmap) { 372 snapshots_[i].snapshot->SetImage(sk_bitmap);
|
/external/chromium_org/chrome/browser/extensions/api/extension_action/ |
browser_action_apitest.cc | 63 SkBitmap bitmap1 = i1.GetRepresentation(scale_factor).sk_bitmap(); 64 SkBitmap bitmap2 = i2.GetRepresentation(scale_factor).sk_bitmap(); 293 action_icon_skia->GetRepresentation(ui::SCALE_FACTOR_200P).sk_bitmap()));
|