| /external/f2fs-tools/fsck/ |
| f2fs.h | 68 unsigned char *cur_valid_map; /* validity bitmap of blocks */ 84 char *sit_bitmap; /* SIT bitmap pointer */ 85 unsigned int bitmap_size; /* SIT bitmap size */ 87 unsigned long *dirty_sentries_bitmap; /* bitmap for dirty sentries */ 124 u8 *bitmap; member in struct:f2fs_dentry_ptr 247 /* return NAT or SIT bitmap */
|
| /external/freetype/include/freetype/ |
| freetype.h | 339 /* This structure models the metrics of a bitmap strike (i.e., a set */ 340 /* of glyphs for a given point size and resolution) in a bitmap font. */ 368 /* bitmap strike itself. They are computed from the global font */ 459 /* charge of converting a glyph's outline image to a bitmap. It */ 1923 FT_Bitmap bitmap; member in struct:FT_GlyphSlotRec_ [all...] |
| /external/freetype/src/base/ |
| ftobjs.c | 321 FT_FREE( slot->bitmap.buffer ); 326 /* assume that the bitmap buffer was stolen or not */ 328 slot->bitmap.buffer = NULL; 339 FT_Bitmap* bitmap = &slot->bitmap; local 457 bitmap->pixel_mode = (unsigned char)pixel_mode; 458 bitmap->num_grays = 256; 459 bitmap->width = (unsigned int)width; 460 bitmap->rows = (unsigned int)height; 461 bitmap->pitch = pitch 4549 FT_Bitmap bitmap; local [all...] |
| /external/mesa3d/src/gallium/auxiliary/hud/ |
| font.c | 364 const GLubyte *bitmap = font->Characters[character]+1 + bitmap_stride * (font->Height - 1); local [all...] |
| /external/mesa3d/src/mesa/drivers/common/ |
| meta.c | 2348 struct bitmap_state *bitmap = &ctx->Meta->Bitmap; local [all...] |
| /external/pdfium/core/fxge/ |
| cfx_renderdevice.cpp | 202 void DrawNormalTextHelper(const RetainPtr<CFX_DIBitmap>& bitmap, 216 const bool has_alpha = bitmap->GetFormat() == FXDIB_Argb; 219 uint8_t* dest_buf = bitmap->GetBuffer(); 220 int dest_pitch = bitmap->GetPitch(); 221 const int Bpp = has_alpha ? 4 : bitmap->GetBPP() / 8; 224 if (dest_row < 0 || dest_row >= bitmap->GetHeight()) 641 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); local 643 if (!CreateCompatibleBitmap(bitmap, FXSYS_round(rect.Width() * fScaleX), 647 if (bitmap->HasAlpha()) { 648 bitmap->Clear(0) 993 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); local 1008 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); local [all...] |
| /external/pdfium/core/fxge/win32/ |
| fx_win32_device.cpp | 732 BITMAP bitmap; local 733 GetObject(hBitmap, sizeof bitmap, &bitmap); 734 m_nBitsPerPixel = bitmap.bmBitsPixel; 735 m_Width = bitmap.bmWidth; 736 m_Height = abs(bitmap.bmHeight); 891 // In PDF, when image mask is 1, use device bitmap; when mask is 0, use brush 892 // bitmap. 1180 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); local 1227 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); local [all...] |
| /external/selinux/libsepol/cil/src/ |
| cil_post.c | 867 cil_log(CIL_ERR, "Failed to expand type attribute to bitmap\n"); 875 static int __cil_type_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *db) 880 ebitmap_init(bitmap); 888 ebitmap_union(bitmap, attr->types); 892 if (ebitmap_set_bit(bitmap, type->value, 1)) { 894 ebitmap_destroy(bitmap); 899 if (ebitmap_set_bit(bitmap, type->value, 1)) { 901 ebitmap_destroy(bitmap); 919 cil_log(CIL_ERR, "Failed to expand user attribute to bitmap\n"); 927 static int __cil_user_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *db 1085 ebitmap_t bitmap; local 1421 ebitmap_t bitmap; local 2056 ebitmap_t bitmap; local [all...] |
| /external/selinux/libsepol/src/ |
| link.c | 2002 ebitmap_t *bitmap; local [all...] |
| /external/skia/dm/ |
| DMSrcSink.cpp | 128 static inline void alpha8_to_gray8(SkBitmap* bitmap) { 131 if (kAlpha_8_SkColorType == bitmap->info().colorType()) { 132 SkImageInfo newInfo = bitmap->info().makeColorType(kGray_8_SkColorType) 134 *const_cast<SkImageInfo*>(&bitmap->info()) = newInfo; 184 SkBitmap bitmap; local 185 if (!brd->decodeRegion(&bitmap, nullptr, SkIRect::MakeXYWH(0, 0, width, height), 189 alpha8_to_gray8(&bitmap); 191 canvas->drawBitmap(bitmap, 0, 0); 239 SkBitmap bitmap; local 240 if (!brd->decodeRegion(&bitmap, nullptr, SkIRect::MakeXYWH(decodeLeft 411 SkBitmap bitmap; local 861 SkBitmap bitmap; local 1104 SkBitmap bitmap; local [all...] |
| /external/skia/tests/ |
| ImageFilterTest.cpp | 141 SkBitmap bitmap; local 142 bitmap.allocN32Pixels(width, height); 143 SkCanvas canvas(bitmap); 145 return bitmap; 739 // match the same filters drawn with a single full-canvas bitmap draw. 1255 SkBitmap bitmap; local 1304 SkBitmap bitmap; local 1385 SkBitmap bitmap; local 1431 SkBitmap bitmap; local [all...] |
| ImageTest.cpp | 149 SkBitmap bitmap; local 150 bitmap.installPixels(info, data->writable_data(), info.minRowBytes()); 151 sk_sp<SkData> src(sk_tool_utils::EncodeImageToData(bitmap, SkEncodedImageFormat::kPNG, 100)); 692 const SkBitmap& bitmap) { 693 REPORTER_ASSERT(reporter, image->width() == bitmap.width()); 694 REPORTER_ASSERT(reporter, image->height() == bitmap.height()); 695 REPORTER_ASSERT(reporter, image->alphaType() == bitmap.alphaType()); 697 REPORTER_ASSERT(reporter, bitmap.isImmutable()); 699 REPORTER_ASSERT(reporter, bitmap.getPixels()); 701 const SkImageInfo info = SkImageInfo::MakeN32(1, 1, bitmap.alphaType()) 712 SkBitmap bitmap; local 946 SkBitmap bitmap; local 1011 SkBitmap bitmap; local 1138 SkBitmap bitmap; local [all...] |
| /external/skia/tools/debugger/ |
| SkDrawCommand.h | 142 static bool flatten(const SkBitmap& bitmap, Json::Value* target, 276 SkDrawBitmapCommand(const SkBitmap& bitmap, SkScalar left, SkScalar top, 295 SkDrawBitmapNineCommand(const SkBitmap& bitmap, const SkIRect& center, 314 SkDrawBitmapRectCommand(const SkBitmap& bitmap, const SkRect* src, 322 const SkBitmap& bitmap() const { return fBitmap; } function in class:SkDrawBitmapRectCommand
|
| /external/skqp/dm/ |
| DMSrcSink.cpp | 126 static inline void alpha8_to_gray8(SkBitmap* bitmap) { 129 if (kAlpha_8_SkColorType == bitmap->info().colorType()) { 130 SkImageInfo newInfo = bitmap->info().makeColorType(kGray_8_SkColorType) 132 *const_cast<SkImageInfo*>(&bitmap->info()) = newInfo; 181 SkBitmap bitmap; local 182 if (!brd->decodeRegion(&bitmap, nullptr, SkIRect::MakeXYWH(0, 0, width, height), 186 alpha8_to_gray8(&bitmap); 188 canvas->drawBitmap(bitmap, 0, 0); 236 SkBitmap bitmap; local 237 if (!brd->decodeRegion(&bitmap, nullptr, SkIRect::MakeXYWH(decodeLeft 408 SkBitmap bitmap; local 858 SkBitmap bitmap; local 1101 SkBitmap bitmap; local [all...] |
| /external/skqp/tests/ |
| ImageFilterTest.cpp | 141 SkBitmap bitmap; local 142 bitmap.allocN32Pixels(width, height); 143 SkCanvas canvas(bitmap); 145 return bitmap; 739 // match the same filters drawn with a single full-canvas bitmap draw. 1255 SkBitmap bitmap; local 1304 SkBitmap bitmap; local 1385 SkBitmap bitmap; local 1431 SkBitmap bitmap; local [all...] |
| ImageTest.cpp | 148 SkBitmap bitmap; local 149 bitmap.installPixels(info, data->writable_data(), info.minRowBytes()); 150 sk_sp<SkData> src(sk_tool_utils::EncodeImageToData(bitmap, SkEncodedImageFormat::kPNG, 100)); 598 const SkBitmap& bitmap, SkImage::LegacyBitmapMode mode) { 599 REPORTER_ASSERT(reporter, image->width() == bitmap.width()); 600 REPORTER_ASSERT(reporter, image->height() == bitmap.height()); 601 REPORTER_ASSERT(reporter, image->alphaType() == bitmap.alphaType()); 604 REPORTER_ASSERT(reporter, bitmap.isImmutable()); 607 REPORTER_ASSERT(reporter, bitmap.getPixels()); 609 const SkImageInfo info = SkImageInfo::MakeN32(1, 1, bitmap.alphaType()) 620 SkBitmap bitmap; local 927 SkBitmap bitmap; local 1227 SkBitmap bitmap; local [all...] |
| /external/skqp/tools/debugger/ |
| SkDrawCommand.h | 142 static bool flatten(const SkBitmap& bitmap, Json::Value* target, 276 SkDrawBitmapCommand(const SkBitmap& bitmap, SkScalar left, SkScalar top, 295 SkDrawBitmapNineCommand(const SkBitmap& bitmap, const SkIRect& center, 314 SkDrawBitmapRectCommand(const SkBitmap& bitmap, const SkRect* src, 322 const SkBitmap& bitmap() const { return fBitmap; } function in class:SkDrawBitmapRectCommand
|
| /frameworks/base/cmds/bootanimation/ |
| BootAnimation.cpp | 144 SkBitmap bitmap; 148 image->asLegacyBitmap(&bitmap, SkImage::kRO_LegacyBitmapMode); 152 const int w = bitmap.width(); 153 const int h = bitmap.height(); 154 const void* p = bitmap.getPixels(); 163 switch (bitmap.colorType()) { 195 SkBitmap bitmap; local 199 image->asLegacyBitmap(&bitmap, SkImage::kRO_LegacyBitmapMode); 206 const int w = bitmap.width(); 207 const int h = bitmap.height() [all...] |
| /frameworks/base/core/java/android/app/ |
| ActivityTransitionCoordinator.java | 134 protected static final String KEY_SNAPSHOT = "shared_element:bitmap"; 808 Parcelable bitmap = null; local [all...] |
| /frameworks/base/core/java/android/provider/ |
| DocumentsContract.java | 34 import android.graphics.Bitmap; 1076 Bitmap bitmap = null; local [all...] |
| MediaStore.java | 31 import android.graphics.Bitmap; 280 * If the EXTRA_OUTPUT is not present, then a small sized image is returned as a Bitmap 311 * If the EXTRA_OUTPUT is not present, then a small sized image is returned as a Bitmap 627 private static Bitmap getMiniThumbFromFile( 629 Bitmap bitmap = null; local 636 bitmap = BitmapFactory.decodeFileDescriptor( 647 return bitmap; 684 * @param options this is only used for MINI_KIND when decoding the Bitmap 687 * @return Bitmap bitmap of specified thumbnail kin 691 Bitmap bitmap = null; local 887 Bitmap bitmap = BitmapFactory.decodeStream(input); local [all...] |
| /frameworks/base/core/jni/android/graphics/ |
| Bitmap.cpp | 1 #define LOG_TAG "Bitmap" 2 #include "Bitmap.h" 28 #include <hwui/Bitmap.h> 51 BitmapWrapper(Bitmap* bitmap) 52 : mBitmap(bitmap) { } 68 Bitmap& bitmap() { function in class:android::BitmapWrapper 74 LOG_ALWAYS_FATAL_IF(!valid(), "Error, cannot access an invalid/free'd bitmap here!"); 137 sk_sp<Bitmap> mBitmap 169 namespace bitmap { namespace in namespace:android 670 SkBitmap bitmap; local 809 auto bitmap = allocator.getStorageObjAndReset(); local 820 auto bitmap = allocator.getStorageObjAndReset(); local 829 auto bitmap = Bitmap_copyAshmemImpl(env, src, dstCT); local 838 auto bitmap = Bitmap_copyAshmemImpl(env, src, dstCT); local 1159 SkBitmap bitmap; local 1325 SkBitmap bitmap; local 1356 SkBitmap bitmap; local 1402 SkBitmap bitmap; local 1431 SkBitmap bitmap; local 1439 SkBitmap bitmap; local 1453 SkBitmap bitmap; local 1549 sk_sp<Bitmap> bitmap = Bitmap::createFrom(buffer); local [all...] |
| /frameworks/base/core/jni/ |
| android_view_ThreadedRenderer.cpp | 802 SkBitmap bitmap; local 803 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); 804 return proxy->copyLayerInto(layer, bitmap); 960 SkBitmap bitmap; local 1032 sk_sp<Bitmap> bitmap = Bitmap::createFrom(buffer); local [all...] |
| /frameworks/base/libs/hwui/ |
| VectorDrawable.h | 21 #include "hwui/Bitmap.h" 80 * VectorDrawables are drawn into bitmap caches first, then the caches are drawn to the given 508 // Draws the VD onto a bitmap cache, then the bitmap cache will be rendered onto the input 509 // canvas. Returns the number of pixels needed for the bitmap cache. 514 Bitmap& getBitmapUpdateIfDirty(); 588 // If the requested size is bigger than what the bitmap was, then 589 // we increase the bitmap size to match. The width and height 660 sk_sp<Bitmap> bitmap; // used by HWUI pipeline and softwar member in class:android::uirenderer::VectorDrawable::Tree::Cache [all...] |
| /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
| PageContentRepository.java | 26 import android.graphics.Bitmap; 245 // We tired to preload but didn't know the bitmap size, now 402 Bitmap bitmap = page.content.getBitmap(); local 403 return bitmap.getWidth() == bitmapWidth 404 && bitmap.getHeight() == bitmapHeight; 828 // Reuse bitmap for the page only if the right size. 831 Log.i(LOG_TAG, "Recycling bitmap for page: " + mPageIndex 841 // Try to find a bitmap to reuse. 855 Log.i(LOG_TAG, "Recycling bitmap for page: " + mPageInde 877 Bitmap bitmap = Bitmap.createBitmap(mRenderSpec.bitmapWidth, local 896 Bitmap bitmap = mRenderedPage.content.getBitmap(); local [all...] |