Home
last modified time | relevance | path

Searched refs:targetSize (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libstagefright/
DDataConverter.cpp32 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
DACodec.cpp894 conversionBufferSize = converter->targetSize(bufSize); in allocateBuffersOnPort()
/frameworks/av/media/libstagefright/include/
DDataConverter.h31 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/
DScaleAnimation.java261 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/
DUnrefedPooledCache.java59 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/
Dandroid_media_MediaMetadataRetriever.cpp439 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/
DBitmapRegionTileSource.java501 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/
DMediaMetadataRetriever.java587 int imageIndex, @NonNull BitmapParams params, int targetSize, int maxPixels); in getThumbnailImageAtIndex() argument
DThumbnailUtils.java560 private static void createThumbnailFromEXIF(String filePath, int targetSize, in createThumbnailFromEXIF() argument