Searched refs:bitmapInfo (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/jni/android/opengl/ |
D | util.cpp | 717 AndroidBitmapInfo bitmapInfo = bitmap.getInfo(); in util_texImage2D() local 720 internalformat = getInternalFormat(bitmapInfo.format); in util_texImage2D() 723 type = getType(bitmapInfo.format); in util_texImage2D() 726 if (checkInternalFormat(bitmapInfo.format, internalformat, type)) { in util_texImage2D() 727 glTexImage2D(target, level, internalformat, bitmapInfo.width, bitmapInfo.height, border, in util_texImage2D() 738 AndroidBitmapInfo bitmapInfo = bitmap.getInfo(); in util_texSubImage2D() local 740 int internalFormat = getInternalFormat(bitmapInfo.format); in util_texSubImage2D() 747 if (checkInternalFormat(bitmapInfo.format, internalFormat, type)) { in util_texSubImage2D() 748 glTexSubImage2D(target, level, xoffset, yoffset, bitmapInfo.width, bitmapInfo.height, in util_texSubImage2D()
|
/frameworks/base/libs/hwui/jni/ |
D | ImageDecoder.cpp | 307 SkImageInfo bitmapInfo = decoder->getOutputInfo(); in ImageDecoder_nDecodeBitmap() local 309 bitmapInfo = bitmapInfo.makeColorType(kAlpha_8_SkColorType); in ImageDecoder_nDecodeBitmap() 313 if (!bm.setInfo(bitmapInfo)) { in ImageDecoder_nDecodeBitmap() 327 bitmapInfo.width(), bitmapInfo.height()); in ImageDecoder_nDecodeBitmap()
|
D | BitmapFactory.cpp | 354 SkImageInfo bitmapInfo = decodeInfo; in doDecode() local 360 bitmapInfo = in doDecode() 361 bitmapInfo.makeColorType(kAlpha_8_SkColorType).makeAlphaType(kPremul_SkAlphaType); in doDecode() 364 if (!decodingBitmap.setInfo(bitmapInfo) || in doDecode() 444 bitmapInfo.makeWH(scaledWidth, scaledHeight).makeColorType(scaledColorType)); in doDecode()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | BaseIconCache.java | 564 private ContentValues newContentValues(BitmapInfo bitmapInfo, String label, in newContentValues() argument 568 bitmapInfo.isLowRes() ? null : GraphicsUtils.flattenBitmap(bitmapInfo.icon)); in newContentValues() 569 values.put(IconDB.COLUMN_ICON_COLOR, bitmapInfo.color); in newContentValues()
|