/frameworks/av/media/libstagefright/ |
D | DataConverter.cpp | 32 size_t size = targetSize(source->size()); in convert() 52 size_t DataConverter::sourceSize(size_t targetSize) { in sourceSize() argument 53 return targetSize; in sourceSize() 56 size_t DataConverter::targetSize(size_t sourceSize) { in targetSize() function in android::DataConverter 63 size_t SampleConverterBase::sourceSize(size_t targetSize) { in sourceSize() argument 64 size_t numSamples = targetSize / mTargetSampleSize; in sourceSize() 67 targetSize, mSourceSampleSize, mTargetSampleSize); in sourceSize() 73 size_t SampleConverterBase::targetSize(size_t sourceSize) { in targetSize() function in android::SampleConverterBase
|
D | ACodec.cpp | 876 conversionBufferSize = converter->targetSize(bufSize); in allocateBuffersOnPort()
|
/frameworks/av/media/libstagefright/include/ |
D | DataConverter.h | 31 virtual size_t sourceSize(size_t targetSize); // will clamp to SIZE_MAX 32 virtual size_t targetSize(size_t sourceSize); // will clamp to SIZE_MAX 44 virtual size_t sourceSize(size_t targetSize); 45 virtual size_t targetSize(size_t sourceSize);
|
/frameworks/base/core/java/android/view/animation/ |
D | ScaleAnimation.java | 261 float targetSize; in resolveScale() local 263 targetSize = TypedValue.complexToFraction(data, size, psize); in resolveScale() 265 targetSize = TypedValue.complexToDimension(data, mResources.getDisplayMetrics()); in resolveScale() 274 return targetSize/(float)size; in resolveScale()
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 86 int targetSize = wantMini in createImageThumbnail() local 97 createThumbnailFromEXIF(filePath, targetSize, maxPixels, sizedThumbnailBitmap); in createImageThumbnail() 115 options, targetSize, maxPixels); in createImageThumbnail() 473 private static void createThumbnailFromEXIF(String filePath, int targetSize, in createThumbnailFromEXIF() argument 495 exifOptions.inSampleSize = computeSampleSize(exifOptions, targetSize, maxPixels); in createThumbnailFromEXIF() 502 fullOptions.inSampleSize = computeSampleSize(fullOptions, targetSize, maxPixels); in createThumbnailFromEXIF()
|
/frameworks/base/libs/hwui/ |
D | TextureCache.cpp | 220 uint32_t targetSize = uint32_t(mSize * mFlushRate); in flush() local 221 TEXTURE_LOGD("TextureCache::flush: target size: %d", targetSize); in flush() 223 while (mSize > targetSize) { in flush()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | UnrefedPooledCache.java | 59 public UnrefedPooledCache(int targetSize, float nonPooledFraction) { in UnrefedPooledCache() argument 62 final int nonPooledSize = Math.round(targetSize * nonPooledFraction); in UnrefedPooledCache() 68 mTargetSize = targetSize - nonPooledSize; in UnrefedPooledCache()
|
/frameworks/base/packages/ExtServices/src/android/ext/services/resolver/ |
D | LRResolverRankerService.java | 90 final int targetSize = targets.size(); in onTrainRankingModel() local 91 for (int i = 0; i < targetSize; ++i) { in onTrainRankingModel()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerSession.java | 1049 private static void resizeContainer(String cid, long targetSize) in resizeContainer() argument 1058 if (currentSize > targetSize) { in resizeContainer() 1060 + targetSize + "; skipping resize"); in resizeContainer() 1069 if (!PackageHelper.resizeSdDir(targetSize, cid, in resizeContainer() 1072 "Failed to resize " + cid + " to " + targetSize + " bytes"); in resizeContainer()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 501 private Bitmap decodePreview(BitmapSource source, int targetSize) { in decodePreview() argument 509 … float scale = (float) targetSize / (float) (Math.max(result.getWidth(), result.getHeight())); in decodePreview()
|