/external/icu4c/test/cintltst/ |
eurocreg.c | 145 int32_t targetSize, euroBackSize; 149 targetSize = ucnv_fromUChars(myConv, 164 targetSize,
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
ActionImage.java | 61 int targetSize = MediaItem.getTargetSize(mType); 66 bitmap = BitmapUtils.resizeAndCropCenter(bitmap, targetSize, true); 68 bitmap = BitmapUtils.resizeDownBySideLength(bitmap, targetSize, true);
|
ImageCacheRequest.java | 37 Path path, int type, int targetSize) { 41 mTargetSize = targetSize; 99 public abstract Bitmap onDecodeOriginal(JobContext jc, int targetSize);
|
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...] |
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 | 194 int targetSize = MediaItem.getTargetSize(type); 210 jc, thumbData, options, targetSize); 215 return DecodeUtils.decodeThumbnail(jc, mLocalFilePath, options, targetSize, type);
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
MediaCacheUtils.java | 78 public static boolean downsample(File inBitmap, MediaSize targetSize, File outBitmap) { 79 if (MediaSize.Original == targetSize) { 82 int size = getTargetSize(targetSize); 99 int targetSize = getTargetSize(size); 105 float scale = targetSize / maxDimension; 124 int targetSize = getTargetSize(size); 126 return maxDimension > (targetSize * 4 / 3);
|
SparseArrayBitmapPool.java | 54 int targetSize = mCapacityBytes - bytesNeeded; 55 while (mPoolNodesTail != null && mSizeBytes > targetSize) {
|
/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) {
|
/packages/apps/Gallery2/tests/src/com/android/photos/data/ |
MediaCacheTest.java | 180 int targetSize = MediaCacheUtils.getTargetSize(MediaSize.Preview); 181 assertTrue(maxDimension >= targetSize); 182 assertTrue(maxDimension < (targetSize * 2)); 219 int targetSize = MediaCacheUtils.getTargetSize(MediaSize.Thumbnail); 220 assertTrue(maxDimension >= targetSize); 221 assertTrue(maxDimension < (targetSize * 2)); 252 int targetSize = MediaCacheUtils.getTargetSize(MediaSize.Preview); 253 assertTrue(maxDimension >= targetSize); 254 assertTrue(maxDimension < (targetSize * 2)); 264 targetSize = MediaCacheUtils.getTargetSize(MediaSize.Thumbnail) [all...] |
/external/webkit/Source/WebKit2/WebProcess/WebPage/ |
TiledDrawingArea.cpp | 210 IntSize targetSize; 213 if (!arguments->decode(CoreIPC::Out(targetSize, contentsRect))) 220 float targetScale = float(targetSize.width()) / contentsRect.width(); 222 UpdateChunk updateChunk(IntRect(IntPoint(contentsRect.x() * targetScale, contentsRect.y() * targetScale), 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;
|
/external/webkit/Source/WebCore/loader/cache/ |
MemoryCache.cpp | 173 unsigned targetSize = static_cast<unsigned>(capacity * cTargetPrunePercentage); // Cut by a percentage to avoid immediately pruning again. 201 if (targetSize && m_liveSize <= targetSize) 217 unsigned targetSize = static_cast<unsigned>(capacity * cTargetPrunePercentage); // Cut by a percentage to avoid immediately pruning again. 234 if (targetSize && m_deadSize <= targetSize) 253 if (targetSize && m_deadSize <= targetSize) { 274 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);
|
/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); 511 // Resize the bitmap if each side is >= targetSize * 2 513 Bitmap bitmap, int targetSize, boolean recycle) { 517 (float) targetSize / srcWidth, (float) targetSize / srcHeight);
|
/external/webkit/Source/WebKit2/UIProcess/ |
WebBackForwardList.cpp | 71 unsigned targetSize = m_current + 1; 72 removedItems.reserveCapacity(m_entries.size() - targetSize); 73 while (m_entries.size() > targetSize) {
|
/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) {
|
/external/webkit/Source/WebCore/history/ |
BackForwardListImpl.cpp | 68 unsigned targetSize = m_current + 1; 69 while (m_entries.size() > targetSize) {
|
/dalvik/vm/alloc/ |
HeapSource.cpp | [all...] |
/external/webkit/Source/WebCore/platform/chromium/ |
PopupMenuChromium.cpp | 342 IntSize targetSize(m_listBox->width() + kBorderSize * 2, 353 widgetRect = chromeClient->windowToScreen(IntRect(popupInitialCoordinate.x() + rightOffset, popupInitialCoordinate.y(), targetSize.width(), targetSize.height())); [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoTable.java | 577 int targetSize = Math.max(0, mOnTable.size() - mRedealCount); 578 while (mOnTable.size() > targetSize) { [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
PositionController.java | [all...] |
/external/icu4c/test/intltest/ |
ssearch.cpp | [all...] |