/external/webkit/Source/WebCore/platform/qt/ |
QWebPageClient.h | 69 if (!cursor().bitmap() && cursor().shape() == m_lastCursor.shape()) 77 if (!cursor.bitmap() && cursor.shape() == this->cursor().shape())
|
/frameworks/base/core/java/android/view/ |
GLES20Layer.java | 20 import android.graphics.Bitmap; 56 public boolean copyInto(Bitmap bitmap) { 57 return GLES20Canvas.nCopyLayer(mLayer, bitmap.mNativeBitmap);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
ImageEncoder.java | 28 import android.graphics.Bitmap; 29 import android.graphics.Bitmap.CompressFormat; 60 Bitmap bitmap = input.getBitmap(); local 61 bitmap.compress(CompressFormat.JPEG, mQuality, mOutputStream);
|
/frameworks/base/native/graphics/jni/ |
Android.mk | 19 bitmap.cpp
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumLabelMaker.java | 20 import android.graphics.Bitmap; 21 import android.graphics.Bitmap.Config; 66 private Bitmap getOverlayAlbumIcon(int sourceType) { 91 private Bitmap mBitmap; 98 public synchronized Bitmap get() { 101 options.inPreferredConfig = Bitmap.Config.ARGB_8888; 117 public ThreadPool.Job<Bitmap> requestLabel( 132 private class AlbumLabelJob implements ThreadPool.Job<Bitmap> { 144 public Bitmap run(JobContext jc) { 149 Bitmap icon = getOverlayAlbumIcon(mSourceType) 151 Bitmap bitmap; local [all...] |
TiledScreenNail.java | 19 import android.graphics.Bitmap; 27 // This is a ScreenNail wraps a Bitmap. There are some extra functions: 29 // - If we need to draw before the bitmap is available, we draw a rectange of 32 // - When the the bitmap is available, and we have drawn the placeholder color 52 private Bitmap mBitmap; 55 public TiledScreenNail(Bitmap bitmap) { 56 mWidth = bitmap.getWidth(); 57 mHeight = bitmap.getHeight(); 58 mBitmap = bitmap; [all...] |
/packages/apps/Gallery2/tests/src/com/android/gallery3d/glrenderer/ |
TextureTest.java | 19 import android.graphics.Bitmap; 20 import android.graphics.Bitmap.Config; 126 Bitmap mBitmap; 128 protected Bitmap onGetBitmap() { 131 mBitmap = Bitmap.createBitmap(47, 42, config); 135 protected void onFreeBitmap(Bitmap bitmap) { 137 assertSame(mBitmap, bitmap); 149 // draw it and the bitmap should be fetched. 163 // draw it again and the bitmap should be fetched again 201 Bitmap bitmap = Bitmap.createBitmap(47, 42, config); local [all...] |
/external/valgrind/main/drd/ |
drd_bitmap.h | 38 /* Bitmap representation. A bitmap is a data structure in which two bits are 237 /** Set the bit corresponding to address a in bitmap bm0. */ 249 * in bitmap bm0. 264 /** Clear the bit corresponding to address a in bitmap bm0. */ 276 * in bitmap bm0. 298 /** Test whether the bit corresponding to address a is set in bitmap bm0. */ 327 /* Functions for manipulating a struct bitmap. */ 331 /* Second level bitmap. */ 342 struct bitmap2* bm2_insert(struct bitmap* const bm, const UWord a1) [all...] |
/external/skia/bench/ |
PictureRecordBench.cpp | 104 // create a simple bitmap 105 SkBitmap bitmap; local 106 bitmap.setConfig(SkBitmap::kRGB_565_Config, 10, 10); 107 bitmap.allocPixels(); 109 // draw a single color into the bitmap 110 SkCanvas bitmapCanvas(bitmap); 113 // draw the bitmap onto the canvas 114 canvas->drawBitmapMatrix(bitmap, matrix);
|
/external/skia/include/utils/ |
SkDeferredCanvas.h | 158 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, 161 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, 165 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, 167 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, 170 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
|
/frameworks/base/libs/hwui/font/ |
Font.h | 103 BITMAP, 110 int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap, 123 uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH, 126 uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH, 129 uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH, 132 uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH,
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
Frame.java | 22 import android.graphics.Bitmap; 89 } else if (object instanceof Bitmap) { 90 setBitmap((Bitmap)object); 118 public abstract void setBitmap(Bitmap bitmap); 120 public abstract Bitmap getBitmap(); 181 protected static Bitmap convertBitmapToRGBA(Bitmap bitmap) { 182 if (bitmap.getConfig() == Bitmap.Config.ARGB_8888) [all...] |
/external/skia/src/core/ |
SkCanvas.cpp | 113 #define CHECK_LOCKCOUNT_BALANCE(bitmap) AutoCheckLockCountBalance clcb(bitmap) 117 #define CHECK_LOCKCOUNT_BALANCE(bitmap) 136 by the device's XY offset and bitmap-bounds. 223 bitmap/device to draw into from this level. This value is NOT 541 SkCanvas::SkCanvas(const SkBitmap& bitmap) 545 this->init(SkNEW_ARGS(SkDevice, (bitmap)))->unref(); 664 bool SkCanvas::readPixels(SkBitmap* bitmap, 671 return device->readPixels(bitmap, x, y, config8888); 674 bool SkCanvas::readPixels(const SkIRect& srcRect, SkBitmap* bitmap) { [all...] |
SkOrderedReadBuffer.cpp | 169 void SkOrderedReadBuffer::readBitmap(SkBitmap* bitmap) { 172 // Bitmap was encoded. 174 if (fBitmapDecoder != NULL && fBitmapDecoder(&stream, bitmap)) { 178 // This bitmap was encoded when written, but we are unable to decode, possibly due to 179 // not having a decoder. Use a placeholder bitmap. 180 SkDebugf("Could not decode bitmap. Resulting bitmap will be red.\n"); 183 bitmap->setConfig(SkBitmap::kARGB_8888_Config, width, height); 184 bitmap->allocPixels(); 185 bitmap->eraseColor(SK_ColorRED) [all...] |
/external/skia/legacy/src/core/ |
SkCanvas.cpp | 64 by the device's XY offset and bitmap-bounds. 164 bitmap/device to draw into from this level. This value is NOT 428 SkBitmap bitmap; local 429 this->init(SkNEW_ARGS(SkDevice, (bitmap)))->unref(); 439 SkCanvas::SkCanvas(const SkBitmap& bitmap) 443 this->init(SkNEW_ARGS(SkDevice, (bitmap)))->unref(); 559 SkDevice* SkCanvas::setBitmapDevice(const SkBitmap& bitmap) { 560 SkDevice* device = this->setDevice(SkNEW_ARGS(SkDevice, (bitmap))); 565 bool SkCanvas::readPixels(SkBitmap* bitmap, 572 return device->readPixels(bitmap, x, y, config8888) [all...] |
/external/skia/tools/ |
render_pictures_main.cpp | 39 " [--device bitmap" 103 " --device bitmap" 107 ": Use the corresponding device. Default is bitmap.\n"); 109 " bitmap, Render to a bitmap.\n"); 193 SkBitmap* bitmap = NULL; local 197 validate || writeWholeImage ? &bitmap : NULL, clones); 199 if (!success || ((validate || writeWholeImage) && bitmap == NULL)) { 201 SkDELETE(bitmap); 213 SkDELETE(bitmap); [all...] |
PictureRenderer.cpp | 103 SkBitmap bitmap; local 104 sk_tools::setup_bitmap(&bitmap, width, height); 105 canvas = SkNEW_ARGS(SkCanvas, (bitmap)); 213 SkBitmap bitmap; local 215 sk_tools::setup_bitmap(&bitmap, size.width(), size.height()); 217 canvas->readPixels(&bitmap, 0, 0); 218 sk_tools::force_all_opaque(bitmap); 222 return SkImageEncoder::EncodeFile(path.c_str(), bitmap, SkImageEncoder::kPNG_Type, 100); 514 SkBitmap bitmap; local 518 setup_bitmap(&bitmap, fTileWidth, fTileHeight) 597 SkBitmap bitmap; variable [all...] |
skdiff_utils.cpp | 77 static void force_all_opaque(const SkBitmap& bitmap) { 78 SkAutoLockPixels lock(bitmap); 79 for (int y = 0; y < bitmap.height(); y++) { 80 for (int x = 0; x < bitmap.width(); x++) { 81 *bitmap.getAddr32(x, y) |= (SK_A32_MASK << SK_A32_SHIFT); 86 bool write_bitmap(const SkString& path, const SkBitmap& bitmap) { 88 bitmap.copyTo(©, SkBitmap::kARGB_8888_Config);
|
/frameworks/base/core/jni/android/graphics/ |
Graphics.cpp | 284 SkBitmap* GraphicsJNI::getNativeBitmap(JNIEnv* env, jobject bitmap) { 286 SkASSERT(bitmap); 287 SkASSERT(env->IsInstanceOf(bitmap, gBitmap_class)); 288 SkBitmap* b = (SkBitmap*)env->GetIntField(bitmap, gBitmap_nativeInstanceID); 347 jobject GraphicsJNI::createBitmap(JNIEnv* env, SkBitmap* bitmap, jbyteArray buffer, 351 SkASSERT(bitmap); 352 SkASSERT(bitmap->pixelRef()); 354 static_cast<jint>(reinterpret_cast<uintptr_t>(bitmap)), 360 jobject GraphicsJNI::createBitmap(JNIEnv* env, SkBitmap* bitmap, bool isMutable, 363 return createBitmap(env, bitmap, NULL, isMutable, ninepatch, NULL, density) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
ImageLoader.java | 24 import android.graphics.Bitmap; 25 import android.graphics.Bitmap.CompressFormat; 30 import android.graphics.Bitmap.CompressFormat; 64 // TODO: this class has waaaay to much bitmap copying. Cleanup. 69 private Bitmap mOriginalBitmapSmall = null; 70 private Bitmap mOriginalBitmapLarge = null; 71 private Bitmap mOriginalBitmapHighres = null; 72 private Bitmap mBackgroundBitmap = null; 125 // Couldn't read the bitmap, let's exit 219 public Bitmap decodeImage(int id, BitmapFactory.Options options) 430 Bitmap bitmap = decodeUriWithBackouts(context, sourceUri, options); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
TiledTexture.java | 19 import android.graphics.Bitmap; 20 import android.graphics.Bitmap.Config; 35 // This class is similar to BitmapTexture, except the bitmap is 37 // upload the whole bitmap but we reduce the time of uploading each tile 52 private static Bitmap sUploadBitmap; 115 public Bitmap bitmap; field in class:TiledTexture.Tile 131 protected Bitmap onGetBitmap() { 134 int r = bitmap.getWidth() + x; 135 int b = bitmap.getHeight() + y [all...] |
/frameworks/rs/ |
rsFont.cpp | 112 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH) { 132 bitmap[bY * bitmapW + bX] = tempCol; 162 uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) { 205 case BITMAP: 206 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH); 250 FT_Bitmap *bitmap = &mFace->glyph->bitmap; local 252 // Now copy the bitmap into the cache texture 256 // Let the font state figure out where to put the bitmap 258 glyph->mIsValid = state->cacheBitmap(bitmap, &startX, &startY) [all...] |
/external/e2fsprogs/e2fsck/ |
pass5.c | 112 int actual, bitmap; local 181 bitmap = 0; 183 bitmap = 1; 187 bitmap = 1; 190 bitmap = 1; 192 bitmap = 1; 194 bitmap = 1; 198 bitmap = 1; 201 bitmap = ext2fs_fast_test_block_bitmap(fs->block_map, i); 203 if (actual == bitmap) 337 int actual, bitmap; local [all...] |
/frameworks/base/libs/hwui/ |
LayerRenderer.cpp | 381 bool LayerRenderer::copyLayer(Layer* layer, SkBitmap* bitmap) { 383 if (layer && bitmap->width() <= caches.maxTextureSize && 384 bitmap->height() <= caches.maxTextureSize) { 392 SkAutoLockPixels alp(*bitmap); 404 switch (bitmap->config()) { 441 glPixelStorei(GL_PACK_ALIGNMENT, bitmap->bytesPerPixel()); 449 glTexImage2D(GL_TEXTURE_2D, 0, format, bitmap->width(), bitmap->height(), 459 renderer.setViewport(bitmap->width(), bitmap->height()) [all...] |
/external/skia/include/core/ |
SkDevice.h | 34 * Construct a new device with the specified bitmap as its backend. It is 35 * valid for the bitmap to have no pixels associated with it. In that case, 38 SkDevice(const SkBitmap& bitmap); 41 * Construct a new device with the specified bitmap as its backend. It is 42 * valid for the bitmap to have no pixels associated with it. In that case, 45 SkDevice(const SkBitmap& bitmap, const SkDeviceProperties& deviceProperties); 125 /** Returns true if the device's bitmap's config treats every pixels as 130 /** Return the bitmap config of the device's pixels 134 /** Return the bitmap associated with this device. Call this each time you need 135 to access the bitmap, as it notifies the subclass to perform any flushin [all...] |