/frameworks/base/core/java/android/hardware/radio/ |
D | RadioMetadata.java | 266 Bitmap bmp = null; in getBitmap() local 268 bmp = mBundle.getParcelable(key); in getBitmap() 273 return bmp; in getBitmap() 380 Bitmap bmp = (Bitmap) value; in Builder() local 381 if (bmp.getHeight() > maxBitmapSize || bmp.getWidth() > maxBitmapSize) { in Builder() 382 putBitmap(key, scaleBitmap(bmp, maxBitmapSize)); in Builder() 493 private Bitmap scaleBitmap(Bitmap bmp, int maxSize) { in scaleBitmap() argument 495 float widthScale = maxSizeF / bmp.getWidth(); in scaleBitmap() 496 float heightScale = maxSizeF / bmp.getHeight(); in scaleBitmap() 498 int height = (int) (bmp.getHeight() * scale); in scaleBitmap() [all …]
|
/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() 523 result.bmp.recycle(); in onCancelled()
|
/frameworks/base/libs/hwui/utils/ |
D | TestWindowContext.cpp | 117 bool capturePixels(SkBitmap* bmp) { in capturePixels() argument 121 bmp->allocPixels(destinationConfig); in capturePixels() 122 sk_memset32((uint32_t*) bmp->getPixels(), SK_ColorRED, in capturePixels() 132 bmp->eraseColor(SK_ColorTRANSPARENT); in capturePixels() 156 LOG_ALWAYS_FATAL_IF(bmp->colorType() != kRGBA_8888_SkColorType, in capturePixels() 159 nativeWrapper.readPixels(destinationConfig, bmp->getPixels(), bmp->rowBytes(), 0, 0); in capturePixels() 214 bool TestWindowContext::capturePixels(SkBitmap* bmp) { in capturePixels() argument 215 return mData ? mData->capturePixels(bmp) : false; in capturePixels()
|
D | TestWindowContext.h | 54 bool capturePixels(SkBitmap* bmp);
|
/frameworks/base/media/java/android/media/ |
D | MediaMetadata.java | 447 Bitmap bmp = null; in getBitmap() local 449 bmp = mBundle.getParcelable(key); in getBitmap() 454 return bmp; in getBitmap() 618 Bitmap bmp = (Bitmap) value; in Builder() local 619 if (bmp.getHeight() > maxBitmapSize || bmp.getWidth() > maxBitmapSize) { in Builder() 620 putBitmap(key, scaleBitmap(bmp, maxBitmapSize)); in Builder() 794 private Bitmap scaleBitmap(Bitmap bmp, int maxSize) { in scaleBitmap() argument 796 float widthScale = maxSizeF / bmp.getWidth(); in scaleBitmap() 797 float heightScale = maxSizeF / bmp.getHeight(); in scaleBitmap() 799 int height = (int) (bmp.getHeight() * scale); in scaleBitmap() [all …]
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | BasicBitmapDrawable.java | 263 protected void setBitmap(ReusableBitmap bmp) { in setBitmap() argument 267 mBitmap = bmp; in setBitmap() 410 return mBitmap != null && mBitmap.bmp != null; in hasBitmap() 419 canvas.drawBitmap(mBitmap.bmp, src, dst, mPaint); in onDrawBitmap() 440 return (hasBitmap() && (mBitmap.bmp.hasAlpha() || mPaint.getAlpha() < 255)) ? in getOpacity()
|
D | ExtendedBitmapDrawable.java | 202 protected void setBitmap(ReusableBitmap bmp) { in setBitmap() argument 203 if (bmp != null) { in setBitmap() 209 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/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | RenderScript.java | 380 native long rsnAllocationCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); in rsnAllocationCreateFromBitmap() argument 381 synchronized long nAllocationCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { in nAllocationCreateFromBitmap() argument 383 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); in nAllocationCreateFromBitmap() 386 …native long rsnAllocationCreateBitmapBackedAllocation(long con, long type, int mip, Bitmap bmp, i… in rsnAllocationCreateBitmapBackedAllocation() argument 387 …synchronized long nAllocationCreateBitmapBackedAllocation(long type, int mip, Bitmap bmp, int usag… in nAllocationCreateBitmapBackedAllocation() argument 389 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); in nAllocationCreateBitmapBackedAllocation() 393 …native long rsnAllocationCubeCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage… in rsnAllocationCubeCreateFromBitmap() argument 394 synchronized long nAllocationCubeCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { in nAllocationCubeCreateFromBitmap() argument 396 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage); in nAllocationCubeCreateFromBitmap() 398 native long rsnAllocationCreateBitmapRef(long con, long type, Bitmap bmp); in rsnAllocationCreateBitmapRef() argument [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScript.java | 446 native long rsnAllocationCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); in rsnAllocationCreateFromBitmap() argument 447 synchronized long nAllocationCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { in nAllocationCreateFromBitmap() argument 449 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); in nAllocationCreateFromBitmap() 452 …native long rsnAllocationCreateBitmapBackedAllocation(long con, long type, int mip, Bitmap bmp, in… in rsnAllocationCreateBitmapBackedAllocation() argument 453 …synchronized long nAllocationCreateBitmapBackedAllocation(long type, int mip, Bitmap bmp, int usag… in nAllocationCreateBitmapBackedAllocation() argument 455 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); in nAllocationCreateBitmapBackedAllocation() 458 …native long rsnAllocationCubeCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); in rsnAllocationCubeCreateFromBitmap() argument 459 synchronized long nAllocationCubeCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { in nAllocationCubeCreateFromBitmap() argument 461 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage); in nAllocationCubeCreateFromBitmap() 463 native long rsnAllocationCreateBitmapRef(long con, long type, Bitmap bmp); in rsnAllocationCreateBitmapRef() argument [all …]
|
/frameworks/support/v4/java/android/support/v4/media/ |
D | MediaMetadataCompat.java | 386 Bitmap bmp = null; in getBitmap() local 388 bmp = mBundle.getParcelable(key); in getBitmap() 393 return bmp; in getBitmap()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | Bridge.java | 673 public static void setCachedBitmap(String value, Bitmap bmp, Object projectKey) { in setCachedBitmap() argument 682 map.put(value, new SoftReference<Bitmap>(bmp)); in setCachedBitmap() 684 sFrameworkBitmapCache.put(value, new SoftReference<Bitmap>(bmp)); in setCachedBitmap()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 962 public void dispatchSetBackground(Bitmap bmp) { in dispatchSetBackground() argument 968 cb.onSetBackground(bmp); in dispatchSetBackground()
|
/frameworks/base/docs/html/guide/appendix/ |
D | media-formats.jd | 225 BMP (.bmp)</td>
|