/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | ReusableBitmap.java | 27 public final Bitmap bmp; field in ReusableBitmap 40 bmp = bitmap; in ReusableBitmap() 74 return bmp.getByteCount(); in getByteCount() 104 sb.append(bmp); in toString() 109 if (bmp != null) { in toString() 111 sb.append(bmp.getByteCount() >> 10); in toString()
|
D | DecodeTask.java | 284 mOpts.inBitmap = mInBitmap.bmp; in decode() 520 result.bmp.recycle(); in onCancelled()
|
/frameworks/base/media/java/android/media/ |
D | MediaMetadata.java | 411 Bitmap bmp = null; in getBitmap() local 413 bmp = mBundle.getParcelable(key); in getBitmap() 418 return bmp; in getBitmap() 582 Bitmap bmp = (Bitmap) value; in Builder() local 583 if (bmp.getHeight() > maxBitmapSize || bmp.getWidth() > maxBitmapSize) { in Builder() 584 putBitmap(key, scaleBitmap(bmp, maxBitmapSize)); in Builder() 758 private Bitmap scaleBitmap(Bitmap bmp, int maxSize) { in scaleBitmap() argument 760 float widthScale = maxSizeF / bmp.getWidth(); in scaleBitmap() 761 float heightScale = maxSizeF / bmp.getHeight(); in scaleBitmap() 763 int height = (int) (bmp.getHeight() * scale); in scaleBitmap() [all …]
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | RenderScript.java | 311 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); in rsnAllocationCreateFromBitmap() argument 312 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { in nAllocationCreateFromBitmap() argument 314 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); in nAllocationCreateFromBitmap() 317 …native int rsnAllocationCreateBitmapBackedAllocation(int con, int type, int mip, Bitmap bmp, int … in rsnAllocationCreateBitmapBackedAllocation() argument 318 …synchronized int nAllocationCreateBitmapBackedAllocation(int type, int mip, Bitmap bmp, int usage)… in nAllocationCreateBitmapBackedAllocation() argument 320 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); in nAllocationCreateBitmapBackedAllocation() 324 … native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); in rsnAllocationCubeCreateFromBitmap() argument 325 synchronized int nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { in nAllocationCubeCreateFromBitmap() argument 327 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage); in nAllocationCubeCreateFromBitmap() 329 native int rsnAllocationCreateBitmapRef(int con, int type, Bitmap bmp); in rsnAllocationCreateBitmapRef() argument [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScript.java | 365 native long rsnAllocationCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); in rsnAllocationCreateFromBitmap() argument 366 synchronized long nAllocationCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { in nAllocationCreateFromBitmap() argument 368 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); in nAllocationCreateFromBitmap() 371 …native long rsnAllocationCreateBitmapBackedAllocation(long con, long type, int mip, Bitmap bmp, in… in rsnAllocationCreateBitmapBackedAllocation() argument 372 …synchronized long nAllocationCreateBitmapBackedAllocation(long type, int mip, Bitmap bmp, int usag… in nAllocationCreateBitmapBackedAllocation() argument 374 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); in nAllocationCreateBitmapBackedAllocation() 377 …native long rsnAllocationCubeCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); in rsnAllocationCubeCreateFromBitmap() argument 378 synchronized long nAllocationCubeCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { in nAllocationCubeCreateFromBitmap() argument 380 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage); in nAllocationCubeCreateFromBitmap() 382 native long rsnAllocationCreateBitmapRef(long con, long type, Bitmap bmp); in rsnAllocationCreateBitmapRef() argument [all …]
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | BasicBitmapDrawable.java | 231 protected void setBitmap(ReusableBitmap bmp) { in setBitmap() argument 235 mBitmap = bmp; in setBitmap() 354 return mBitmap != null && mBitmap.bmp != null; in hasBitmap() 363 canvas.drawBitmap(mBitmap.bmp, src, dst, mPaint); in onDrawBitmap() 384 return (hasBitmap() && (mBitmap.bmp.hasAlpha() || mPaint.getAlpha() < 255)) ? in getOpacity()
|
D | ExtendedBitmapDrawable.java | 200 protected void setBitmap(ReusableBitmap bmp) { in setBitmap() argument 201 setLoadState((bmp != null) ? LOAD_STATE_LOADED : LOAD_STATE_FAILED); in setBitmap() 203 super.setBitmap(bmp); in setBitmap()
|
D | CircularBitmapDrawable.java | 95 onDrawCircularBitmap(getBitmap().bmp, canvas, src, dst, 1f); in onDrawBitmap()
|
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/ |
D | GenImage.java | 256 Bitmap bmp = Bitmap.createBitmap(512, 512, Bitmap.Config.ARGB_8888); in draw() local 257 bmp.setPixels(ib.array(), 0, 512, 0, 0, 512, 512); in draw() 263 bmp.compress(Bitmap.CompressFormat.PNG, 95, out); in draw() 268 bmp.recycle(); in draw()
|
/frameworks/support/v4/java/android/support/v4/media/ |
D | MediaMetadataCompat.java | 342 Bitmap bmp = null; in getBitmap() local 344 bmp = mBundle.getParcelable(key); in getBitmap() 349 return bmp; in getBitmap()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | Bridge.java | 558 public static void setCachedBitmap(String value, Bitmap bmp, Object projectKey) { in setCachedBitmap() argument 567 map.put(value, new SoftReference<Bitmap>(bmp)); in setCachedBitmap() 569 sFrameworkBitmapCache.put(value, new SoftReference<Bitmap>(bmp)); in setCachedBitmap()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardTransportControlView.java | 408 void setBadgeIcon(Drawable bmp) { in setBadgeIcon() argument 409 mBadge.setImageDrawable(bmp); in setBadgeIcon()
|
D | KeyguardUpdateMonitor.java | 653 public void dispatchSetBackground(Bitmap bmp) { in dispatchSetBackground() argument 659 cb.onSetBackground(bmp); in dispatchSetBackground()
|
/frameworks/base/docs/html/guide/appendix/ |
D | media-formats.jd | 216 BMP (.bmp)</td>
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 673 static void ReleaseBitmapCallback(void *bmp) in ReleaseBitmapCallback() argument 675 SkBitmap const * nativeBitmap = (SkBitmap const *)bmp; in ReleaseBitmapCallback()
|