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

<<11121314151617181920>>

  /packages/apps/Launcher2/src/com/android/launcher2/
DragController.java 20 import android.graphics.Bitmap;
164 Bitmap b = getViewBitmap(v);
189 * @param b The bitmap to display as the drag image. It will be re-scaled to the
191 * @param screenX The x position on screen of the left-top of the bitmap.
192 * @param screenY The y position on screen of the left-top of the bitmap.
202 public void startDrag(Bitmap b, int screenX, int screenY,
238 * Draw the view into a bitmap.
240 private Bitmap getViewBitmap(View v) {
256 Bitmap cacheBitmap = v.getDrawingCache();
262 Bitmap bitmap = Bitmap.createBitmap(cacheBitmap) local
    [all...]
ShortcutInfo.java 23 import android.graphics.Bitmap;
46 * or from a custom Bitmap (if true.)
70 private Bitmap mIcon;
97 public void setIcon(Bitmap b) {
101 public Bitmap getIcon(IconCache iconCache) {
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
PictureDrawableTest.java 24 import android.graphics.Bitmap;
60 // Create drawable bitmap for rendering into
61 Bitmap destBitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888);
TransitionDrawableTest.java 28 import android.graphics.Bitmap;
30 import android.graphics.Bitmap.Config;
48 private Bitmap mBitmap;
59 mBitmap = Bitmap.createBitmap(CANVAS_WIDTH, CANVAS_HEIGHT, Config.ARGB_8888);
268 private void assertColorFillRect(Bitmap bmp, int x, int y, int w, int h, int color) {
276 private void assertColorNotFillRect(Bitmap bmp, int x, int y, int w, int h, int color) {
  /external/skia/bench/
BitmapBench.cpp 131 fName.set("bitmap");
150 const SkBitmap& bitmap = fBitmap; local
151 const SkScalar x0 = SkIntToScalar(-bitmap.width() / 2);
152 const SkScalar y0 = SkIntToScalar(-bitmap.height() / 2);
157 canvas->drawBitmap(bitmap, x, y, &paint);
  /external/webkit/WebCore/platform/graphics/skia/
NativeImageSkia.h 56 // We can keep a resized version of the bitmap cached on this object.
63 // be cached unless the subset is the entire bitmap.
72 // what's required. On the other hand, resampling the entire bitmap is
73 // better if we're going to be using it more than once (like a bitmap
86 // The cached bitmap. This will be empty() if there is no cached image.
  /external/webkit/WebCore/platform/win/
DragImageCairoWin.cpp 91 static cairo_surface_t* createCairoContextFromBitmap(HBITMAP bitmap)
93 BITMAP info;
94 GetObject(bitmap, sizeof(info), &info);
97 // At this point, we have a Cairo surface that points to a Windows BITMAP. The BITMAP
DragImageCGWin.cpp 70 static CGContextRef createCgContextFromBitmap(HBITMAP bitmap)
72 BITMAP info;
73 GetObject(bitmap, sizeof(info), &info);
  /frameworks/base/core/jni/
android_emoji_EmojiFactory.cpp 178 SkBitmap *bitmap = new SkBitmap; local
179 if (!SkImageDecoder::DecodeMemory(bytes, size, bitmap)) {
187 reinterpret_cast<jint>(bitmap), false, NULL, -1);
262 { "nativeGetBitmapFromAndroidPua", "(II)Landroid/graphics/Bitmap;",
298 gBitmap_class = make_globalref(env, "android/graphics/Bitmap");
  /frameworks/base/docs/html/sdk/api_diff/3/changes/
android.graphics.Bitmap.html 10 android.graphics.Bitmap
74 Class android.graphics.<A HREF="../../../../reference/android/graphics/Bitmap.html" target="_top"><font size="+2"><code>Bitmap</code></font></A>
86 <A NAME="android.graphics.Bitmap.copyPixelsFromBuffer_added(java.nio.Buffer)"></A>
87 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/graphics/Bitmap.html#copyPixelsFromBuffer(java.nio.Buffer)" target="_top"><code>copyPixelsFromBuffer</code></A>(<code>Buffer</code>)</nobr>
  /frameworks/base/media/tests/omxjpegdecoder/
omx_jpeg_decoder.cpp 62 extern int storeBitmapToFile(SkBitmap* bitmap, const char* filename) {
63 bitmap->lockPixels();
64 uint8_t* data = (uint8_t *)bitmap->getPixels();
65 int size = bitmap->getSize();
161 // Install pixelRef to Bitmap.
  /packages/apps/Contacts/src/com/android/contacts/ui/widget/
PhotoEditorView.java 27 import android.graphics.Bitmap;
90 final Bitmap photo = BitmapFactory.decodeByteArray(photoBytes, 0,
114 * Assign the given {@link Bitmap} as the new value, updating UI and
117 public void setPhotoBitmap(Bitmap photo) {
129 photo.compress(Bitmap.CompressFormat.PNG, 100, out);
  /frameworks/base/core/jni/android/opengl/
util.cpp 554 jclass bitmapClass = env->FindClass("android/graphics/Bitmap");
627 const SkBitmap& bitmap(*nativeBitmap);
628 SkBitmap::Config config = bitmap.getConfig();
637 const SkBitmap& bitmap(*nativeBitmap);
638 SkBitmap::Config config = bitmap.getConfig();
648 const SkBitmap& bitmap(*nativeBitmap);
649 SkBitmap::Config config = bitmap.getConfig();
659 bitmap.lockPixels();
660 const int w = bitmap.width();
661 const int h = bitmap.height()
    [all...]
  /cts/tests/src/android/media/cts/
FaceView.java 20 import android.graphics.Bitmap;
37 private Bitmap mSourceImage;
59 bfo.inPreferredConfig = Bitmap.Config.RGB_565;
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ShapeDrawable1.java 56 Bitmap bm = Bitmap.createBitmap(pixels, 2, 2,
57 Bitmap.Config.ARGB_8888);
GLES20TriangleRenderer.java 29 import android.graphics.Bitmap;
140 Bitmap bitmap; local
142 bitmap = BitmapFactory.decodeStream(is);
151 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0);
152 bitmap.recycle();
StaticTriangleRenderer.java 32 import android.graphics.Bitmap;
191 Bitmap bitmap; local
193 bitmap = BitmapFactory.decodeStream(is);
202 GLUtils.texImage2D(GL_TEXTURE_2D, 0, bitmap, 0);
203 bitmap.recycle();
  /external/e2fsprogs/lib/ext2fs/
tst_iscan.c 96 "While allocating bad_block bitmap");
103 "While allocating touched block bitmap");
110 "While allocating bad inode bitmap");
  /external/skia/src/core/
SkPictureRecord.cpp 199 void SkPictureRecord::drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top,
203 addBitmap(bitmap);
209 void SkPictureRecord::drawBitmapRect(const SkBitmap& bitmap, const SkIRect* src,
213 addBitmap(bitmap);
219 void SkPictureRecord::drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& matrix,
223 addBitmap(bitmap);
228 void SkPictureRecord::drawSprite(const SkBitmap& bitmap, int left, int top,
232 addBitmap(bitmap);
441 void SkPictureRecord::addBitmap(const SkBitmap& bitmap) {
442 addInt(find(fBitmaps, bitmap));
    [all...]
  /external/webkit/WebCore/platform/graphics/win/
ImageCairoWin.cpp 62 BITMAP bmpInfo;
63 GetObject(bmp, sizeof(BITMAP), &bmpInfo);
65 // If this is a 32bpp bitmap, which it always should be, we'll clear it so alpha-wise it will be visible
  /external/webkit/WebCore/platform/image-decoders/skia/
ImageDecoderSkia.cpp 47 // calls this to free the bitmap data, but other functions like
105 m_bitmap.setDataComplete(); // Tell the bitmap it's done.
115 // bitmap throughout this object's lifetime.
  /frameworks/base/docs/html/guide/topics/graphics/
index.jd 89 underlying {@link android.graphics.Bitmap}, which is placed into the window.</p>
95 However, if you need to create a new Canvas, then you must define the {@link android.graphics.Bitmap}
96 upon which drawing will actually be performed. The Bitmap is always required for a Canvas. You can set up
99 Bitmap b = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888);
103 <p>Now your Canvas will draw onto the defined Bitmap. After drawing upon it with the Canvas, you can then carry your
104 Bitmap to another Canvas with one of the <code>{@link android.graphics.Canvas#drawBitmap(Bitmap,Matrix,Paint)
105 Canvas.drawBitmap(Bitmap,...)}</code> methods. It's recommended that you ultimately draw your fina
    [all...]
  /packages/apps/Browser/src/com/android/browser/
BookmarkItem.java 20 import android.graphics.Bitmap;
86 * @param b The new bitmap for this item.
89 /* package */ void setFavicon(Bitmap b) {
  /packages/apps/Browser/tests/src/com/android/browser/
TestWebChromeClient.java 19 import android.graphics.Bitmap;
60 public void onReceivedIcon(WebView view, Bitmap icon) {
180 public Bitmap getDefaultVideoPoster() {
  /packages/apps/Mms/src/com/android/mms/ui/
AudioAttachmentView.java 24 import android.graphics.Bitmap;
126 public void setImage(String name, Bitmap bitmap) {

Completed in 513 milliseconds

<<11121314151617181920>>