Searched defs:image (Results 1 - 25 of 78) sorted by relevance

1234

/packages/apps/Dialer/java/com/android/dialer/callcomposer/util/
H A DBitmapResizer.java29 * Returns a bitmap that is a resized version of the parameter image. The image will only be
32 public static Bitmap resizeForEnrichedCalling(Bitmap image) { argument
35 int width = image.getWidth();
36 int height = image.getHeight();
43 return image;
65 return Bitmap.createScaledBitmap(image, width, height, true);
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
H A DMetadataImage.java34 * @param image The image.
35 * @param metadata The TotalCaptureResultProxy metadata associated with image.
37 public MetadataImage(ImageProxy image, ListenableFuture<TotalCaptureResultProxy> metadata) { argument
38 super(image);
43 * @return The TotalCaptureResultProxy metadata associated with image.
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
H A DTicketRequiredFilter.java29 * from a TicketPool. If no ticket can be acquired, the incoming image is
43 public void update(@Nonnull ImageProxy image) { argument
46 image.close();
48 mImageSequence.update(new TicketImageProxy(image, ticket));
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/
H A DRefCountedImageProxy.java34 * @param image The image to wrap
37 public RefCountedImageProxy(ImageProxy image, int refCount) { argument
38 super(image);
39 mRefCount = new RefCountBase<ImageProxy>(image, refCount);
H A DSingleCloseImageProxy.java32 * @param image The image to wrap
34 public SingleCloseImageProxy(ImageProxy image) { argument
35 super(image);
H A DImageDistributorImpl.java40 * An input timestamp stream and an output image stream to receive images
85 * Distributes the image to all added routes according to timestamp. Note
87 * image has been captured to ensure that the timestamp streams for all
90 * If interrupted, this will close the image and return.
95 * @param image The image to distribute.
97 public void distributeImage(ImageProxy image) { argument
98 final long timestamp = image.getTimestamp();
101 // *next* image has been captured, or the stream has been closed. Both
103 // timestamp streams should have an entry for the *current* image'
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/util/
H A DTicketImageProxy.java35 public TicketImageProxy(ImageProxy image, Ticket ticket) { argument
36 super(image);
46 // The ticket must be closed *after* the image is closed to avoid a race
47 // condition here in which another image is reserved before this one is
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DTaskChainedCompressImageToJpeg.java30 * Implements the conversion of a YUV_420_888 image to compressed JPEG byte
31 * array, as two separate tasks: the first to copy from the image to NV21 memory
32 * layout, and the second to convert the image into JPEG, using the built-in
40 TaskChainedCompressImageToJpeg(ImageToProcess image, Executor executor, argument
42 super(image, executor, imageTaskManager, ProcessingPriority.SLOW, captureSession);
76 // Release the image now that you have a usable copy
83 // This task drops the image reference.
88 // Image is closed by now. Do NOT reference image directly.
93 logWrapper("Finished off a chained task now that image is released.");
97 // Passed null, since the image ha
[all...]
H A DTaskPreviewChainedJpeg.java29 * Implements the conversion of a YUV_420_888 image to subsampled image
38 * @param image Image that the computation is dependent on
42 * @param captureSession Capture session that bound to this image
45 TaskPreviewChainedJpeg(ImageToProcess image, argument
51 super(image, executor, imageTaskManager, ProcessingPriority.AVERAGE, captureSession,
H A DImageProcessorProxyListener.java35 * specific image result.
38 * the image filter code with something more efficient.
93 * Register a listener filtered by a particular image object. If image is
94 * null, then events from all image processing will be sent to the
98 * @param image The specific image to filter the events to the listener. If
103 @Nullable ImageProxy image) {
112 if (image == null) {
115 mImageFilter.put(listener, image
102 registerListener(ImageProcessorListener listener, @Nullable ImageProxy image) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetUtils.java47 public static Bitmap createWidgetBitmap(MediaItem image) { argument
48 Bitmap bitmap = image.requestImage(MediaItem.TYPE_THUMBNAIL)
51 Log.w(TAG, "fail to get image of " + image.toString());
54 return createWidgetBitmap(bitmap, image.getRotation());
/packages/apps/Camera2/src/com/android/camera/burst/
H A DRingBuffer.java49 * Insert an image in the ring buffer, evicting any frames if necessary.
51 * @param image the image to be inserted.
53 public synchronized void insertImage(T image) { argument
54 long timestamp = image.getTimestamp();
56 image.close();
59 // Add image to ring buffer so it can be closed in case eviction
61 addImage(image);
98 private synchronized void addImage(T image) { argument
99 mImages.put(image
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/
H A DLoggingImageReader.java71 private ImageProxy decorateNewImage(@Nullable ImageProxy image) { argument
72 if (image == null) {
76 return new LoggingImageProxy(image);
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DIImageList.java44 * The interface of all image collections used in gallery.
50 * Returns the count of image objects.
57 * @return true if the count of image objects is zero.
62 * Returns the image at the ith position.
65 * @return the image at the ith position
70 * Returns the image with a particular Uri.
73 * @return the image with a particular Uri. null if not found.
79 * @param image
80 * @return true if the image was removed.
82 public boolean removeImage(IImage image); argument
90 getImageIndex(IImage image) argument
[all...]
H A DSingleImageList.java26 * one image.
53 public int getImageIndex(IImage image) { argument
54 return image == mSingleImage ? 0 : -1;
61 public boolean removeImage(IImage image) { argument
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
H A DToken.java40 * The string image of the token.
42 public String image; field in class:Token
69 * Returns the image.
73 return image;
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
H A DToken.java40 * The string image of the token.
42 public String image; field in class:Token
69 * Returns the image.
73 return image;
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
H A DToken.java40 * The string image of the token.
42 public String image; field in class:Token
69 * Returns the image.
73 return image;
/packages/services/Car/car-lib/src/android/car/cluster/renderer/
H A DNavigationRenderer.java40 int turnNumber, Bitmap image, int turnSide);
39 onNextTurnChanged(int event, CharSequence eventName, int turnAngle, int turnNumber, Bitmap image, int turnSide) argument
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
H A DGalleryGridItemView.java37 private ImageView image; field in class:GalleryGridItemView
50 image = (ImageView) findViewById(R.id.image);
54 image.setClipToOutline(true);
62 // to make the image square.
99 image.setScaleType(ScaleType.CENTER_CROP);
104 // Downloads/loads an image from the given URI so that the image's largest dimension is
106 // image's smallest dimension. We skip the memory cache, but glide still applies it's disk
112 .into(image);
[all...]
/packages/apps/Dialer/java/com/android/dialer/multimedia/
H A DMultimediaData.java49 /** Returns {@code true} if this object contains image data. */
55 /** Returns the image uri part of this object's image. */
59 /** Returns the content type part of this object's image, either image/png or image/jpeg. */
87 public Builder setImage(@NonNull Uri image, @NonNull String imageContentType) { argument
88 setImageUri(image);
93 abstract Builder setImageUri(@NonNull Uri image); argument
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
H A DMockImageList.java36 public int getImageIndex(IImage image) { argument
37 return mList.indexOf(image);
44 public boolean removeImage(IImage image) { argument
45 return mList.remove(image);
52 public void addImage(MockImage image) { argument
53 mList.add(image);
54 image.setContainer(this);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAddAdapter.java51 public final Drawable image; field in class:AddAdapter.ListItem
57 image = res.getDrawable(imageResourceId);
59 image = null;
87 textView.setCompoundDrawablesWithIntrinsicBounds(item.image, null, null, null);
/packages/services/Car/car-support-lib/src/android/support/car/navigation/
H A DCarNavigationStatusManagerEmbedded.java53 int turnNumber, Bitmap image, int turnSide) throws CarNotConnectedException {
55 mManager.sendNavigationTurnEvent(event, eventName, turnAngle, turnNumber, image,
52 sendNavigationTurnEvent(int event, CharSequence eventName, int turnAngle, int turnNumber, Bitmap image, int turnSide) argument
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
H A DAndroidImageProxy.java97 public AndroidImageProxy(android.media.Image image) { argument
100 mImage = image;
132 // If the image is closed, then just return the cached CropRect.

Completed in 680 milliseconds

1234