Searched defs:targetSize (Results 1 - 5 of 5) sorted by relevance
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | UnrefedPooledCache.java | 38 * Because this class only counts unreferenced objects toward targetSize, 40 * <code>(targetSize) + (# of threads concurrently writing to cache) + 55 * @param targetSize not exactly a max size in practice 56 * @param nonPooledFraction the fractional portion in the range [0.0,1.0] of targetSize to 59 public UnrefedPooledCache(int targetSize, float nonPooledFraction) { argument 62 final int nonPooledSize = Math.round(targetSize * nonPooledFraction); 68 mTargetSize = targetSize - nonPooledSize;
|
/frameworks/base/libs/hwui/ |
H A D | TextureCache.cpp | 247 uint32_t targetSize = uint32_t(mSize * mFlushRate); local 248 TEXTURE_LOGD("TextureCache::flush: target size: %d", targetSize); 250 while (mSize > targetSize) {
|
/frameworks/base/media/java/android/media/ |
H A D | ThumbnailUtils.java | 86 int targetSize = wantMini 96 createThumbnailFromEXIF(filePath, targetSize, maxPixels, sizedThumbnailBitmap); 114 options, targetSize, maxPixels); 472 private static void createThumbnailFromEXIF(String filePath, int targetSize, argument 494 exifOptions.inSampleSize = computeSampleSize(exifOptions, targetSize, maxPixels); 501 fullOptions.inSampleSize = computeSampleSize(fullOptions, targetSize, maxPixels);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 499 * than the targetSize, but it will always be less than 2x the targetSize 501 private Bitmap decodePreview(BitmapSource source, int targetSize) { argument 509 float scale = (float) targetSize / (float) (Math.max(result.getWidth(), result.getHeight()));
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageInstallerSession.java | 902 private static void resizeContainer(String cid, long targetSize) argument 911 if (currentSize > targetSize) { 913 + targetSize + "; skipping resize"); 922 if (!PackageHelper.resizeSdDir(targetSize, cid, 925 "Failed to resize " + cid + " to " + targetSize + " bytes");
|
Completed in 568 milliseconds