/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilter.java | 19 import android.graphics.Bitmap; 74 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { 76 return bitmap; 85 native protected void nativeApplyGradientFilter(Bitmap bitmap, int w, int h,
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
DiscretePathEffectTest.java | 20 import android.graphics.Bitmap; 27 import android.graphics.Bitmap.Config; 55 Bitmap bitmap = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888); local 56 bitmap.eraseColor(Color.TRANSPARENT); 58 Canvas canvas = new Canvas(bitmap); 80 int pixel = bitmap.getPixel(x, y);
|
/cts/tests/tests/graphics2/src/android/graphics2/cts/ |
TextureViewCameraActivity.java | 21 import android.graphics.Bitmap; 95 Bitmap bitmap = mTextureView.getBitmap(); local 96 Assert.assertEquals(mHeight, bitmap.getHeight()); 97 Assert.assertEquals(mWidth, bitmap.getWidth()); 98 bitmap.recycle();
|
/dalvik/vm/alloc/ |
MarkSweep.h | 43 HeapBitmap *bitmap; member in struct:GcMarkContext
|
/external/chromium/webkit/glue/ |
webcursor_gtk.cc | 57 GdkPixmap* bitmap = gdk_bitmap_create_from_data(NULL, bits, 1, 1); local 58 cursor = gdk_cursor_new_from_pixmap(bitmap, bitmap, &color, &color, 0, 0); 59 g_object_unref(bitmap); 194 SkBitmap bitmap; local 195 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 197 bitmap.allocPixels(); 198 memcpy(bitmap.getAddr32(0, 0), custom_data_.data(), custom_data_.size()); 200 GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&bitmap);
|
/external/linux-tools-perf/util/include/linux/ |
bitmap.h | 13 int __bitmap_weight(const unsigned long *bitmap, int bits);
|
/external/replicaisland/src/com/replica/replicaisland/ |
TextureLibrary.java | 27 import android.graphics.Bitmap; 58 sBitmapOptions.inPreferredConfig = Bitmap.Config.RGB_565; 126 /** Loads a bitmap into OpenGL and sets up the common parameters for 2D texture maps. */ 161 Bitmap bitmap; local 163 bitmap = BitmapFactory.decodeStream(is); 173 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); 183 mCropWorkspace[1] = bitmap.getHeight(); 184 mCropWorkspace[2] = bitmap.getWidth(); 185 mCropWorkspace[3] = -bitmap.getHeight() [all...] |
/external/skia/include/images/ |
SkBitmapRegionDecoder.h | 31 virtual bool decodeRegion(SkBitmap* bitmap, SkIRect rect,
|
SkMovie.h | 44 /** Specify the time code (between 0...duration) to sample a bitmap 46 bitmap/frame from the previous state (i.e. true means you need to 51 // return the right bitmap for the current time code 52 const SkBitmap& bitmap();
|
/external/skia/include/utils/ |
SkNWayCanvas.h | 49 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, 51 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, 53 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, 55 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
|
/external/skia/legacy/include/images/ |
SkBitmapRegionDecoder.h | 31 virtual bool decodeRegion(SkBitmap* bitmap, SkIRect rect,
|
SkImageRef_GlobalPool.h | 56 SkBitmap* bitmap, SkBitmap::Config config,
|
SkMovie.h | 42 /** Specify the time code (between 0...duration) to sample a bitmap 44 bitmap/frame from the previous state (i.e. true means you need to 49 // return the right bitmap for the current time code 50 const SkBitmap& bitmap();
|
/external/skia/legacy/include/utils/ |
SkNWayCanvas.h | 46 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, 48 virtual void drawBitmapRect(const SkBitmap& bitmap, const SkIRect* src, 50 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, 52 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
|
/external/skia/legacy/src/images/ |
SkImageDecoder_libjpeg.cpp | 76 virtual bool onDecodeRegion(SkBitmap* bitmap, SkIRect rect); 598 SkBitmap *bitmap = new SkBitmap; local 599 SkAutoTDelete<SkBitmap> adb(bitmap); 611 bitmap->setConfig(config, cinfo->output_width, height); 612 bitmap->setIsOpaque(true); 619 // Not using a recycled-bitmap and the output rect is same as the 624 (w == bitmap->width()) && (h == bitmap->height()) && 628 if (!this->allocPixelRef(bitmap, NULL)) { 629 return return_false(*cinfo, *bitmap, "allocPixelRef") [all...] |
/external/skia/legacy/src/ports/ |
SkImageDecoder_WIC.cpp | 83 //Get the size of the bitmap. 90 //Exit early if we're only looking for the bitmap bounds. 109 piBitmapSourceOriginal.get() //Input bitmap to convert 126 //Copy the pixels into the bitmap. 184 const SkBitmap* bitmap; local 187 bitmap = &bitmapOrig; 192 bitmap = &bitmapCopy; 259 const UINT width = bitmap->width(); 260 const UINT height = bitmap->height(); 278 SkAutoLockPixels alp(*bitmap); [all...] |
SkImageRef_ashmem.h | 35 SkBitmap* bitmap, SkBitmap::Config config,
|
/external/skia/legacy/src/utils/ |
SkMeshUtils.cpp | 88 void SkMeshUtils::Draw(SkCanvas* canvas, const SkBitmap& bitmap, 93 if (idx.init(bitmap.width(), bitmap.height(), rows, cols)) { 95 p.setShader(SkShader::CreateBitmapShader(bitmap,
|
/external/skia/src/images/ |
SkImageDecoder_libjpeg.cpp | 76 virtual bool onDecodeRegion(SkBitmap* bitmap, SkIRect rect); 636 SkBitmap *bitmap = new SkBitmap; local 637 SkAutoTDelete<SkBitmap> adb(bitmap); 649 bitmap->setConfig(config, cinfo->output_width, height); 650 bitmap->setIsOpaque(true); 657 // Not using a recycled-bitmap and the output rect is same as the 662 (w == bitmap->width()) && (h == bitmap->height()) && 666 if (!this->allocPixelRef(bitmap, NULL)) { 667 return return_false(*cinfo, *bitmap, "allocPixelRef") [all...] |
SkImageRef_ashmem.h | 32 SkBitmap* bitmap, SkBitmap::Config config,
|
/external/skia/src/utils/ |
SkMeshUtils.cpp | 88 void SkMeshUtils::Draw(SkCanvas* canvas, const SkBitmap& bitmap, 93 if (idx.init(bitmap.width(), bitmap.height(), rows, cols)) { 95 p.setShader(SkShader::CreateBitmapShader(bitmap,
|
/external/skia/tools/ |
skdiff_utils.h | 31 /** Writes the bitmap as a PNG to the path specified. */ 32 bool write_bitmap(const SkString& path, const SkBitmap& bitmap);
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
PatternAndroid.cpp | 58 m_pattern = SkShader::CreateBitmapShader(ref->bitmap(),
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
ImagesManager.cpp | 56 SkBitmap* bitmap = &imgRef->bitmap(); local 61 crc = ImageTexture::computeCRC(bitmap); 74 img = ImageTexture::convertBitmap(bitmap);
|
/external/webkit/Source/WebKit2/Shared/ |
WebImage.h | 53 ShareableBitmap* bitmap() const { return m_bitmap.get(); } function in class:WebKit::WebImage
|