/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | ReusableBitmap.java | 27 public final Bitmap bmp; field in class:ReusableBitmap 40 bmp = bitmap; 74 return bmp.getByteCount(); 103 sb.append(" bmp="); 104 sb.append(bmp); 109 if (bmp != null) { 111 sb.append(bmp.getByteCount() >> 10); 120 * ReusableBitmap with a null bmp field because that will render that ReusableBitmap useless 137 super(null /* bmp */, false /* reusable */);
|
H A D | DecodeTask.java | 284 mOpts.inBitmap = mInBitmap.bmp; 448 Log.d(TAG, "placed result in cache: key=" + mKey + " bmp=" 454 + mKey + " bmp=" + mInBitmap); 520 result.bmp.recycle();
|
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/ |
H A D | GenImage.java | 256 Bitmap bmp = Bitmap.createBitmap(512, 512, Bitmap.Config.ARGB_8888); 257 bmp.setPixels(ib.array(), 0, 512, 0, 0, 512, 512); 263 bmp.compress(Bitmap.CompressFormat.PNG, 95, out); 268 bmp.recycle();
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | BasicBitmapDrawable.java | 231 protected void setBitmap(ReusableBitmap bmp) { argument 235 mBitmap = bmp; 354 return mBitmap != null && mBitmap.bmp != null; 363 canvas.drawBitmap(mBitmap.bmp, src, dst, mPaint); 384 return (hasBitmap() && (mBitmap.bmp.hasAlpha() || mPaint.getAlpha() < 255)) ?
|
H A D | ExtendedBitmapDrawable.java | 200 protected void setBitmap(ReusableBitmap bmp) { argument 201 setLoadState((bmp != null) ? LOAD_STATE_LOADED : LOAD_STATE_FAILED); 203 super.setBitmap(bmp);
|
H A D | CircularBitmapDrawable.java | 95 onDrawCircularBitmap(getBitmap().bmp, canvas, src, dst, 1f);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | RenderScript.java | 365 native long rsnAllocationCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); argument 366 synchronized long nAllocationCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { argument 368 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); 371 native long rsnAllocationCreateBitmapBackedAllocation(long con, long type, int mip, Bitmap bmp, int usage); argument 372 synchronized long nAllocationCreateBitmapBackedAllocation(long type, int mip, Bitmap bmp, int usage) { argument 374 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); 377 native long rsnAllocationCubeCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); argument 378 synchronized long nAllocationCubeCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { argument 380 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage); 382 native long rsnAllocationCreateBitmapRef(long con, long type, Bitmap bmp); argument 383 nAllocationCreateBitmapRef(long type, Bitmap bmp) argument 393 rsnAllocationCopyToBitmap(long con, long alloc, Bitmap bmp) argument 394 nAllocationCopyToBitmap(long alloc, Bitmap bmp) argument 432 rsnAllocationCopyFromBitmap(long con, long alloc, Bitmap bmp) argument 433 nAllocationCopyFromBitmap(long alloc, Bitmap bmp) argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 311 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); argument 312 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { argument 314 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); 317 native int rsnAllocationCreateBitmapBackedAllocation(int con, int type, int mip, Bitmap bmp, int usage); argument 318 synchronized int nAllocationCreateBitmapBackedAllocation(int type, int mip, Bitmap bmp, int usage) { argument 320 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); 324 native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); argument 325 synchronized int nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { argument 327 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage); 329 native int rsnAllocationCreateBitmapRef(int con, int type, Bitmap bmp); argument 330 nAllocationCreateBitmapRef(int type, Bitmap bmp) argument 340 rsnAllocationCopyToBitmap(int con, int alloc, Bitmap bmp) argument 341 nAllocationCopyToBitmap(int alloc, Bitmap bmp) argument 369 rsnAllocationCopyFromBitmap(int con, int alloc, Bitmap bmp) argument 370 nAllocationCopyFromBitmap(int alloc, Bitmap bmp) argument [all...] |
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | MediaMetadataCompat.java | 309 Bitmap bmp = null; 311 bmp = mBundle.getParcelable(key); 316 return bmp;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMetadata.java | 391 Bitmap bmp = null; 393 bmp = mBundle.getParcelable(key); 398 return bmp;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | Bridge.java | 566 * @param bmp the Bitmap object 569 public static void setCachedBitmap(String value, Bitmap bmp, Object projectKey) { argument 578 map.put(value, new SoftReference<Bitmap>(bmp)); 580 sFrameworkBitmapCache.put(value, new SoftReference<Bitmap>(bmp));
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardTransportControlView.java | 408 void setBadgeIcon(Drawable bmp) { argument 409 mBadge.setImageDrawable(bmp);
|
H A D | KeyguardUpdateMonitor.java | 578 public void dispatchSetBackground(Bitmap bmp) { argument 584 cb.onSetBackground(bmp);
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 673 static void ReleaseBitmapCallback(void *bmp) argument 675 SkBitmap const * nativeBitmap = (SkBitmap const *)bmp;
|