Searched defs:targetSize (Results 1 - 6 of 6) sorted by relevance
/frameworks/av/media/libstagefright/ |
H A D | DataConverter.cpp | 32 size_t size = targetSize(source->size()); 52 size_t DataConverter::sourceSize(size_t targetSize) { argument 53 return targetSize; 56 size_t DataConverter::targetSize(size_t sourceSize) { function in class:android::DataConverter 63 size_t SampleConverterBase::sourceSize(size_t targetSize) { argument 64 size_t numSamples = targetSize / mTargetSampleSize; 67 targetSize, mSourceSampleSize, mTargetSampleSize); 73 size_t SampleConverterBase::targetSize(size_t sourceSize) { function in class:android::SampleConverterBase
|
/frameworks/base/libs/hwui/ |
H A D | TextureCache.cpp | 218 uint32_t targetSize = uint32_t(mSize * mFlushRate); local 219 TEXTURE_LOGD("TextureCache::flush: target size: %d", targetSize); 221 while (mSize > targetSize) {
|
/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/media/java/android/media/ |
H A D | ThumbnailUtils.java | 86 int targetSize = wantMini 97 createThumbnailFromEXIF(filePath, targetSize, maxPixels, sizedThumbnailBitmap); 115 options, targetSize, maxPixels); 473 private static void createThumbnailFromEXIF(String filePath, int targetSize, argument 495 exifOptions.inSampleSize = computeSampleSize(exifOptions, targetSize, maxPixels); 502 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 | 1336 private static void resizeContainer(String cid, long targetSize) argument 1345 if (currentSize > targetSize) { 1347 + targetSize + "; skipping resize"); 1356 if (!PackageHelper.resizeSdDir(targetSize, cid, 1359 "Failed to resize " + cid + " to " + targetSize + " bytes");
|
Completed in 278 milliseconds