/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
VideoThumbnailRequestDescriptor.java | 20 import com.android.messaging.util.ImageUtils; 30 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, 31 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */);
|
AvatarRequestDescriptor.java | 24 import com.android.messaging.util.ImageUtils; 44 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, 45 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */);
|
FileImageRequestDescriptor.java | 20 import com.android.messaging.util.ImageUtils; 51 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, 52 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */);
|
MessagePartImageRequestDescriptor.java | 23 import com.android.messaging.util.ImageUtils; 47 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, 48 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */);
|
FileImageRequest.java | 24 import com.android.messaging.util.ImageUtils; 68 options.inSampleSize = ImageUtils.get().calculateInSampleSize(options, 79 mOrientation = ImageUtils.getOrientation(getInputStreamForResource());
|
CompositeImageRequest.java | 27 import com.android.messaging.util.ImageUtils; 82 ImageUtils.drawBitmapWithCircleOnCanvas(resource.getBitmap(), smallCircleCanvas, 85 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, 86 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */);
|
ImageRequest.java | 28 import com.android.messaging.util.ImageUtils; 129 return ImageUtils.isGif(getInputStreamForResource()); 150 mOrientation = ImageUtils.getOrientation(getInputStreamForResource()); 179 options.inSampleSize = ImageUtils.get().calculateInSampleSize(options, 228 ImageUtils.drawBitmapWithCircleOnCanvas(sourceBitmap, new Canvas(targetBitmap), source,
|
DecodedImageResource.java | 25 import com.android.messaging.util.ImageUtils; 90 return ImageUtils.bitmapToBytes(mBitmap, BITMAP_QUALITY); 217 byte[] encodedBytes = ImageUtils.bitmapToBytes(bitmap, COMPRESS_QUALITY);
|
/development/perftests/panorama/ |
benchmark.cpp | 23 #include "mosaic/ImageUtils.h" 42 ImageType rgbFrame = ImageUtils::readBinaryPPM(filename, width, height); 43 yvuFrames[i] = ImageUtils::allocateImage(width, height, 44 ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 45 ImageUtils::rgb2yvu(yvuFrames[i], rgbFrame, width, height); 46 ImageUtils::freeImage(rgbFrame); 101 ImageType imageRGB = ImageUtils::allocateImage( 102 mosaicWidth, mosaicHeight, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 122 ImageUtils::yvu2rgb(imageRGB, resultYVU, mosaicWidth, 124 ImageUtils::writeBinaryPPM(imageRGB, filename, mosaicWidth [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtilsTest.java | 42 BufferedImage crop = ImageUtils.cropBlank(image, null); 53 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(5, 5, 80, 80)); 64 BufferedImage crop = ImageUtils.cropBlank(image, null); 79 BufferedImage crop = ImageUtils.cropBlank(image, null); 96 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(0, 0, 100, 100)); 113 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(5, 5, 80, 80)); 128 BufferedImage crop = ImageUtils.cropColor(image, 0xFF00FF00, null); 139 BufferedImage crop = ImageUtils.cropColor(image, 0xFFFF0000, null); 154 BufferedImage crop = ImageUtils.cropColor(image, 0xFF00FF00, null); 168 BufferedImage crop = ImageUtils.cropColor(image, 0xFFFF0000, new Rect(40, 40, 0, 0)) [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/ |
ConversationDrawables.java | 24 import com.android.messaging.util.ImageUtils; 136 return ImageUtils.getTintedDrawable(mContext, protoDrawable, color); 144 return ImageUtils.getTintedDrawable( 149 return ImageUtils.getTintedDrawable( 154 return ImageUtils.getTintedDrawable( 165 return ImageUtils.getTintedDrawable(mContext, mFastScrollThumbPressedDrawable, 175 return ImageUtils.getTintedDrawable(mContext, protoDrawable, mThemeColor);
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/ |
ImageRequestTest.java | 27 import com.android.messaging.util.ImageUtils; 40 @Spy protected ImageUtils spyImageUtils; 48 spyImageUtils = Mockito.spy(new ImageUtils()); 49 ImageUtils.set(spyImageUtils); 87 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, 88 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */));
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
MosaicTypes.h | 27 #include "ImageUtils.h" 84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS);
|
AlignFeatures.cpp | 46 if (imageGray != ImageUtils::IMAGE_TYPE_NOIMAGE) 47 ImageUtils::freeImage(imageGray); 90 imageGray = ImageUtils::allocateImage(width, height, 1); 100 ImageUtils::rgb2gray(imageGray, imageRGB, width, height); 109 ImageType *m_rows = ImageUtils::imageTypeToRowPointers(imageGray_, width, height);
|
ImageUtils.cpp | 18 // ImageUtils.cpp 19 // $Id: ImageUtils.cpp,v 1.12 2011/06/17 13:35:48 mbansal Exp $ 26 #include "ImageUtils.h" 28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) 73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) 116 ImageType ImageUtils::rgb2gray(ImageType in, int width, int height) 121 ImageType out = ImageUtils::allocateImage(width, height, 1); 146 ImageType ImageUtils::rgb2gray(ImageType out, ImageType in, int width, int height) 176 ImageType *ImageUtils::imageTypeToRowPointers(ImageType in, int width, int height) 190 void ImageUtils::yvu2rgb(ImageType out, ImageType in, int width, int height [all...] |
Mosaic.cpp | 120 imageYVU = ImageUtils::allocateImage(this->width, this->height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 121 ImageUtils::rgb2yvu(imageYVU, imageRGB, width, height); 129 ImageUtils::freeImage(imageYVU);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
MosaicTypes.h | 27 #include "ImageUtils.h" 84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS);
|
AlignFeatures.cpp | 46 if (imageGray != ImageUtils::IMAGE_TYPE_NOIMAGE) 47 ImageUtils::freeImage(imageGray); 90 imageGray = ImageUtils::allocateImage(width, height, 1); 100 ImageUtils::rgb2gray(imageGray, imageRGB, width, height); 109 ImageType *m_rows = ImageUtils::imageTypeToRowPointers(imageGray_, width, height);
|
ImageUtils.cpp | 18 // ImageUtils.cpp 19 // $Id: ImageUtils.cpp,v 1.12 2011/06/17 13:35:48 mbansal Exp $ 26 #include "ImageUtils.h" 28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) 73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) 116 ImageType ImageUtils::rgb2gray(ImageType in, int width, int height) 121 ImageType out = ImageUtils::allocateImage(width, height, 1); 146 ImageType ImageUtils::rgb2gray(ImageType out, ImageType in, int width, int height) 176 ImageType *ImageUtils::imageTypeToRowPointers(ImageType in, int width, int height) 190 void ImageUtils::yvu2rgb(ImageType out, ImageType in, int width, int height [all...] |
Mosaic.cpp | 123 imageYVU = ImageUtils::allocateImage(this->width, this->height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 124 ImageUtils::rgb2yvu(imageYVU, imageRGB, width, height);
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
DocumentImagePicker.java | 27 import com.android.messaging.util.ImageUtils; 110 // ImageUtils.getContentType() potentially involves I/O and can be expensive. 114 return ImageUtils.getContentType(
|
/packages/apps/LegacyCamera/jni/ |
feature_mos_jni.cpp | 48 ImageType tImage[NR][MAX_FRAMES];// = {{ImageUtils::IMAGE_TYPE_NOIMAGE}}; // YVU24 format image 50 ImageType resultYVU = ImageUtils::IMAGE_TYPE_NOIMAGE; 51 ImageType resultBGR = ImageUtils::IMAGE_TYPE_NOIMAGE; 287 tImage[LR][i] = ImageUtils::allocateImage(tWidth[LR], tHeight[LR], 288 ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 289 tImage[HR][i] = ImageUtils::allocateImage(tWidth[HR], tHeight[HR], 290 ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 301 ImageUtils::freeImage(tImage[LR][i]); 302 ImageUtils::freeImage(tImage[HR][i]); 580 resultBGR = ImageUtils::allocateImage(mosaicWidth, mosaicHeight [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PreviewIconFactory.java | 221 overrideBgColor = Integer.valueOf(ImageUtils.rgbToInt(bg, 0xFF)); 298 bg = ImageUtils.intToRgb(p); 299 if (ImageUtils.getBrightness(ImageUtils.rgbToInt(bg, 255)) < 128) { 407 int bgRgb = ImageUtils.rgbToInt(background, 0xFF); 408 int backgroundBrightness = ImageUtils.getBrightness(bgRgb); 416 int fgRgb = ImageUtils.rgbToInt(foreground, 0xFF); 417 int foregroundBrightness = ImageUtils.getBrightness(fgRgb); 449 return ImageUtils.intToRgb(rgb); 550 BufferedImage im = ImageUtils.subImage(image, left, top, right, bottom) [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
BuglePhotoBitmapLoader.java | 32 import com.android.messaging.util.ImageUtils; 65 ImageUtils.DEFAULT_CIRCLE_BACKGROUND_COLOR /* circleBackgroundColor */, 66 ImageUtils.DEFAULT_CIRCLE_STROKE_COLOR /* circleStrokeColor */);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
PhotoBitmapLoader.java | 29 import com.android.ex.photo.util.ImageUtils; 56 result = ImageUtils.createLocalBitmap(resolver, Uri.parse(mPhotoUri),
|