Searched refs:targetSize (Results 1 – 9 of 9) sorted by relevance
/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 | 894 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/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/media/jni/ |
D | android_media_MediaMetadataRetriever.cpp | 439 JNIEnv *env, jobject thiz, jint index, jobject params, jint targetSize, jint maxPixels) in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() argument 466 if (thumbWidth >= targetSize || thumbHeight >= targetSize in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()
|
/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()
|
/frameworks/base/media/java/android/media/ |
D | MediaMetadataRetriever.java | 587 int imageIndex, @NonNull BitmapParams params, int targetSize, int maxPixels); in getThumbnailImageAtIndex() argument
|
D | ThumbnailUtils.java | 560 private static void createThumbnailFromEXIF(String filePath, int targetSize, in createThumbnailFromEXIF() argument
|