HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 276 - 300 of 1117) sorted by null

<<11121314151617181920>>

  /external/skia/gm/
deviceproperties.cpp 41 SkBitmap bitmap; local
42 bitmap.allocN32Pixels(size.width(), size.height());
47 SkBitmapDevice device(bitmap, properties);
93 originalCanvas->drawBitmap(bitmap, 0, 0);
mixedxfermodes.cpp 86 SkBitmap bitmap; variable
87 bitmap.allocN32Pixels(2, 2);
88 memcpy(bitmap.getPixels(), kCheckerPixelData, sizeof(kCheckerPixelData));
91 fBG.reset(SkShader::CreateBitmapShader(bitmap,
offsetimagefilter.cpp 66 void drawClippedBitmap(SkCanvas* canvas, const SkBitmap& bitmap, const SkPaint& paint, SkScalar scale, const SkIRect& cropRect) {
69 SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height()));
72 canvas->drawBitmap(bitmap, 0, 0, &paint);
98 SkBitmap* bitmap = (i & 0x01) ? &fCheckerboard : &fBitmap; local
101 bitmap->width() - i * 8,
102 bitmap->height() - i * 12);
104 SkAutoTUnref<SkImageFilter> tileInput(SkBitmapSource::Create(*bitmap));
110 drawClippedBitmap(canvas, *bitmap, paint, SK_Scalar1, cropRect);
111 canvas->translate(SkIntToScalar(bitmap->width() + MARGIN), 0)
    [all...]
tileimagefilter.cpp 78 SkBitmap* bitmap = (i & 0x01) ? &fCheckerboard : &fBitmap; local
79 SkRect srcRect = SkRect::MakeXYWH(SkIntToScalar(bitmap->width()/4),
80 SkIntToScalar(bitmap->height()/4),
81 SkIntToScalar(bitmap->width()/(i+1)),
82 SkIntToScalar(bitmap->height()/(i+1)));
85 SkIntToScalar(bitmap->width() - i * 12),
86 SkIntToScalar(bitmap->height()) - i * 12);
87 SkAutoTUnref<SkImageFilter> tileInput(SkBitmapSource::Create(*bitmap));
96 x += bitmap->width() + MARGIN;
97 if (x + bitmap->width() > WIDTH)
    [all...]
  /external/skia/src/core/
SkDevice.cpp 57 const SkBitmap& bitmap = this->onAccessBitmap(); local
59 bitmap.notifyPixelsChanged();
61 return bitmap;
  /external/skia/src/views/sdl/
