HomeSort by relevance Sort by last modified time
    Searched full:targetsize (Results 1 - 25 of 36) sorted by null

1 2

  /packages/apps/Gallery2/src/com/android/gallery3d/data/
DecodeUtils.java 101 JobContext jc, String filePath, Options options, int targetSize, int type) {
106 return decodeThumbnail(jc, fd, options, targetSize, type);
116 JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) {
129 // we want to make sure the shorter side >= "targetSize".
130 float scale = (float) targetSize / Math.min(w, h);
141 // For screen nail, we only want to keep the longer side >= targetSize.
142 float scale = (float) targetSize / Math.max(w, h);
154 float scale = (float) targetSize / (type == MediaItem.TYPE_MICROTHUMBNAIL
167 * larger than the <code>targetSize</code>.
170 Options options, int targetSize) {
    [all...]
ActionImage.java 61 int targetSize = MediaItem.getTargetSize(mType);
66 bitmap = BitmapUtils.resizeAndCropCenter(bitmap, targetSize, true);
68 bitmap = BitmapUtils.resizeDownBySideLength(bitmap, targetSize, true);
ImageCacheRequest.java 38 Path path, long timeModified, int type, int targetSize) {
42 mTargetSize = targetSize;
101 public abstract Bitmap onDecodeOriginal(JobContext jc, int targetSize);
UriImage.java 193 int targetSize = MediaItem.getTargetSize(mType);
197 mFileDescriptor.getFileDescriptor(), options, targetSize, mType);
204 bitmap = BitmapUtils.resizeAndCropCenter(bitmap, targetSize, true);
206 bitmap = BitmapUtils.resizeDownBySideLength(bitmap, targetSize, true);
LocalImage.java 193 int targetSize = MediaItem.getTargetSize(type);
209 jc, thumbData, options, targetSize);
214 return DecodeUtils.decodeThumbnail(jc, mLocalFilePath, options, targetSize, type);
  /packages/apps/UnifiedEmail/src/com/android/bitmap/
