/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
IconFactory.java | 35 * @param sourceImage image to create an icon from. 38 * @param scale if true, stretch sourceImage to fit the icon dimensions. 41 public static Bitmap createIcon(Bitmap sourceImage, int iconWidth, int iconHeight, 43 if (sourceImage == null) { 47 int sourceWidth = sourceImage.getWidth(); 48 int sourceHeight = sourceImage.getHeight(); 56 drawIcon(icon, sourceImage, scale); 66 * @param sourceImage image to create an icon from. 67 * @param scale if true, stretch sourceImage to fit the destination. 69 public static void drawIcon(Bitmap dest, Bitmap sourceImage, boolean scale) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
SourceGraphic.cpp | 55 if (!resultImage || !filter->sourceImage()) 58 resultImage->context()->drawImageBuffer(filter->sourceImage(), IntPoint());
|
Filter.h | 39 void setSourceImage(PassOwnPtr<ImageBuffer> sourceImage) { m_sourceImage = sourceImage; } 40 ImageBuffer* sourceImage() { return m_sourceImage.get(); }
|
SourceAlpha.cpp | 56 if (!resultImage || !filter->sourceImage()) 64 filterContext->drawImageBuffer(filter->sourceImage(), IntPoint(), CompositeDestinationIn);
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
MipMapGenerator.java | 48 private static BufferedImage scaleDown(BufferedImage sourceImage, int targetWidth, int targetHeight) { 49 int sourceWidth = sourceImage.getWidth(); 50 int sourceHeight = sourceImage.getHeight(); 52 BufferedImage targetImage = new BufferedImage(targetWidth, targetHeight, sourceImage.getType()); 56 g.drawImage(sourceImage, 0, 0, targetWidth, targetHeight, 0, 0, sourceWidth, sourceHeight, null);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/data/rebaselineserver/ |
loupe.js | 84 Loupe.prototype._fillFromImage = function(x, y, type, sourceImage) 87 tempCanvas.width = sourceImage.width; 88 tempCanvas.height = sourceImage.height; 91 tempContext.drawImage(sourceImage, 0, 0);
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
pixel.c | 272 GLenum format, const GLubyte * sourceImage, GLvoid * userdata) 334 writeByte |= (sourceImage[0] >> bitOffset); 337 writeByte = (sourceImage[0] << (8 - bitOffset)); 341 (sourceImage[0] & writeMask); 357 sourceImage++; 379 sourceImage += sourceSkip; 393 const GLubyte * sourceImage, GLvoid * userdata) 408 EmptyBitmap(gc, width, height, format, sourceImage, userdata); 445 __GLX_MEM_COPY(itera, sourceImage, 447 sourceImage += elementsPerRow * elementSize * height [all...] |
/external/mesa3d/src/glx/ |
pixel.c | 272 GLenum format, const GLubyte * sourceImage, GLvoid * userdata) 334 writeByte |= (sourceImage[0] >> bitOffset); 337 writeByte = (sourceImage[0] << (8 - bitOffset)); 341 (sourceImage[0] & writeMask); 357 sourceImage++; 379 sourceImage += sourceSkip; 393 const GLubyte * sourceImage, GLvoid * userdata) 408 EmptyBitmap(gc, width, height, format, sourceImage, userdata); 445 __GLX_MEM_COPY(itera, sourceImage, 447 sourceImage += elementsPerRow * elementSize * height [all...] |
/external/opencv/ |
cvjni.cpp | 279 LOGV("Release sourceImage");
375 void initFaceDetectionImages(IplImage *sourceImage, double scale = 1.0) {
377 m_grayImage = cvCreateImage(cvGetSize(sourceImage), IPL_DEPTH_8U, 1);
381 m_smallImage = cvCreateImage(cvSize(cvRound(sourceImage->width / scale),
382 cvRound(sourceImage->height / scale)), IPL_DEPTH_8U, 1);
390 cvSetImageROI(sourceImage, tPrev);
397 cvCvtColor(sourceImage, m_grayImage, CV_BGR2GRAY);
402 cvResetImageROI(sourceImage);
613 void highlightFace(IplImage *sourceImage, CvRect *face, double scale = 1.0) {
623 cvRectangle(sourceImage, pt1, pt2, CV_RGB(255, 0, 0), 3, 8, 0); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
ConfigureAssetSetPage.java | [all...] |
/external/skia/tests/ |
DeferredCanvasTest.cpp | 459 SkBitmap sourceImage; 461 sourceImage.setConfig(SkBitmap::kARGB_8888_Config, 100, 100); 462 sourceImage.allocPixels(); 465 sourceImage.notifyPixelsChanged(); // to force re-serialization 466 canvas->drawBitmap(sourceImage, 0, 0, NULL); 648 SkBitmap sourceImage; 650 sourceImage.setConfig(SkBitmap::kARGB_8888_Config, 100, 100); 651 sourceImage.allocPixels(); 658 canvas->drawBitmap(sourceImage, 0, 0, NULL); 668 canvas->drawBitmap(sourceImage, 0, 0, NULL) [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TextureHelper.java | 304 BufferedImage sourceImage = ImageToAwt.convert(image, false, false, 0);
305 BufferedImage heightMap = new BufferedImage(sourceImage.getWidth(), sourceImage.getHeight(), BufferedImage.TYPE_INT_ARGB);
306 BufferedImage bumpMap = new BufferedImage(sourceImage.getWidth(), sourceImage.getHeight(), BufferedImage.TYPE_INT_ARGB);
308 gscale.filter(sourceImage, heightMap);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
FilterEffectRenderer.cpp | 111 return sourceImage() ? sourceImage()->context() : 0; 316 if (!sourceImage() || sourceImage()->size() != logicalSize) {
|
/developers/build/lib/ |
assetstudio.jar | |
/prebuilts/devtools/tools/lib/ |
asset-studio.jar | |