Searched refs:bitmap_size (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/cc/layers/
H A Dnine_patch_layer_impl_unittest.cc32 void NinePatchLayerLayoutTest(const gfx::Size& bitmap_size, argument
59 UIResourceBitmap bitmap(bitmap_size, is_opaque);
63 layer->SetImageBounds(bitmap_size);
93 gfx::Rect bitmap_rect(bitmap_size);
100 tex_rect.Scale(bitmap_size.width(), bitmap_size.height());
116 gfx::Size bitmap_size(100, 100);
122 NinePatchLayerLayoutTest(bitmap_size,
130 bitmap_size = gfx::Size(100, 100);
136 NinePatchLayerLayoutTest(bitmap_size,
[all...]
H A Dui_resource_layer_impl_unittest.cc25 const gfx::Size& bitmap_size,
38 UIResourceBitmap bitmap(bitmap_size, opaque);
64 gfx::Size bitmap_size(100, 100);
70 bitmap_size,
80 bitmap_size,
107 gfx::Size bitmap_size(100, 100);
112 bitmap_size,
121 bitmap_size,
134 gfx::Size bitmap_size(100, 100);
139 &host_impl, bitmap_size, layer_siz
23 GenerateUIResourceLayer( FakeUIResourceLayerTreeHostImpl* host_impl, const gfx::Size& bitmap_size, const gfx::Size& layer_size, bool opaque, UIResourceId uid) argument
[all...]
/external/chromium_org/content/common/
H A Dhost_shared_bitmap_manager_unittest.cc18 gfx::Size bitmap_size(1, 1);
20 EXPECT_TRUE(cc::SharedBitmap::SizeInBytes(bitmap_size, &size_in_bytes));
47 invalid_bitmap = manager_->GetSharedBitmapFromId(bitmap_size, id2);
51 shared_bitmap = manager_->GetSharedBitmapFromId(bitmap_size, id);
60 shared_bitmap2 = manager_->GetSharedBitmapFromId(bitmap_size, id);
77 gfx::Size bitmap_size(1, 1);
79 EXPECT_TRUE(cc::SharedBitmap::SizeInBytes(bitmap_size, &size_in_bytes));
91 shared_bitmap = manager_->GetSharedBitmapFromId(bitmap_size, id);
98 gfx::Size bitmap_size(1, 1);
100 EXPECT_TRUE(cc::SharedBitmap::SizeInBytes(bitmap_size,
[all...]
H A Dhost_shared_bitmap_manager.cc51 size_t bitmap_size; local
52 if (!cc::SharedBitmap::SizeInBytes(size, &bitmap_size))
58 bitmap_size));
61 data->pixels = scoped_ptr<uint8[]>(new uint8[bitmap_size]);
82 size_t bitmap_size; local
83 if (!cc::SharedBitmap::SizeInBytes(size, &bitmap_size) ||
84 bitmap_size > data->buffer_size)
/external/chromium_org/ui/ozone/platform/caca/
H A Dcaca_window_manager.cc51 ResizeCanvas(window_->bitmap_size());
64 SkImageInfo info = SkImageInfo::Make(window_->bitmap_size().width(),
65 window_->bitmap_size().height(),
H A Dcaca_event_source.cc113 gfx::Size bitmap_size = window->bitmap_size(); local
115 location.x() * bitmap_size.width() / physical_size.width(),
116 location.y() * bitmap_size.height() / physical_size.height());
H A Dcaca_window.h46 gfx::Size bitmap_size() const { return bitmap_size_; } function in class:ui::CacaWindow
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/
H A Dbitmap_uploader.cc112 gfx::Size bitmap_size(bitmap_.width(), bitmap_.height());
113 GLuint texture_id = BindTextureForSize(bitmap_size);
119 bitmap_size.width(),
120 bitmap_size.height(),
135 resource->size = Size::From(bitmap_size);
/external/jemalloc/src/
H A Dbitmap.c55 bitmap_size(size_t nbits) function
H A Darena.c2530 try_hdr_size += bitmap_size(try_nregs);
2562 try_hdr_size += bitmap_size(try_nregs);
/external/f2fs-tools/fsck/
H A Dmount.c435 nm_i->bitmap_size = __bitmap_size(sbi, NAT_BITMAP);
437 nm_i->nat_bitmap = malloc(nm_i->bitmap_size);
445 memcpy(nm_i->nat_bitmap, version_bitmap, nm_i->bitmap_size);
470 unsigned int bitmap_size; local
491 bitmap_size = __bitmap_size(sbi, SIT_BITMAP);
494 dst_bitmap = malloc(bitmap_size);
495 memcpy(dst_bitmap, src_bitmap, bitmap_size);
501 sit_i->bitmap_size = bitmap_size;
H A Df2fs.h62 int bitmap_size; member in struct:f2fs_nm_info
88 unsigned int bitmap_size; /* SIT bitmap size */ member in struct:sit_info
/external/chromium_org/content/renderer/pepper/
H A Dpepper_graphics_2d_host.h164 const gfx::Size& bitmap_size,
H A Dpepper_graphics_2d_host.cc556 const gfx::Size& bitmap_size,
564 cached_bitmap_size_ = bitmap_size;
555 ReleaseCallback(scoped_ptr<cc::SharedBitmap> bitmap, const gfx::Size& bitmap_size, uint32 sync_point, bool lost_resource) argument
/external/chromium_org/ui/gfx/
H A Dicon_util.cc624 size_t bitmap_size = bitmap.height() * bitmap.width() * 4; local
625 DCHECK_EQ(buffer_size, bitmap_size);
626 for (size_t i = 0; i < bitmap_size; i += bitmap.width() * 4) {
627 memcpy(buffer + bitmap_size - bitmap.width() * 4 - i,
/external/jemalloc/test/unit/
H A Dbitmap.c15 size_t size = bitmap_size(i);
/external/chromium_org/chrome/browser/android/thumbnail/
H A Dthumbnail_store.cc55 gfx::Size GetEncodedSize(const gfx::Size& bitmap_size, bool supports_npot) { argument
56 DCHECK(!bitmap_size.IsEmpty());
58 return gfx::Size(NextPowerOfTwo(bitmap_size.width()),
59 NextPowerOfTwo(bitmap_size.height()));
61 return gfx::Size(RoundUpMod4(bitmap_size.width()),
62 RoundUpMod4(bitmap_size.height()));
/external/jemalloc/include/jemalloc/internal/
H A Dbitmap.h51 size_t bitmap_size(size_t nbits);
H A Dprivate_namespace.h102 #define bitmap_size JEMALLOC_N(bitmap_size) macro
H A Dprivate_unnamespace.h102 #undef bitmap_size macro
/external/chromium_org/pdf/pdfium/
H A Dpdfium_engine.cc1031 const pp::Size& bitmap_size(page_to_print->rect().size());
1038 bitmap_size,
1041 FPDF_BITMAP bitmap = FPDFBitmap_CreateEx(bitmap_size.width(),
1042 bitmap_size.height(),
1049 bitmap, 0, 0, bitmap_size.width(), bitmap_size.height(), 0xFFFFFFFF);
1061 double ratio_x = (static_cast<double>(bitmap_size.width()) * kPointsPerInch) /
1064 (static_cast<double>(bitmap_size.height()) * kPointsPerInch) /
/external/qemu/
H A Dblock.c2623 int64_t bitmap_size; local
2628 bitmap_size = (bdrv_getlength(bs) >> BDRV_SECTOR_BITS) +
2630 bitmap_size /= BDRV_SECTORS_PER_DIRTY_CHUNK * 8;
2632 bs->dirty_bitmap = g_malloc0(bitmap_size);

Completed in 409 milliseconds