AltPooledCache.java 36 * Because this class only counts unreferenced objects toward targetSize,
38 * <code>(targetSize) + (# of threads concurrently writing to cache) +
52 * @param targetSize not exactly a max size in practice
53 * @param nonPooledFraction the fractional portion in the range [0.0,1.0] of targetSize to
56 public AltPooledCache(int targetSize, float nonPooledFraction) {
59 final int nonPooledSize = Math.round(targetSize * nonPooledFraction);
65 mTargetSize = targetSize - nonPooledSize;
  /packages/apps/Gallery2/src/com/android/photos/
BitmapRegionTileSource.java 188 * than the targetSize, but it will always be less than 2x the targetSize
190 private Bitmap decodePreview(String file, int targetSize) {
191 float scale = (float) targetSize / Math.max(mWidth, mHeight);
202 scale = (float) targetSize / (float) (Math.max(result.getWidth(), result.getHeight()));
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
LevenshteinDistance.java 40 final int targetSize = target.length;
41 final int[][] editTab = new int[sourceSize+1][targetSize+1];
42 final int[][] distTab = new int[sourceSize+1][targetSize+1];
49 for (int i = 1; i <= targetSize; ++i) {
  /external/llvm/include/llvm/MC/
MCFixupKindInfo.h 35 unsigned TargetSize;
  /external/chromium_org/third_party/icu/source/test/cintltst/
eurocreg.c 145 int32_t targetSize, euroBackSize;
149 targetSize = ucnv_fromUChars(myConv,
164 targetSize,
  /external/icu4c/test/cintltst/
eurocreg.c 145 int32_t targetSize, euroBackSize;
149 targetSize = ucnv_fromUChars(myConv,
164 targetSize,
  /packages/apps/Mms/src/com/android/mms/util/
ThumbnailManager.java 451 private Bitmap requestDecode(final Uri uri, Options options, int targetSize) {
475 options.outWidth, options.outHeight, targetSize);
487 result = resizeDownIfTooBig(result, targetSize, true);
518 // Resize the bitmap if each side is >= targetSize * 2
520 Bitmap bitmap, int targetSize, boolean recycle) {
524 (float) targetSize / srcWidth, (float) targetSize / srcHeight);
  /external/chromium_org/third_party/WebKit/Source/core/fetch/
MemoryCache.cpp 170 size_t targetSize = static_cast<size_t>(capacity * cTargetPrunePercentage); // Cut by a percentage to avoid immediately pruning again.
199 if (targetSize && m_liveSize <= targetSize)
213 size_t targetSize = static_cast<size_t>(capacity * cTargetPrunePercentage); // Cut by a percentage to avoid immediately pruning again.
230 if (targetSize && m_deadSize <= targetSize)
249 if (targetSize && m_deadSize <= targetSize)
266 if (targetSize && m_deadSize <= targetSize)
    [all...]
  /frameworks/base/media/java/android/media/
ThumbnailUtils.java 92 int targetSize = wantMini
102 createThumbnailFromEXIF(filePath, targetSize, maxPixels, sizedThumbnailBitmap);
120 options, targetSize, maxPixels);
478 private static void createThumbnailFromEXIF(String filePath, int targetSize,
500 exifOptions.inSampleSize = computeSampleSize(exifOptions, targetSize, maxPixels);
507 fullOptions.inSampleSize = computeSampleSize(fullOptions, targetSize, maxPixels);
  /frameworks/base/libs/hwui/
TextureCache.cpp 204 uint32_t targetSize = uint32_t(mSize * mFlushRate);
205 TEXTURE_LOGD("TextureCache::flush: target size: %d", targetSize);
207 while (mSize > targetSize) {
  /frameworks/base/core/java/android/view/animation/
ScaleAnimation.java 261 float targetSize;
263 targetSize = TypedValue.complexToFraction(data, size, psize);
265 targetSize = TypedValue.complexToDimension(data, mResources.getDisplayMetrics());
274 return targetSize/(float)size;
  /packages/apps/Gallery2/src/com/android/photos/data/
SparseArrayBitmapPool.java 78 int targetSize = mCapacityBytes - bytesNeeded;
80 while (mPoolNodesTail != null && mSizeBytes > targetSize) {
  /dalvik/vm/alloc/
HeapSource.cpp     [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/
BitmapRegionTileSource.java 498 * than the targetSize, but it will always be less than 2x the targetSize
500 private Bitmap decodePreview(BitmapSource source, int targetSize) {
508 float scale = (float) targetSize / (float) (Math.max(result.getWidth(), result.getHeight()));
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/
BitmapRegionTileSource.java 502 * than the targetSize, but it will always be less than 2x the targetSize
504 private Bitmap decodePreview(BitmapSource source, int targetSize) {
512 float scale = (float) targetSize / (float) (Math.max(result.getWidth(), result.getHeight()));
  /external/clang/lib/StaticAnalyzer/Checkers/
BasicObjCFoundationChecks.cpp 320 uint64_t SourceSize, uint64_t TargetSize, uint64_t NumberKind);
426 uint64_t TargetSize = *OptTargetSize;
453 // CHECK: is SourceSize == TargetSize
454 if (SourceSize == TargetSize)
457 // Generate an error. Only generate a sink if 'SourceSize < TargetSize';
463 if (ExplodedNode *N = SourceSize < TargetSize ? C.generateSink()
471 << (TargetSize == 8 ? "an " : "a ")
472 << TargetSize << " bit integer. ";
474 if (SourceSize < TargetSize)
475 os << (TargetSize - SourceSize
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
PopupContainer.cpp 183 IntSize targetSize(m_listBox->width() + borderSize * 2, m_listBox->height() + borderSize * 2);
194 widgetRectInScreen = chromeClient().rootViewToScreen(IntRect(popupX, popupY, targetSize.width(), targetSize.height()));
  /external/llvm/lib/Target/Mips/MCTargetDesc/
MipsAsmBackend.cpp 114 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8;
139 (64 - getFixupKindInfo(Kind).TargetSize));
  /external/chromium_org/device/nfc/
nfc_ndef_record.cc 148 const char NfcNdefRecord::kFieldTargetSize[] = "targetSize";
  /external/llvm/lib/Target/SystemZ/MCTargetDesc/
SystemZMCAsmBackend.cpp 104 unsigned Size = (getFixupKindInfo(Kind).TargetSize + 7) / 8;

Completed in 937 milliseconds

1 2