Home
last modified time | relevance | path

Searched refs:bitmap_size (Results 1 – 23 of 23) sorted by relevance

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