/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...] |
/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...] |
CursorPhotoSource.java | 41 protected ImageData naturalNext(ImageData current) { 48 ImageData data = null; 58 protected ImageData naturalPrevious(ImageData current) { 65 ImageData data = null; 75 protected void donePaging(ImageData current) { 81 protected abstract void openCursor(ImageData data); 82 protected abstract void findPosition(ImageData data); 83 protected abstract ImageData unpackImageData(Cursor cursor, ImageData data) [all...] |
PhotoSourcePlexor.java | 56 protected Collection<ImageData> findImages(int howMany) { 58 LinkedList<ImageData> foundImages = new LinkedList<ImageData>(); 70 protected InputStream getStream(ImageData data, int longSide) { 75 protected ImageData naturalNext(ImageData current) { 80 protected ImageData naturalPrevious(ImageData current) { 85 protected void donePaging(ImageData current) {
|
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...] |
LocalSource.java | 126 protected void openCursor(ImageData data) { 137 protected void findPosition(ImageData data) { 160 protected ImageData unpackImageData(Cursor cursor, ImageData data) { 162 data = new ImageData(); 178 protected Collection<ImageData> findImages(int howMany) { 180 LinkedList<ImageData> foundImages = new LinkedList<ImageData>(); 188 protected void findImages(boolean internal, int howMany, LinkedList<ImageData> foundImages ) { 221 ImageData data = unpackImageData(cursor, null) [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
C_B_D_T_.py | 48 self.imageData = data[:dataLen] 53 dataList.append(struct.pack(">L", len(self.imageData))) 54 dataList.append(self.imageData) 67 self.imageData = data[:dataLen] 72 dataList.append(struct.pack(">L", len(self.imageData))) 73 dataList.append(self.imageData) 83 self.imageData = data[:dataLen] 86 return struct.pack(">L", len(self.imageData)) + self.imageData
|
sbixBitmap.py | 19 def __init__(self, glyphName=None, referenceGlyphName=None, usReserved1=0, usReserved2=0, imageFormatTag=None, imageData=None, rawdata=None, gid=0): 27 self.imageData = imageData 47 self.imageData = self.rawdata[sbixBitmapHeaderFormatSize:] 63 self.rawdata = sstruct.pack(sbixBitmapHeaderFormat, self) + self.imageData 85 xmlWriter.dumphex(self.imageData) 97 # in this case imageData contains the glyph id of the reference glyph 99 self.imageData = struct.pack(">H", ttFont.getGlyphID(attrs["glyphname"])) 101 self.imageData = readHex(content)
|
/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/opencv3/modules/viz/src/vtk/ |
vtkImageMatSource.cpp | 55 this->ImageData = vtkSmartPointer<vtkImageData>::New(); 62 outInfo->Set(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), this->ImageData->GetExtent(), 6); 66 vtkDataObject::SetPointDataActiveScalarInfo(outInfo, this->ImageData->GetScalarType(), this->ImageData->GetNumberOfScalarComponents()); 75 output->ShallowCopy(this->ImageData); 85 this->ImageData->SetDimensions(image.cols, image.rows, 1); 87 this->ImageData->SetNumberOfScalarComponents(image.channels()); 88 this->ImageData->SetScalarTypeToUnsignedChar(); 89 this->ImageData->AllocateScalars(); 91 this->ImageData->AllocateScalars(VTK_UNSIGNED_CHAR, image.channels()) [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
ImageImageDescriptor.java | 15 import org.eclipse.swt.graphics.ImageData; 41 public ImageData getImageData() {
|
DrawUtils.java | 21 import org.eclipse.swt.graphics.ImageData; 244 ImageData thumbnailData = thumbnail.getImageData(); 258 ImageData scaledImageData = image.getImageData().scaledTo(dWidth, dHeight); 283 // rotate ImageData 284 ImageData destData; 286 ImageData srcData = srcImage.getImageData(); 297 private static ImageData rotatePixelByPixel(ImageData srcData) { 298 ImageData destData = 299 new ImageData(srcData.height, srcData.width, srcData.depth, srcData.palette) [all...] |
/external/libgdx/gdx/jni/ |
com.badlogic.gdx.graphics.glutils.ETC1.cpp | 95 (JNIEnv* env, jclass clazz, jobject obj_imageData, jint offset, jint width, jint height, jint pixelSize, char* imageData) { 101 etc1_encode_image((etc1_byte*)imageData + offset, width, height, pixelSize, width * pixelSize, compressedData);
107 char* imageData = (char*)(obj_imageData?env->GetDirectBufferAddress(obj_imageData):0); 109 jobject JNI_returnValue = wrapped_Java_com_badlogic_gdx_graphics_glutils_ETC1_encodeImage(env, clazz, obj_imageData, offset, width, height, pixelSize, imageData); 116 (JNIEnv* env, jclass clazz, jobject obj_imageData, jint offset, jint width, jint height, jint pixelSize, char* imageData) { 123 etc1_encode_image((etc1_byte*)imageData + offset, width, height, pixelSize, width * pixelSize, compressed + ETC_PKM_HEADER_SIZE);
129 char* imageData = (char*)(obj_imageData?env->GetDirectBufferAddress(obj_imageData):0); 131 jobject JNI_returnValue = wrapped_Java_com_badlogic_gdx_graphics_glutils_ETC1_encodeImagePKM(env, clazz, obj_imageData, offset, width, height, pixelSize, imageData);
|
/external/autotest/client/deps/webgl_perf/files/ |
webgl-performance-0.0.2.tar.bz2 | |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
GraphicsUtilitiesTest.java | 24 import org.eclipse.swt.graphics.ImageData; 33 ImageData result = GraphicsUtilities.convertToNinePatch(null); 41 ImageData baseData = image.getImageData(); 43 ImageData result = GraphicsUtilities.convertToNinePatch(baseData); 82 ImageData baseData = image.getImageData(); 94 ImageData result = GraphicsUtilities.copy(null); 103 ImageData baseData = image.getImageData(); 104 ImageData copiedData = GraphicsUtilities.copy(baseData); 137 ImageData baseData = image.getImageData(); 211 ImageData baseData = image.getImageData() [all...] |
/external/chromium-trace/catapult/tracing/tracing/extras/chrome/cc/ |
picture_as_image_data.html | 18 if (errorOrImageData instanceof ImageData) { 45 get imageData() {
|
/frameworks/av/camera/ |
ICameraClient.cpp | 58 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, 65 data.writeStrongBinder(IInterface::asBinder(imageData)); 74 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) 81 data.writeStrongBinder(IInterface::asBinder(imageData)); 117 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); 125 dataCallback(msgType, imageData, metadata); 134 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); 135 dataCallbackTimestamp(timestamp, msgType, imageData);
|
ICameraRecordingProxyListener.cpp | 41 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) 48 data.writeStrongBinder(IInterface::asBinder(imageData)); 80 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); 81 dataCallbackTimestamp(timestamp, msgType, imageData);
|
/external/autotest/client/site_tests/video_WebRtcCamera/ |
loopback.html | 102 var imageData = this.context.getImageData(0, 0, this.canvas.width, 105 if (isBlackFrame(imageData.data, imageData.data.length)) { 109 if (this.frameComparator.calculate(this.previousFrame, imageData.data) > 114 this.previousFrame = imageData.data;
|
/external/libmtp/examples/ |
thumb.c | 50 uint8_t *imagedata = NULL; local 85 imagedata = malloc(filesize * sizeof(uint16_t)); 96 read(fd, imagedata, filesize); 112 thumb->data[i] = imagedata[i]; 125 free(imagedata);
|
albumart.c | 51 char *imagedata = NULL; local 105 imagedata = malloc(filesize * sizeof(uint8_t)); 116 read(fd, imagedata, filesize); 128 albumart->data = imagedata;
|
/external/opencv3/modules/videoio/src/ |
cap_qtkit.mm | 77 char* imagedata; 162 char* imagedata; 514 imagedata = NULL; 525 if (imagedata != NULL) free(imagedata); 585 if (imagedata != NULL) free(imagedata); 587 imagedata = (char*)malloc(currSize); 591 memcpy(imagedata, baseaddress, currSize); 601 image->imageData = imagedata [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/ |
ErrorImageComposite.java | 12 import org.eclipse.swt.graphics.ImageData; 56 ImageData baseData = mBaseImage.getImageData(); 59 ImageData overlayData = mErrorImageDescriptor.getImageData();
|
/external/opencv/cvaux/src/ |
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...] |
/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,
|