/packages/apps/Gallery/src/com/android/camera/ |
ImageGetter.java | 31 * Here's the loading strategy. For any given image, load the thumbnail 34 * Then proceed to load the full image bitmap. Three things can 37 * 1. the image fails to load because the UI thread decided 38 * to move on to a different image. This "cancellation" happens 40 * image being decoded. BitmapFactory.decodeStream returns null 43 * 2. the image loaded successfully. At that point we post 46 * 3. when the post runs it checks to see if the image that was 48 * to some other image and if so we just drop the newly loaded 80 // The callback to invoke for each image. 83 // The image list for the images [all...] |
ViewImage.java | 55 // the user view one image at a time, and can click "previous" and "next" 56 // button to see the previous or next image. In slide show mode it shows one 57 // image after another, with some transition effect. 128 // The image view displayed for normal mode. 212 IImage image = mAllImages.getImageAt(mCurrentPosition); 213 if (image instanceof VideoObject) { 405 IImage image = mAllImages.getImageAt(mCurrentPosition); 406 Uri uri = image.fullSizeImageUri(); 407 cb.run(uri, image); 459 IImage image = mAllImages.getImageAt(mCurrentPosition) local 488 IImage image = mAllImages.getImageAt(pos); local 895 IImage image = mAllImages.getImageForUri(uri); local 1001 IImage image = mAllImages.getImageAt(mCurrentPosition); local 1020 IImage image = mAllImages.getImageAt(mCurrentPosition); local 1028 IImage image = mAllImages.getImageAt(mCurrentPosition); local 1069 IImage image = mAllImages.getImageForUri(mSavedUri); local [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AddAdapter.java | 51 public final Drawable image; field in class:AddAdapter.ListItem 57 image = res.getDrawable(imageResourceId); 59 image = null; 97 textView.setCompoundDrawablesWithIntrinsicBounds(item.image, null, null, null);
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/ |
PsdFile.java | 21 import java.awt.image.BufferedImage; 56 public void addLayer(String name, BufferedImage image, Point offset) { 57 addLayer(name, image, offset, true); 60 public void addLayer(String name, BufferedImage image, Point offset, boolean visible) { 61 mLayersInfo.addLayer(name, image, offset, visible); 62 if (visible) mGraphics.drawImage(image, null, offset.x, offset.y); 95 private static void writeImage(BufferedImage image, DataOutputStream out, boolean split) 100 int width = image.getWidth(); 101 int height = image.getHeight(); 106 image.getData().getDataElements(0, 0, width, height, pixels) [all...] |
/external/webkit/WebCore/platform/graphics/ |
GraphicsContext.cpp | 311 void GraphicsContext::drawImage(Image* image, ColorSpace styleColorSpace, const IntPoint& p, CompositeOperator op) 313 drawImage(image, styleColorSpace, p, IntRect(0, 0, -1, -1), op); 316 void GraphicsContext::drawImage(Image* image, ColorSpace styleColorSpace, const IntRect& r, CompositeOperator op, bool useLowQualityScale) 318 drawImage(image, styleColorSpace, r, IntRect(0, 0, -1, -1), op, useLowQualityScale); 321 void GraphicsContext::drawImage(Image* image, ColorSpace styleColorSpace, const IntPoint& dest, const IntRect& srcRect, CompositeOperator op) 323 drawImage(image, styleColorSpace, IntRect(dest, srcRect.size()), srcRect, op); 326 void GraphicsContext::drawImage(Image* image, ColorSpace styleColorSpace, const IntRect& dest, const IntRect& srcRect, CompositeOperator (…) [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParserTokenManager.java | 670 StringBuffer image; field in class:DateTimeParserTokenManager 715 t.image = (im == null) ? input_stream.GetImage() : im; 751 image = null; 844 if (image == null) 845 image = new StringBuffer(); 846 image.append(input_stream.GetSuffix(jjimageLen)); 848 image.deleteCharAt(image.length() - 2); 851 if (image == null) 852 image = new StringBuffer() [all...] |
/external/webkit/WebCore/html/ |
HTMLImageElement.cpp | 176 imageObj->setCachedImage(m_imageLoader.image()); 178 // If we have no image at all because we have no src attribute, set 179 // image height and width for the alt text instead. 180 if (!m_imageLoader.image() && !imageObj->cachedImage()) 194 // our loader may have not fetched the image, so do it now. 195 if (!m_imageLoader.image()) 245 // if the image is available, use its width 246 if (m_imageLoader.image()) { 248 return m_imageLoader.image()->imageSize(zoomFactor).width(); 269 // if the image is available, use its heigh [all...] |
/external/webkit/WebCore/platform/win/ |
PasteboardWin.cpp | 37 #include "Image.h" 209 Image* image = cachedImage->image(); local 210 ASSERT(image); 217 HBITMAP resultBitmap = CreateCompatibleBitmap(dc, image->width(), image->height()); 220 BitmapInfo bmInfo = BitmapInfo::create(image->size()); 224 image->getHBITMAP(coreBitmap); 227 AlphaBlend(compatibleDC, 0, 0, image->width(), image->height() [all...] |
/external/webkit/WebCore/rendering/ |
HitTestResult.cpp | 173 // For <area> tags in image maps, walk the tree for the <area>, not the <img> using it. 200 HTMLImageElement* image = static_cast<HTMLImageElement*>(m_innerNonSharedNode.get()); local 201 return displayString(image->getAttribute(altAttr), m_innerNonSharedNode.get()); 211 WMLImageElement* image = static_cast<WMLImageElement*>(m_innerNonSharedNode.get()); local 212 return displayString(image->altText(), m_innerNonSharedNode.get()); 219 Image* HitTestResult::image() const function in class:WebCore::HitTestResult 226 RenderImage* image = static_cast<WebCore::RenderImage*>(renderer); local 227 if (image->cachedImage() && !image->cachedImage()->errorOccurred() [all...] |
/external/webkit/WebCore/css/ |
CSSCanvasValue.cpp | 87 Image* CSSCanvasValue::image(RenderObject* renderer, const IntSize& /*size*/) function in class:WebCore::CSSCanvasValue 93 return elt->buffer()->image();
|
quirks.css | 46 input:not([type=image]), textarea {
|
/external/webkit/WebCore/dom/ |
Clipboard.idl | 43 [Custom] void setDragImage(in HTMLImageElement image, in long x, in long y)
|
/external/webkit/WebCore/loader/ |
CachedImage.h | 28 #include "Image.h" 43 CachedImage(Image*); 48 Image* image() const; 58 // Both of these methods take a zoom multiplier that can be used to increase the natural size of the image by the 60 IntSize imageSize(float multiplier) const; // returns the size of the complete image. 61 IntRect imageRect(float multiplier) const; // The size of the currently decoded portion of the image. 86 virtual void decodedSizeChanged(const Image* image, int delta); 87 virtual void didDraw(const Image*); [all...] |
/external/webkit/WebCore/platform/ |
DragImage.h | 64 class Image; 89 //These functions should be memory neutral, eg. if they return a newly allocated image, 90 //they should release the input image. As a corollary these methods don't guarantee 91 //the input image ref will still be valid after they have been called 92 DragImageRef fitDragImageToMaxSize(DragImageRef image, const IntSize& srcSize, const IntSize& size); 94 DragImageRef dissolveDragImageToFraction(DragImageRef image, float delta); 96 DragImageRef createDragImageFromImage(Image*);
|
/external/webkit/WebCore/platform/chromium/ |
PlatformCursor.h | 34 #include "Image.h" 92 PlatformCursor(Image* image, const IntPoint& hotSpot) 93 : m_image(image) 97 PassRefPtr<Image> customImage() const { return m_image; } 102 RefPtr<Image> m_image;
|
ClipboardChromium.cpp | 214 void ClipboardChromium::setDragImage(CachedImage* image, Node* node, const IntPoint& loc) 221 m_dragImage = image; 243 result = createDragImageFromImage(m_dragImage->image()); 255 // Copy over attributes. If we are dragging an image, we expect things like 284 RenderImage* image = toRenderImage(renderer); 285 if (image->cachedImage() && !image->cachedImage()->errorOccurred()) 286 return image->cachedImage(); 294 // Shove image data into a DataObject for use as a file 296 if (!cachedImage || !cachedImage->image() || !cachedImage->isLoaded() [all...] |
/external/webkit/WebKitTools/DumpRenderTree/cairo/ |
PixelDumpSupportCairo.cpp | 55 static void printPNG(cairo_surface_t* image)
59 cairo_surface_write_to_png_stream(image, writeFunction, &pixelData);
|
/frameworks/base/services/surfaceflinger/ |
TextureManager.h | 40 struct Image { 42 Image() : name(-1U), image(EGL_NO_IMAGE_KHR), width(0), height(0), 45 EGLImageKHR image; member in struct:android::Image 52 struct Texture : public Image { 53 Texture() : Image(), NPOTAdjust(0) { } 65 static status_t initTexture(Image* texture, int32_t format); 69 static GLenum getTextureTarget(const Image* pImage); 79 status_t initEglImage(Image* texture,
|
TextureManager.cpp | 45 GLenum TextureManager::getTextureTarget(const Image* image) { 47 switch (image->target) { 76 status_t TextureManager::initTexture(Image* pImage, int32_t format) 134 status_t TextureManager::initEglImage(Image* pImage, 140 // free the previous image 141 if (pImage->image != EGL_NO_IMAGE_KHR) { 142 eglDestroyImageKHR(dpy, pImage->image); 143 pImage->image = EGL_NO_IMAGE_KHR; 154 pImage->image = eglCreateImageKHR [all...] |
/external/webkit/WebCore/platform/gtk/ |
ClipboardGtk.cpp | 126 RenderImage* image = static_cast<RenderImage*>(renderer); 127 if (image->cachedImage() && !image->cachedImage()->errorOccurred()) 128 return image->cachedImage(); 139 GdkPixbuf* pixbuf = cachedImage->image()->getGdkPixbuf();
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
ScreenViewer.java | 30 import java.awt.image.BufferedImage; 58 private BufferedImage image; field in class:ScreenViewer 283 if (image != null) { 288 g2.drawImage(image, 0, 0, null); 291 g2.drawImage(overlay, 0, image.getHeight() - overlay.getHeight(), null); 333 if (image != null) { 335 g.clipRect(0, 0, image.getWidth() * zoom + 1, image.getHeight() * zoom + 1); 343 int x = Math.max(0, Math.min((event.getX() + left) / zoom, image.getWidth() - 1)); 344 int y = Math.max(0, Math.min((event.getY() + top) / zoom, image.getHeight() - 1)) [all...] |
/external/webkit/WebCore/platform/graphics/win/ |
GraphicsContextCairoWin.cpp | 105 cairo_surface_t* image = cairo_image_surface_create_for_data((unsigned char*)info.bmBits, local 111 // Scale the target surface to the new image size, and flip it 116 cairo_set_source_surface (m_data->cr, image, dstRect.x(), dstRect.y()); 124 cairo_surface_destroy(image);
|
ImageCGWin.cpp | 27 #include "Image.h" 95 CGImageRef image = frameAtIndex(i); local 96 if (CGImageGetHeight(image) == static_cast<size_t>(srcSize.height()) && CGImageGetWidth(image) == static_cast<size_t>(srcSize.width())) { 105 // No image of the correct size was found, fallback to drawing the current frame
|
/external/webkit/WebCore/wml/ |
WMLImageElement.cpp | 101 imageObj->setCachedImage(m_imageLoader.image()); 103 // If we have no image at all because we have no src attribute, set 104 // image height and width for the alt text instead. 105 if (!m_imageLoader.image() && !imageObj->cachedImage()) 118 // our loader may have not fetched the image, so do it now. 119 if (!m_imageLoader.image()) 134 // image specified in the src parameter.
|
/external/webkit/WebKit/mac/Misc/ |
WebNSViewExtras.m | 165 NSImage *image = [element image]; 166 if (image != nil && [image size].height * [image size].width <= WebMaxOriginalImageArea) { 170 dragImage = [[image copy] autorelease]; 179 // Properly orient the drag image and orient it differently if it's smaller than the original 185 // There's no way to get the MIME type for the image from a DOM element. 186 // The old code used WKGetPreferredExtensionForMIMEType([image MIMEType]); 193 // This is the offset from the lower left corner of the image to the mouse location. Because w [all...] |