/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | ThemedIconDrawable.java | 36 final BitmapInfo bitmapInfo; field in ThemedIconDrawable 50 bitmapInfo = constantState.bitmapInfo; in ThemedIconDrawable() 54 mMonoIcon = bitmapInfo.mMono; in ThemedIconDrawable() 58 mBgBitmap = bitmapInfo.mWhiteShadowLayer; in ThemedIconDrawable() 89 return new ThemedConstantState(bitmapInfo, colorBg, colorFg); in newConstantState() 94 final BitmapInfo bitmapInfo; field in ThemedIconDrawable.ThemedConstantState 97 public ThemedConstantState(BitmapInfo bitmapInfo, int colorBg, int colorFg) { in ThemedConstantState() argument 98 super(bitmapInfo.icon, bitmapInfo.color); in ThemedConstantState() 99 this.bitmapInfo = bitmapInfo; in ThemedConstantState()
|
/frameworks/base/libs/hwui/jni/ |
D | ImageDecoder.cpp | 331 SkImageInfo bitmapInfo = decoder->getOutputInfo(); in ImageDecoder_nDecodeBitmap() local 333 bitmapInfo = bitmapInfo.makeColorType(kAlpha_8_SkColorType); in ImageDecoder_nDecodeBitmap() 337 if (!bm.setInfo(bitmapInfo)) { in ImageDecoder_nDecodeBitmap() 351 bitmapInfo.width(), bitmapInfo.height()); in ImageDecoder_nDecodeBitmap() 356 ATRACE_FORMAT("Decoding %dx%d bitmap", bitmapInfo.width(), bitmapInfo.height()); in ImageDecoder_nDecodeBitmap()
|
D | BitmapFactory.cpp | 221 SkImageInfo bitmapInfo = decodeInfo; in decodeGainmap() local 224 bitmapInfo = bitmapInfo.makeColorType(kAlpha_8_SkColorType); in decodeGainmap() 229 if (!decodeBitmap.setInfo(bitmapInfo)) { in decodeGainmap() 269 bitmapInfo.makeWH(scaledWidth, scaledHeight).makeColorType(scaledColorType)); in decodeGainmap() 492 SkImageInfo bitmapInfo = decodeInfo; in doDecode() local 498 bitmapInfo = in doDecode() 499 bitmapInfo.makeColorType(kAlpha_8_SkColorType).makeAlphaType(kPremul_SkAlphaType); in doDecode() 502 if (!decodingBitmap.setInfo(bitmapInfo) || in doDecode() 582 bitmapInfo.makeWH(scaledWidth, scaledHeight).makeColorType(scaledColorType)); in doDecode()
|
/frameworks/base/libs/hwui/hwui/ |
D | ImageDecoder.cpp | 545 SkImageInfo bitmapInfo = decoder.getOutputInfo(); in extractGainmap() local 546 if (bitmapInfo.colorType() == kGray_8_SkColorType) { in extractGainmap() 547 bitmapInfo = bitmapInfo.makeColorType(kAlpha_8_SkColorType); in extractGainmap() 551 if (!bm.setInfo(bitmapInfo)) { in extractGainmap() 563 ALOGE("OOM allocating Bitmap with dimensions %i x %i", bitmapInfo.width(), in extractGainmap() 564 bitmapInfo.height()); in extractGainmap()
|
/frameworks/base/core/jni/android/opengl/ |
D | util.cpp | 643 AndroidBitmapInfo bitmapInfo = bitmap.getInfo(); in util_texImage2D() local 646 internalformat = getInternalFormat(bitmapInfo.format); in util_texImage2D() 649 type = getType(bitmapInfo.format); in util_texImage2D() 652 if (checkInternalFormat(bitmapInfo.format, internalformat, type)) { in util_texImage2D() 653 glTexImage2D(target, level, internalformat, bitmapInfo.width, bitmapInfo.height, border, in util_texImage2D() 667 AndroidBitmapInfo bitmapInfo = bitmap.getInfo(); in util_texSubImage2D() local 669 int internalFormat = getInternalFormat(bitmapInfo.format); in util_texSubImage2D() 676 if (checkInternalFormat(bitmapInfo.format, internalFormat, type)) { in util_texSubImage2D() 677 glTexSubImage2D(target, level, xoffset, yoffset, bitmapInfo.width, bitmapInfo.height, in util_texSubImage2D()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | BaseIconCache.java | 782 private ContentValues newContentValues(@NonNull final BitmapInfo bitmapInfo, in newContentValues() argument 786 if (bitmapInfo.canPersist()) { in newContentValues() 787 values.put(IconDB.COLUMN_ICON, flattenBitmap(bitmapInfo.icon)); in newContentValues() 790 Bitmap mono = bitmapInfo.getMono(); in newContentValues() 791 if (mono != null && mono.getHeight() == bitmapInfo.icon.getHeight() in newContentValues() 792 && mono.getWidth() == bitmapInfo.icon.getWidth() in newContentValues() 804 values.put(IconDB.COLUMN_ICON_COLOR, bitmapInfo.color); in newContentValues() 805 values.put(IconDB.COLUMN_FLAGS, bitmapInfo.flags); in newContentValues()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 298 AndroidBitmapInfo bitmapInfo; in initTexture() local 299 void* pixels = decodeImage(asset->getBuffer(false), asset->getLength(), &bitmapInfo, in initTexture() 310 const int w = bitmapInfo.width; in initTexture() 311 const int h = bitmapInfo.height; in initTexture() 319 switch (bitmapInfo.format) { in initTexture() 351 AndroidBitmapInfo bitmapInfo; in initTexture() local 352 void* pixels = decodeImage(map->getDataPtr(), map->getDataLength(), &bitmapInfo, in initTexture() 365 const int w = bitmapInfo.width; in initTexture() 366 const int h = bitmapInfo.height; in initTexture() 373 switch (bitmapInfo.format) { in initTexture()
|