SkOSWindow_SDL.cpp 94 SkBitmap bitmap; local
96 if (skia_setBitmapFromSurface(&bitmap, fSurface)) {
97 SkCanvas canvas(bitmap);
  /external/skia/tests/
DeviceLooperTest.cpp 43 SkBitmap bitmap; local
44 make_bm(&bitmap, gRec[i].fDevSize.width(), gRec[i].fDevSize.height());
49 SkDeviceLooper looper(bitmap, rc, gRec[i].fRect, SkToBool(aa));
54 REPORTER_ASSERT(reporter, looper.getBitmap().width() == bitmap.width());
55 REPORTER_ASSERT(reporter, looper.getBitmap().height() == bitmap.height());
65 SkDeviceLooper looper(bitmap, rc, r, false);
112 SkBitmap bitmap; local
113 make_bm(&bitmap, w, h);
128 SkDeviceLooper looper(bitmap, rc, rect, gRec[i].fAA);
PathOpsThreadedCommon.h 81 SkBitmap bitmap; variable
82 fState.fBitmap = &bitmap;
  /external/smack/src/org/xbill/DNS/
NXTRecord.java 22 private BitSet bitmap; field in class:NXTRecord
34 * @param bitmap The set of type for which records exist at this name
37 NXTRecord(Name name, int dclass, long ttl, Name next, BitSet bitmap) {
40 this.bitmap = bitmap;
46 bitmap = new BitSet();
52 bitmap.set(i * 8 + j);
59 bitmap = new BitSet();
67 bitmap.set(typecode);
77 int length = bitmap.length()
    [all...]
  /frameworks/base/core/jni/android/graphics/
NinePatch.cpp 34 extern void NinePatch_Draw(SkCanvas* canvas, const SkRect& bounds, const SkBitmap& bitmap,
92 static void draw(JNIEnv* env, SkCanvas* canvas, SkRect& bounds, const SkBitmap* bitmap,
98 NinePatch_Draw(canvas, bounds, *bitmap, *chunk, paint, NULL);
115 NinePatch_Draw(canvas, bounds, *bitmap, *chunk, paint, NULL);
125 const SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); local
130 SkASSERT(bitmap);
137 draw(env, canvas, bounds, bitmap, chunk, paint, destDensity, srcDensity);
144 const SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); local
149 SkASSERT(bitmap);
155 draw(env, canvas, bounds, bitmap, chunk, paint, destDensity, srcDensity)
160 const SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); local
    [all...]
  /frameworks/base/core/jni/
android_view_PointerIcon.cpp 81 SkBitmap* bitmap = GraphicsJNI::getNativeBitmap(env, bitmapObj); local
82 if (bitmap) {
83 outPointerIcon->bitmap = *bitmap; // use a shared pixel ref
130 "mBitmap", "Landroid/graphics/Bitmap;");
  /frameworks/base/libs/hwui/
AssetAtlas.cpp 83 AssetAtlas::Entry* AssetAtlas::getEntry(const SkBitmap* bitmap) const {
84 ssize_t index = mEntries.indexOfKey(bitmap);
88 Texture* AssetAtlas::getEntryTexture(const SkBitmap* bitmap) const {
89 ssize_t index = mEntries.indexOfKey(bitmap);
122 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(map[i++]); local
133 if (!bitmap) continue;
136 x / width, (x + bitmap->width()) / width,
137 y / height, (y + bitmap->height()) / height);
140 texture->blend = !bitmap->isOpaque();
141 texture->width = bitmap->width()
    [all...]
AssetAtlas.h 41 * texture. Each bitmap is associated with a location, defined in pixels,
49 * bitmap inside the atlas.
53 * The bitmap that generated this atlas entry.
55 SkBitmap* bitmap; member in struct:android::uirenderer::AssetAtlas::Entry
58 * Location of the bitmap inside the atlas, in pixels.
64 * If set, the bitmap is rotated 90 degrees (clockwise)
96 Entry(SkBitmap* bitmap, int x, int y, bool rotated,
98 bitmap(bitmap), x(x), y(y), rotated(rotated),
161 * bitmap. If the bitmap is not in the atlas, return NULL
    [all...]
ResourceCache.cpp 259 SkBitmap* bitmap = (SkBitmap*) resource; local
261 Caches::getInstance().textureCache.releaseTexture(bitmap);
263 bitmap->setPixels(NULL, NULL);
268 SkBitmap* bitmap = (SkBitmap*) resource; local
270 Caches::getInstance().textureCache.releaseTexture(bitmap);
272 delete bitmap;
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
BitmapsActivity.java 21 import android.graphics.Bitmap;
56 private final Bitmap mBitmap1;
57 private final Bitmap mBitmap2;
66 Log.d("Bitmap", "mBitmap1.isMutable() = " + mBitmap1.isMutable());
67 Log.d("Bitmap", "mBitmap2.isMutable() = " + mBitmap2.isMutable());
71 Bitmap bitmap = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1, opts); local
72 Log.d("Bitmap", "bitmap.isMutable() = " + bitmap.isMutable())
    [all...]
  /frameworks/minikin/libs/minikin/
SparseBitSet.cpp 118 const element* bitmap = &mBitmaps[mIndices[fromPage]]; local
120 element e = bitmap[offset] & (kElAllOnes >> (fromIndex & kElMask));
125 e = bitmap[j];
136 bitmap = &mBitmaps[index];
138 e = bitmap[j];
  /frameworks/opt/bitmap/src/com/android/bitmap/util/
Exif.java 17 package com.android.bitmap.util;
RectUtils.java 17 package com.android.bitmap.util;
  /frameworks/opt/bitmap/src/com/android/bitmap/view/
BitmapDrawableImageView.java 17 package com.android.bitmap.view;
20 import android.graphics.Bitmap;
27 import com.android.bitmap.drawable.BasicBitmapDrawable;
111 public void setImageBitmap(final Bitmap bm) {
  /frameworks/opt/chips/src/com/android/ex/chips/
CircularImageView.java 4 import android.graphics.Bitmap;
74 Bitmap bitmap = bitmapDrawable.getBitmap(); local
75 if (bitmap == null) {
79 source.set(0, 0, bitmap.getWidth(), bitmap.getHeight());
83 drawBitmapWithCircleOnCanvas(bitmap, canvas, source, destination);
87 * Given the source bitmap and a canvas, draws the bitmap through a circular
90 * @param bitmap The source bitmap to draw
    [all...]
  /frameworks/volley/tests/src/com/android/volley/toolbox/
ImageRequestTest.java 20 import android.graphics.Bitmap;
21 import android.graphics.Bitmap.Config;
65 Response<Bitmap> response = request.parseNetworkResponse(networkResponse);
68 Bitmap bitmap = response.result; local
69 assertNotNull(bitmap);
70 assertEquals(expectedWidth, bitmap.getWidth());
71 assertEquals(expectedHeight, bitmap.getHeight());
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailPhotoSetter.java 21 import android.graphics.Bitmap;
41 Bitmap bitmap = setupContactPhoto(contactData, photoView); local
42 return setupClickListener(context, contactData, bitmap, expandPhotoOnClick);
49 private final Bitmap mPhotoBitmap;
53 public PhotoClickListener(Context context, Contact contactData, Bitmap photoBitmap,
88 // Cache the bitmap directly, so the activity can pull it from the
98 private OnClickListener setupClickListener(Context context, Contact contactData, Bitmap bitmap,
104 context, contactData, bitmap, getCompressedImage(), expandPhotoOnClick)
    [all...]
  /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...]
PhotoAppWidgetConfigure.java 24 import android.graphics.Bitmap;
78 Bitmap bitmap = (Bitmap) data.getParcelableExtra("data"); local
81 if (helper.setPhoto(mAppWidgetId, bitmap)) {
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
ActionImage.java 19 import android.graphics.Bitmap;
43 public Job<Bitmap> requestImage(int type) {
52 private class BitmapJob implements Job<Bitmap> {
60 public Bitmap run(JobContext jc) {
62 Bitmap bitmap = BitmapFactory.decodeResource(mApplication.getResources(), local
66 bitmap = BitmapUtils.resizeAndCropCenter(bitmap, targetSize, true);
68 bitmap = BitmapUtils.resizeDownBySideLength(bitmap, targetSize, true)
    [all...]

Completed in 1315 milliseconds

<<11121314151617181920>>