Searched defs:targetSize (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DTaskPreviewChainedJpeg.java43 * @param targetSize Approximate viewable pixel demensions of the desired
49 Size targetSize,
52 targetSize , ThumbnailShape.MAINTAIN_ASPECT_NO_INSET);
45 TaskPreviewChainedJpeg(ImageToProcess image, Executor executor, ImageTaskManager imageTaskManager, CaptureSession captureSession, Size targetSize, LruResourcePool<Integer, ByteBuffer> byteBufferResourcePool) argument
H A DTaskConvertImageToRGBPreview.java87 * @param targetSize Approximate viewable pixel dimensions of the desired
94 CaptureSession captureSession, Size targetSize, ThumbnailShape thumbnailShape) {
96 mTargetSize = targetSize;
135 * @param targetSize Target dimensions of the resultant image
138 protected int calculateBestSubsampleFactor(Size imageSize, Size targetSize) { argument
139 int maxSubsample = Math.min(imageSize.getWidth() / targetSize.getWidth(),
140 imageSize.getHeight() / targetSize.getHeight());
92 TaskConvertImageToRGBPreview(ImageToProcess image, Executor executor, ImageTaskManager imageTaskManager, ProcessingPriority processingPriority, CaptureSession captureSession, Size targetSize, ThumbnailShape thumbnailShape) argument
H A DImageBackend.java556 CaptureSession session, Size targetSize,
554 createTaskConvertImageToRGBPreview( ImageToProcess image, Executor executor, ImageBackend imageBackend, CaptureSession session, Size targetSize, TaskConvertImageToRGBPreview.ThumbnailShape thumbnailShape) argument
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DImageCacheRequest.java38 Path path, long timeModified, int type, int targetSize) {
42 mTargetSize = targetSize;
101 public abstract Bitmap onDecodeOriginal(JobContext jc, int targetSize); argument
37 ImageCacheRequest(GalleryApp application, Path path, long timeModified, int type, int targetSize) argument
H A DDecodeUtils.java100 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) {
99 decodeThumbnail( JobContext jc, String filePath, Options options, int targetSize, int type) argument
114 decodeThumbnail( JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) argument
168 decodeIfBigEnough(JobContext jc, byte[] data, Options options, int targetSize) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
H A DPictureSizeCalculator.java145 public Configuration computeConfiguration(Size targetSize, int imageFormat) argument
153 Size size = getSmallestSupportedSizeContainingTarget(supportedPictureSizes, targetSize);
154 Rect cropRegion = getPostCrop(AspectRatio.of(targetSize), size);
/packages/apps/Gallery2/src/com/android/photos/
H A DBitmapRegionTileSource.java188 * than the targetSize, but it will always be less than 2x the targetSize
190 private Bitmap decodePreview(String file, int targetSize) { argument
191 float scale = (float) targetSize / Math.max(mWidth, mHeight);
202 scale = (float) targetSize / (float) (Math.max(result.getWidth(), result.getHeight()));
/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DGridSizeMigrationTask.java79 HashSet<String> validPackages, Point sourceSize, Point targetSize) {
87 mTrgX = targetSize.x;
88 mTrgY = targetSize.y;
923 Point targetSize = new Point(idp.numColumns, idp.numRows);
927 if (new MultiStepMigrationTask(validPackages, context).migrate(sourceSize, targetSize)) {
1007 public boolean migrate(Point sourceSize, Point targetSize) throws Exception { argument
1009 if (!targetSize.equals(sourceSize)) {
1010 if (sourceSize.x < targetSize.x) {
1012 sourceSize.x = targetSize.x;
1014 if (sourceSize.y < targetSize
78 GridSizeMigrationTask(Context context, InvariantDeviceProfile idp, HashSet<String> validPackages, Point sourceSize, Point targetSize) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPositionController.java1753 public boolean doAnimation(int targetSize, int kind) { argument
1754 if (mCurrentGap == targetSize && kind != ANIM_KIND_CAPTURE) {
1759 mToGap = targetSize;
/packages/apps/TV/libs/
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...

Completed in 355 milliseconds