Searched defs:image (Results 1 - 25 of 53) sorted by last modified time

123

/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/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...]
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 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...]
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 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...]
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/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/Mms/src/com/android/mms/ui/
H A DMmsThumbnailPresenter.java75 // Right now we're only handling image and video loaded callbacks.
94 private void presentImageThumbnail(SlideViewInterface view, ImageModel image) { argument
95 mItemLoadedFuture = image.loadThumbnailBitmap(mImageLoadedCallback);
H A DSlideshowPresenter.java188 * @param image
191 protected void presentImage(SlideViewInterface view, ImageModel image, argument
204 view.setImage(image.getSrc(), image.getBitmap(transformedWidth, transformedHeight));
215 view.setImageVisibility(image.isVisible());
/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/apps/Launcher3/WallpaperPicker/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);
142 mRenderer.image.freeTextures();
301 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation);
307 mRenderer.image.setViewSize(width, height);
316 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation);
317 mRenderer.image.setPosition(mRenderer.centerX, mRenderer.centerY,
320 boolean complete = mRenderer.image.draw(mCanvas);
/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/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/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/crop/
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...]
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());
H A DCropView.java113 public void initialize(Bitmap image, RectF newCropBounds, RectF newPhotoBounds, int rotation) { argument
114 mBitmap = image;
/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
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();
H A DImageShow.java353 Bitmap image) {
354 if (image == null) {
358 Matrix m = master.computeImageToScreen(image, 0, false);
365 RectF d = new RectF(0, 0, image.getWidth(), image.getHeight());
371 // animation ended, but do we have the correct image to show?
373 // we do, let's stop showing the animated image
386 // Animation uses the image before the change
414 float scaleImageX = mImageBounds.width() / (float) image.getWidth();
415 float scaleImageY = mImageBounds.height() / (float) image
352 drawImageAndAnimate(Canvas canvas, Bitmap image) argument
516 drawCompareImage(Canvas canvas, Bitmap image) 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...]

Completed in 296 milliseconds

123