/packages/apps/TV/src/com/android/tv/util/images/ |
ImageCache.java | 55 protected int sizeOf(String key, ScaledBitmapInfo bitmapInfo) { 56 return (bitmapInfo.bitmap.getByteCount() + 1023) / 1024; 99 * @param bitmapInfo The {@link ScaledBitmapInfo} object to store 101 public void putIfNeeded(ScaledBitmapInfo bitmapInfo) { 102 if (bitmapInfo == null || bitmapInfo.id == null) { 105 String key = bitmapInfo.id; 108 ScaledBitmapInfo old = mMemoryCache.put(key, bitmapInfo); 109 if (old != null && !old.needToReload(bitmapInfo)) { 117 + bitmapInfo [all...] |
ImageLoader.java | 213 ScaledBitmapInfo bitmapInfo = imageCache.get(uriString); 214 if (bitmapInfo != null && !bitmapInfo.needToReload(maxWidth, maxHeight)) { 216 callback.onBitmapLoaded(bitmapInfo.bitmap); 245 ScaledBitmapInfo bitmapInfo = loadBitmapTask.getFromCache(); 247 if (bitmapInfo != null && !needToReload) { 249 callback.onBitmapLoaded(bitmapInfo.bitmap); 292 ScaledBitmapInfo bitmapInfo = getFromCache(); 294 bitmapInfo != null && bitmapInfo.needToReload(mMaxWidth, mMaxHeight) [all...] |
/external/deqp/framework/platform/win32/ |
tcuWin32EGLNativeDisplayFactory.cpp | 153 BITMAPINFO bitmapInfo; 155 memset(&bitmapInfo, 0, sizeof(bitmapInfo)); 160 bitmapInfo.bmiHeader.biSize = sizeof(bitmapInfo); 161 bitmapInfo.bmiHeader.biWidth = width; 162 bitmapInfo.bmiHeader.biHeight = height; 163 bitmapInfo.bmiHeader.biPlanes = 1; 164 bitmapInfo.bmiHeader.biBitCount = bitDepth [all...] |
/external/swiftshader/src/Main/ |
FrameBufferGDI.cpp | 140 BITMAPINFO bitmapInfo; 141 memset(&bitmapInfo, 0, sizeof(BITMAPINFO)); 142 bitmapInfo.bmiHeader.biSize = sizeof(BITMAPINFO); 143 bitmapInfo.bmiHeader.biBitCount = 32; 144 bitmapInfo.bmiHeader.biPlanes = 1; 145 bitmapInfo.bmiHeader.biHeight = -height; 146 bitmapInfo.bmiHeader.biWidth = width [all...] |
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
NormalizedIconLoader.java | 31 import com.android.launcher3.graphics.BitmapInfo; 43 private final SparseArray<BitmapInfo> mDefaultIcons = new SparseArray<>(); 56 BitmapInfo info = mDefaultIcons.get(userId); 73 private synchronized BitmapInfo getBitmapInfo(Drawable drawable, int userId, 88 BitmapInfo bitmapInfo = getBitmapInfo( 93 return mDrawableFactory.newIcon(bitmapInfo, activityInfo);
|
/external/skia/gm/ |
gammaencodedpremul.cpp | 65 SkImageInfo bitmapInfo = SkImageInfo::MakeN32Premul(kAlphaMax, 1, 67 bitmap.allocPixels(bitmapInfo);
|
/external/skqp/gm/ |
gammaencodedpremul.cpp | 65 SkImageInfo bitmapInfo = SkImageInfo::MakeN32Premul(kAlphaMax, 1, 67 bitmap.allocPixels(bitmapInfo);
|
/packages/apps/TV/src/com/android/tv/data/ |
ChannelLogoFetcher.java | 136 ScaledBitmapInfo bitmapInfo = 139 if (bitmapInfo == null) { 158 bitmapInfo.bitmap.compress(CompressFormat.PNG, 100, os);
|
/frameworks/base/core/jni/android/graphics/ |
BitmapFactory.cpp | 361 SkImageInfo bitmapInfo = decodeInfo; 363 bitmapInfo = bitmapInfo.makeColorSpace(GraphicsJNI::colorSpaceForType(decodeColorType)); 371 bitmapInfo = 372 bitmapInfo.makeColorType(kAlpha_8_SkColorType).makeAlphaType(kPremul_SkAlphaType); 375 if (!decodingBitmap.setInfo(bitmapInfo) || 455 bitmapInfo.makeWH(scaledWidth, scaledHeight).makeColorType(scaledColorType));
|
ImageDecoder.cpp | 264 auto bitmapInfo = decodeInfo; 266 bitmapInfo = bitmapInfo.makeColorType(kAlpha_8_SkColorType); 268 if (!bm.setInfo(bitmapInfo)) { 366 SkImageInfo scaledInfo = bitmapInfo.makeWH(desiredWidth, desiredHeight);
|
/external/neven/ |
FaceDetector_jni.cpp | 213 AndroidBitmapInfo bitmapInfo; 214 AndroidBitmap_getInfo(_env, bitmap, &bitmapInfo); 217 int wpr = bitmapInfo.stride / 2;
|
/external/skia/dm/ |
DMSrcSink.cpp | 474 SkImageInfo bitmapInfo = decodeInfo; 475 set_bitmap_color_space(&bitmapInfo); 478 bitmapInfo = bitmapInfo.makeColorType(kN32_SkColorType); 536 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); 569 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); 624 draw_to_canvas(canvas, bitmapInfo, dst, rowBytes, fDstColorType); 679 draw_to_canvas(canvas, bitmapInfo, dst, rowBytes, fDstColorType); 700 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); 740 SkImageInfo subsetBitmapInfo = bitmapInfo.makeWH(scaledW, scaledH) [all...] |
/external/skqp/dm/ |
DMSrcSink.cpp | 471 SkImageInfo bitmapInfo = decodeInfo; 472 set_bitmap_color_space(&bitmapInfo); 475 bitmapInfo = bitmapInfo.makeColorType(kN32_SkColorType); 533 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); 566 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); 621 draw_to_canvas(canvas, bitmapInfo, dst, rowBytes, fDstColorType); 676 draw_to_canvas(canvas, bitmapInfo, dst, rowBytes, fDstColorType); 697 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); 737 SkImageInfo subsetBitmapInfo = bitmapInfo.makeWH(scaledW, scaledH) [all...] |
/frameworks/base/libs/hwui/pipeline/skia/ |
SkiaOpenGLPipeline.cpp | 168 SkImageInfo bitmapInfo = SkImageInfo::MakeN32(bitmap->width(), bitmap->height(), 170 if (tmpBitmap.tryAllocPixels(bitmapInfo) && 171 tmpImage->readPixels(bitmapInfo, tmpBitmap.getPixels(),
|
/external/skia/src/ports/ |
SkFontHost_mac.cpp | 852 const CGBitmapInfo bitmapInfo = kCGBitmapByteOrder32Host | alpha; 854 rowBytes, fRGBSpace.get(), bitmapInfo)); [all...] |
/external/skqp/src/ports/ |
SkFontHost_mac.cpp | 852 const CGBitmapInfo bitmapInfo = kCGBitmapByteOrder32Host | alpha; 854 rowBytes, fRGBSpace.get(), bitmapInfo)); [all...] |
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/ |
org.eclipse.equinox.p2.publisher.eclipse_1.1.200.v20130516-1953.jar | |