HomeSort by relevance Sort by last modified time
    Searched refs:ImageData (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/webkit/Source/WebCore/html/
ImageData.cpp 30 #include "ImageData.h"
34 PassRefPtr<ImageData> ImageData::create(const IntSize& size)
36 return adoptRef(new ImageData(size));
39 PassRefPtr<ImageData> ImageData::create(const IntSize& size, PassRefPtr<ByteArray> byteArray)
41 return adoptRef(new ImageData(size, byteArray));
44 ImageData::ImageData(const IntSize& size)
50 ImageData::ImageData(const IntSize& size, PassRefPtr<ByteArray> byteArray
    [all...]
ImageData.h 40 class ImageData : public RefCounted<ImageData> {
42 static PassRefPtr<ImageData> create(const IntSize&);
43 static PassRefPtr<ImageData> create(const IntSize&, PassRefPtr<ByteArray>);
51 ImageData(const IntSize&);
52 ImageData(const IntSize&, PassRefPtr<ByteArray>);
ImageData.idl 33 ] ImageData {
HTMLCanvasElement.h 50 class ImageData;
109 PassRefPtr<ImageData> getImageData();
  /external/webkit/Source/WebCore/platform/image-encoders/skia/
JPEGImageEncoder.h 40 class ImageData;
46 static bool encode(const ImageData&, int quality, Vector<unsigned char>*);
PNGImageEncoder.h 40 class ImageData;
46 static bool encode(const ImageData&, Vector<unsigned char>* output);
  /external/webkit/Source/WebCore/bindings/js/
JSImageDataCustom.cpp 29 #include "ImageData.h"
39 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, ImageData* imageData)
41 if (!imageData)
44 JSDOMWrapper* wrapper = getCachedWrapper(currentWorld(exec), imageData);
48 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, ImageData, imageData);
52 wrapper->putDirect(exec->globalData(), dataName, new (exec) JSByteArray(exec, cpaStructure.get(), imageData->data()->data()), DontDelete | ReadOnly);
53 exec->heap()->reportExtraMemoryCost(imageData->data()->length());
  /external/webkit/Source/WebCore/bindings/v8/custom/
V8ImageDataCustom.cpp 38 v8::Handle<v8::Value> toV8(ImageData* impl)
46 // Set the "data" property of the ImageData object to
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
ImageCacheService.java 46 public static class ImageData {
47 public ImageData(byte[] data, int offset) {
55 public ImageData getImageData(Path path, int type) {
66 return new ImageData(value, offset);
ImageCacheRequest.java 21 import com.android.gallery3d.data.ImageCacheService.ImageData;
50 ImageData data = cacheService.getImageData(mPath, mType);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
ErrorImageComposite.java 7 import org.eclipse.swt.graphics.ImageData;
31 ImageData baseData = mBaseImage.getImageData();
34 ImageData overlayData = mErrorImageDescriptor.getImageData();
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
BaseHeapPanel.java 23 import org.eclipse.swt.graphics.ImageData;
166 protected ImageData createLinearHeapImage(byte[] pixData, int h, PaletteData palette) {
173 ImageData id = new ImageData(w, h, 8, palette);
ScreenShotDialog.java 33 import org.eclipse.swt.graphics.ImageData;
257 ImageData imageData = new ImageData(mRawImage.width, mRawImage.height,
259 image = new Image(getParent().getDisplay(), imageData);
330 ImageData imageData = mImageLabel.getImage().getImageData();
336 loader.data = new ImageData[] { imageData };
  /external/webkit/Source/WebCore/html/canvas/
CanvasRenderingContext2D.h 58 class ImageData;
198 PassRefPtr<ImageData> createImageData(PassRefPtr<ImageData>, ExceptionCode&) const;
199 PassRefPtr<ImageData> createImageData(float width, float height, ExceptionCode&) const;
200 PassRefPtr<ImageData> getImageData(float sx, float sy, float sw, float sh, ExceptionCode&) const;
201 void putImageData(ImageData*, float dx, float dy, ExceptionCode&);
202 void putImageData(ImageData*, float dx, float dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight, ExceptionCode&);
CanvasRenderingContext2D.idl 151 void putImageData(in ImageData imagedata, in float dx, in float dy, in [Optional] float dirtyX, in float dirtyY, in float dirtyWidth, in float dirtyHeight)
153 ImageData createImageData(in ImageData imagedata)
155 ImageData createImageData(in float sw, in float sh)
168 [Custom] void putImageData(/* in ImageData imagedata, in float dx, in float dy [, in float dirtyX, in float dirtyY, in float dirtyWidth, in float dirtyHeight] */);
169 [Custom] ImageData createImageData(/* 3 */);
176 ImageData getImageData(in float sx, in float sy, in float sw, in float sh
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SwtUtils.java 22 import org.eclipse.swt.graphics.ImageData;
133 ImageData imageData =
134 new ImageData(width, height, 32, getAwtPaletteData(awtImage.getType()));
138 imageData.setPixels(0, 0, imageDataBuffer.length, imageDataBuffer, 0);
142 imageData.setPixels(0, 0, imageDataBuffer.length, imageDataBuffer, 0);
158 // set ImageData.alpha, it will ignore the alphaData.
168 imageData.alphaData = alphaData;
170 imageData.alpha = globalAlpha;
173 return new Image(display, imageData);
    [all...]
ImageOverlay.java 28 import org.eclipse.swt.graphics.ImageData;
271 * The BufferedImage also contains an instance of {@link ImageData} that's kept around
277 private final ImageData mImageData;
281 * Creates the image with a given model, raster and SWT {@link ImageData}
284 * @param imageData the SWT image data.
287 private SwtReadyBufferedImage(int width, int height, ImageData imageData, Device device) {
289 mImageData = imageData;
315 ImageData imageData = new ImageData(w, h, 32
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SwtUtilsTest.java 23 import org.eclipse.swt.graphics.ImageData;
57 ImageData outData = outImage.getImageData();
112 ImageData outData = outImage.getImageData();
145 ImageData outData = outImage.getImageData();
182 ImageData outData = outImage.getImageData();
243 ImageData outData = result.getImageData();
282 ImageData outData = result.getImageData();
332 ImageData data = new ImageData(imageWidth, imageHeight, 32, new PaletteData(0x00FF0000,
  /development/tools/glesv2debugger/src/com/android/glesv2debugger/
MessageProcessor.java 22 import org.eclipse.swt.graphics.ImageData;
105 public static ImageData receiveImage(int width, int height, int format,
171 return new ImageData(width, height, bpp, palette, 1, pixels);
MessageData.java 25 import org.eclipse.swt.graphics.ImageData;
86 ImageData imageData = null;
91 imageData = MessageProcessor.receiveImage(msg.getArg3(), msg
93 return image = new Image(Display.getCurrent(), imageData);
96 imageData = MessageProcessor.receiveImage(msg.getArg4(), msg
98 return image = new Image(Display.getCurrent(), imageData);
100 imageData = MessageProcessor.receiveImage(msg.getArg5(), msg.getArg6(),
102 imageData = imageData.scaledTo(imageData.width, -imageData.height)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gldebugger/
MessageProcessor.java 22 import org.eclipse.swt.graphics.ImageData;
105 public static ImageData receiveImage(int width, int height, int format,
171 return new ImageData(width, height, bpp, palette, 1, pixels);
  /external/webkit/Source/WebCore/platform/graphics/
ImageBuffer.h 48 class ImageData;
133 String ImageDataToDataURL(const ImageData& input, const String& mimeType, const double* quality);
  /external/webkit/Source/WebCore/platform/graphics/haiku/
ImageBufferHaiku.cpp 32 #include "ImageData.h"
215 static PassRefPtr<ImageData> getImageData(const IntRect& rect, const ImageBufferData& imageData, const IntSize& size, bool premultiplied)
217 RefPtr<ImageData> result = ImageData::create(IntSize(rect.width(), rect.height()));
242 const uint8* sourceRows = reinterpret_cast<const uint8*>(imageData.m_bitmap.Bits());
243 uint32 sourceBytesPerRow = imageData.m_bitmap.BytesPerRow();
258 PassRefPtr<ImageData> ImageBuffer::getUnmultipliedImageData(const IntRect& rect) const
265 PassRefPtr<ImageData> ImageBuffer::getPremultipliedImageData(const IntRect& rect) const
272 static void putImageData(ImageData* source, const IntRect& sourceRect, const IntPoint& destPoint, ImageBufferData& imageData, const I (…)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
SinglePhotoDataAdapter.java 24 import com.android.gallery3d.ui.PhotoView.ImageData;
161 public ImageData getNextImage() {
165 public ImageData getPreviousImage() {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
IconFactory.java 30 import org.eclipse.swt.graphics.ImageData;
208 public ImageData getImageData() {
298 ImageData data = image.getImageData();

Completed in 2006 milliseconds

1 2 3