Searched refs:bitmap (Results 251 - 275 of 1242) sorted by relevance

<<11121314151617181920>>

/external/mesa3d/src/mesa/swrast/
H A Ds_bitmap.c44 * Render a bitmap.
52 const GLubyte *bitmap )
63 bitmap = (const GLubyte *) _mesa_map_pbo_source(ctx, unpack, bitmap);
64 if (!bitmap)
79 bitmap, width, height, GL_COLOR_INDEX, GL_BITMAP, row, 0);
151 const GLubyte *bitmap )
158 ASSERT(bitmap);
177 bitmap, width, height, GL_COLOR_INDEX, GL_BITMAP, row, 0);
/external/qemu/distrib/sdl-1.2.15/src/video/caca/
H A DSDL_cacavideo.h53 struct caca_bitmap *bitmap; member in struct:SDL_PrivateVideoData
64 #define Caca_bitmap (this->hidden->bitmap)
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowCanvas.java32 public void __constructor__(Bitmap bitmap) { argument
33 this.targetBitmap = bitmap;
73 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { argument
74 describeBitmap(bitmap, paint);
95 private void describeBitmap(Bitmap bitmap, Paint paint) { argument
98 appendDescription(shadowOf(bitmap).getDescription());
115 public void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) { argument
116 describeBitmap(bitmap, paint);
/external/skia/dm/
H A DDMUtil.cpp33 void AllocatePixels(SkColorType ct, int width, int height, SkBitmap* bitmap) { argument
34 bitmap->allocPixels(SkImageInfo::Make(width, height, ct, kPremul_SkAlphaType));
35 bitmap->eraseColor(0x00000000);
38 void AllocatePixels(const SkBitmap& reference, SkBitmap* bitmap) { argument
39 AllocatePixels(reference.colorType(), reference.width(), reference.height(), bitmap);
42 void DrawPicture(SkPicture* picture, SkBitmap* bitmap) { argument
44 SkASSERT(bitmap != NULL);
45 SkCanvas canvas(*bitmap);
H A DDMWriteTask.h11 // Writes a bitmap to a file.
19 SkBitmap bitmap); // Bitmap to encode to PNG and write to disk.
29 // Reads image files WriteTask wrote under root and compares them with bitmap.
34 bool check(const Task& task, SkBitmap bitmap) const SK_OVERRIDE;
/external/skia/src/pdf/
H A DSkPDFImage.h33 /** Create a new Image XObject to represent the passed bitmap.
34 * @param bitmap The image to encode.
35 * @param srcRect The rectangle to cut out of bitmap.
40 static SkPDFImage* CreateImage(const SkBitmap& bitmap,
72 * (instead of the input bitmap) will be used as the
74 * @param bitmap The image. If a stream is not given, its color data
78 * @param srcRect The clipping applied to bitmap before generating
80 * @param encoder A function used to encode the bitmap for compression.
83 SkPDFImage(SkStream* stream, const SkBitmap& bitmap, bool isAlpha,
/external/skia/tools/
H A Dimage_expectations.h26 * Create an ImageDigest of a bitmap.
29 * the bitmap. You may wish to consider using the BitmapAndDigest class, which will
32 * @param bitmap image to get the digest of
34 explicit ImageDigest(const SkBitmap &bitmap);
69 explicit BitmapAndDigest(const SkBitmap &bitmap);
/external/skia/src/core/
H A DSkBitmapDevice.cpp60 SkBitmapDevice::SkBitmapDevice(const SkBitmap& bitmap) : fBitmap(bitmap) { argument
61 SkASSERT(valid_for_bitmap_device(bitmap.info(), NULL));
64 SkBitmapDevice::SkBitmapDevice(const SkBitmap& bitmap, const SkDeviceProperties& deviceProperties) argument
66 , fBitmap(bitmap)
68 SkASSERT(valid_for_bitmap_device(bitmap.info(), NULL));
78 SkBitmap bitmap; local
81 if (!bitmap.setInfo(info)) {
85 if (!bitmap.allocPixels(info)) {
88 if (!bitmap
307 drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, const SkMatrix& matrix, const SkPaint& paint) argument
312 drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, const SkRect* src, const SkRect& dst, const SkPaint& paint, SkCanvas::DrawBitmapRectFlags flags) argument
399 drawSprite(const SkDraw& draw, const SkBitmap& bitmap, int x, int y, const SkPaint& paint) argument
[all...]
/external/chromium_org/cc/blink/
H A Dweb_nine_patch_layer_impl.h25 virtual void setBitmap(const SkBitmap& bitmap);
/external/chromium_org/cc/test/
H A Dfake_picture_pile_impl.h37 void add_draw_bitmap(const SkBitmap& bitmap, const gfx::Point& point) { argument
38 client_.add_draw_bitmap(bitmap, point, default_paint_);
45 void add_draw_bitmap_with_paint(const SkBitmap& bitmap, argument
48 client_.add_draw_bitmap(bitmap, point, paint);
H A Dfake_ui_resource_layer_tree_host_impl.cc20 const UIResourceBitmap& bitmap) {
26 data.size = bitmap.GetSize();
27 data.opaque = bitmap.GetOpaque();
18 CreateUIResource( UIResourceId uid, const UIResourceBitmap& bitmap) argument
/external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/
H A Dwallpaper_manager_unittest.cc57 SkBitmap bitmap; local
58 bitmap.allocN32Pixels(1, 1);
59 bitmap.eraseColor(color);
60 return gfx::ImageSkia::CreateFrom1xBitmap(bitmap);
/external/chromium_org/chrome/browser/media/
H A Dfake_desktop_media_list.cc54 SkBitmap bitmap; local
55 bitmap.allocN32Pixels(150, 150);
56 bitmap.eraseARGB(255, 0, 255, 0);
57 thumbnail_ = gfx::ImageSkia::CreateFrom1xBitmap(bitmap);
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_avatar_downloader.h22 virtual void OnFetchComplete(const GURL url, const SkBitmap* bitmap) OVERRIDE;
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dskia_utils_gtk2.h38 GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap& bitmap);
/external/chromium_org/third_party/WebKit/Source/core/imagebitmap/
H A DImageBitmapFactories.idl55 [CallWith=ScriptState, RaisesException] Promise createImageBitmap(ImageBitmap bitmap);
56 [CallWith=ScriptState, RaisesException] Promise createImageBitmap(ImageBitmap bitmap, long sx, long sy, long sw, long sh);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
H A DNativeImageSkia.cpp84 SkISize imageSize = SkISize::Make(bitmap().width(), bitmap().height());
132 ASSERT(!DeferredImageDecoder::isLazyDecoded(bitmap()));
141 SkBitmap resizedImage = skia::ImageOperations::Resize(bitmap(), skia::ImageOperations::RESIZE_LANCZOS3, scaledImageSize.width(), scaledImageSize.height(), scaledImageSubset);
166 bool isLazyDecoded = DeferredImageDecoder::isLazyDecoded(bitmap());
172 // Note: for serialization, we will want to subset the bitmap first so we
174 context->drawBitmapRect(bitmap(), &srcRect, destRect, &paint);
177 PlatformInstrumentation::didDrawLazyPixelRef(bitmap().getGenerationID());
178 context->didDrawRect(destRect, paint, &bitmap());
181 static SkBitmap createBitmapWithSpace(const SkBitmap& bitmap, in argument
[all...]
/external/chromium_org/ui/base/cursor/
H A Dcursors_aura.h38 // Returns the cursor bitmap for |cursor|. Returns false if |cursor| is invalid.
41 GetCursorBitmap(const Cursor& cursor, SkBitmap* bitmap, gfx::Point* point);
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
H A DModelLoader.java5 import com.bumptech.glide.load.resource.bitmap.BitmapDecoder;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
8 * A bitmap decoder for a given resource type.
14 * Returns a decoded bitmap for a given resource and target dimensions.
17 * @param bitmapPool A bitmap pool that can be used to reuse bitmaps during the load. Any bitmaps created or
18 * obtained from the pool other than the bitmap returned by this method should be returned to the
20 * @param outWidth The target width for the returned bitmap (need not match exactly).
21 * @param outHeight The target height for the returned bitmap (need not match exactly).
22 * @param decodeFormat The desired configuration for the returned bitmap.
/external/jemalloc/src/
H A Dbitmap.c64 bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo) argument
70 * Bits are actually inverted with regard to the external bitmap
71 * interface, so the bitmap starts out with all 1 bits, except for
76 memset(bitmap, 0xffU, binfo->levels[binfo->nlevels].group_offset <<
81 bitmap[binfo->levels[1].group_offset - 1] >>= extra;
88 bitmap[binfo->levels[i+1].group_offset - 1] >>= extra;
/external/replicaisland/src/com/replica/replicaisland/
H A DHudSystem.java300 DrawableBitmap bitmap = factory.allocateDrawableBitmap();
301 if (bitmap != null) {
302 bitmap.resize(barWidth, mFuelDrawable.getHeight());
303 bitmap.setTexture(mFuelDrawable.getTexture());
304 render.scheduleForDraw(bitmap, location, SortConstants.HUD + 1, false);
314 DrawableBitmap bitmap = mFlyButtonEnabledDrawable;
316 bitmap = mFlyButtonDepressedDrawable;
318 bitmap = mFlyButtonDisabledDrawable;
321 if (bitmap.getWidth() == 0) {
323 Texture tex = bitmap
[all...]
/external/chromium_org/cc/output/
H A Dcopy_output_result.h25 scoped_ptr<SkBitmap> bitmap) {
26 return make_scoped_ptr(new CopyOutputResult(bitmap.Pass()));
49 explicit CopyOutputResult(scoped_ptr<SkBitmap> bitmap);
24 CreateBitmapResult( scoped_ptr<SkBitmap> bitmap) argument
/external/chromium_org/cc/resources/
H A Dpicture_pile_impl_perftest.cc53 SkBitmap bitmap; local
54 bitmap.allocN32Pixels(1, 1);
55 SkCanvas canvas(bitmap);
H A Dshared_bitmap.h24 const base::Callback<void(SharedBitmap* bitmap)>& free_callback);
28 const base::Callback<void(SharedBitmap* bitmap)>& free_callback);
63 base::Callback<void(SharedBitmap* bitmap)> free_callback_;

Completed in 615 milliseconds

<<11121314151617181920>>