Searched refs:targetSize (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/view/animation/
H A DScaleAnimation.java261 float targetSize;
263 targetSize = TypedValue.complexToFraction(data, size, psize);
265 targetSize = TypedValue.complexToDimension(data, mResources.getDisplayMetrics());
274 return targetSize/(float)size;
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java92 int targetSize = wantMini
102 createThumbnailFromEXIF(filePath, targetSize, maxPixels, sizedThumbnailBitmap);
120 options, targetSize, maxPixels);
478 private static void createThumbnailFromEXIF(String filePath, int targetSize, argument
500 exifOptions.inSampleSize = computeSampleSize(exifOptions, targetSize, maxPixels);
507 fullOptions.inSampleSize = computeSampleSize(fullOptions, targetSize, maxPixels);
/frameworks/base/libs/hwui/
H A DTextureCache.cpp204 uint32_t targetSize = uint32_t(mSize * mFlushRate); local
205 TEXTURE_LOGD("TextureCache::flush: target size: %d", targetSize);
207 while (mSize > targetSize) {
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
H A DBitmapRegionTileSource.java498 * than the targetSize, but it will always be less than 2x the targetSize
500 private Bitmap decodePreview(BitmapSource source, int targetSize) { argument
508 float scale = (float) targetSize / (float) (Math.max(result.getWidth(), result.getHeight()));

Completed in 1643 milliseconds