/external/pdfium/third_party/freetype/include/ |
freetype.h | 331 /* This structure models the metrics of a bitmap strike (i.e., a set */ 332 /* of glyphs for a given point size and resolution) in a bitmap font. */ 360 /* bitmap strike itself. They are computed from the global font */ 448 /* module in charge of converting a glyph image to a bitmap, when */ 1721 FT_Bitmap bitmap; member in struct:FT_GlyphSlotRec_ [all...] |
/external/pdfium/third_party/freetype/src/base/ |
ftobjs.c | 295 FT_FREE( slot->bitmap.buffer ); 300 /* assume that the bitmap buffer was stolen or not */ 302 slot->bitmap.buffer = NULL; 313 slot->bitmap.buffer = buffer; 328 FT_FREE( slot->bitmap.buffer ); 332 (void)FT_ALLOC( slot->bitmap.buffer, size ); 340 /* free bitmap if needed */ 347 slot->bitmap.width = 0; 348 slot->bitmap.rows = 0; 349 slot->bitmap.pitch = 0 4135 FT_Bitmap bitmap; local [all...] |
/external/selinux/libsepol/src/ |
link.c | 1993 ebitmap_t *bitmap; local [all...] |
/external/skia/experimental/PdfViewer/src/ |
SkPdfRenderer.cpp | 235 static void setup_bitmap(SkBitmap* bitmap, int width, int height, SkColor color = SK_ColorWHITE) { 236 bitmap->allocN32Pixels(width, height); 237 bitmap->eraseColor(color); 377 SkBitmap* bitmap = new SkBitmap(); local 383 // Is there a faster way to load the uncompressed stream into a bitmap? 402 bitmap->installPixels(info, uncompressedStreamArgb, info.minRowBytes()); 419 bitmap->installPixels(info, uncompressedStreamA8, info.minRowBytes(), 425 return bitmap; 515 SkBitmap* bitmap = new SkBitmap(); local 516 SkImageDecoder::DecodeMemory(uncompressedStream, uncompressedStreamLength, bitmap); 522 SkBitmap* bitmap = new SkBitmap(); local 538 SkBitmap* bitmap = transferImageStreamToBitmap( local 551 SkBitmap* bitmap = getImageFromObjectCore(pdfContext, image, transparencyMask); local [all...] |
/external/skia/src/core/ |
SkDraw.cpp | 155 static BitmapXferProc ChooseBitmapXferProc(const SkBitmap& bitmap, 193 switch (bitmap.colorType()) { 223 static void CallBitmapXferProc(const SkBitmap& bitmap, const SkIRect& rect, 226 switch (bitmap.colorType()) { 241 uint8_t* pixels = (uint8_t*)bitmap.getPixels(); 243 const size_t rowBytes = bitmap.rowBytes(); 266 be faster to operate directly on the device bitmap, rather than invoking 334 const SkBitmap* bitmap = blitter->justAnOpaqueColor(&value); local 335 SkASSERT(bitmap); 337 uint16_t* addr = bitmap->getAddr16(0, 0) 355 const SkBitmap* bitmap = blitter->justAnOpaqueColor(&value); local [all...] |
/external/skia/src/pdf/ |
SkPDFDevice.cpp | 413 // face of floating-point accuracy and possible SkRegion bitmap 2069 const SkBitmap* bitmap = &origBitmap; local [all...] |
/external/skia/src/utils/debugger/ |
SkDrawCommand.h | 201 SkDrawBitmapCommand(const SkBitmap& bitmap, SkScalar left, SkScalar top, 217 SkDrawBitmapNineCommand(const SkBitmap& bitmap, const SkIRect& center, 233 SkDrawBitmapRectCommand(const SkBitmap& bitmap, const SkRect* src, 239 const SkBitmap& bitmap() const { return fBitmap; } function in class:SkDrawBitmapRectCommand 525 SkDrawSpriteCommand(const SkBitmap& bitmap, int left, int top, const SkPaint* paint);
|
/external/tcpdump/ |
ieee802_11.h | 195 u_int8_t bitmap[251]; member in struct:tim_t
|
/frameworks/base/core/java/android/app/ |
ActivityTransitionCoordinator.java | 129 protected static final String KEY_SNAPSHOT = "shared_element:bitmap"; 744 Parcelable bitmap = null; local 746 bitmap = mListener.onCaptureSharedElementSnapshot(view, tempMatrix, tempBounds); 749 if (bitmap != null) { 750 sharedElementBundle.putParcelable(KEY_SNAPSHOT, bitmap); [all...] |
WallpaperManager.java | 28 import android.graphics.Bitmap; 151 * at the time the bitmap is loaded). 154 private final Bitmap mBitmap; 161 private FastBitmapDrawable(Bitmap bitmap) { 162 mBitmap = bitmap; 163 mWidth = bitmap.getWidth(); 164 mHeight = bitmap.getHeight(); 231 private Bitmap mWallpaper; 232 private Bitmap mDefaultWallpaper [all...] |
/frameworks/base/core/java/android/provider/ |
MediaStore.java | 29 import android.graphics.Bitmap; 274 * If the EXTRA_OUTPUT is not present, then a small sized image is returned as a Bitmap 305 * If the EXTRA_OUTPUT is not present, then a small sized image is returned as a Bitmap 607 private static Bitmap getMiniThumbFromFile( 609 Bitmap bitmap = null; local 616 bitmap = BitmapFactory.decodeFileDescriptor( 627 return bitmap; 664 * @param options this is only used for MINI_KIND when decoding the Bitmap 667 * @return Bitmap bitmap of specified thumbnail kin 671 Bitmap bitmap = null; local 867 Bitmap bitmap = BitmapFactory.decodeStream(input); local [all...] |
/frameworks/base/core/jni/android/opengl/ |
util.cpp | 736 SkBitmap bitmap; local 737 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); 738 SkColorType colorType = bitmap.colorType(); 748 bitmap.lockPixels(); 749 const int w = bitmap.width(); 750 const int h = bitmap.height(); 751 const void* p = bitmap.getPixels(); 757 const size_t size = bitmap.getSize(); 763 SkColorTable* ctable = bitmap.getColorTable(); 775 bitmap.unlockPixels() 783 SkBitmap bitmap; local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Bitmap.java | 36 public final class Bitmap implements Parcelable { 37 private static final String TAG = "Bitmap"; 40 * Indicates that the bitmap was created for an unknown pixel density. 42 * @see Bitmap#getDensity() 43 * @see Bitmap#setDensity(int) 48 * Backing buffer for the Bitmap. 59 * Represents whether the Bitmap's content is requested to be pre-multiplied. 61 * isPremultiplied() may never return true for a 565 Bitmap or a bitmap 67 * The native bitmap's premultiplication state is kept up to date b 701 Bitmap bitmap; local [all...] |
/frameworks/base/libs/hwui/ |
DisplayListOp.h | 623 DrawBitmapOp(const SkBitmap* bitmap, const SkPaint* paint) 624 : DrawBoundedOp(0, 0, bitmap->width(), bitmap->height(), paint) 625 , mBitmap(bitmap) 647 * for each bitmap in the batch. This method is also responsible for dirtying 692 OP_LOG("Draw bitmap %p of size %dx%d%s", 721 const SkBitmap* bitmap() { return mBitmap; } function in class:android::uirenderer::DrawBitmapOp 730 DrawBitmapRectOp(const SkBitmap* bitmap, 734 mBitmap(bitmap), mSrc(srcLeft, srcTop, srcRight, srcBottom) {} 741 OP_LOG("Draw bitmap %p src=" RECT_STRING ", dst=" RECT_STRING [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
PageContentRepository.java | 24 import android.graphics.Bitmap; 222 // We tired to preload but didn't know the bitmap size, now 378 Bitmap bitmap = page.content.getBitmap(); local 379 return bitmap.getWidth() == bitmapWidth 380 && bitmap.getHeight() == bitmapHeight; 758 // Reuse bitmap for the page only if the right size. 761 Log.i(LOG_TAG, "Recycling bitmap for page: " + mPageIndex 771 // Try to find a bitmap to reuse. 785 Log.i(LOG_TAG, "Recycling bitmap for page: " + mPageInde 807 Bitmap bitmap = Bitmap.createBitmap(mRenderSpec.bitmapWidth, local 826 Bitmap bitmap = mRenderedPage.content.getBitmap(); local [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
PageAdapter.java | 20 import android.graphics.Bitmap; 454 Bitmap bitmap = Bitmap.createBitmap(mPageContentWidth, mPageContentHeight, local 455 Bitmap.Config.ARGB_8888); 456 Canvas canvas = new Canvas(bitmap); 459 // Do not recycle the old bitmap if such as it may be set as an empty 461 mEmptyState = new BitmapDrawable(mContext.getResources(), bitmap);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
TiledImageRenderer.java | 20 import android.graphics.Bitmap; 57 * DECODED --> ACTIVATED - (after the decoded bitmap is uploaded) 70 private static Pool<Bitmap> sTilePool = new SynchronizedPool<Bitmap>(64); 79 // The mLevel variable indicates which level of bitmap we should use. 80 // Level 0 means the original full-sized bitmap, and a larger value means 81 // a smaller scaled bitmap (The width and height of each scaled bitmap is 83 // use the bitmap in mScaledBitmaps[mLevel] for display, otherwise the value 104 // The width and height of the full-sized bitmap 707 Bitmap bitmap = mDecodedTile; local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderSessionImpl.java | 59 import android.graphics.Bitmap; 259 * @param freshRender whether the render is a new one and should erase the existing bitmap (in 406 // create an Android bitmap around the BufferedImage 407 Bitmap bitmap = Bitmap_Delegate.createBitmap(mImage, local 411 // create a Canvas around the Android bitmap 412 mCanvas = new Canvas(bitmap); 414 mCanvas.setBitmap(bitmap); [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
BackgroundManager.java | 29 import android.graphics.Bitmap; 78 * <p>BackgroundManager holds references to potentially large bitmap Drawables. 133 Bitmap mBitmap; 150 BitmapDrawable(Resources resources, Bitmap bitmap) { 151 this(resources, bitmap, null); 154 BitmapDrawable(Resources resources, Bitmap bitmap, Matrix matrix) { 155 mState.mBitmap = bitmap; 161 Bitmap getBitmap() 1192 Bitmap bitmap = null; local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
StaggeredGridView.java | 27 import android.graphics.Bitmap; 258 // The Bitmap that contains the drag shadow. 259 private Bitmap mDragBitmap; 617 * Initiate the dragging process. Create a bitmap that is displayed as the dragging event 653 // and only draw the bitmap in onDrop for animation. 671 private Bitmap createDraggedChildBitmap(View view) { 673 final Bitmap cache = view.getDrawingCache(); 675 Bitmap bitmap = null; local 678 bitmap = cache.copy(Bitmap.Config.ARGB_8888, false) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
PhotoDataAdapter.java | 19 import android.graphics.Bitmap; 552 public Bitmap getTile(int level, int x, int y, int tileSize) { 701 // a Bitmap and then wrap it in a BitmapScreenNail instead. 705 // If this is a temporary item, don't try to get its bitmap because 706 // it won't be available. We will get its bitmap after a data reload. 711 Bitmap bitmap = mItem.requestImage(MediaItem.TYPE_THUMBNAIL).run(jc); local 713 if (bitmap != null) { 714 bitmap = BitmapUtils.rotateBitmap(bitmap, [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
TileImageView.java | 20 import android.graphics.Bitmap; 63 * DECODED --> ACTIVATED - (after the decoded bitmap is uploaded) 80 // The mLevel variable indicates which level of bitmap we should use. 81 // Level 0 means the original full-sized bitmap, and a larger value means 82 // a smaller scaled bitmap (The width and height of each scaled bitmap is 84 // use the bitmap in mScaledBitmaps[mLevel] for display, otherwise the value 106 // The width and height of the full-sized bitmap 142 public Bitmap getTile(int level, int x, int y, int tileSize); 295 // If the bitmap is scaled by the given factor "scale", return th 693 Bitmap bitmap = mDecodedTile; local [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
TiledImageRenderer.java | 20 import android.graphics.Bitmap; 57 * DECODED --> ACTIVATED - (after the decoded bitmap is uploaded) 70 private static Pool<Bitmap> sTilePool = new SynchronizedPool<Bitmap>(64); 79 // The mLevel variable indicates which level of bitmap we should use. 80 // Level 0 means the original full-sized bitmap, and a larger value means 81 // a smaller scaled bitmap (The width and height of each scaled bitmap is 83 // use the bitmap in mScaledBitmaps[mLevel] for display, otherwise the value 104 // The width and height of the full-sized bitmap 707 Bitmap bitmap = mDecodedTile; local [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
TiledImageRenderer.java | 20 import android.graphics.Bitmap; 58 * DECODED --> ACTIVATED - (after the decoded bitmap is uploaded) 71 @Thunk static Pool<Bitmap> sTilePool = new SynchronizedPool<Bitmap>(64); 80 // The mLevel variable indicates which level of bitmap we should use. 81 // Level 0 means the original full-sized bitmap, and a larger value means 82 // a smaller scaled bitmap (The width and height of each scaled bitmap is 84 // use the bitmap in mScaledBitmaps[mLevel] for display, otherwise the value 105 // The width and height of the full-sized bitmap 708 Bitmap bitmap = mDecodedTile; local [all...] |
/packages/apps/Nfc/src/com/android/nfc/beam/ |
SendUi.java | 32 import android.graphics.Bitmap; 179 Bitmap mScreenshotBitmap; 458 // did store the bitmap. Clear out the bitmap, reset 550 final class ScreenshotTask extends AsyncTask<Void, Void, Bitmap> { 552 protected Bitmap doInBackground(Void... params) { 557 protected void onPostExecute(Bitmap result) { 587 Bitmap createScreenshot() { 618 Bitmap bitmap = SurfaceControl.screenshot((int) dims[0], (int) dims[1]) local [all...] |