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

12

/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/Email/emailcommon/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/Email/emailcommon/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;
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/Email/emailcommon/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;
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/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 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/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/apps/Mms/src/com/android/mms/ui/
H A DMmsThumbnailPresenter.java68 private void presentImageThumbnail(SlideViewInterface view, ImageModel image) { argument
69 if (image.isDrmProtected()) {
70 showDrmIcon(view, image.getSrc());
72 view.setImage(image.getSrc(), image.getBitmap());
H A DSlideshowPresenter.java196 * @param image
200 protected void presentImage(SlideViewInterface view, ImageModel image, argument
203 view.setImage(image.getSrc(), image.getBitmapWithDrmCheck());
214 view.setImageVisibility(image.isVisible());
/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/Browser/src/com/android/browser/
H A DPieControlBase.java95 protected PieItem makeItem(int image, int l) { argument
97 view.setImageResource(image);
110 ImageView image = (ImageView) v.findViewById(R.id.icon);
111 image.setImageResource(R.drawable.ic_windows_holo_dark);
112 image.setScaleType(ScaleType.CENTER);
H A DPhoneUi.java577 public void set(Bitmap image) { argument
579 mContent.setImageBitmap(image);
/packages/apps/Camera/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/Gallery2/src/com/android/gallery3d/provider/
H A DGalleryProvider.java141 private Cursor queryMtpItem(MtpImage image, String[] projection, argument
147 columnValues[i] = image.getName();
149 columnValues[i] = image.getSize();
151 columnValues[i] = image.getMimeType();
153 columnValues[i] = image.getDateInMs();
163 private Cursor queryPicasaItem(MediaObject image, String[] projection, argument
167 double latitude = PicasaSource.getLatitude(image);
168 double longitude = PicasaSource.getLongitude(image);
174 columnValues[i] = PicasaSource.getImageTitle(image);
176 columnValues[i] = PicasaSource.getImageSize(image);
230 MtpPipeDataWriter(MtpImage image) argument
[all...]
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/
H A DPicasaSource.java54 mMatcher.add("/picasa/image", PICASA_ALBUMSET);
93 public static String getImageTitle(MediaObject image) { argument
97 public static int getImageSize(MediaObject image) { argument
101 public static String getContentType(MediaObject image) { argument
105 public static long getDateTaken(MediaObject image) { argument
109 public static double getLatitude(MediaObject image) { argument
113 public static double getLongitude(MediaObject image) { argument
117 public static int getRotation(MediaObject image) { argument
121 public static ParcelFileDescriptor openFile(Context context, MediaObject image, String mode) argument
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/
H A DRecognitionView.java103 mImage = (ImageView) mView.findViewById(R.id.image);
188 private void prepareDialog(CharSequence text, Drawable image, argument

Completed in 4172 milliseconds

12