/packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/ |
D | AddressListParserTokenManager.java | 745 StringBuffer image; field in AddressListParserTokenManager 790 t.image = (im == null) ? input_stream.GetImage() : im; in jjFillToken() 826 image = null; in getNextToken() 930 if (image == null) in MoreLexicalActions() 931 image = new StringBuffer(); in MoreLexicalActions() 932 image.append(input_stream.GetSuffix(jjimageLen)); in MoreLexicalActions() 934 image.deleteCharAt(image.length() - 2); in MoreLexicalActions() 937 if (image == null) in MoreLexicalActions() 938 image = new StringBuffer(); in MoreLexicalActions() 939 image.append(input_stream.GetSuffix(jjimageLen)); in MoreLexicalActions() [all …]
|
D | AddressListParser.jj | 431 …if (t.image.charAt(t.image.length() - 1) != '.' || t.kind == AddressListParserConstants.QUOTEDSTRI… 458 if (t.image.charAt(t.image.length() - 1) != '.') 513 < <QUOTEDPAIR>> { image.deleteCharAt(image.length() - 2); } 520 < DOMAINLITERAL: "]" > { matchedToken.image = image.toString(); }: DEFAULT 542 < <QUOTEDPAIR>> { image.deleteCharAt(image.length() - 2); } 550 < <QUOTEDPAIR>> { image.deleteCharAt(image.length() - 2); } 561 "\"" { image.deleteCharAt(image.length() - 1); } : INQUOTEDSTRING 567 < <QUOTEDPAIR>> { image.deleteCharAt(image.length() - 2); } 574 < QUOTEDSTRING: "\"" > { matchedToken.image = image.substring(0, image.length() - 1); } : DEFAULT
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
D | AddressListParserTokenManager.java | 745 StringBuffer image; field in AddressListParserTokenManager 790 t.image = (im == null) ? input_stream.GetImage() : im; in jjFillToken() 826 image = null; in getNextToken() 930 if (image == null) in MoreLexicalActions() 931 image = new StringBuffer(); in MoreLexicalActions() 932 image.append(input_stream.GetSuffix(jjimageLen)); in MoreLexicalActions() 934 image.deleteCharAt(image.length() - 2); in MoreLexicalActions() 937 if (image == null) in MoreLexicalActions() 938 image = new StringBuffer(); in MoreLexicalActions() 939 image.append(input_stream.GetSuffix(jjimageLen)); in MoreLexicalActions() [all …]
|
D | AddressListParser.jj | 431 …if (t.image.charAt(t.image.length() - 1) != '.' || t.kind == AddressListParserConstants.QUOTEDSTRI… 458 if (t.image.charAt(t.image.length() - 1) != '.') 513 < <QUOTEDPAIR>> { image.deleteCharAt(image.length() - 2); } 520 < DOMAINLITERAL: "]" > { matchedToken.image = image.toString(); }: DEFAULT 542 < <QUOTEDPAIR>> { image.deleteCharAt(image.length() - 2); } 550 < <QUOTEDPAIR>> { image.deleteCharAt(image.length() - 2); } 561 "\"" { image.deleteCharAt(image.length() - 1); } : INQUOTEDSTRING 567 < <QUOTEDPAIR>> { image.deleteCharAt(image.length() - 2); } 574 < QUOTEDSTRING: "\"" > { matchedToken.image = image.substring(0, image.length() - 1); } : DEFAULT
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoSource.java | 131 Bitmap image = null; in next() local 135 while (image == null && tries < mBadImageSkipLimit) { in next() 143 image = load(imageData, options, longSide, shortSide); in next() 144 mImageMap.put(image, imageData); in next() 151 if (image == null && mFallbackSource != null) { in next() 152 image = load((ImageData) mFallbackSource.findImages(1).toArray()[0], in next() 156 return image; in next() 163 Bitmap image = null; in load() local 170 image = BitmapFactory.decodeStream(new BufferedInputStream(bis), null, options); in load() 199 image = BitmapFactory.decodeStream(bis, null, options); in load() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
D | ContentTypeParserTokenManager.java | 631 StringBuffer image; field in ContentTypeParserTokenManager 676 t.image = (im == null) ? input_stream.GetImage() : im; in jjFillToken() 712 image = null; in getNextToken() 811 if (image == null) in MoreLexicalActions() 812 image = new StringBuffer(); in MoreLexicalActions() 813 image.append(input_stream.GetSuffix(jjimageLen)); in MoreLexicalActions() 815 image.deleteCharAt(image.length() - 2); in MoreLexicalActions() 818 if (image == null) in MoreLexicalActions() 819 image = new StringBuffer(); in MoreLexicalActions() 820 image.append(input_stream.GetSuffix(jjimageLen)); in MoreLexicalActions() [all …]
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/contenttype/parser/ |
D | ContentTypeParserTokenManager.java | 631 StringBuffer image; field in ContentTypeParserTokenManager 676 t.image = (im == null) ? input_stream.GetImage() : im; in jjFillToken() 712 image = null; in getNextToken() 811 if (image == null) in MoreLexicalActions() 812 image = new StringBuffer(); in MoreLexicalActions() 813 image.append(input_stream.GetSuffix(jjimageLen)); in MoreLexicalActions() 815 image.deleteCharAt(image.length() - 2); in MoreLexicalActions() 818 if (image == null) in MoreLexicalActions() 819 image = new StringBuffer(); in MoreLexicalActions() 820 image.append(input_stream.GetSuffix(jjimageLen)); in MoreLexicalActions() [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | MenuHelper.java | 106 public void gettingReadyToOpen(Menu menu, IImage image); in gettingReadyToOpen() argument 107 public void aboutToCall(MenuItem item, IImage image); in aboutToCall() argument 115 public void run(Uri uri, IImage image); in run() argument 128 public static long getImageFileSize(IImage image) { in getImageFileSize() argument 129 java.io.InputStream data = image.fullSizeImageData(); in getImageFileSize() 174 public static boolean hasLatLngData(IImage image) { in hasLatLngData() argument 175 ExifInterface exif = getExif(image); in hasLatLngData() 246 private static ExifInterface getExif(IImage image) { in getExif() argument 247 if (!JPEG_MIME_TYPE.equals(image.getMimeType())) { in getExif() 252 return new ExifInterface(image.getDataPath()); in getExif() [all …]
|
D | ImageGallery.java | 227 IImage image = getCurrentImage(); 228 if (image != null) { 229 return image.fullSizeImageUri(); 261 IImage image = getCurrentImage(); 262 if (image != null) { 543 IImage image = getCurrentImage(); 544 return (image != null) && ImageManager.isVideo(image); 619 private void toggleMultiSelected(IImage image) { 621 if (!mMultiSelected.add(image)) { 622 mMultiSelected.remove(image); [all …]
|
D | ViewImage.java | 212 IImage image = mAllImages.getImageAt(mCurrentPosition); 213 if (image instanceof VideoObject) { 405 IImage image = mAllImages.getImageAt(mCurrentPosition); in onCreateOptionsMenu() 406 Uri uri = image.fullSizeImageUri(); in onCreateOptionsMenu() 407 cb.run(uri, image); in onCreateOptionsMenu() 459 IImage image = mAllImages.getImageAt(mCurrentPosition); in onPrepareOptionsMenu() local 462 mImageMenuRunnable.gettingReadyToOpen(menu, image); in onPrepareOptionsMenu() 468 MenuHelper.enableShowOnMapMenuItem(menu, MenuHelper.hasLatLngData(image)); in onPrepareOptionsMenu() 488 IImage image = mAllImages.getImageAt(pos); in setImage() local 490 new RotateBitmap(b, image.getDegreesRotated()), true); in setImage() [all …]
|
D | ImageLoader.java | 48 public void getBitmap(IImage image, in getBitmap() argument 55 WorkItem w = new WorkItem(image, imageLoadedRunnable, tag); in getBitmap() 61 public boolean cancel(final IImage image) { in cancel() argument 63 int index = findItem(image); in cancel() 74 private int findItem(IImage image) { in findItem() argument 76 if (mQueue.get(i).mImage == image) { in findItem() 101 WorkItem(IImage image, LoadedCallback onLoadedRunnable, int tag) { in WorkItem() argument 102 mImage = image; in WorkItem()
|
D | ImageGetter.java | 169 IImage image = mImageList.getImageAt(imageNumber); 170 if (image == null) continue; 173 Bitmap b = image.thumbBitmap(IImage.NO_ROTATE); 182 new RotateBitmap(b, image.getDegreesRotated()), 197 IImage image = mImageList.getImageAt(imageNumber); 198 if (image == null) continue; 199 if (image instanceof VideoObject) continue; 204 Bitmap b = image.fullSizeBitmap(sizeToUse, 3 * 1024 * 1024, 214 image.getDegreesRotated());
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | ImageUtils.cpp | 34 ImageType image = in; in rgba2yvu() local 38 r = (*image++); in rgba2yvu() 39 g = (*image++); in rgba2yvu() 40 b = (*image++); in rgba2yvu() 41 a = (*image++); in rgba2yvu() 79 ImageType image = in; in rgb2yvu() local 83 r = (*image++); in rgb2yvu() 84 g = (*image++); in rgb2yvu() 85 b = (*image++); in rgb2yvu() 120 ImageType image = in; in rgb2gray() local [all …]
|
D | MosaicTypes.h | 70 ImageType image; 84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 91 if (image) in ~MosaicFrame() 92 free(image); in ~MosaicFrame() 100 return (image + (width*height)); in getV() 108 return (image + (width*height*2)); in getU() 116 ImageType U = image + (width*height); in getV() 125 ImageType U = image + (width*height*2); in getU()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/ |
D | ZslImageCaptureCommand.java | 96 for (ImageProxy image : images) { in getAllAvailableImages() 97 image.close(); in getAllAvailableImages() 111 for (ImageProxy image : images) { in filterImagesWithinMaxLookBack() 112 if (image.getTimestamp() > timestampThreshold) { in filterImagesWithinMaxLookBack() 113 filtered.add(image); in filterImagesWithinMaxLookBack() 115 image.close(); in filterImagesWithinMaxLookBack() 128 for (ImageProxy image : images) { in tryGetZslImage() 130 mZslMetadataPool.removeMetadataFuture(image.getTimestamp()); in tryGetZslImage() 133 imageToSave = image; in tryGetZslImage() 147 for (ImageProxy image : images) { in tryGetZslImage() [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedViewWidget.java | 75 final ImageView image = (ImageView) findViewById(R.id.widget_preview); in onFinishInflate() local 76 mOriginalImagePadding.left = image.getPaddingLeft(); in onFinishInflate() 77 mOriginalImagePadding.top = image.getPaddingTop(); in onFinishInflate() 78 mOriginalImagePadding.right = image.getPaddingRight(); in onFinishInflate() 79 mOriginalImagePadding.bottom = image.getPaddingBottom(); in onFinishInflate() 95 final ImageView image = (ImageView) findViewById(R.id.widget_preview); in onDetachedFromWindow() local 96 if (image != null) { in onDetachedFromWindow() 97 FastBitmapDrawable preview = (FastBitmapDrawable) image.getDrawable(); in onDetachedFromWindow() 102 image.setImageDrawable(null); in onDetachedFromWindow() 111 final ImageView image = (ImageView) findViewById(R.id.widget_preview); in applyFromAppWidgetProviderInfo() local [all …]
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | ImageListUber.java | 163 IImage image = sublist.getImageForUri(uri); in getImageForUri() local 164 if (image != null) return image; in getImageForUri() 188 private boolean removeImage(IImage image, int index) { in removeImage() argument 189 IImageList list = image.getContainer(); in removeImage() 190 if (list != null && list.removeImage(image)) { in removeImage() 197 public boolean removeImage(IImage image) { in removeImage() argument 198 return removeImage(image, getImageIndex(image)); in removeImage() 202 IImage image = getImageAt(index); in removeImageAt() local 203 if (image == null) return false; in removeImageAt() 204 return removeImage(image, index); in removeImageAt() [all …]
|
D | BaseImageList.java | 133 public boolean removeImage(IImage image) { in removeImage() argument 135 if (mContentResolver.delete(image.fullSizeImageUri(), null, null) > 0) { in removeImage() 136 ((BaseImage) image).onRemove(); in removeImage() 203 BaseImage image = mCache.get(i); in getImageForUri() local 204 if (image == null) { in getImageForUri() 205 image = loadImageFromCursor(cursor); in getImageForUri() 206 mCache.put(i, image); in getImageForUri() 208 return image; in getImageForUri() 215 public int getImageIndex(IImage image) { in getImageIndex() argument 216 return ((BaseImage) image).mIndex; in getImageIndex()
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/ |
D | DateTimeParserTokenManager.java | 670 StringBuffer image; field in DateTimeParserTokenManager 715 t.image = (im == null) ? input_stream.GetImage() : im; in jjFillToken() 751 image = null; in getNextToken() 844 if (image == null) in MoreLexicalActions() 845 image = new StringBuffer(); in MoreLexicalActions() 846 image.append(input_stream.GetSuffix(jjimageLen)); in MoreLexicalActions() 848 image.deleteCharAt(image.length() - 2); in MoreLexicalActions() 851 if (image == null) in MoreLexicalActions() 852 image = new StringBuffer(); in MoreLexicalActions() 853 image.append(input_stream.GetSuffix(jjimageLen)); in MoreLexicalActions() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
D | DateTimeParserTokenManager.java | 670 StringBuffer image; field in DateTimeParserTokenManager 715 t.image = (im == null) ? input_stream.GetImage() : im; in jjFillToken() 751 image = null; in getNextToken() 844 if (image == null) in MoreLexicalActions() 845 image = new StringBuffer(); in MoreLexicalActions() 846 image.append(input_stream.GetSuffix(jjimageLen)); in MoreLexicalActions() 848 image.deleteCharAt(image.length() - 2); in MoreLexicalActions() 851 if (image == null) in MoreLexicalActions() 852 image = new StringBuffer(); in MoreLexicalActions() 853 image.append(input_stream.GetSuffix(jjimageLen)); in MoreLexicalActions() [all …]
|
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/ |
D | PicasaSource.java | 92 public static String getImageTitle(MediaObject image) { in getImageTitle() argument 96 public static int getImageSize(MediaObject image) { in getImageSize() argument 100 public static String getContentType(MediaObject image) { in getContentType() argument 104 public static long getDateTaken(MediaObject image) { in getDateTaken() argument 108 public static double getLatitude(MediaObject image) { in getLatitude() argument 112 public static double getLongitude(MediaObject image) { in getLongitude() argument 116 public static int getRotation(MediaObject image) { in getRotation() argument 120 public static long getPicasaId(MediaObject image) { in getPicasaId() argument 124 public static String getUserAccount(Context context, MediaObject image) { in getUserAccount() argument 128 public static ParcelFileDescriptor openFile(Context context, MediaObject image, String mode) in openFile() argument
|
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
D | MockImageList.java | 36 public int getImageIndex(IImage image) { in getImageIndex() argument 37 return mList.indexOf(image); in getImageIndex() 44 public boolean removeImage(IImage image) { in removeImage() argument 45 return mList.remove(image); in removeImage() 52 public void addImage(MockImage image) { in addImage() argument 53 mList.add(image); in addImage() 54 image.setContainer(this); in addImage()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
D | MostRecentImageSaver.java | 87 for (ImageProxy image : mThumbnails.values()) { in closeAllImages() 88 image.close(); in closeAllImages() 91 for (ImageProxy image : mFullSizeImages.values()) { in closeAllImages() 92 image.close(); in closeAllImages() 123 for (ImageProxy image : mFullSizeImages.values()) { in getMostRecentFullSizeImageTimestamp() 124 long timestamp = image.getTimestamp(); in getMostRecentFullSizeImageTimestamp() 143 for (MetadataImage image : mFullSizeImages.values()) { in getLastImage() 144 if (lastImage == null || image.getTimestamp() > lastImage.getTimestamp()) { in getLastImage() 145 lastImage = image; in getLastImage()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | ImageCaptureManager.java | 114 public void onImageCaptured(Image image, TotalCaptureResult captureResult); in onImageCaptured() argument 181 public void addImage(Image image) { in addImage() argument 186 mImage = image; in addImage() 467 CapturedImage image = new CapturedImage(); 468 image.addMetadata(newMetadata); 469 return image; 496 CapturedImage image = new CapturedImage(); 497 image.addImage(newImage); 498 return image; 504 CapturedImage image = new CapturedImage(); [all …]
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
D | RingBuffer.java | 53 public synchronized void insertImage(T image) { in insertImage() argument 54 long timestamp = image.getTimestamp(); in insertImage() 56 image.close(); in insertImage() 61 addImage(image); in insertImage() 98 private synchronized void addImage(T image) { in addImage() argument 99 mImages.put(image.getTimestamp(), image); in addImage() local
|