/cts/tests/tests/media/src/android/media/cts/ |
DecodeAccuracyTestBase.java | 26 import android.graphics.Bitmap; 27 import android.graphics.Bitmap.Config; 422 public Bitmap generateBitmapFromImageResourceId(int resourceId) { 465 public synchronized Bitmap generateBitmapFromVideoViewSnapshot(VideoViewSnapshot snapshot) { 1094 private Bitmap bitmap = null; field in class:TextureViewSnapshot 1128 private Bitmap bitmap; field in class:SurfaceViewSnapshot 1233 private Bitmap bitmap = null; field in class:GLSurfaceViewSnapshot [all...] |
/art/runtime/gc/collector/ |
mark_sweep.cc | 133 // TODO: I don't think we should need heap bitmap lock to Get the mark bitmap. 310 // Recursively mark all the non-image bits set in the mark bitmap. 342 accounting::ContinuousSpaceBitmap* bitmap = space->GetMarkBitmap(); local 344 if (bitmap != nullptr && 346 current_space_bitmap_ = bitmap; 353 CHECK(current_space_bitmap_ != nullptr) << "Could not find a default mark bitmap\n" 589 // See if the root is on any space bitmap. 809 accounting::ContinuousSpaceBitmap* bitmap, 817 bitmap_(bitmap), [all...] |
/art/runtime/gc/space/ |
image_space.cc | 787 // boot image. Uses the bitmap to ensure the same array is not visited multiple times. 794 // already visited the array as a long / int array from walking the bitmap without knowing it 1347 std::unique_ptr<accounting::ContinuousSpaceBitmap> bitmap; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PaintTest.java | 33 import android.graphics.Bitmap; 284 Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565); local 288 Shader s = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
RemoteViewsTest.java | 31 import android.graphics.Bitmap; 217 Bitmap imageViewBitmap = ((BitmapDrawable) image.getDrawable()).getBitmap(); 218 Bitmap expectedBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( 390 Bitmap bitmap = local 392 mRemoteViews.setImageViewBitmap(R.id.remoteView_image, bitmap); 395 WidgetTestUtils.assertEquals(bitmap, ((BitmapDrawable) image.getDrawable()).getBitmap()); 397 mRemoteViews.setImageViewBitmap(R.id.remoteView_absolute, bitmap); 410 Bitmap bitmap local [all...] |
/external/boringssl/src/ssl/ |
internal.h | 333 /* DTLS replay bitmap. */ 926 DTLS1_BITMAP bitmap; member in struct:dtls1_state_st [all...] |
/external/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 */ 451 /* module in charge of converting a glyph image to a bitmap, when */ 1741 FT_Bitmap bitmap; member in struct:FT_GlyphSlotRec_ [all...] |
/external/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 4122 FT_Bitmap bitmap; local [all...] |
/external/pdfium/core/src/fxge/ge/ |
fx_ge_text.cpp | 330 CFX_DIBitmap bitmap; local 331 if (!bitmap.Create(pixel_width, pixel_height, FXDIB_1bppMask)) { 335 bitmap.Clear(0); 342 bitmap.TransferBitmap( 348 return SetBitMask(&bitmap, bmp_rect.left, bmp_rect.top, fill_color); 350 CFX_DIBitmap bitmap; local 352 if (!bitmap.Create(pixel_width, pixel_height, FXDIB_8bppMask)) { 357 if (!CreateCompatibleBitmap(&bitmap, pixel_width, pixel_height)) { 362 if (!bitmap.HasAlpha() && !bitmap.IsAlphaMask()) [all...] |
/external/pdfium/core/src/fxge/win32/ |
fx_win32_device.cpp | 483 BITMAP bitmap; local 484 GetObject(hBitmap, sizeof bitmap, &bitmap); 485 m_nBitsPerPixel = bitmap.bmBitsPixel; 486 m_Width = bitmap.bmWidth; 487 m_Height = abs(bitmap.bmHeight); 649 // In PDF, when image mask is 1, use device bitmap; when mask is 0, use brush 650 // bitmap. 1073 CFX_DIBitmap bitmap; local 1127 CFX_DIBitmap bitmap; local [all...] |
/external/pdfium/third_party/freetype/include/freetype/ |
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 */ 451 /* module in charge of converting a glyph image to a bitmap, when */ 1760 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 4162 FT_Bitmap bitmap; local [all...] |
/external/selinux/libsepol/cil/src/ |
cil_post.c | 615 cil_log(CIL_ERR, "Failed to expand type attribute to bitmap\n"); 623 static int __cil_type_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *db) 628 ebitmap_init(bitmap); 636 ebitmap_union(bitmap, attr->types); 640 if (ebitmap_set_bit(bitmap, type->value, 1)) { 642 ebitmap_destroy(bitmap); 647 if (ebitmap_set_bit(bitmap, type->value, 1)) { 649 ebitmap_destroy(bitmap); 667 cil_log(CIL_ERR, "Failed to expand user attribute to bitmap\n"); 675 static int __cil_user_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *db 834 ebitmap_t bitmap; local 1170 ebitmap_t bitmap; local 1700 ebitmap_t bitmap; local [all...] |
/external/selinux/libsepol/src/ |
link.c | 1993 ebitmap_t *bitmap; local [all...] |
/frameworks/base/core/java/android/app/ |
ActivityTransitionCoordinator.java | 130 protected static final String KEY_SNAPSHOT = "shared_element:bitmap"; 746 Parcelable bitmap = null; local 748 bitmap = mListener.onCaptureSharedElementSnapshot(view, tempMatrix, tempBounds); 751 if (bitmap != null) { 752 sharedElementBundle.putParcelable(KEY_SNAPSHOT, bitmap); [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 613 private static Bitmap getMiniThumbFromFile( 615 Bitmap bitmap = null; local 622 bitmap = BitmapFactory.decodeFileDescriptor( 633 return bitmap; 670 * @param options this is only used for MINI_KIND when decoding the Bitmap 673 * @return Bitmap bitmap of specified thumbnail kin 677 Bitmap bitmap = null; local 873 Bitmap bitmap = BitmapFactory.decodeStream(input); local [all...] |
/frameworks/base/core/java/android/widget/ |
RemoteViews.java | 38 import android.graphics.Bitmap; 116 * Maps bitmaps to unique indicies to avoid Bitmap duplication. 295 // We currently only calculate Bitmap memory usage, so by default, 357 // reference the bitmap cache. We don't want to modify the object as it may need to 390 // Because pruning can remove the need for bitmaps, we reconstruct the bitmap cache 1122 Bitmap bitmap; field in class:RemoteViews.BitmapReflectionAction [all...] |
/frameworks/base/core/jni/android/opengl/ |
util.cpp | 730 SkBitmap bitmap; local 731 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); 732 SkColorType colorType = bitmap.colorType(); 742 bitmap.lockPixels(); 743 const int w = bitmap.width(); 744 const int h = bitmap.height(); 745 const void* p = bitmap.getPixels(); 751 const size_t size = bitmap.getSize(); 757 SkColorTable* ctable = bitmap.getColorTable(); 769 bitmap.unlockPixels() 777 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) 47 // Estimated size of the Bitmap native allocation, not including 52 * Backing buffer for the Bitmap. 62 * Represents whether the Bitmap's content is requested to be pre-multiplied. 64 * isPremultiplied() may never return true for a 565 Bitmap or a bitmap 749 Bitmap bitmap; local [all...] |
Canvas.java | 38 * 4 basic components: A Bitmap to hold the pixels, a Canvas to host 39 * the draw calls (writing into the bitmap), a drawing primitive (e.g. Rect, 40 * Path, text, Bitmap), and a paint (to describe the colors and styles for the 69 private Bitmap mBitmap; 77 protected int mDensity = Bitmap.DENSITY_NONE; 84 protected int mScreenDensity = Bitmap.DENSITY_NONE; 86 // Maximum bitmap size as defined in Skia's native code 104 * Construct an empty raster canvas. Use setBitmap() to specify a bitmap to 105 * draw into. The initial target density is {@link Bitmap#DENSITY_NONE}; 106 * this will typically be replaced when a target bitmap is set for th 1290 Bitmap bitmap = patch.getBitmap(); local 1308 Bitmap bitmap = patch.getBitmap(); local [all...] |
/frameworks/base/libs/hwui/ |
DisplayListOp.h | 605 DrawBitmapOp(const SkBitmap* bitmap, const SkPaint* paint) 606 : DrawBoundedOp(0, 0, bitmap->width(), bitmap->height(), paint) 607 , mBitmap(bitmap) 629 * for each bitmap in the batch. This method is also responsible for dirtying 674 OP_LOG("Draw bitmap %p of size %dx%d%s", 703 const SkBitmap* bitmap() { return mBitmap; } function in class:android::uirenderer::DrawBitmapOp 712 DrawBitmapRectOp(const SkBitmap* bitmap, 716 mBitmap(bitmap), mSrc(srcLeft, srcTop, srcRight, srcBottom) {} 723 OP_LOG("Draw bitmap %p src=" RECT_STRING ", dst=" RECT_STRING 1117 const SkBitmap& bitmap = mTree->getBitmapUpdateIfDirty(); variable [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
PageContentRepository.java | 24 import android.graphics.Bitmap; 223 // We tired to preload but didn't know the bitmap size, now 379 Bitmap bitmap = page.content.getBitmap(); local 380 return bitmap.getWidth() == bitmapWidth 381 && bitmap.getHeight() == bitmapHeight; 765 // Reuse bitmap for the page only if the right size. 768 Log.i(LOG_TAG, "Recycling bitmap for page: " + mPageIndex 778 // Try to find a bitmap to reuse. 792 Log.i(LOG_TAG, "Recycling bitmap for page: " + mPageInde 814 Bitmap bitmap = Bitmap.createBitmap(mRenderSpec.bitmapWidth, local 833 Bitmap bitmap = mRenderedPage.content.getBitmap(); local [all...] |
/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 | 62 import android.graphics.Bitmap; 397 * @param freshRender whether the render is a new one and should erase the existing bitmap (in 460 // create an Android bitmap around the BufferedImage 461 Bitmap bitmap = Bitmap_Delegate.createBitmap(mImage, local 465 // create a Canvas around the Android bitmap 466 mCanvas = new Canvas(bitmap); 468 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...] |