/frameworks/base/awt/javax/imageio/ |
ImageTypeSpecifier.java | 24 import java.awt.image.ColorModel; 25 import java.awt.image.SampleModel; 26 import java.awt.image.BufferedImage; 27 import java.awt.image.RenderedImage; 32 * SampleModel and the ColorModel of an image. 80 throw new IllegalArgumentException("image should not be NULL"); 136 * Creates a ImageTypeSpecifier for a image with a BandedSampleModel and a 152 * @return the image type specifier 160 * Creates a ImageTypeSpecifier for a grayscale image. 175 * Creates a ImageTypeSpecifier for a grayscale image [all...] |
/frameworks/base/awt/java/awt/ |
ToolkitImpl.java | 21 import java.awt.image.ColorModel; 22 import java.awt.image.ImageObserver; 23 import java.awt.image.ImageProducer; 29 import org.apache.harmony.awt.gl.image.*; 34 static final Hashtable<Serializable, Image> imageCache = new Hashtable<Serializable, Image>(); 46 public int checkImage(Image image, int width, int height, ImageObserver observer) { 52 if (!(image instanceof OffscreenImage)) { 55 OffscreenImage oi = (OffscreenImage) image; [all...] |
/packages/apps/Gallery/src/com/android/camera/gallery/ |
BaseImageList.java | 60 // TODO: We need to clear the cache because we may "reopen" the image 61 // list. After we implement the image list state, we can remove this 84 // does our uri already have an id (single image query)? 133 public boolean removeImage(IImage image) { 135 if (mContentResolver.delete(image.fullSizeImageUri(), null, null) > 0) { 136 ((BaseImage) image).onRemove(); 175 // Sometimes, the URI of an image contains a query string with key 176 // "bucketId" inorder to restore the image list. However, the query 203 BaseImage image = mCache.get(i); local 204 if (image == null) [all...] |
/external/clearsilver/imd/ |
imd.cs | 1 <?cs def:frame_picture(image, link, size) ?> 5 <TD><IMG name="frame1" border=0 height=8 width=<?cs var:image.width ?> src="1.gif"></TD> 9 <TD><IMG name="frame3" border=0 height=<?cs var:image.height ?> width=8 src="3.gif"></TD> 10 <TD><a href="<?cs var:link ?>"><img border=0 width=<?cs var:image.width ?> height=<?cs var:image.height ?> src="<?cs var:CGI.PathInfo?>?image=<?cs var:url_escape(Album) ?>/<?cs var:url_escape(image) ?>&width=<?cs var:image.width ?>&height=<?cs var:image.height ?>"></a></TD> 11 <TD><IMG name="frame4" border=0 height=<?cs var:image.height ?> width=8 src="4.gif"></TD [all...] |
/external/webkit/WebCore/platform/graphics/android/ |
ImageAndroid.cpp | 30 #include "Image.h" 77 : Image(observer) 194 SkBitmapRef* image = this->nativeImageForCurrentFrame(); local 195 if (!image) { // If it's too early we won't have an image yet. 200 const SkBitmap& bitmap = image->bitmap(); 212 float invScaleX = (float)bitmap.width() / image->origWidth(); 213 float invScaleY = (float)bitmap.height() / image->origHeight(); 235 if (bitmap.width() != image->origWidth() || 236 bitmap.height() != image->origHeight()) 256 SkBitmapRef* image = this->nativeImageForCurrentFrame(); local [all...] |
/external/webkit/WebCore/platform/graphics/qt/ |
ImageBufferQt.cpp | 90 Image* ImageBuffer::image() const function in class:WebCore::ImageBuffer 93 // It's assumed that if image() is called, the actual rendering to the 108 QImage image = m_data.m_pixmap.toImage().convertToFormat(QImage::Format_ARGB32); local 109 ASSERT(!image.isNull()); 113 QRgb value = image.pixel(x, y); 118 image.setPixel(x, y, value); 122 m_data.m_pixmap = QPixmap::fromImage(image); 159 QImage image = imageData.m_pixmap.toImage(); local 161 image = image.convertToFormat(QImage::Format_ARGB32) 230 QImage image = data.m_pixmap.toImage(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/parts/ |
UiDocumentEditPart.java | 38 import org.eclipse.swt.graphics.Image; 43 import java.awt.image.BufferedImage; 44 import java.awt.image.DataBufferInt; 63 private Image mImage; 68 ImageBackground(BufferedImage image, Display display) { 69 setImage(image, display); 80 void setImage(BufferedImage image, Display display) { 81 if (image != null) { 82 int[] data = ((DataBufferInt)image.getData().getDataBuffer()).getData(); 84 ImageData imageData = new ImageData(image.getWidth(), image.getHeight(), 32 122 BufferedImage image = (BufferedImage)editData; local 192 BufferedImage image = (BufferedImage)editData; local [all...] |
/external/webkit/WebCore/rendering/ |
RenderImage.cpp | 63 RenderImageScaleData(RenderImage* image, const IntSize& size, double time, bool lowQualityScale) 67 , m_highQualityRepaintTimer(image, &RenderImage::highQualityRepaintTimerFired) 102 static void imageDestroyed(RenderImage* image) 105 RenderImageScaleData* data = gImages->take(image); 114 static void highQualityRepaintTimerFired(RenderImage* image) 116 RenderImageScaleObserver::imageDestroyed(image); 117 image->repaint(); 123 bool RenderImageScaleObserver::shouldImagePaintAtLowQuality(RenderImage* image, const IntSize& size) 125 // If the image is not a bitmap image, then none of this is relevant and we just paint at hig [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
AddressListParser.jj | 431 if (t.image.charAt(t.image.length() - 1) != '.' || t.kind == AddressListParserConstants.QUOTEDSTRING)
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); } [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/ |
ContentTypeParserTokenManager.java | 631 StringBuffer image; field in class:ContentTypeParserTokenManager 676 t.image = (im == null) ? input_stream.GetImage() : im; 712 image = null; 811 if (image == null) 812 image = new StringBuffer(); 813 image.append(input_stream.GetSuffix(jjimageLen)); 815 image.deleteCharAt(image.length() - 2); 818 if (image == null) 819 image = new StringBuffer() [all...] |
/external/webkit/WebCore/platform/graphics/cg/ |
ImageCG.cpp | 65 // Image Class 69 : Image(observer) 110 CGImageRef image = frameAtIndex(0); local 112 // Currently we only check for solid color in the important special case of a 1x1 image. 113 if (image && CGImageGetWidth(image) == 1 && CGImageGetHeight(image) == 1) { 122 CGContextDrawImage(bmap.get(), dst, image); 135 // If the image already has a (non-device) color space, we don't want to 161 RetainPtr<CGImageRef> image = frameAtIndex(m_currentFrame) local 243 CGImageRef image = (CGImageRef)info; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
YuvImageTest.java | 106 YuvImage image; local 111 image = new YuvImage(yuv, mFormats[i], width, height, null); 129 image = new YuvImage(yuv, mFormats[i], width, height, null); 130 actual = image.getStrides(); 143 image = new YuvImage(yuv, format, -1, height, null); 151 image = new YuvImage(yuv, format, width, -1, null); 159 image = new YuvImage(null, format, width, height, null); 183 YuvImage image = generateYuvImage(mFormats[i], local 188 // mTestBitmaps[j] and image. 189 compressRects(mTestBitmaps[j], image, 225 YuvImage image = null; local 385 YuvImage image = new YuvImage(yuv, format, WIDTH, HEIGHT, null); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CompressedTextureActivity.java | 115 Buffer image = createImage(width, height); local 116 ETC1Util.ETC1Texture etc1Texture = ETC1Util.compressTexture(image, width, height, 3, 3 * width); 136 ByteBuffer image = ByteBuffer.allocateDirect(height * stride) local 146 image.position(stride*y+x*3); 147 image.put(red); 148 image.put(green); 149 image.put(blue); 152 image.position(0); 153 return image;
|
/external/webkit/WebCore/platform/graphics/filters/ |
FEComposite.cpp | 134 filterContext->drawImage(m_in2->resultImage()->image(), DeviceColorSpace, calculateDrawingRect(m_in2->scaledSubRegion())); 135 filterContext->drawImage(m_in->resultImage()->image(), DeviceColorSpace, calculateDrawingRect(m_in->scaledSubRegion())); 140 filterContext->drawImage(m_in->resultImage()->image(), DeviceColorSpace, calculateDrawingRect(m_in->scaledSubRegion())); 144 filterContext->drawImage(m_in->resultImage()->image(), DeviceColorSpace, calculateDrawingRect(m_in->scaledSubRegion())); 145 filterContext->drawImage(m_in2->resultImage()->image(), DeviceColorSpace, calculateDrawingRect(m_in2->scaledSubRegion()), srcRect, CompositeDestinationOut); 148 filterContext->drawImage(m_in2->resultImage()->image(), DeviceColorSpace, calculateDrawingRect(m_in2->scaledSubRegion())); 149 filterContext->drawImage(m_in->resultImage()->image(), DeviceColorSpace, calculateDrawingRect(m_in->scaledSubRegion()), srcRect, CompositeSourceAtop); 152 filterContext->drawImage(m_in2->resultImage()->image(), DeviceColorSpace, calculateDrawingRect(m_in2->scaledSubRegion())); 153 filterContext->drawImage(m_in->resultImage()->image(), DeviceColorSpace, calculateDrawingRect(m_in->scaledSubRegion()), srcRect, CompositeXOR);
|
/packages/apps/Gallery/src/com/android/camera/ |
MenuHelper.java | 97 public static final String JPEG_MIME_TYPE = "image/jpeg"; 106 public void gettingReadyToOpen(Menu menu, IImage image); 107 public void aboutToCall(MenuItem item, IImage image); 115 public void run(Uri uri, IImage image); 128 public static long getImageFileSize(IImage image) { 129 java.io.InputStream data = image.fullSizeImageData(); 174 public static boolean hasLatLngData(IImage image) { 175 ExifInterface exif = getExif(image); 246 private static ExifInterface getExif(IImage image) { 247 if (!JPEG_MIME_TYPE.equals(image.getMimeType())) [all...] |
/frameworks/base/awt/java/awt/image/renderable/ |
RenderableImageProducer.java | 22 package java.awt.image.renderable; 24 import java.awt.image.ColorModel; 25 import java.awt.image.ImageConsumer; 26 import java.awt.image.ImageProducer; 27 import java.awt.image.Raster; 28 import java.awt.image.RenderedImage; 32 * The Class RenderableImageProducer provides the implementation for the image 55 * Instantiates a new renderable image producer. 58 * the rdbl image. 103 * Creates the rendered image in a new thread [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
ImageButton.java | 45 public void setImages(int image, int pressedImage) { 46 mImage = image; 49 setImage(image, true); 130 private void setImage(int image, boolean animate) { 131 if (mCurrentImage != image) { 142 mCurrentImage = image;
|
/external/webkit/WebCore/loader/ |
CachedImage.cpp | 62 CachedImage::CachedImage(Image* image) 64 , m_image(image) 119 static Image* brokenImage() 121 DEFINE_STATIC_LOCAL(RefPtr<Image>, brokenImage, (Image::loadPlatformResource("missingImage"))); 125 static Image* nullImage() 131 Image* CachedImage::image() const function in class:WebCore::CachedImage 240 // Create the image if it doesn't yet exist [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/ |
ImageSurface.java | 26 import java.awt.image.BandedSampleModel; 27 import java.awt.image.BufferedImage; 28 import java.awt.image.ColorModel; 29 import java.awt.image.ComponentColorModel; 30 import java.awt.image.ComponentSampleModel; 31 import java.awt.image.DirectColorModel; 32 import java.awt.image.IndexColorModel; 33 import java.awt.image.MultiPixelPackedSampleModel; 34 import java.awt.image.PixelInterleavedSampleModel; 35 import java.awt.image.SampleModel [all...] |
/external/e2fsprogs/tests/ |
Makefile.in | 45 dd if=/dev/zero of=${TDIR}/image bs=1k count=8k 46 mke2fs -j -F -N 256 ${TDIR}/image 48 @echo; echo; echo "New test filesystem at ${TDIR}/image." 54 testend: test_script ${TDIR}/image 55 gzip -9 ${TDIR}/image
|
/external/webkit/WebCore/css/ |
CSSBorderImageValue.cpp | 29 CSSBorderImageValue::CSSBorderImageValue(PassRefPtr<CSSValue> image, PassRefPtr<Rect> imageRect, int horizontalRule, int verticalRule) 30 : m_image(image) 39 // Image first.
|
svg.css | 45 svg:not(:root), symbol, image, marker, pattern, foreignObject {
|
/external/webkit/WebCore/rendering/style/ |
ContentData.cpp | 66 return StyleImage::imagesEquivalent(image(), other.image());
|
StyleCachedImage.cpp | 87 Image* StyleCachedImage::image(RenderObject*, const IntSize&) const function in class:WebCore::StyleCachedImage 89 return m_image->image();
|
StyleGeneratedImage.cpp | 75 Image* StyleGeneratedImage::image(RenderObject* renderer, const IntSize& size) const function in class:WebCore::StyleGeneratedImage 77 return m_generator->image(renderer, size);
|