Searched defs:image (Results 26 - 50 of 78) sorted by relevance

1234

/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
H A DYuvImageBackendImageSaver.java74 public void saveAndCloseImage(ImageProxy image, Optional<ImageProxy> thumbnail, argument
89 mImageBackend.receiveImage(new ImageToProcess(image, mImageRotation, metadata,
174 * @param imageRotationCalculator the image rotation calculator to determine
175 * @param imageBackend ImageBackend to run the image tasks
190 * @param imageRotationCalculator the image rotation calculator to determine
191 * @param imageBackend ImageBackend to run the image tasks
H A DJpegImageBackendImageSaver.java53 * delivers a JPEG-compressed full-size image. This class does very little work
54 * and just routes this image artifact as the thumbnail and to remote devices.
75 public void saveAndCloseImage(ImageProxy image, Optional<ImageProxy> thumbnail, argument
88 mImageBackend.receiveImage(new ImageToProcess(image, mImageRotation, metadata,
136 // Send image to remote devices
154 /** Factor to downsample full-size JPEG image for use in thumbnail bitmap. */
167 * @param imageRotationCalculator the image rotation calculator to determine
168 * @param imageBackend ImageBackend to run the image tasks
182 * @param imageRotationCalculator the image rotation calculator to determine
183 * @param imageBackend ImageBackend to run the image task
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
H A DDynamicRingBuffer.java84 public void update(@Nonnull ImageProxy image) { argument
85 // Try to acquire a ticket to expand the ring-buffer and save the image.
107 mQueue.update(new TicketImageProxy(image, ticket));
109 image.close();
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DTaskCompressImageToJpeg.java50 * Implements the conversion of a YUV_420_888 image to compressed JPEG byte
52 * image is already JPEG, then it passes it through properly with the assumption
68 * @param image Image required for computation
73 TaskCompressImageToJpeg(ImageToProcess image, Executor executor, argument
77 super(image, executor, imageTaskManager, ProcessingPriority.SLOW, captureSession);
184 "Cannot parse EXIF for image dimensions, passing 0x0 dimensions");
187 // calculate crop from exif info with image proxy width/height
207 // Crop the image
226 // Release the image now that you have a usable copy in
246 // Resulting image wil
398 createExif(Optional<ExifInterface> exifData, TaskImage image, ListenableFuture<TotalCaptureResultProxy> totalCaptureResultProxyFuture) argument
[all...]
H A DTaskJpegEncode.java45 * Constructor to use for NOT passing the image reference forward.
58 * @param image Image reference that is required for computation
64 public TaskJpegEncode(ImageToProcess image, Executor executor, argument
67 super(image, executor, imageTaskManager, preferredLane, captureSession);
75 * @param img image to be converted
76 * @return byte array of NV21 packed image
96 * @param img image to be converted
97 * @param dataCopy buffer to write NV21 packed image
98 * @return byte array of NV21 packed image
101 // Get all the relevant information and then release the image
[all...]
H A DTaskConvertImageToRGBPreview.java30 * Implements the conversion of a YUV_420_888 image to subsampled image targeted
36 * gradient image</li>
38 * sub-sampled image</li>
40 * image</li>
41 * <li>MAINTAIN_ASPECT_NO_INSET: a sub-sampled image without cropping (except to
42 * maintain even values of width and height for the image</li>
82 * @param image Image that the computation is dependent on
86 * @param captureSession Capture session that bound to this image
88 * preview Image (Resultant image ma
92 TaskConvertImageToRGBPreview(ImageToProcess image, Executor executor, ImageTaskManager imageTaskManager, ProcessingPriority processingPriority, CaptureSession captureSession, Size targetSize, ThumbnailShape thumbnailShape) argument
[all...]
H A DTaskImageContainer.java62 * Simple helper class to encapsulate all necessary image information that
67 // Addendum to Android-defined image-format
70 // Minimal required knowledge for the image specification.
90 * Simple helper class to encapsulate input and resultant image
93 * object was taken), the image specification of the input and the desired
94 * output image specification. Added a field to specify the destination of
95 * the image artifact, since spawn tasks may created multiple un/compressed
103 * artifacts and the listener needs to distinguish an uncompressed image
104 * meant for image destinations. The different destinations are as
107 * <li>FAST_THUMBNAIL: Small image require
181 TaskImageContainer(ImageToProcess image, @Nullable Executor Executor, ImageTaskManager imageTaskManager, ProcessingPriority preferredLane, CaptureSession captureSession) argument
225 guaranteedSafeCrop(ImageProxy image, @Nullable Rect crop) argument
274 requiresCropOperation(ImageProxy image, @Nullable Rect crop) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/util/
H A DExifUtil.java53 * @param image A {@link TaskImageContainer.TaskImage} from which to extract info from.
57 public void populateExif(Optional<TaskImageContainer.TaskImage> image, argument
63 if (image.isPresent()) {
64 addImageDataToExif(image.get());
120 private void addImageDataToExif(TaskImageContainer.TaskImage image) { argument
121 mExif.setTag(mExif.buildTag(ExifInterface.TAG_PIXEL_X_DIMENSION, image.width));
122 mExif.setTag(mExif.buildTag(ExifInterface.TAG_PIXEL_Y_DIMENSION, image.height));
123 mExif.setTag(mExif.buildTag(ExifInterface.TAG_IMAGE_WIDTH, image.width));
124 mExif.setTag(mExif.buildTag(ExifInterface.TAG_IMAGE_LENGTH, image.height));
126 ExifInterface.getOrientationValueForRotation(image
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DImageLoader.java48 public void getBitmap(IImage image, argument
55 WorkItem w = new WorkItem(image, imageLoadedRunnable, tag);
61 public boolean cancel(final IImage image) { argument
63 int index = findItem(image);
74 private int findItem(IImage image) { argument
76 if (mQueue.get(i).mImage == image) {
101 WorkItem(IImage image, LoadedCallback onLoadedRunnable, int tag) { argument
102 mImage = image;
153 t.setName("image-loader");
H A DUtil.java99 * For example, BitmapFactory downsamples an image by 2 even though the
161 * than the target. Transform it by placing as much of the image
424 public static Intent createSetAsIntent(IImage image) { argument
425 Uri u = image.fullSizeImageUri();
427 intent.setDataAndType(u, image.getMimeType());
428 intent.putExtra("mimeType", image.getMimeType());
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropDrawingUtils.java173 public static boolean setImageToScreenMatrix(Matrix dst, RectF image, argument
176 dst.setRotate(rotation, image.centerX(), image.centerY());
177 if (!dst.mapRect(rotatedImage, image)) {
182 boolean rot = dst.preRotate(rotation, image.centerX(), image.centerY());
/packages/apps/Gallery2/src/com/android/gallery3d/provider/
H A DGalleryProvider.java135 private Cursor queryPicasaItem(MediaObject image, String[] projection, argument
139 double latitude = PicasaSource.getLatitude(image);
140 double longitude = PicasaSource.getLongitude(image);
146 columnValues[i] = PicasaSource.getUserAccount(getContext(), image);
148 columnValues[i] = PicasaSource.getPicasaId(image);
150 columnValues[i] = PicasaSource.getImageTitle(image);
152 columnValues[i] = PicasaSource.getImageSize(image);
154 columnValues[i] = PicasaSource.getContentType(image);
156 columnValues[i] = PicasaSource.getDateTaken(image);
162 columnValues[i] = PicasaSource.getRotation(image);
[all...]
/packages/apps/Camera2/jni/
H A Dtinyplanet.cc30 ImageRGBA(unsigned char* image, int width, int height) argument
31 : image_(image), width_(width), height_(height) {
58 // Interpolate a pixel in a 3 channel image.
59 inline void InterpolatePixel(const ImageRGBA &image, float x, float y, argument
66 const unsigned char *p = image(x, y);
67 const unsigned char *p2 = image(x, y + 1);
69 // Interpolate each image color plane.
118 // Map to panorama image
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DBaseImageList.java60 // TODO: We need to clear the cache because we may "reopen" the image
61 // list. After we implement the image list state, we can remove this
84 // does our uri already have an id (single image query)?
133 public boolean removeImage(IImage image) { argument
135 if (mContentResolver.delete(image.fullSizeImageUri(), null, null) > 0) {
136 ((BaseImage) image).onRemove();
175 // Sometimes, the URI of an image contains a query string with key
176 // "bucketId" inorder to restore the image list. However, the query
203 BaseImage image = mCache.get(i);
204 if (image
215 getImageIndex(IImage image) argument
[all...]
H A DImageListUber.java163 IImage image = sublist.getImageForUri(uri);
164 if (image != null) return image;
170 * Modify the skip list when an image is deleted by finding
188 private boolean removeImage(IImage image, int index) { argument
189 IImageList list = image.getContainer();
190 if (list != null && list.removeImage(image)) {
197 public boolean removeImage(IImage image) { argument
198 return removeImage(image, getImageIndex(image));
207 getImageIndex(IImage image) argument
[all...]
/packages/apps/Gallery2/jni/filters/
H A Dtinyplanet.cc29 ImageRGBA(unsigned char* image, int width, int height) argument
30 : image_(image), width_(width), height_(height) {
57 // Interpolate a pixel in a 3 channel image.
58 inline void InterpolatePixel(const ImageRGBA &image, float x, float y, argument
65 const unsigned char *p = image(x, y);
66 const unsigned char *p2 = image(x, y + 1);
68 // Interpolate each image color plane.
117 // Map to panorama image
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DAction.java141 public void setImage(Bitmap image) { argument
142 mImage = image;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageCrop.java98 private void internallyUpdateLocalRep(RectF crop, RectF image) { argument
100 .findNormalizedCrop(crop, (int) image.width(), (int) image.height());
232 Bitmap image = master.getFiltersOnlyImage();
233 int width = image.getWidth();
234 int height = image.getHeight();
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/
H A DPicasaSource.java53 mMatcher.add("/picasa/image", PICASA_ALBUMSET);
92 public static String getImageTitle(MediaObject image) { argument
96 public static int getImageSize(MediaObject image) { argument
100 public static String getContentType(MediaObject image) { argument
104 public static long getDateTaken(MediaObject image) { argument
108 public static double getLatitude(MediaObject image) { argument
112 public static double getLongitude(MediaObject image) { argument
116 public static int getRotation(MediaObject image) { argument
120 public static long getPicasaId(MediaObject image) { argument
124 public static String getUserAccount(Context context, MediaObject image) { argument
128 openFile(Context context, MediaObject image, String mode) argument
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DImageUtils.cpp34 ImageType image = in; local
38 r = (*image++);
39 g = (*image++);
40 b = (*image++);
41 a = (*image++);
79 ImageType image = in; local
83 r = (*image++);
84 g = (*image++);
85 b = (*image++);
120 ImageType image local
150 ImageType image = in; local
196 unsigned char *image = out; local
241 unsigned char *image = out; local
311 writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels) argument
340 freeImage(ImageType image) argument
[all...]
H A DMosaicTypes.h64 * Note: Currently assumes a YVU image
70 ImageType image; member in class:MosaicFrame
84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS);
91 if (image)
92 free(image);
96 * Get the V plane of the image.
100 return (image + (width*height));
104 * Get the U plane of the image.
108 return (image + (width*height*2));
112 * Get a pixel from the V plane of the image
[all...]
H A DPyramid.cpp61 // Allocate an image of type short
77 position += border; // Move position down to origin of real image
89 void PyramidShort::freeImage(PyramidShort *image) argument
91 if (image != NULL)
92 free(image);
219 // treat it as if the whole thing were the image
/packages/apps/TV/src/com/android/tv/dvr/ui/
H A DRecordingCardView.java72 mImageView = (ImageView) findViewById(R.id.image);
137 * Set image to card view.
139 public void setImage(Drawable image) { argument
140 if (image != null) {
141 mImageView.setImageDrawable(image);
155 * Returns image view.
/packages/apps/Tag/src/com/android/apps/tag/record/
H A DSmartPoster.java71 * or many MIME-typed image records within the Smart Poster. If the
104 @Nullable ImageRecord image, RecommendedAction action,
108 mImageRecord = image;
140 ImageRecord image = getFirstIfExists(records, ImageRecord.class);
144 return new SmartPoster(uri, title, image, action, type);
103 SmartPoster(UriRecord uri, @Nullable TextRecord title, @Nullable ImageRecord image, RecommendedAction action, @Nullable String type) argument
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationTipView.java111 private void bindIcon(ImageView image, ImageAttrSet attr) { argument
113 image.setVisibility(VISIBLE);
114 image.setContentDescription(attr.contentDescription);
116 image.setImageResource(attr.resId);
118 image.setBackgroundResource(attr.background);
121 image.setVisibility(GONE);

Completed in 2162 milliseconds

1234