/external/skia/src/utils/ |
SkNWayCanvas.cpp | 178 void SkNWayCanvas::drawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y, 182 iter->drawBitmap(bitmap, x, y, paint); 186 void SkNWayCanvas::drawBitmapRect(const SkBitmap& bitmap, const SkIRect* src, 190 iter->drawBitmapRect(bitmap, src, dst, paint); 194 void SkNWayCanvas::drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, 198 iter->drawBitmapMatrix(bitmap, m, paint); 202 void SkNWayCanvas::drawSprite(const SkBitmap& bitmap, int x, int y, 206 iter->drawSprite(bitmap, x, y, paint);
|
/frameworks/base/core/jni/ |
com_android_internal_graphics_NativeUtils.cpp | 49 const SkBitmap& bitmap = c->getDevice()->accessBitmap(true); local 50 return bitmap.scrollRect(srcPtr, dx, dy, NULL);
|
/frameworks/base/libs/rs/java/ImageProcessing/src/com/android/rs/image/ |
ImageProcessingActivity.java | 22 import android.graphics.Bitmap; 37 private Bitmap mBitmap; 219 private Bitmap loadBitmap(int resource) { 221 options.inPreferredConfig = Bitmap.Config.ARGB_8888; 225 private static Bitmap copyBitmap(Bitmap source) { 226 Bitmap b = Bitmap.createBitmap(source.getWidth(), source.getHeight(), source.getConfig());
|
/packages/apps/Gallery/src/com/android/camera/ |
BitmapManager.java | 20 import android.graphics.Bitmap; 30 * This class provides several utilities to cancel bitmap decoding. 32 * The function decodeFileDescriptor() is used to decode a bitmap. During 96 * is being disabled for bitmap decoding. 138 public Bitmap getThumbnail(ContentResolver cr, long origId, int kind, 175 * The real place to delegate bitmap decoding to BitmapFactory. 177 public Bitmap decodeFileDescriptor(FileDescriptor fd, 190 Bitmap b = BitmapFactory.decodeFileDescriptor(fd, null, options);
|
ImageLoader.java | 22 import android.graphics.Bitmap; 45 public void run(Bitmap result); 115 // Pick off items on the queue, one by one, and compute their bitmap. 116 // Place the resulting bitmap in the cache, then call back by executing 137 final Bitmap b = workItem.mImage.miniThumbBitmap();
|
PhotoAppWidgetConfigure.java | 24 import android.graphics.Bitmap; 78 Bitmap bitmap = (Bitmap) data.getParcelableExtra("data"); local 81 if (helper.setPhoto(mAppWidgetId, bitmap)) {
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
BitmapManager.java | 19 import android.graphics.Bitmap; 28 * This class provides several utilities to cancel bitmap decoding. 30 * The function decodeFileDescriptor() is used to decode a bitmap. During 117 * bitmap decoding. 133 * being disabled for bitmap decoding. 170 * The real place to delegate bitmap decoding to BitmapFactory. 172 public Bitmap decodeFileDescriptor(FileDescriptor fd, BitmapFactory.Options options) { 184 Bitmap b = BitmapFactory.decodeFileDescriptor(fd, null, options);
|
PhotoAppWidgetConfigure.java | 25 import android.graphics.Bitmap; 89 Bitmap bitmap = (Bitmap) data.getParcelableExtra("data"); local 92 if (helper.setPhoto(mAppWidgetId, bitmap)) {
|
CropImage.java | 26 import android.graphics.Bitmap; 75 private Bitmap.CompressFormat mOutputFormat = Bitmap.CompressFormat.JPEG; // only 98 private Bitmap mBitmap; 199 Bitmap bitmap = null; local 201 bitmap = UriTexture.createFromUri(context, contentUri, 1024, 1024, 0, null); 207 if (bitmap != null) { 208 result.putExtra("data", bitmap); 244 mOutputFormat = Bitmap.CompressFormat.valueOf(outputFormatString) [all...] |
StringTexture.java | 19 import android.graphics.Bitmap; 163 protected Bitmap load(RenderView view) { 169 Bitmap.Config bmConfig = Bitmap.Config.ARGB_4444; 190 Bitmap bitmap = Bitmap.createBitmap(backWidth, backHeight, bmConfig); 191 Canvas canvas = new Canvas(bitmap); 198 // bitmap.eraseColor(0xff00ff00); 216 return bitmap; [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragView.java | 22 import android.graphics.Bitmap; 42 private Bitmap mBitmap; 61 * @param bitmap The view that we're dragging around. We scale it up when we draw it. 65 public DragView(Context context, Bitmap bitmap, int registrationX, int registrationY, 78 mBitmap = Bitmap.createBitmap(bitmap, left, top, width, height, scale, true); 80 // The point in our scaled bitmap that the touch events are located
|
/frameworks/base/graphics/java/android/renderscript/ |
Allocation.java | 24 import android.graphics.Bitmap; 35 Bitmap mBitmap; 266 static private Element elementFromBitmap(RenderScript rs, Bitmap b) { 267 final Bitmap.Config bc = b.getConfig(); 268 if (bc == Bitmap.Config.ALPHA_8) { 271 if (bc == Bitmap.Config.ARGB_4444) { 274 if (bc == Bitmap.Config.ARGB_8888) { 277 if (bc == Bitmap.Config.RGB_565) { 280 throw new IllegalStateException("Bad bitmap type."); 283 static private Type typeFromBitmap(RenderScript rs, Bitmap b) [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactPhotoLoader.java | 24 import android.graphics.Bitmap; 80 SoftReference<Bitmap> bitmapRef; 166 // Null bitmap reference means that database contains no bytes for the photo 172 Bitmap bitmap = holder.bitmapRef.get(); local 173 if (bitmap != null) { 174 view.setImageBitmap(bitmap); 178 // Null bitmap means that the soft reference was released by the GC 183 // The bitmap has not been loaded - should display the placeholder image. 288 * Stores the supplied bitmap in cache 299 Bitmap bitmap = BitmapFactory.decodeByteArray(bytes, 0, bytes.length, null); local [all...] |
/external/skia/include/images/ |
SkImageRef.h | 41 @param config The preferred config of the decoded bitmap. 51 /** Return true if the image can be decoded. If so, and bitmap is non-null, 55 If there has been an error decoding the bitmap, this will return false 56 and ignore the bitmap parameter. 88 // called with mutex already held. returns true if the bitmap is in the
|
/external/skia/include/utils/ |
SkProxyCanvas.h | 27 virtual SkDevice* setBitmapDevice(const SkBitmap& bitmap); 53 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, 55 virtual void drawBitmapRect(const SkBitmap& bitmap, const SkIRect* src, 57 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, 59 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
|
/external/skia/src/gl/ |
SkGLDevice.h | 12 SkGLDevice(const SkBitmap& bitmap, bool offscreen); 46 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, 48 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, 90 SkAutoLockTexCache(const SkBitmap& bitmap, GLuint* name, 92 fTex = SkGLDevice::LockTexCache(bitmap, name, size);
|
/external/skia/src/images/ |
SkImageRef.cpp | 46 bool SkImageRef::getInfo(SkBitmap* bitmap) { 54 if (bitmap) { 55 bitmap->setConfig(fBitmap.config(), fBitmap.width(), fBitmap.height()); 69 SkBitmap* bitmap, SkBitmap::Config config, 71 return codec->decode(stream, bitmap, config, mode);
|
/external/webkit/WebKit/chromium/public/ |
WebImage.h | 52 // A container for an ARGB bitmap. 87 WebImage(const SkBitmap& bitmap) : m_bitmap(bitmap) { } 89 WebImage& operator=(const SkBitmap& bitmap) 91 m_bitmap = bitmap;
|
/external/webkit/WebKitTools/DumpRenderTree/win/ |
PixelDumpSupportWin.cpp | 62 HBITMAP bitmap = CreateDIBSection(0, &bmp, DIB_RGB_COLORS, &bits, 0, 0); local 65 SelectObject(memoryDC, bitmap); 69 BITMAP info = {0}; 70 GetObject(bitmap, sizeof(info), &info); 84 return BitmapContext::createByAdoptingBitmapAndContext(bitmap, context);
|
/packages/apps/Contacts/src/com/android/contacts/ui/widget/ |
BaseContactEditorView.java | 29 import android.graphics.Bitmap; 63 * Assign the given {@link Bitmap} to the internal {@link PhotoEditorView} 66 public void setPhotoBitmap(Bitmap bitmap) { 67 mPhoto.setPhotoBitmap(bitmap);
|
/external/opencore/codecs_v2/utilities/colorconvert/include/ |
pvvideoblend.h | 80 This structure contains the bitmap data and related information. The bitmap memory is to be allocated by users. 123 @param frameSize Pointer to the size of the camera input frame, assuming the bitmap (if present) 132 and output to a separate YUV buffer. It performs the RGB-to-YUV420 conversion on a bitmap 143 @param pBitmap Pointer to the bitmap structure, set to NULL if not present. 163 @param pitch The pitch of the bitmap memory to be input as pDisplayOutput in FrameBlendOutput API. 185 onto the display bitmap (pDisplayOutput) according to this order: 202 @param pDropDownMenu Pointer to the drop-down menu bitmap, to be copied, set to NULL if not present. 205 @param pDisplayOutput Pointer to the final bitmap output. This is also an input bitmap as the backgroun [all...] |
/external/qemu/block/ |
cow.c | 97 /* mmap the bitmap */ 113 static inline void cow_set_bit(uint8_t *bitmap, int64_t bitnum) 115 bitmap[bitnum / 8] |= (1 << (bitnum%8)); 118 static inline int is_bit_set(const uint8_t *bitmap, int64_t bitnum) 120 return !!(bitmap[bitnum / 8] & (1 << (bitnum%8))); 127 static inline int is_changed(uint8_t *bitmap, 133 if (!bitmap || nb_sectors == 0) { 138 changed = is_bit_set(bitmap, sector_num); 140 if (is_bit_set(bitmap, sector_num + *num_same) != changed) 252 /* resize to include at least all the bitmap */ [all...] |
/external/e2fsprogs/e2fsck/ |
problem.h | 34 #define PR_LATCH_IBITMAP 0x0030 /* Latch for pass 5 inode bitmap proc. */ 35 #define PR_LATCH_BBITMAP 0x0040 /* Latch for pass 5 inode bitmap proc. */ 58 /* Block bitmap not in group */ 61 /* Inode bitmap not in group */ 224 /* Block bitmap conflicts with some other fs block */ 227 /* Inode bitmap conflicts with some other fs block */ 233 /* Block bitmap is on a bad block */ 236 /* Inode bitmap is on a bad block */ 311 /* Error allocating inode bitmap */ 314 /* Error allocating block bitmap */ [all...] |
/external/freetype/include/freetype/ |
ftimage.h | 131 /* given bitmap. Note that additional formats may be added in the */ 139 /* A monochrome bitmap, using 1~bit per pixel. Note that pixels */ 144 /* An 8-bit bitmap, generally used to represent anti-aliased glyph */ 150 /* A 2-bit per pixel bitmap, used to represent embedded */ 156 /* A 4-bit per pixel bitmap, representing embedded anti-aliased */ 161 /* An 8-bit bitmap, representing RGB or BGR decimated glyph images */ 162 /* used for display on LCD displays; the bitmap is three times */ 167 /* An 8-bit bitmap, representing RGB or BGR decimated glyph images */ 168 /* used for display on rotated LCD displays; the bitmap is three */ 221 /* An enumeration type to describe the format of a bitmap palette, * [all...] |
/frameworks/base/core/jni/android/graphics/ |
Graphics.cpp | 294 SkBitmap* GraphicsJNI::getNativeBitmap(JNIEnv* env, jobject bitmap) { 296 SkASSERT(bitmap); 297 SkASSERT(env->IsInstanceOf(bitmap, gBitmap_class)); 298 SkBitmap* b = (SkBitmap*)env->GetIntField(bitmap, gBitmap_nativeInstanceID); 357 jobject GraphicsJNI::createBitmap(JNIEnv* env, SkBitmap* bitmap, bool isMutable, 360 SkASSERT(bitmap != NULL); 361 SkASSERT(NULL != bitmap->pixelRef()); 366 (jint)bitmap, isMutable, ninepatch, density); 443 bool GraphicsJNI::setJavaPixelRef(JNIEnv* env, SkBitmap* bitmap, 445 Sk64 size64 = bitmap->getSize64() [all...] |