Searched defs:image (Results 51 - 75 of 79) sorted by relevance

1234

/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);
/packages/apps/Browser/src/com/android/browser/
H A DPhoneUi.java523 public void set(Bitmap image) { argument
525 mContent.setImageBitmap(image);
H A DPieControl.java255 protected PieItem makeItem(int image, int l) { argument
257 view.setImageResource(image);
274 ImageView image = (ImageView) v.findViewById(R.id.icon);
275 image.setImageResource(R.drawable.ic_windows_holo_dark);
276 image.setScaleType(ScaleType.CENTER);
/packages/apps/Camera2/src/com/android/camera/one/v2/
H A DImageCaptureManager.java63 * image from the internal ring-buffer.
67 * Called whenever the ability to capture an existing image from the
102 * Callback for saving an image.
111 * image.
114 public void onImageCaptured(Image image, TotalCaptureResult captureResult); argument
125 * image capture. For example, a constraint may return false if
126 * {@captureResult} indicates that the lens was moving during image
129 * @param captureResult The metadata associated with the image.
130 * @return true if this image satisfies the constraint and can be
150 * Resets the object, closing and removing any existing image an
181 addImage(Image image) argument
[all...]
H A DOneCameraImpl.java93 Image image; field in class:OneCameraImpl.InFlightCapture
102 /** Set the image once it's been received. */
104 image = capturedImage;
116 * image and capture result are both present.
119 return image != null && totalCaptureResult != null;
245 // complete, store the image on disk.
295 // Add the image data to the latest in-flight capture.
297 // image data.
316 * @param pictureSize the size of the final image to be taken.
417 Log.e(TAG, "Could not access camera for still image captur
798 writeDngBytesAndClose(Image image, TotalCaptureResult captureResult, CameraCharacteristics characteristics, File dngFile) argument
822 acquireJpegBytesAndClose(Image image) argument
[all...]
H A DOneCameraZslImpl.java128 * ImageFormat.YUV_420_888 to use the software encoder. No other image
211 * image.</li>
234 * An {@link ImageCaptureListener} which will compress and save an image to
247 public void onImageCaptured(Image image, TotalCaptureResult captureResult) { argument
250 // We should only capture the image if it hasn't been captured
257 // There was a more recent (or identical) image which has
280 savePicture(image, mParams, mSession, captureResult);
291 * @param pictureSize the size of the final image to be taken.
347 // Allocate the image reader to store all images received from the
467 // If we know the lens was moving, don't use this image
610 savePicture(Image image, final PhotoCaptureParameters captureParams, CaptureSession session, CaptureResult result) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropView.java113 public void initialize(Bitmap image, RectF newCropBounds, RectF newPhotoBounds, int rotation) { argument
114 mBitmap = image;
H A DCropActivity.java58 * Activity for cropping an image.
150 * Opens a selector in Gallery to chose an image for use when none was given
155 intent.setType("image/*");
229 Log.w(LOGTAG, "could not load image for cropping");
237 * Display toast for image loading failure.
464 // Find crop bounds (scaled to original image size)
467 Log.w(LOGTAG, "cannot find crop for full size image");
475 Log.w(LOGTAG, "crop has bad values for full size image");
617 protected static Bitmap getCroppedImage(Bitmap image, RectF cropBounds, RectF photoBounds) { argument
618 RectF imageBounds = new RectF(0, 0, image
629 getDownsampledBitmap(Bitmap image, int max_size) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
H A DSaveImage.java93 // the edited image together with the original image, we are adding a new
94 // auxiliary directory for the edited image. Basically, the original image
96 // image only.
97 // Note that deletion on the edited image will also cause the deletion of
98 // the original image under auxiliary directory.
101 // 1. User edit local image local01.jpg. A local02.jpg will be created in the
102 // same directory, and original image will be moved to auxiliary directory as
107 // 2. User edit remote image remote0
266 putExifData(File file, ExifInterface exif, Bitmap image, int jpegCompressQuality) argument
[all...]
/packages/apps/Gallery2/src/com/android/photos/views/
H A DTiledImageView.java46 * Shows an image using {@link TiledImageRenderer} using either {@link GLSurfaceView}
71 TiledImageRenderer image; field in class:TiledImageView.ImageRendererWrapper
97 mRenderer.image = new TiledImageRenderer(this);
130 mRenderer.image.freeTextures();
289 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation);
295 mRenderer.image.setViewSize(width, height);
304 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation);
305 mRenderer.image.setPosition(mRenderer.centerX, mRenderer.centerY,
308 boolean complete = mRenderer.image.draw(mCanvas);
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
H A DContentTypeParserTokenManager.java631 StringBuffer image; field in class:ContentTypeParserTokenManager
676 t.image = (im == null) ? input_stream.GetImage() : im;
712 image = null;
811 if (image == null)
812 image = new StringBuffer();
813 image.append(input_stream.GetSuffix(jjimageLen));
815 image.deleteCharAt(image.length() - 2);
818 if (image == null)
819 image
[all...]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
H A DDateTimeParserTokenManager.java670 StringBuffer image; field in class:DateTimeParserTokenManager
715 t.image = (im == null) ? input_stream.GetImage() : im;
751 image = null;
844 if (image == null)
845 image = new StringBuffer();
846 image.append(input_stream.GetSuffix(jjimageLen));
848 image.deleteCharAt(image.length() - 2);
851 if (image == null)
852 image
[all...]
/packages/services/Telephony/src/org/apache/james/mime4j/field/contenttype/parser/
H A DContentTypeParserTokenManager.java631 StringBuffer image; field in class:ContentTypeParserTokenManager
676 t.image = (im == null) ? input_stream.GetImage() : im;
712 image = null;
811 if (image == null)
812 image = new StringBuffer();
813 image.append(input_stream.GetSuffix(jjimageLen));
815 image.deleteCharAt(image.length() - 2);
818 if (image == null)
819 image
[all...]
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/
H A DDateTimeParserTokenManager.java670 StringBuffer image; field in class:DateTimeParserTokenManager
715 t.image = (im == null) ? input_stream.GetImage() : im;
751 image = null;
844 if (image == null)
845 image = new StringBuffer();
846 image.append(input_stream.GetSuffix(jjimageLen));
848 image.deleteCharAt(image.length() - 2);
851 if (image == null)
852 image
[all...]
/packages/apps/Camera/jni/
H A Dfeature_mos_jni.cpp48 ImageType tImage[NR][MAX_FRAMES];// = {{ImageUtils::IMAGE_TYPE_NOIMAGE}}; // YVU24 format image
586 int* image = new int[imageSize]; local
593 image[y*width+x] = (0xFF<<24) | (resultBGR[y*width*3+x*3+2]<<16)|
605 LOGE("Error in creating the image.");
606 delete[] image;
609 env->SetIntArrayRegion(bytes, 0, imageSize, (jint*) image);
611 delete[] image;
656 LOGE("Error in creating the image.");
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DImageBackend.java54 * to properly balance these concerns, most image processing requested should be
56 * Android.media image as soon as possible, so as not to stall the camera
61 * <li>The task will try to release the image as early as possible by calling
62 * the releaseSemaphoreReference as soon as a reference to the original image is
65 * receiveImage call. receiveImage must only be called once per image.</li>
67 * any image that have had a task submitted, but NOT released via
70 * this task framework in a distributed manner where image task can be computed
239 * image. Imagebackend determines whether all references have been released
240 * and applies its specified release protocol of closing image and/or
244 * @param img the image t
554 createTaskConvertImageToRGBPreview( ImageToProcess image, Executor executor, ImageBackend imageBackend, CaptureSession session, Size targetSize, TaskConvertImageToRGBPreview.ThumbnailShape thumbnailShape) argument
563 createTaskCompressImageToJpeg(ImageToProcess image, Executor executor, ImageBackend imageBackend, CaptureSession session) argument
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DImageGallery.java227 IImage image = getCurrentImage();
228 if (image != null) {
229 return image.fullSizeImageUri();
261 IImage image = getCurrentImage();
262 if (image != null) {
282 // Return if the image file is not available.
340 // image as the Action rather than the Data.
532 // TODO: Only enable slide show if there is at least one image in
543 IImage image = getCurrentImage();
544 return (image !
619 toggleMultiSelected(IImage image) argument
781 drawImage(Canvas canvas, IImage image, Bitmap b, int xPos, int yPos, int w, int h) argument
853 drawDecoration(Canvas canvas, IImage image, int xPos, int yPos, int w, int h) argument
887 getErrorBitmap(IImage image) argument
[all...]
H A DImageManager.java66 // ImageListParam specifies all the parameters we need to create an image
74 // This is only used if we are creating a single image list.
77 // This is only used if we are creating an empty image list.
162 * @return true if the mimetype is an image mimetype.
165 return mimeType.startsWith("image/");
178 * @return true if the image is an image.
180 public static boolean isImage(IImage image) { argument
181 return isImageMimeType(image.getMimeType());
185 * @return true if the image i
187 isVideo(IImage image) argument
387 removeImage(IImage image) argument
395 getImageIndex(IImage image) argument
[all...]
H A DMenuHelper.java97 public static final String JPEG_MIME_TYPE = "image/jpeg";
106 public void gettingReadyToOpen(Menu menu, IImage image); argument
107 public void aboutToCall(MenuItem item, IImage image); argument
115 public void run(Uri uri, IImage image); argument
128 public static long getImageFileSize(IImage image) { argument
129 java.io.InputStream data = image.fullSizeImageData();
174 public static boolean hasLatLngData(IImage image) { argument
175 ExifInterface exif = getExif(image);
246 private static ExifInterface getExif(IImage image) { argument
247 if (!JPEG_MIME_TYPE.equals(image
314 showExifInformation(IImage image, View d, Activity activity) argument
766 deleteImage( Activity activity, Runnable onDelete, IImage image) argument
[all...]
H A DGalleryPicker.java232 // Slide show starts from the first image on the list.
552 // IMAGE_LIST_DATA stores the parameters for the four image lists
620 private static void placeImage(Bitmap image, Canvas c, Paint paint, argument
630 c.drawBitmap(image, xPos, yPos, paint);
637 // We draw three different version of the folder image depending on the
639 // For a single image, that image draws over the whole folder.
682 IImage image = i < count ? images.getImageAt(i) : null;
684 if (image != null) {
685 temp = image
[all...]
H A DViewImage.java55 // the user view one image at a time, and can click "previous" and "next"
56 // button to see the previous or next image. In slide show mode it shows one
57 // image after another, with some transition effect.
128 // The image view displayed for normal mode.
212 IImage image = mAllImages.getImageAt(mCurrentPosition);
213 if (image instanceof VideoObject) {
405 IImage image = mAllImages.getImageAt(mCurrentPosition);
406 Uri uri = image.fullSizeImageUri();
407 cb.run(uri, image);
459 IImage image
983 startShareMediaActivity(IImage image) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DGeometryMathUtils.java311 private static Bitmap applyFullGeometryMatrix(Bitmap image, GeometryHolder holder) { argument
312 int width = image.getWidth();
313 int height = image.getHeight();
327 canvas.drawBitmap(image, m, paint);
387 Bitmap image) {
389 Bitmap bmap = image;
390 // If there are geometry changes, apply them to the image
393 if (bmap != image) {
395 cache.cache(image);
386 applyGeometryRepresentations(Collection<FilterRepresentation> res, Bitmap image) argument
/packages/apps/LegacyCamera/jni/
H A Dfeature_mos_jni.cpp48 ImageType tImage[NR][MAX_FRAMES];// = {{ImageUtils::IMAGE_TYPE_NOIMAGE}}; // YVU24 format image
586 int* image = new int[imageSize]; local
593 image[y*width+x] = (0xFF<<24) | (resultBGR[y*width*3+x*3+2]<<16)|
605 LOGE("Error in creating the image.");
606 delete[] image;
609 env->SetIntArrayRegion(bytes, 0, imageSize, (jint*) image);
611 delete[] image;
656 LOGE("Error in creating the image.");
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
H A DAddressListParserTokenManager.java745 StringBuffer image; field in class:AddressListParserTokenManager
790 t.image = (im == null) ? input_stream.GetImage() : im;
826 image = null;
930 if (image == null)
931 image = new StringBuffer();
932 image.append(input_stream.GetSuffix(jjimageLen));
934 image.deleteCharAt(image.length() - 2);
937 if (image == null)
938 image
[all...]
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/
H A DAddressListParserTokenManager.java745 StringBuffer image; field in class:AddressListParserTokenManager
790 t.image = (im == null) ? input_stream.GetImage() : im;
826 image = null;
930 if (image == null)
931 image = new StringBuffer();
932 image.append(input_stream.GetSuffix(jjimageLen));
934 image.deleteCharAt(image.length() - 2);
937 if (image == null)
938 image
[all...]

Completed in 524 milliseconds

1234