/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | ImageUtils.cpp | 28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) in rgba2yvu() 73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) in rgb2yvu() 116 ImageType ImageUtils::rgb2gray(ImageType in, int width, int height) in rgb2gray() 121 ImageType out = ImageUtils::allocateImage(width, height, 1); in rgb2gray() 146 ImageType ImageUtils::rgb2gray(ImageType out, ImageType in, int width, int height) in rgb2gray() 176 ImageType *ImageUtils::imageTypeToRowPointers(ImageType in, int width, int height) in imageTypeToRowPointers() 190 void ImageUtils::yvu2rgb(ImageType out, ImageType in, int width, int height) in yvu2rgb() 235 void ImageUtils::yvu2bgr(ImageType out, ImageType in, int width, int height) in yvu2bgr() 281 ImageType ImageUtils::readBinaryPPM(const char *filename, int &width, int &height) in readBinaryPPM() 311 void ImageUtils::writeBinaryPPM(ImageType image, const char *filename, int width, int height, int n… in writeBinaryPPM() [all …]
|
D | AlignFeatures.cpp | 46 if (imageGray != ImageUtils::IMAGE_TYPE_NOIMAGE) in ~Align() 47 ImageUtils::freeImage(imageGray); in ~Align() 90 imageGray = ImageUtils::allocateImage(width, height, 1); in initialize() 100 ImageUtils::rgb2gray(imageGray, imageRGB, width, height); in addFrameRGB() 109 ImageType *m_rows = ImageUtils::imageTypeToRowPointers(imageGray_, width, height); in addFrame()
|
D | Mosaic.cpp | 123 …imageYVU = ImageUtils::allocateImage(this->width, this->height, ImageUtils::IMAGE_TYPE_NUM_CHANNEL… in addFrameRGB() 124 ImageUtils::rgb2yvu(imageYVU, imageRGB, width, height); in addFrameRGB()
|
D | MosaicTypes.h | 84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS);
|
/packages/apps/LegacyCamera/jni/ |
D | feature_mos_jni.cpp | 50 ImageType resultYVU = ImageUtils::IMAGE_TYPE_NOIMAGE; 51 ImageType resultBGR = ImageUtils::IMAGE_TYPE_NOIMAGE; 287 tImage[LR][i] = ImageUtils::allocateImage(tWidth[LR], tHeight[LR], in Java_com_android_camera_panorama_Mosaic_allocateMosaicMemory() 288 ImageUtils::IMAGE_TYPE_NUM_CHANNELS); in Java_com_android_camera_panorama_Mosaic_allocateMosaicMemory() 289 tImage[HR][i] = ImageUtils::allocateImage(tWidth[HR], tHeight[HR], in Java_com_android_camera_panorama_Mosaic_allocateMosaicMemory() 290 ImageUtils::IMAGE_TYPE_NUM_CHANNELS); in Java_com_android_camera_panorama_Mosaic_allocateMosaicMemory() 301 ImageUtils::freeImage(tImage[LR][i]); in Java_com_android_camera_panorama_Mosaic_freeMosaicMemory() 302 ImageUtils::freeImage(tImage[HR][i]); in Java_com_android_camera_panorama_Mosaic_freeMosaicMemory() 580 resultBGR = ImageUtils::allocateImage(mosaicWidth, mosaicHeight, in Java_com_android_camera_panorama_Mosaic_getFinalMosaic() 581 ImageUtils::IMAGE_TYPE_NUM_CHANNELS); in Java_com_android_camera_panorama_Mosaic_getFinalMosaic() [all …]
|
D | mosaic_renderer_jni.cpp | 373 gPreviewImage[LR] = ImageUtils::allocateImage(gPreviewImageWidth[LR], in AllocateTextureMemory() 376 gPreviewImage[HR] = ImageUtils::allocateImage(gPreviewImageWidth[HR], in AllocateTextureMemory() 453 ImageUtils::freeImage(gPreviewImage[LR]); in FreeTextureMemory() 454 ImageUtils::freeImage(gPreviewImage[HR]); in FreeTextureMemory()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | ConversationDrawables.java | 24 import com.android.messaging.util.ImageUtils; 136 return ImageUtils.getTintedDrawable(mContext, protoDrawable, color); in getBubbleDrawable() 144 return ImageUtils.getTintedDrawable( in getPlayButtonDrawable() 149 return ImageUtils.getTintedDrawable( in getPauseButtonDrawable() 154 return ImageUtils.getTintedDrawable( in getAudioProgressDrawable() 165 return ImageUtils.getTintedDrawable(mContext, mFastScrollThumbPressedDrawable, in getFastScrollThumbDrawable() 175 return ImageUtils.getTintedDrawable(mContext, protoDrawable, mThemeColor); in getFastScrollPreviewDrawable()
|
D | AttachmentPreviewFactory.java | 47 import com.android.messaging.util.ImageUtils; 142 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, in getImageRequestDescriptorForAttachment() 143 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */); in getImageRequestDescriptorForAttachment()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/ |
D | ImageRequestTest.java | 27 import com.android.messaging.util.ImageUtils; 40 @Spy protected ImageUtils spyImageUtils; 48 spyImageUtils = Mockito.spy(new ImageUtils()); in setUp() 49 ImageUtils.set(spyImageUtils); in setUp() 87 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, in testLoadImageWithDownsampling() 88 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */)); in testLoadImageWithDownsampling()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | ImageRequest.java | 28 import com.android.messaging.util.ImageUtils; 129 return ImageUtils.isGif(getInputStreamForResource()); in isGif() 150 mOrientation = ImageUtils.getOrientation(getInputStreamForResource()); in loadBitmapInternal() 179 options.inSampleSize = ImageUtils.get().calculateInSampleSize(options, in loadBitmapInternal() 228 ImageUtils.drawBitmapWithCircleOnCanvas(sourceBitmap, new Canvas(targetBitmap), source, in postProcessOnBitmapResourceLoaded()
|
D | CompositeImageRequest.java | 27 import com.android.messaging.util.ImageUtils; 82 ImageUtils.drawBitmapWithCircleOnCanvas(resource.getBitmap(), smallCircleCanvas, in loadMediaInternal() 85 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, in loadMediaInternal() 86 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */); in loadMediaInternal()
|
D | VideoThumbnailRequestDescriptor.java | 20 import com.android.messaging.util.ImageUtils; 29 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, in VideoThumbnailRequestDescriptor() 30 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */); in VideoThumbnailRequestDescriptor()
|
D | MessagePartImageRequestDescriptor.java | 23 import com.android.messaging.util.ImageUtils; 47 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, in MessagePartImageRequestDescriptor() 48 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */); in MessagePartImageRequestDescriptor()
|
D | FileImageRequestDescriptor.java | 20 import com.android.messaging.util.ImageUtils; 51 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, in FileImageRequestDescriptor() 52 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */); in FileImageRequestDescriptor()
|
D | AvatarRequestDescriptor.java | 24 import com.android.messaging.util.ImageUtils; 44 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, in AvatarRequestDescriptor() 45 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */); in AvatarRequestDescriptor()
|
D | FileImageRequest.java | 24 import com.android.messaging.util.ImageUtils; 68 options.inSampleSize = ImageUtils.get().calculateInSampleSize(options, in loadBitmapInternal() 79 mOrientation = ImageUtils.getOrientation(getInputStreamForResource()); in loadBitmapInternal()
|
D | DecodedImageResource.java | 25 import com.android.messaging.util.ImageUtils; 90 return ImageUtils.bitmapToBytes(mBitmap, BITMAP_QUALITY); in getBytes() 217 byte[] encodedBytes = ImageUtils.bitmapToBytes(bitmap, COMPRESS_QUALITY); in loadMediaBlocking()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 56 public class ImageUtils { class 67 private static volatile ImageUtils sInstance; 69 public static ImageUtils get() { in get() 71 synchronized (ImageUtils.class) { in get() 73 sInstance = new ImageUtils(); in get() 81 public static void set(final ImageUtils imageUtils) { in set() 306 return ImageUtils.isGif(inputStream); in isGif() 474 return ImageUtils.isGif(mContentType, mUri) ? resizeGifImage() : resizeStaticImage(); in resize() 738 encoded = ImageUtils.bitmapToBytes(mScaled, mQuality); in recodeImage()
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
D | BuglePhotoBitmapLoader.java | 32 import com.android.messaging.util.ImageUtils; 65 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, in loadInBackground() 66 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */); in loadInBackground()
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
D | ViewGroupItemVerticalExplodeAnimation.java | 36 import com.android.messaging.util.ImageUtils; 203 ImageUtils.setBackgroundDrawableOnView(view, null); in snapshotView() 205 ImageUtils.setBackgroundDrawableOnView(view, viewBackground); in snapshotView()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | DocumentImagePicker.java | 28 import com.android.messaging.util.ImageUtils; 120 return ImageUtils.getContentType( in prepareDocumentForAttachment()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleNotifications.java | 74 import com.android.messaging.util.ImageUtils; 588 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, in requestContactDisplayPhoto() 589 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */); in requestContactDisplayPhoto() 742 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, in sendNotification() 743 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */); in sendNotification() 812 final Bitmap smallBitmap = ImageUtils.scaleCenterCrop(attachmentBitmap, sIconWidth, in fireOffNotification() 825 final Bitmap wearBitmap = ImageUtils.scaleCenterCrop(attachmentBitmap, in fireOffNotification()
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/audio/ |
D | AudioFragment.java | 29 import com.android.car.apps.common.ImageUtils; 121 Bitmap blurredBackground = ImageUtils.blur(getContext(), imageBitmap, scaledSize, in updateBackgroundImage()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | MessagePartData.java | 41 import com.android.messaging.util.ImageUtils; 471 final Rect imageSize = ImageUtils.decodeImageBounds( in decodeAndSaveSizeIfImage() 503 if (ImageUtils.isGif(mContentType, mContentUri)) { in getMinimumSizeInBytesForSending()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListItemView.java | 55 import com.android.messaging.util.ImageUtils; 495 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, in bind() 496 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */)); in bind()
|