/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/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | ImageUtils.java | 40 public static Bitmap blur(Context context, @NonNull Bitmap image, int bitmapTargetSize, in blur() argument 42 image = maybeResize(image, bitmapTargetSize); in blur() 43 float blurRadius = bitmapBlurPercent * getBitmapDimension(image); in blur() 45 if (blurRadius <= MIN_BLUR) return image; in blur() 48 if (image.getConfig() != Bitmap.Config.ARGB_8888) { in blur() 49 image = image.copy(Bitmap.Config.ARGB_8888, true); in blur() 52 Bitmap outputBitmap = Bitmap.createBitmap(image); in blur() 56 Allocation tmpIn = Allocation.createFromBitmap(rs, image); in blur() 66 private static Bitmap maybeResize(@NonNull Bitmap image, int bitmapTargetSize) { in maybeResize() argument 67 int imageDim = getBitmapDimension(image); in maybeResize() [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/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/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/Dialer/java/com/android/dialer/historyitemactions/ |
D | IntentModule.java | 40 private final @DrawableRes int image; field in IntentModule 48 public IntentModule(Context context, Intent intent, @StringRes int text, @DrawableRes int image) { in IntentModule() argument 49 this(context, intent, text, image, /* impressions = */ ImmutableList.of()); in IntentModule() 56 @DrawableRes int image, in IntentModule() argument 61 this.image = image; in IntentModule() 72 return image; in getDrawableId() 94 @DrawableRes int image; in newCallModule() local 98 image = R.drawable.quantum_ic_videocam_vd_white_24; in newCallModule() 101 image = R.drawable.quantum_ic_call_white_24; in newCallModule() 105 context, PreCall.getIntent(context, callIntentBuilder), text, image, impressions); in newCallModule()
|
/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/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/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | TransitionAnimationHelper.java | 166 if (!(mAnimationComponents.image.getDrawable() instanceof AnimatedVectorDrawable)) { 170 (AnimatedVectorDrawable) mAnimationComponents.image.getDrawable(); 180 if (!(mAnimationComponents.image.getDrawable() instanceof AnimatedVectorDrawable)) { 194 final ImageView image = mAnimationComponents.image; 196 image.setImageResource(transition.drawable); 198 image.setVisibility(View.GONE); 276 private final ImageView image; 280 TextView header, TextView subHeader, ImageView image, TextView providerInfo) { 283 this.image = checkNotNull(image); 288 return Arrays.asList(header, subHeader, image, providerInfo);
|
/packages/services/Car/car-lib/src/android/car/navigation/ |
D | navigation_state.proto | 24 // A reference to an image. This consists of a 'content://' style URI plus 25 // attributes describing the image. 27 // Sizing: The aspect ratio of the image is given in aspect_ratio. 28 // When requesting the image using this URI a 'w' and 'h' parameter 29 // must be added to the URI parameter list to request an image size. 32 // Margins: The referenced image does not have internal margins. 34 // 'image/png', 'image/jpeg' or 'image/bmp'. 35 // Color: Images can be either "tintable" or not. A "tintable" image is such that 40 // Caching: Given the same image reference and the same requested size, 41 // it is assumed that the exact same image will always be returned. [all …]
|
/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/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/Dialer/java/com/android/dialer/callcomposer/ |
D | GalleryGridItemView.java | 37 private ImageView image; field in GalleryGridItemView 50 image = (ImageView) findViewById(R.id.image); in onFinishInflate() 54 image.setClipToOutline(true); in onFinishInflate() 99 image.setScaleType(ScaleType.CENTER_CROP); in updateImageView() 112 .into(image); in updateImageView() 116 image.setContentDescription( in updateImageView() 122 image.setContentDescription( in updateImageView()
|
/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
|