/frameworks/av/media/libstagefright/include/ |
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); 50 // sourceSize = sourceSampleSize / targetSampleSize * targetSize
|
/frameworks/av/media/libstagefright/ |
DataConverter.cpp | 32 size_t size = targetSize(source->size()); 51 size_t DataConverter::sourceSize(size_t targetSize) { 52 return targetSize; 55 size_t DataConverter::targetSize(size_t sourceSize) { 62 size_t SampleConverterBase::sourceSize(size_t targetSize) { 63 size_t numSamples = targetSize / mTargetSampleSize; 66 targetSize, mSourceSampleSize, mTargetSampleSize); 72 size_t SampleConverterBase::targetSize(size_t sourceSize) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DecodeUtils.java | 100 JobContext jc, String filePath, Options options, int targetSize, int type) { 105 return decodeThumbnail(jc, fd, options, targetSize, type); 115 JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) { 128 // we want to make sure the shorter side >= "targetSize". 129 float scale = (float) targetSize / Math.min(w, h); 140 // For screen nail, we only want to keep the longer side >= targetSize. 141 float scale = (float) targetSize / Math.max(w, h); 153 float scale = (float) targetSize / (type == MediaItem.TYPE_MICROTHUMBNAIL 166 * larger than the <code>targetSize</code>. 169 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/Camera2/src/com/android/camera/processing/imagebackend/ |
TaskPreviewChainedJpeg.java | 43 * @param targetSize Approximate viewable pixel demensions of the desired 49 Size targetSize, 52 targetSize , ThumbnailShape.MAINTAIN_ASPECT_NO_INSET);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
BitmapUtil.java | 191 int targetX, targetY, targetSize; 195 targetSize = inputHeight; 199 targetSize = inputWidth; 203 Bitmap output = Bitmap.createBitmap(targetSize, targetSize, Bitmap.Config.ARGB_8888); 211 canvas.drawCircle(targetSize / 2, targetSize / 2, targetSize / 2, paint);
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
UnrefedPooledCache.java | 38 * Because this class only counts unreferenced objects toward targetSize, 40 * <code>(targetSize) + (# of threads concurrently writing to cache) + 55 * @param targetSize not exactly a max size in practice 56 * @param nonPooledFraction the fractional portion in the range [0.0,1.0] of targetSize to 59 public UnrefedPooledCache(int targetSize, float nonPooledFraction) { 62 final int nonPooledSize = Math.round(targetSize * nonPooledFraction); 68 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()));
|
/libcore/ojluni/src/main/java/java/util/stream/ |
ForEachOps.java | 258 private long targetSize; 267 this.targetSize = 0L; 274 this.targetSize = parent.targetSize; 282 if ((sizeThreshold = targetSize) == 0L) 283 targetSize = sizeThreshold = AbstractTask.suggestTargetSize(sizeEstimate); 367 private final long targetSize; 379 this.targetSize = AbstractTask.suggestTargetSize(spliterator.estimateSize()); 392 this.targetSize = parent.targetSize; [all...] |
AbstractTask.java | 109 protected long targetSize; // may be laziliy initialized 141 this.targetSize = 0L; 156 this.targetSize = parent.targetSize; 189 * Returns the targetSize, initializing it via the supplied 194 return ((s = targetSize) != 0 ? s : 195 (targetSize = suggestTargetSize(sizeEstimate)));
|
SliceOps.java | 563 private final long targetOffset, targetSize; 577 this.targetSize = size; 585 this.targetSize = parent.targetSize; 641 if (targetSize >= 0 643 && isLeftCompleted(targetOffset + targetSize)) 657 long to = targetSize >= 0 ? Math.min(input.count(), targetOffset + targetSize) : thisNodeSize; [all...] |
/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/autotest/client/tests/linus_stress/ |
linus_stress.c | 9 #define TARGETSIZE (100 << 20) 11 #define NRCHUNKS (TARGETSIZE / CHUNKSIZE)
|
/external/llvm/include/llvm/MC/ |
MCFixupKindInfo.h | 35 unsigned TargetSize;
|
/external/icu/icu4c/source/test/cintltst/ |
eurocreg.c | 145 int32_t targetSize, euroBackSize; 149 targetSize = ucnv_fromUChars(myConv, 164 targetSize,
|
/frameworks/base/libs/hwui/ |
TextureCache.cpp | 220 uint32_t targetSize = uint32_t(mSize * mFlushRate); 221 TEXTURE_LOGD("TextureCache::flush: target size: %d", targetSize); 223 while (mSize > targetSize) {
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
PictureSizeCalculator.java | 145 public Configuration computeConfiguration(Size targetSize, int imageFormat) 153 Size size = getSmallestSupportedSizeContainingTarget(supportedPictureSizes, targetSize); 154 Rect cropRegion = getPostCrop(AspectRatio.of(targetSize), size);
|
/external/deqp/external/vulkancts/modules/vulkan/ |
vktRenderPassTests.cpp | 625 , targetSize (targetSize_) 636 UVec2 targetSize; [all...] |
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 86 int targetSize = wantMini 97 createThumbnailFromEXIF(filePath, targetSize, maxPixels, sizedThumbnailBitmap); 115 options, targetSize, maxPixels); 473 private static void createThumbnailFromEXIF(String filePath, int targetSize, 495 exifOptions.inSampleSize = computeSampleSize(exifOptions, targetSize, maxPixels); 502 fullOptions.inSampleSize = computeSampleSize(fullOptions, targetSize, maxPixels);
|
/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) {
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
RobustnessTest.java | [all...] |