/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
ProtoBufUtils.java | 22 import org.eclipse.swt.graphics.ImageData; 29 private static ImageData getImageData(GLMessage glMsg) { 48 ImageData imageData = new ImageData( 59 imageData.alphaData = alpha; 61 imageData = imageData.scaledTo(imageData.width, -imageData.height) [all...] |
/external/chromium_org/chrome/renderer/resources/extensions/ |
set_icon.js | 22 var imageData = canvas_context.getImageData(0, 0, canvas.width, 24 callback(imageData); 29 function verifyImageData(imageData, iconSize) { 30 // Verify that this at least looks like an ImageData element. 31 // Unfortunately, we cannot use instanceof because the ImageData 36 if (!('width' in imageData) || 37 !('height' in imageData) || 38 !('data' in imageData)) { 40 'The imageData property must contain an ImageData object or' [all...] |
image_util.js | 42 var imageData = canvas_context.getImageData( 46 imageData.width, imageData.height, imageData.data.buffer); 58 return function(width, height, imageData) { 60 finished[index] = { width: width, height: height, data: imageData };
|
/frameworks/av/camera/ |
ICameraRecordingProxyListener.cpp | 38 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) 45 data.writeStrongBinder(imageData->asBinder()); 63 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); 64 dataCallbackTimestamp(timestamp, msgType, imageData);
|
ICameraClient.cpp | 54 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, 61 data.writeStrongBinder(imageData->asBinder()); 70 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) 77 data.writeStrongBinder(imageData->asBinder()); 103 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); 111 dataCallback(msgType, imageData, metadata); 120 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); 121 dataCallbackTimestamp(timestamp, msgType, imageData);
|
/packages/apps/Camera2/src/com/android/camera/data/ |
RotationTask.java | 84 PhotoData imageData = (PhotoData) data; 85 int originRotation = imageData.getOrientation(); 93 String filePath = imageData.getPath(); 97 if (imageData.getMimeType().equalsIgnoreCase(LocalData.MIME_TYPE_JPEG)) { 126 mContext.getContentResolver().update(imageData.getContentUri(), 138 data.getPath(), newOrientation, imageData.getWidth(), 139 imageData.getHeight(), data.getSizeInBytes(), latitude, longitude);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
GraphicsUtilities.java | 19 import org.eclipse.swt.graphics.ImageData; 22 * The utility class for SWT Image and ImageData manipulation. 28 * @return Returns 9-patched ImageData object. If image is null, returns null. 30 public static ImageData convertToNinePatch(ImageData image) { 34 ImageData result = new ImageData(image.width + 2, image.height + 2, image.depth, 57 public static void clearImageData(ImageData imageData) { 58 if (imageData == null) [all...] |
/external/opencv/cvaux/src/ |
extendededges.cpp | 148 ((uchar*)image->imageData)[image->widthStep * cur.y + cur.x]++; 149 assert( ((uchar*)image->imageData)[image->widthStep * cur.y + cur.x] != 255 ); 161 uchar flag = image->imageData[image->widthStep * cur.y + cur.x]; 171 if( flag < 3 ) ((uchar*)image->imageData)[image->widthStep * cur.y + cur.x] = 255;
|
cvbgfg_acmmm2003.cpp | 255 uchar* rowStart1 = (uchar*)curr_frame->imageData + y * curr_frame->widthStep + b; 256 uchar* rowStart2 = (uchar*)prev_frame->imageData + y * prev_frame->widthStep + b; 296 uchar* rowStart1 = (uchar*)(curr_frame->imageData) + y * curr_frame->widthStep + b; 297 uchar* rowStart2 = (uchar*)(prev_frame->imageData) + y * prev_frame->widthStep + b; 298 uchar* rowStart3 = (uchar*)(change_mask->imageData) + y * change_mask->widthStep; 358 if( ((uchar*)model->Fbd->imageData)[i*mask_step+j] || ((uchar*)model->Ftd->imageData)[i*mask_step+j] ) 369 uchar* curr_data = (uchar*)(curr_frame->imageData) + i*curr_frame->widthStep + j*3; 370 uchar* prev_data = (uchar*)(prev_frame->imageData) + i*prev_frame->widthStep + j*3; 375 if( ((uchar*)model->Ftd->imageData)[i*mask_step+j] [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
PFMLoader.java | 111 ByteBuffer imageData = BufferUtils.createByteBuffer(width * height * bytesPerPixel); 116 imageData.position(scanLineBytes * y); 129 imageData.put(scanline); 131 imageData.rewind(); 133 return new Image(format, width, height, imageData);
|
/external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/ |
PNGImageEncoder.cpp | 127 bool PNGImageEncoder::encode(const ImageDataBuffer& imageData, Vector<unsigned char>* output) 129 return encodePixels(imageData.size(), imageData.data(), false, output);
|
WEBPImageEncoder.cpp | 128 bool WEBPImageEncoder::encode(const ImageDataBuffer& imageData, int quality, Vector<unsigned char>* output) 130 return encodePixels(imageData.size(), imageData.data(), false, quality, output);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
BitmapImageTest.cpp | 78 RefPtr<SharedBuffer> imageData = readFile("/LayoutTests/fast/images/resources/animated-10color.gif"); 79 ASSERT_TRUE(imageData.get()); 81 m_image->setData(imageData, true);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
EvenMoreAsserts.java | 101 private static final String getImageDimensions(byte[] imageData) { 104 BitmapFactory.decodeByteArray(imageData, 0, imageData.length, o);
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
StockSource.java | 33 private final ArrayList<ImageData> mImageCache; 36 private final ArrayList<ImageData> mImageList; 45 mImageCache = new ArrayList<ImageData>(PHOTOS.length); 47 mImageList = new ArrayList<ImageData>(PHOTOS.length); 57 ImageData imageData = new ImageData(); 58 imageData.id = Integer.toString(i); 59 mImageCache.add(imageData); 75 protected Collection<ImageData> findImages(int howMany) [all...] |
PhotoSource.java | 50 public class ImageData { 63 ImageData naturalNext() { 66 ImageData naturalPrevious() { 88 private final LinkedList<ImageData> mImageQueue; 93 private final HashMap<Bitmap, ImageData> mImageMap; 113 mImageQueue = new LinkedList<ImageData>(); 117 mImageMap = new HashMap<Bitmap, ImageData>(); 132 ImageData imageData = null; 140 imageData = mImageQueue.poll() [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
PlaceholderAssets.java | 20 private static final byte[] imageData = { 44 tempData.put(imageData).flip();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LintOverlay.java | 26 import org.eclipse.swt.graphics.ImageData; 72 ImageData imageData = icon.getImageData(); 73 int iconWidth = imageData.width; 74 int iconHeight = imageData.height;
|
SwtUtils.java | 29 import org.eclipse.swt.graphics.ImageData; 141 ImageData imageData = 142 new ImageData(width, height, 32, getAwtPaletteData(awtImage.getType())); 146 imageData.setPixels(0, 0, imageDataBuffer.length, imageDataBuffer, 0); 150 imageData.setPixels(0, 0, imageDataBuffer.length, imageDataBuffer, 0); 166 // set ImageData.alpha, it will ignore the alphaData. 176 imageData.alphaData = alphaData; 178 imageData.alpha = globalAlpha; 181 return new Image(display, imageData); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetDatabaseHelper.java | 72 public byte imageData[]; 83 imageData = cursor.getBlob(INDEX_PHOTO_BLOB); 121 entry.imageData = cursor.getBlob(1); 137 entry.imageData = cursor.getBlob(1); 155 values.put(FIELD_PHOTO_BLOB, entry.imageData); 289 values.put(FIELD_PHOTO_BLOB, entry.imageData);
|
/external/opencv/cxcore/include/ |
cvwimage.h | 187 T* ImageData() { return reinterpret_cast<T*>(image_->imageData); } 188 const T* ImageData() const { 189 return reinterpret_cast<const T*>(image_->imageData); 210 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep); 214 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep); 219 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep) + 224 return reinterpret_cast<T*>(image_->imageData + r*image_->widthStep) + 528 // Allocate ImageData 558 header_.imageData = reinterpret_cast<char*>((*img)(c, r)) [all...] |
cxcore.hpp | 157 uchar* data() { return image ? (uchar*)image->imageData : 0; } 158 const uchar* data() const { return image ? (const uchar*)image->imageData : 0; } 171 (uchar*)(image->imageData + y*image->widthStep) : 172 (uchar*)(image->imageData + (y+image->roi->yOffset)*image->widthStep + 185 (const uchar*)(image->imageData + y*image->widthStep) : 186 (const uchar*)(image->imageData + (y+image->roi->yOffset)*image->widthStep +
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
DecTestBench.c | 89 u8 *imageData; 336 imageData = (u8*)decPicture.pOutputPicture; 339 tmp = CropPicture(tmpImage, imageData, 348 WriteOutput(outFileName, imageData, picSize); 395 imageData = (u8*)decPicture.pOutputPicture; 398 tmp = CropPicture(tmpImage, imageData, 407 WriteOutput(outFileName, imageData, picSize);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapRegionDecoderTest.java | 129 byte[] imageData = obtainByteArray(RES_IDS[i]); 132 .newInstance(imageData, 0, imageData.length, false); 227 byte[] imageData = obtainByteArray(RES_IDS[i]); 229 .newInstance(imageData, 0, imageData.length, false); 230 Bitmap wholeImage = BitmapFactory.decodeByteArray(imageData, 231 0, imageData.length, opts);
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/ |
filter.js | 17 * @return {function(ImageData,ImageData,number,number)} created function. 37 * @param {function(ImageData,ImageData,number,number)} filterFunc Filter. 86 * @param {HTMLCanvasElement|ImageData} source Image data to analyze. 91 var imageData; 93 imageData = source.getContext('2d'). 96 imageData = source; 109 var data = imageData.data; 110 var maxIndex = 4 * imageData.width * imageData.height [all...] |