HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 501 - 525 of 800) sorted by null

<<21222324252627282930>>

  /external/pdfium/core/src/fpdfapi/fpdf_render/
fpdf_render_image.cpp 996 CFX_DIBitmap& bitmap = *bitmap_device.GetBitmap(); local
    [all...]
fpdf_render_text.cpp 485 CFX_DIBitmap bitmap; local
486 if (!bitmap.Create((int)(rect.Width() * sa), (int)(rect.Height() * sd), FXDIB_8bppMask)) {
490 bitmap.Clear(0);
496 bitmap.TransferBitmap((int)((glyph.m_OriginX + glyph.m_pGlyph->m_Left - rect.left) * sa),
501 m_pDevice->SetBitMask(&bitmap, rect.left, rect.top, fill_argb);
  /external/selinux/libsepol/cil/src/
cil_post.c 582 cil_log(CIL_ERR, "Failed to expand type attribute to bitmap\n");
590 static int __cil_type_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *db)
595 ebitmap_init(bitmap);
603 ebitmap_union(bitmap, attr->types);
607 if (ebitmap_set_bit(bitmap, type->value, 1)) {
609 ebitmap_destroy(bitmap);
614 if (ebitmap_set_bit(bitmap, type->value, 1)) {
616 ebitmap_destroy(bitmap);
634 cil_log(CIL_ERR, "Failed to expand role attribute to bitmap\n");
642 static int __cil_role_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *db
689 ebitmap_t bitmap; local
976 ebitmap_t bitmap; local
1386 ebitmap_t bitmap; local
    [all...]
  /external/skia/src/effects/
SkBlurMaskFilter.cpp 216 SkBitmap bitmap; local
217 bitmap.installMaskPixels(*mask);
219 SkCanvas canvas(bitmap);
234 SkBitmap bitmap; local
235 bitmap.installPixels(SkImageInfo::Make(mask->fBounds.width(),
241 SkCanvas canvas(bitmap);
    [all...]
  /external/skia/src/effects/gradients/
SkGradientShader.cpp 612 * over and over, we'd like to return exactly the same "bitmap" if possible,
613 * allowing the client to utilize a cache of our bitmap (e.g. with a GPU).
618 void SkGradientShaderBase::getGradientTableBitmap(SkBitmap* bitmap) const {
646 // each cache cost 1K of RAM, since each bitmap will be 1x256 at 32bpp
655 if (!gCache->find(storage.get(), size, bitmap)) {
658 bitmap->setInfo(SkImageInfo::MakeN32Premul(kCache32Count, 1));
659 bitmap->setPixelRef(cache->getCache32PixelRef());
661 gCache->add(storage.get(), size, *bitmap);
1083 SkBitmap bitmap; local
    [all...]
  /external/skia/src/images/
SkImageDecoder_libjpeg.cpp 242 bool onDecodeSubset(SkBitmap* bitmap, const SkIRect& rect) override;
257 * Determine the appropriate bitmap colortype and out_color_space based on
403 * resulting bitmap.
516 Sets all pixels in given bitmap to SK_ColorWHITE for all rows >= y.
519 static void fill_below_level(int y, SkBitmap* bitmap) {
520 SkIRect rect = SkIRect::MakeLTRB(0, y, bitmap->width(), bitmap->height());
521 SkCanvas canvas(*bitmap);
607 // Assume an A8 bitmap is not opaque to avoid the check of each
609 // an opaque A8 bitmap would not be very interesting
1066 SkBitmap bitmap; local
    [all...]
  /external/skia/tests/
CanvasTest.cpp 170 SkBitmap bitmap; local
171 createBitmap(&bitmap, 0x05060708);
172 return bitmap;
PictureTest.cpp 64 // CreateBitmapShader is too smart for us; an empty (or 1x1) bitmap shader
65 // gets optimized into a non-bitmap form, so we create a 2x2 bitmap here.
66 SkBitmap bitmap; local
67 bitmap.allocPixels(SkImageInfo::MakeN32Premul(2, 2));
68 bitmap.eraseColor(SK_ColorBLUE);
69 *(bitmap.getAddr32(0, 0)) = SK_ColorGREEN;
70 SkShader* shader = SkShader::CreateBitmapShader(bitmap, SkShader::kClamp_TileMode,
820 // This bitmap has a width and height but no pixels. As a result, attempting to record it will
834 static SkData* serialized_picture_from_bitmap(const SkBitmap& bitmap) {
    [all...]
SkpSkGrTest.cpp 48 {1, "http___accuweather_com_.skp"}, // Couldn't convert bitmap to texture.http___absoku072_com_
367 static void writePict(const SkBitmap& bitmap, const char* outDir, const char* pngName) {
369 if (!SkImageEncoder::EncodeFile(outFile.c_str(), bitmap,
372 bitmap.width(), bitmap.height());
421 SkBitmap bitmap; local
426 bool success = bitmap.allocN32Pixels(dim.fX, dim.fY);
433 SkDebugf("unable to allocate bitmap for %s (w=%d h=%d) (sw=%d sh=%d)\n",
437 SkCanvas skCanvas(bitmap);
460 fPixelError = similarBits(grBitmap, bitmap);
    [all...]
  /frameworks/base/core/java/android/provider/
DocumentsContract.java 29 import android.graphics.Bitmap;
827 public static Bitmap getDocumentThumbnail(
851 Bitmap bitmap = null; local
    [all...]
  /frameworks/base/core/jni/android/graphics/
Bitmap.cpp 1 #define LOG_TAG "Bitmap"
2 #include "Bitmap.h"
36 WrappedPixelRef(Bitmap* wrapper, void* storage,
63 // to prevent things like a non-opaque RGB565 bitmap
117 Bitmap& mBitmap;
128 Bitmap::Bitmap(JNIEnv* env, jbyteArray storageObj, void* address,
140 Bitmap::Bitmap(void* address, void* context, FreeFunc freeFunc,
152 Bitmap::Bitmap(void* address, int fd
728 SkBitmap bitmap; local
756 Bitmap* bitmap = allocator.getStorageObjAndReset(); local
770 Bitmap* bitmap = allocator.getStorageObjAndReset(); local
1071 SkBitmap bitmap; local
1176 SkBitmap bitmap; local
1197 SkBitmap bitmap; local
1225 SkBitmap bitmap; local
1245 SkBitmap bitmap; local
1253 SkBitmap bitmap; local
1268 SkBitmap bitmap; local
    [all...]
  /frameworks/base/core/jni/
android_graphics_Canvas.cpp 41 // Native wrapper constructor used by Canvas(Bitmap)
43 SkBitmap bitmap; local
45 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap);
47 return reinterpret_cast<jlong>(Canvas::create_canvas(bitmap));
50 // Set the given bitmap as the new draw target (wrapped in a new SkCanvas),
53 SkBitmap bitmap; local
55 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap);
57 get_canvas(canvasHandle)->setBitmap(bitmap);
325 SkBitmap bitmap; local
326 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap);
361 SkBitmap bitmap; local
373 SkBitmap bitmap; local
398 SkBitmap bitmap; local
420 SkBitmap bitmap; local
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
BitmapDrawable.java 24 import android.graphics.Bitmap;
54 * A Drawable that wraps a bitmap and can be tiled, stretched, or aligned. You can create a
56 * a {@link android.graphics.Bitmap} object.
57 * <p>It can be defined in an XML file with the <code>&lt;bitmap></code> element. For more
61 * Also see the {@link android.graphics.Bitmap} class, which handles the management and
62 * transformation of raw bitmap graphics, and should be used when drawing to a
107 * @deprecated Use {@link #BitmapDrawable(android.content.res.Resources, android.graphics.Bitmap)}
108 * instead to specify a bitmap to draw with and ensure the correct density is set.
112 mBitmapState = new BitmapState((Bitmap) null);
119 * @deprecated Use {@link #BitmapDrawable(android.content.res.Resources, android.graphics.Bitmap)}
213 final Bitmap bitmap = mBitmapState.mBitmap; local
495 final Bitmap bitmap = mBitmapState.mBitmap; local
762 final Bitmap bitmap = BitmapFactory.decodeResource(r, srcResId); local
882 final Bitmap bitmap = mBitmapState.mBitmap; local
    [all...]
  /frameworks/base/services/core/java/com/android/server/
AssetAtlasService.java 24 import android.graphics.Bitmap;
117 // Describes how bitmaps are placed in the atlas. Each bitmap is
119 // long0: SkBitmap*, the native bitmap object
135 Collection<Bitmap> bitmaps = new HashSet<Bitmap>(300);
152 ArrayList<Bitmap> sortedBitmaps = new ArrayList<Bitmap>(bitmaps);
154 // The comparator will sort the bitmap by width first, then by height
155 Collections.sort(sortedBitmaps, new Comparator<Bitmap>() {
157 public int compare(Bitmap b1, Bitmap b2)
270 final Bitmap bitmap = mBitmaps.get(i); local
697 final Bitmap bitmap = mBitmaps.get(i); local
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
BackingStore.java 18 import android.graphics.Bitmap;
43 /** Access mode Bitmap: Frame data will be accessed as a Bitmap. */
489 private Bitmap mBitmap = null;
510 mBitmap = (Bitmap) backing.lock(ACCESS_BITMAP);
559 // As we share the bitmap with other backings (such as object backings), we must not
571 // We can assume that data will always be a Bitmap instance.
572 mBitmap = (Bitmap) data;
576 mBitmap = Bitmap.createBitmap(mDimensions[0], mDimensions[1], Bitmap.Config.ARGB_8888)
608 Bitmap bitmap = (Bitmap) backing.lock(ACCESS_BITMAP); local
729 Bitmap bitmap = (Bitmap) backing.lock(ACCESS_BITMAP); local
850 Bitmap bitmap = (Bitmap) backing.lock(ACCESS_BITMAP); local
    [all...]
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
ExtendedBitmapDrawable.java 17 package com.android.bitmap.drawable;
33 import com.android.bitmap.BitmapCache;
34 import com.android.bitmap.DecodeAggregator;
35 import com.android.bitmap.DecodeTask;
36 import com.android.bitmap.R;
37 import com.android.bitmap.RequestKey;
38 import com.android.bitmap.ReusableBitmap;
39 import com.android.bitmap.util.Trace;
42 * This class encapsulates all functionality needed to display a single image bitmap,
46 * The actual bitmap decode work is handled by {@link DecodeTask}
    [all...]
  /frameworks/rs/
rsFont.cpp 114 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH) {
134 bitmap[bY * bitmapW + bX] = tempCol;
164 uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) {
207 case BITMAP:
208 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH);
252 FT_Bitmap *bitmap = &mFace->glyph->bitmap; local
254 // Now copy the bitmap into the cache texture
258 // Let the font state figure out where to put the bitmap
260 glyph->mIsValid = state->cacheBitmap(bitmap, &startX, &startY)
    [all...]
  /packages/apps/Browser/src/com/android/browser/
BrowserBookmarksPage.java 33 import android.graphics.Bitmap;
233 static Bitmap getBitmap(Cursor cursor, int columnIndex) {
243 static Bitmap getBitmap(Cursor cursor, int columnIndex, Bitmap inBitmap) {
255 // Failed to re-use bitmap, create a new one
311 Bitmap bitmap = local
313 item.setFavicon(bitmap);
319 Bitmap bitmap = getBitmap(cursor, BookmarksLoader.COLUMN_INDEX_FAVICON) local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
ContactEditorFragment.java 22 import android.graphics.Bitmap;
409 * @param rawContactId identifies the raw-contact whose Bitmap we'll try to return.
543 private void setPhoto(long rawContact, Bitmap photo, Uri photoUri) {
548 Log.w(TAG, "Invalid bitmap passed to setPhoto()");
710 // Prevent bitmap from being restored if rotate the device.
718 final Bitmap bitmap = ContactPhotoUtils.getBitmapFromUri(mContext, uri); local
719 setPhoto(mRawContactId, bitmap, uri);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
ImagePreset.java 19 import android.graphics.Bitmap;
439 public Bitmap apply(Bitmap original, FilterEnvironment environment) {
440 Bitmap bitmap = original; local
441 bitmap = applyFilters(bitmap, -1, -1, environment);
442 return applyBorder(bitmap, environment);
470 public Bitmap applyGeometry(Bitmap bitmap, FilterEnvironment environment)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
SaveImage.java 24 import android.graphics.Bitmap;
85 private final Bitmap mPreviewImage;
133 File destination, Bitmap previewImage, Callback callback) {
266 public boolean putExifData(File file, ExifInterface exif, Bitmap image,
272 image.compress(Bitmap.CompressFormat.JPEG,
372 // If we succeed in writing the bitmap as a jpeg, return a uri.
395 // Try to do bitmap operations, downsample if low-memory
396 Bitmap bitmap = ImageLoader.loadOrientedBitmapWithBackouts(mContext, newSourceUri, local
398 if (bitmap == null)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
AlbumSetSlidingWindow.java 19 import android.graphics.Bitmap;
388 Bitmap bitmap = mLabelMaker.requestLabel( local
391 mLoadingLabel = new BitmapTexture(bitmap);
430 protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l) {
436 protected void onLoadComplete(Bitmap bitmap) {
442 Bitmap bitmap = getBitmap() local
506 Bitmap bitmap = getBitmap(); local
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
DragController.java 21 import android.graphics.Bitmap;
169 * @param bmp The bitmap that represents the view being dragged
174 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged.
177 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo, int dragAction,
199 * @param b The bitmap to display as the drag image. It will be re-scaled to the
201 * @param dragLayerX The x position in the DragLayer of the left-top of the bitmap.
202 * @param dragLayerY The y position in the DragLayer of the left-top of the bitmap.
207 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged.
210 public void startDrag(Bitmap b, int dragLayerX, int dragLayerY,
261 * Draw the view into a bitmap
287 Bitmap bitmap = Bitmap.createBitmap(cacheBitmap); local
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
DragController.java 22 import android.graphics.Bitmap;
172 * @param bmp The bitmap that represents the view being dragged
178 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged.
181 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo,
201 * @param b The bitmap to display as the drag image. It will be re-scaled to the
203 * @param dragLayerX The x position in the DragLayer of the left-top of the bitmap.
204 * @param dragLayerY The y position in the DragLayer of the left-top of the bitmap.
209 * @param dragRegion Coordinates within the bitmap b for the position of item being dragged.
213 public DragView startDrag(Bitmap b, int dragLayerX, int dragLayerY,
273 * Draw the view into a bitmap
299 Bitmap bitmap = Bitmap.createBitmap(cacheBitmap); local
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/sms/
DatabaseMessages.java 24 import android.graphics.Bitmap;
742 final Bitmap bitmap = retriever.getFrameAtTime(-1); local
743 if (bitmap != null) {
744 mWidth = bitmap.getWidth();
745 mHeight = bitmap.getHeight();
748 LogUtil.i(LogUtil.BUGLE_TAG, "loadVideo: Got null bitmap from " + uri);
    [all...]

Completed in 1873 milliseconds

<<21222324252627282930>>