Searched refs:image (Results 1 - 25 of 148) sorted by relevance

123456

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
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 DAlignFeatures.h65 int addFrameRGB(ImageType image);
66 int addFrame(ImageType image);
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...]
/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;
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/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/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/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/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);
/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
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...]
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...]
/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/Dialer/java/com/android/dialer/callcomposer/util/
H A DBitmapResizer.java30 * Returns a bitmap that is a resized version of the parameter image. The image will only be
33 * @param image to be resized
34 * @param rotation degrees to rotate the image clockwise
35 * @return resized image
37 public static Bitmap resizeForEnrichedCalling(Bitmap image, int rotation) { argument
40 int width = image.getWidth();
41 int height = image.getHeight();
51 return Bitmap.createBitmap(image, 0, 0, width, height, matrix, true);
70 return Bitmap.createBitmap(image,
[all...]
/packages/apps/Dialer/java/com/android/dialer/contactactions/
H A DIntentModule.java34 private final @DrawableRes int image; field in class:IntentModule
36 public IntentModule(Context context, Intent intent, @StringRes int text, @DrawableRes int image) { argument
40 this.image = image;
50 return image;
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoSource.java40 * Picks a random image from a source of photos.
131 Bitmap image = null;
135 while (image == null && tries < mBadImageSkipLimit) {
143 image = load(imageData, options, longSide, shortSide);
144 mImageMap.put(image, imageData);
151 if (image == null && mFallbackSource != null) {
152 image = load((ImageData) mFallbackSource.findImages(1).toArray()[0],
156 return image;
163 Bitmap image = null;
170 image
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/
H A DCloseWhenDoneImageReader.java86 ImageProxy image = super.acquireNextImage();
87 if (image != null) {
89 return new ImageDecorator(image);
101 ImageProxy image = super.acquireLatestImage();
102 if (image != null) {
104 return new ImageDecorator(image);
/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/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/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");
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewWidget.java75 final ImageView image = (ImageView) findViewById(R.id.widget_preview);
76 mOriginalImagePadding.left = image.getPaddingLeft();
77 mOriginalImagePadding.top = image.getPaddingTop();
78 mOriginalImagePadding.right = image.getPaddingRight();
79 mOriginalImagePadding.bottom = image.getPaddingBottom();
95 final ImageView image = (ImageView) findViewById(R.id.widget_preview);
96 if (image != null) {
97 FastBitmapDrawable preview = (FastBitmapDrawable) image.getDrawable();
102 image.setImageDrawable(null);
111 final ImageView image
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/
H A DZslImageCaptureCommand.java96 for (ImageProxy image : images) {
97 image.close();
111 for (ImageProxy image : images) {
112 if (image.getTimestamp() > timestampThreshold) {
113 filtered.add(image);
115 image.close();
128 for (ImageProxy image : images) {
130 mZslMetadataPool.removeMetadataFuture(image.getTimestamp());
133 imageToSave = image;
137 // If we cannot get metadata for an image, fo
[all...]

Completed in 463 milliseconds

123456