HomeSort by relevance Sort by last modified time
    Searched full:bitmap (Results 176 - 200 of 1192) sorted by null

1 2 3 4 5 6 78 91011>>

  /packages/apps/Gallery/src/com/android/camera/gallery/
BaseImage.java 23 import android.graphics.Bitmap;
35 * Represents a particular image and provides access to the underlying bitmap
87 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels) {
92 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels,
97 Bitmap b = Util.makeBitmap(minSideLength, maxNumberOfPixels,
168 public Bitmap miniThumbBitmap() {
169 Bitmap b = null;
  /packages/apps/Mms/src/com/android/mms/ui/
SlideshowAttachmentView.java 23 import android.graphics.Bitmap;
73 public void setImage(String name, Bitmap bitmap) {
74 if (null == bitmap) {
76 bitmap = BitmapFactory.decodeResource(getResources(),
82 if (bitmap != null) {
83 mImageView.setImageBitmap(bitmap); // implementation doesn't appear to be null-safe
SlideListItemView.java 23 import android.graphics.Bitmap;
85 public void setImage(String name, Bitmap bitmap) {
86 if (null == bitmap) {
87 bitmap = BitmapFactory.decodeResource(getResources(),
90 mImagePreview.setImageBitmap(bitmap);
  /dalvik/vm/alloc/
HeapBitmap.h 52 /* The bitmap data, which points to an mmap()ed area of zeroed
62 * the bitmap.
75 * Initialize a HeapBitmap so that it points to a bitmap large
96 * Clean up any resources associated with the bitmap.
106 * Fill the bitmap with zeroes. Returns the bitmap's memory to
120 * end of the bitmap is reached.
140 * in a single bitmap.
159 * have had corresponding bits set in this bitmap.
176 * bitmap could potentially cover, even if a bit has not been se
    [all...]
  /external/freetype/src/base/
ftlcdfil.c 5 /* FreeType API for color filtering of subpixel bitmap glyphs (body). */
32 _ft_lcd_filter_fir( FT_Bitmap* bitmap,
37 FT_UInt width = (FT_UInt)bitmap->width;
38 FT_UInt height = (FT_UInt)bitmap->rows;
44 FT_Byte* line = bitmap->buffer;
47 for ( ; height > 0; height--, line += bitmap->pitch )
101 FT_Byte* column = bitmap->buffer;
102 FT_Int pitch = bitmap->pitch;
166 _ft_lcd_filter_legacy( FT_Bitmap* bitmap,
170 FT_UInt width = (FT_UInt)bitmap->width
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
NinePatchDrawableTest.java 32 import android.graphics.Bitmap;
42 import android.graphics.Bitmap.Config;
70 args = {Bitmap.class, byte[].class, Rect.class, String.class}
79 + "NinePatchDrawable#NinePatchDrawable(Bitmap, byte[], Rect, String) "
80 + "when param bitmap, chunk, padding or srcName is null")
88 Bitmap bmp = BitmapFactory.decodeResource(mResources, R.drawable.ninepatch_0);
95 fail("The constructor should check whether the bitmap is null.");
147 Bitmap bmp = Bitmap.createBitmap(9, 9, Config.ARGB_8888);
300 Bitmap bmp = getBitmapUnscaled(R.drawable.ninepatch_0)
421 Bitmap bitmap = Bitmap.createBitmap(COLOR, width, height, Bitmap.Config.RGB_565); local
475 Bitmap bitmap = getBitmapUnscaled(resId); local
483 Bitmap bitmap = BitmapFactory.decodeResource(mResources, resId, opts); local
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
RadialGradientTest.java 22 import android.graphics.Bitmap;
50 Bitmap b = Bitmap.createBitmap(SIZE, SIZE, Bitmap.Config.ARGB_8888);
69 Bitmap b = Bitmap.createBitmap(SIZE, SIZE, Bitmap.Config.ARGB_8888);
77 private void checkPixels(Bitmap bitmap, int[] colors, float[] positions, int tolerance) {
109 int pixel = bitmap.getPixel(x, y)
    [all...]
ComposePathEffectTest.java 22 import android.graphics.Bitmap;
30 import android.graphics.Bitmap.Config;
62 Bitmap actual = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888);
68 Bitmap expected = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888);
PathDashPathEffectTest.java 23 import android.graphics.Bitmap;
30 import android.graphics.Bitmap.Config;
50 Bitmap b = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
60 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
BitmapPixels.java 41 private Bitmap mBitmap1;
42 private Bitmap mBitmap2;
43 private Bitmap mBitmap3;
44 private Bitmap mBitmap4;
147 mBitmap1 = Bitmap.createBitmap(N, N, Bitmap.Config.ARGB_8888);
148 mBitmap2 = Bitmap.createBitmap(N, N, Bitmap.Config.RGB_565);
149 mBitmap3 = Bitmap.createBitmap(N, N, Bitmap.Config.ARGB_4444)
    [all...]
  /external/e2fsprogs/lib/ext2fs/
ext2_err.c 33 "Corrupt group descriptor: bad block for block bitmap",
34 "Corrupt group descriptor: bad block for inode bitmap",
36 "Can't write an inode bitmap",
37 "Can't read an inode bitmap",
38 "Can't write an block bitmap",
39 "Can't read an block bitmap",
48 "Inode bitmap not loaded",
49 "Block bitmap not loaded",
60 "Attempt to fudge end of block bitmap past the real end",
61 "Attempt to fudge end of inode bitmap past the real end"
    [all...]
ext2_err.et.in 84 "Corrupt group descriptor: bad block for block bitmap"
87 "Corrupt group descriptor: bad block for inode bitmap"
93 "Can't write an inode bitmap"
96 "Can't read an inode bitmap"
99 "Can't write an block bitmap"
102 "Can't read an block bitmap"
129 "Inode bitmap not loaded"
132 "Block bitmap not loaded"
165 "Attempt to fudge end of block bitmap past the real end"
168 "Attempt to fudge end of inode bitmap past the real end
    [all...]
  /external/skia/src/utils/
SkProxyCanvas.cpp 25 SkDevice* SkProxyCanvas::setBitmapDevice(const SkBitmap& bitmap) {
26 return fProxy->setBitmapDevice(bitmap);
95 void SkProxyCanvas::drawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y,
97 fProxy->drawBitmap(bitmap, x, y, paint);
100 void SkProxyCanvas::drawBitmapRect(const SkBitmap& bitmap, const SkIRect* src,
102 fProxy->drawBitmapRect(bitmap, src, dst, paint);
105 void SkProxyCanvas::drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
107 fProxy->drawBitmapMatrix(bitmap, m, paint);
110 void SkProxyCanvas::drawSprite(const SkBitmap& bitmap, int x, int y,
112 fProxy->drawSprite(bitmap, x, y, paint)
    [all...]
  /packages/apps/Mms/src/com/android/mms/model/
ImageModel.java 37 import android.graphics.Bitmap;
59 private SoftReference<Bitmap> mBitmapCache = new SoftReference<Bitmap>(null);
134 public Bitmap getBitmap() {
138 public Bitmap getBitmapWithDrmCheck() throws DrmException {
142 private Bitmap internalGetBitmap(Uri uri) {
143 Bitmap bm = mBitmapCache.get();
148 mBitmapCache = new SoftReference<Bitmap>(bm);
151 // fall through and return a null bitmap. The callers can handle a null
158 private Bitmap createThumbnailBitmap(int thumbnailBoundsLimit, Uri uri)
    [all...]
  /external/webkit/WebCore/platform/graphics/wince/
ImageBufferWince.cpp 103 static getImageData(const IntRect& rect, const SharedBitmap* bitmap)
107 const unsigned char* src = static_cast<const unsigned char*>(bitmap->bytes());
111 IntRect sourceRect(0, 0, bitmap->width(), bitmap->height());
118 src += (sourceRect.y() * bitmap->width() + sourceRect.x()) * 4;
121 int srcSkip = (bitmap->width() - sourceRect.width()) * 4;
163 static void putImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint, SharedBitmap* bitmap)
165 unsigned char* dst = (unsigned char*)bitmap->bytes();
170 destRect.intersect(IntRect(0, 0, bitmap->width(), bitmap->height()))
    [all...]
  /packages/apps/Camera/src/com/android/camera/
Util.java 22 import android.graphics.Bitmap;
50 // Rotates the bitmap by the specified degree.
51 // If a new bitmap is created, the original bitmap is recycled.
52 public static Bitmap rotate(Bitmap b, int degrees) {
58 Bitmap b2 = Bitmap.createBitmap(
65 // We have no memory to rotate. Return the original bitmap.
75 * bitmap
    [all...]
  /external/skia/include/utils/
SkGLCanvas.h 33 // notice, we do NOT allow the SkCanvas(bitmap) constructor, since that
56 is to free up gl resources. Note that if a bitmap or text is drawn after
71 virtual SkDevice* setBitmapDevice(const SkBitmap& bitmap) {
SkNWayCanvas.h 41 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top,
43 virtual void drawBitmapRect(const SkBitmap& bitmap, const SkIRect* src,
45 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
47 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
  /frameworks/base/docs/html/sdk/api_diff/4/changes/
android.text.style.ImageSpan.html 85 <A NAME="android.text.style.ImageSpan.ctor_added(android.content.Context, android.graphics.Bitmap)"></A>
86 <nobr><A HREF="../../../../reference/android/text/style/ImageSpan.html#ImageSpan(android.content.Context, android.graphics.Bitmap)" target="_top"><code>ImageSpan</code></A>(<code>Context,</nobr> Bitmap<nobr><nobr></code>)</nobr>
92 <A NAME="android.text.style.ImageSpan.ctor_added(android.content.Context, android.graphics.Bitmap, int)"></A>
93 <nobr><A HREF="../../../../reference/android/text/style/ImageSpan.html#ImageSpan(android.content.Context, android.graphics.Bitmap, int)" target="_top"><code>ImageSpan</code></A>(<code>Context,</nobr> Bitmap<nobr>,</nobr> int<nobr><nobr></code>)</nobr>
107 <A NAME="android.text.style.ImageSpan.ctor_changed(android.graphics.Bitmap)"></A>
108 <nobr><A HREF="../../../../reference/android/text/style/ImageSpan.html#ImageSpan(android.graphics.Bitmap)" target="_top"><code>ImageSpan</code></A>(<code>Bitmap</code>) </nobr>
117 <A NAME="android.text.style.ImageSpan.ctor_changed(android.graphics.Bitmap, int)"></A
    [all...]
  /frameworks/base/services/java/com/android/server/status/
TrackingPatternView.java 25 import android.graphics.Bitmap;
30 private Bitmap mTexture;
49 final Bitmap texture = mTexture;
  /packages/apps/Gallery/src/com/android/camera/
ImageGetter.java 24 import android.graphics.Bitmap;
32 * into memory and post a callback to display the resulting bitmap.
34 * Then proceed to load the full image bitmap. Three things can
44 * a callback to the UI thread to actually show the bitmap.
49 * bitmap on the floor.
53 public void imageLoaded(int pos, int offset, RotateBitmap bitmap,
104 final RotateBitmap bitmap,
111 mCB.imageLoaded(position, offset, bitmap, isThumb);
112 } else if (bitmap != null) {
113 bitmap.recycle()
    [all...]
  /development/samples/Snake/src/com/example/android/snake/
TileView.java 21 import android.graphics.Bitmap;
55 private Bitmap[] mTileArray;
95 mTileArray = new Bitmap[tilecount];
119 Bitmap bitmap = Bitmap.createBitmap(mTileSize, mTileSize, Bitmap.Config.ARGB_8888); local
120 Canvas canvas = new Canvas(bitmap);
124 mTileArray[key] = bitmap;
  /external/e2fsprogs/tests/f_end-bitmap/
expect.1 14 Padding at end of block bitmap is not set. Fix? yes
  /external/e2fsprogs/tests/m_dasd_bs/
expect.1 62 Block bitmap at 33 (+33), Inode bitmap at 34 (+34)
70 Block bitmap at 16417 (+33), Inode bitmap at 16418 (+34)
  /external/skia/include/images/
SkMovie.h 49 /** Specify the time code (between 0...duration) to sample a bitmap
51 bitmap/frame from the previous state (i.e. true means you need to
56 // return the right bitmap for the current time code
57 const SkBitmap& bitmap();

Completed in 530 milliseconds

1 2 3 4 5 6 78 91011>>