HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 1 - 25 of 864) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/skia/gm/
smallimage.cpp 5 SkBitmap bitmap; local
6 if (GetResourceAsBitmap("randPixels.png", &bitmap)) {
7 canvas->drawBitmap(bitmap, 0.0f, 0.0f);
  /external/pdfium/core/src/fpdfapi/fpdf_page/
fpdf_page_func_embeddertest.cpp 17 FPDF_BITMAP bitmap = RenderPage(page); local
18 FPDFBitmap_Destroy(bitmap);
  /external/pdfium/core/src/fpdfapi/fpdf_render/
fpdf_render_loadimage_embeddertest.cpp 16 FPDF_BITMAP bitmap = RenderPage(page); local
17 FPDFBitmap_Destroy(bitmap);
26 FPDF_BITMAP bitmap = RenderPage(page); local
27 FPDFBitmap_Destroy(bitmap);
fpdf_render_pattern_embeddertest.cpp 14 FPDF_BITMAP bitmap = RenderPage(page); local
15 FPDFBitmap_Destroy(bitmap);
  /external/skia/tools/
test_image_decoder.cpp 25 SkBitmap bitmap; local
26 if (!(SkImageDecoder::DecodeFile(argv[1], &bitmap))) {
29 if (bitmap.empty()) {
  /external/skia/src/utils/
SkBitmapSourceDeserializer.cpp 26 SkBitmap bitmap; local
27 if (!buffer.readBitmap(&bitmap)) {
30 bitmap.setImmutable();
32 SkAutoTUnref<SkImage> image(SkImage::NewFromBitmap(bitmap));
  /external/skia/tests/
PictureShaderTest.cpp 19 SkBitmap bitmap; local
20 bitmap.allocN32Pixels(1,1);
22 SkCanvas canvas(bitmap);
30 REPORTER_ASSERT(reporter, *bitmap.getAddr32(0,0) == SK_ColorGREEN);
41 REPORTER_ASSERT(reporter, *bitmap.getAddr32(0,0) == SK_ColorGREEN);
PDFInvalidBitmapTest.cpp 33 SkBitmap bitmap; local
34 bitmap.setInfo(imageInfo);
35 bitmap.setPixelRef(new InvalidPixelRef(imageInfo))->unref();
36 return bitmap;
  /frameworks/opt/bitmap/src/com/android/bitmap/
BitmapCache.java 17 package com.android.bitmap;
DecodeAggregator.java 17 package com.android.bitmap;
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
BitmapResource.java 1 package com.bumptech.glide.load.resource.bitmap;
3 import android.graphics.Bitmap;
10 * A resource wrapping a {@link android.graphics.Bitmap} object.
12 public class BitmapResource implements Resource<Bitmap> {
13 private final Bitmap bitmap; field in class:BitmapResource
17 * Returns a new {@link BitmapResource} wrapping the given {@link Bitmap} if the Bitmap is non-null or null if the
18 * given Bitmap is null.
20 * @param bitmap A Bitmap
    [all...]
FileDescriptorBitmapDecoder.java 1 package com.bumptech.glide.load.resource.bitmap;
4 import android.graphics.Bitmap;
16 * An {@link com.bumptech.glide.load.ResourceDecoder} for decoding {@link android.graphics.Bitmap}s from
19 public class FileDescriptorBitmapDecoder implements ResourceDecoder<ParcelFileDescriptor, Bitmap> {
44 public Resource<Bitmap> decode(ParcelFileDescriptor source, int width, int height) throws IOException {
45 Bitmap bitmap = bitmapDecoder.decode(source, bitmapPool, width, height, decodeFormat); local
46 return BitmapResource.obtain(bitmap, bitmapPool);
51 return "FileDescriptorBitmapDecoder.com.bumptech.glide.load.data.bitmap";
StreamBitmapDecoder.java 1 package com.bumptech.glide.load.resource.bitmap;
4 import android.graphics.Bitmap;
16 * {@link com.bumptech.glide.load.resource.bitmap.Downsampler} to decode an {@link android.graphics.Bitmap} from an
19 public class StreamBitmapDecoder implements ResourceDecoder<InputStream, Bitmap> {
20 private static final String ID = "StreamBitmapDecoder.com.bumptech.glide.load.resource.bitmap";
49 public Resource<Bitmap> decode(InputStream source, int width, int height) {
50 Bitmap bitmap = downsampler.decode(source, bitmapPool, width, height, decodeFormat); local
51 return BitmapResource.obtain(bitmap, bitmapPool)
    [all...]
BitmapEncoder.java 1 package com.bumptech.glide.load.resource.bitmap;
3 import android.graphics.Bitmap;
14 * An {@link com.bumptech.glide.load.ResourceEncoder} that writes {@link android.graphics.Bitmap}s to
18 * {@link android.graphics.Bitmap}s that return true from {@link android.graphics.Bitmap#hasAlpha()}} are written
19 * using {@link android.graphics.Bitmap.CompressFormat#PNG} to preserve alpha and all other bitmaps are written
20 * using {@link android.graphics.Bitmap.CompressFormat#JPEG}.
23 * @see android.graphics.Bitmap#compress(android.graphics.Bitmap.CompressFormat, int, java.io.OutputStream)
25 public class BitmapEncoder implements ResourceEncoder<Bitmap> {
42 final Bitmap bitmap = resource.get(); local
    [all...]
  /frameworks/support/v4/tests/java/android/support/v4/testutils/
TestUtils.java 23 import android.graphics.Bitmap;
94 // Create a bitmap
95 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight, Bitmap.Config.ARGB_8888); local
96 // Create a canvas that wraps the bitmap
97 Canvas canvas = new Canvas(bitmap);
100 // And ask the drawable to draw itself to the canvas / bitmap
106 bitmap.getPixels(rowPixels, 0, drawableWidth, 0, row, drawableWidth, 1)
    [all...]
  /external/c-ares/
ares_getsock.c 31 int bitmap = 0; local
50 bitmap |= ARES_GETSOCK_READABLE(setbits, sockindex);
62 bitmap |= ARES_GETSOCK_READABLE(setbits, sockindex);
66 bitmap |= ARES_GETSOCK_WRITABLE(setbits, sockindex);
71 return bitmap;
  /external/webrtc/webrtc/modules/desktop_capture/
desktop_frame_win.h 23 // Frame data is stored in a GDI bitmap.
31 HBITMAP bitmap() { return bitmap_; } function in class:webrtc::DesktopFrameWin
38 HBITMAP bitmap);
  /external/wpa_supplicant_8/src/ap/
p2p_hostapd.c 96 u8 bitmap; local
105 bitmap = P2P_MAN_DEVICE_MANAGEMENT;
107 bitmap |= P2P_MAN_CROSS_CONNECTION_PERMITTED;
108 bitmap |= P2P_MAN_COEXISTENCE_OPTIONAL;
109 *eid++ = bitmap;
  /frameworks/base/libs/hwui/tests/unit/
SkiaBehaviorTests.cpp 37 SkBitmap bitmap; local
39 ASSERT_TRUE(s->isABitmap(&bitmap, nullptr, xy))
40 << "1x1 bitmap shader must query as bitmap shader";
43 EXPECT_EQ(origBitmap.pixelRef(), bitmap.pixelRef());
47 SkBitmap bitmap = TestUtils::createSkBitmap(100, 100); local
48 uint32_t genId = bitmap.getGenerationID();
49 bitmap.notifyPixelsChanged();
50 EXPECT_NE(genId, bitmap.getGenerationID());
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
Parallaxable.java 17 package com.android.bitmap.drawable;
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
ImageEncoder.java 26 import android.graphics.Bitmap;
27 import android.graphics.Bitmap.CompressFormat;
55 Bitmap bitmap = input.getBitmap(); local
56 bitmap.compress(CompressFormat.JPEG, mQuality, mOutputStream);
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
CanvasTexture.java 19 import android.graphics.Bitmap;
20 import android.graphics.Bitmap.Config;
24 // The subclasses should override onDraw() to draw on the bitmap.
37 protected Bitmap onGetBitmap() {
38 Bitmap bitmap = Bitmap.createBitmap(mWidth, mHeight, mConfig); local
39 mCanvas = new Canvas(bitmap);
40 onDraw(mCanvas, bitmap);
41 return bitmap;
    [all...]
  /cts/tests/tests/view/src/android/view/cts/util/
DrawingUtils.java 19 import android.graphics.Bitmap;
33 * offscreen bitmap and checks each pixel to match the expected color. The expected color
44 // Create a bitmap that matches the size of our view
45 final Bitmap bitmap = Bitmap.createBitmap(viewWidth, viewHeight, Bitmap.Config.ARGB_8888); local
46 // Create a canvas that wraps the bitmap
47 final Canvas canvas = new Canvas(bitmap);
48 // And ask the view to draw itself to the canvas / bitmap
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
VideoThumbnailRequest.java 21 import android.graphics.Bitmap;
59 protected Bitmap getBitmapForResource() throws IOException {
61 Bitmap bitmap = null; local
64 bitmap = Thumbnails.getThumbnail(cr, mediaId, Thumbnails.MICRO_KIND, null);
69 bitmap = retriever.getFrameAtTime();
74 if (bitmap != null) {
75 mDescriptor.updateSourceDimensions(bitmap.getWidth(), bitmap.getHeight());
77 return bitmap;
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
SkiaICORecursiveDecodingTest.java 19 import android.graphics.Bitmap;
46 Bitmap bitmap = BitmapFactory.decodeStream(exploitImage); local

Completed in 626 milliseconds

1 2 3 4 5 6 7 8 91011>>