/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
FingerPrint.java | 25 import org.eclipse.swt.graphics.Image; 52 * Create and save fingerprints as image and print their reference in the current stream. 147 // Save image file 152 // Print image file reference in stream 194 // Create and paint image 197 Image image = new Image(display, GRAPH_WIDTH, height); local 198 GC gc = new GC(image); 202 saveImage(outputFile, image); [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
TestRenderToMemory.java | 51 import com.jme3.texture.Image.Format; 61 import java.awt.image.BufferedImage; 87 private final BufferedImage image = new BufferedImage(width, height, field in class:TestRenderToMemory 108 synchronized (image){ 109 g2d.drawImage(image, null, 0, 0); 163 synchronized (image) { 164 Screenshots.convertScreenShot(cpuBuf, image); 248 * Update the CPU image's contents after the scene has
|
/external/jpeg/ |
wrrle.c | 38 * Since RLE stores scanlines bottom-to-top, we have to invert the image 56 jvirt_sarray_ptr image; /* virtual array to store the output image */ member in struct:__anon9424 87 * Make sure the image can be stored in RLE format. 89 * - RLE stores image dimensions as *signed* 16 bit integers. JPEG 133 ((j_common_ptr) cinfo, dest->image, (JDIMENSION) 0, (JDIMENSION) 1, TRUE); 160 ((j_common_ptr) cinfo, dest->image, 201 /* Add a comment to the output image with the true colormap length. */ 225 ((j_common_ptr) cinfo, dest->image, 239 ((j_common_ptr) cinfo, dest->image, [all...] |
rdrle.c | 48 * For now, we ignore any alpha channel in the image. 56 * Since RLE stores scanlines bottom-to-top, we have to invert the image 58 * incoming image into a virtual array on the first get_pixel_rows call, 68 jvirt_sarray_ptr image; /* virtual array to hold the image */ member in struct:_rle_source_struct 77 * Read the file header; return image size and component count. 163 /* request a virtual array to hold the image */ 164 source->image = (*cinfo->mem->request_virt_sarray) 182 * Called only after load_image has read the image into the virtual array. 193 ((j_common_ptr) cinfo, source->image, source->row, (JDIMENSION) 1, FALSE) [all...] |
/external/qemu/distrib/jpeg-6b/ |
wrrle.c | 38 * Since RLE stores scanlines bottom-to-top, we have to invert the image 56 jvirt_sarray_ptr image; /* virtual array to store the output image */ member in struct:__anon13264 87 * Make sure the image can be stored in RLE format. 89 * - RLE stores image dimensions as *signed* 16 bit integers. JPEG 133 ((j_common_ptr) cinfo, dest->image, (JDIMENSION) 0, (JDIMENSION) 1, TRUE); 160 ((j_common_ptr) cinfo, dest->image, 201 /* Add a comment to the output image with the true colormap length. */ 225 ((j_common_ptr) cinfo, dest->image, 239 ((j_common_ptr) cinfo, dest->image, [all...] |
rdrle.c | 48 * For now, we ignore any alpha channel in the image. 56 * Since RLE stores scanlines bottom-to-top, we have to invert the image 58 * incoming image into a virtual array on the first get_pixel_rows call, 68 jvirt_sarray_ptr image; /* virtual array to hold the image */ member in struct:_rle_source_struct 77 * Read the file header; return image size and component count. 163 /* request a virtual array to hold the image */ 164 source->image = (*cinfo->mem->request_virt_sarray) 182 * Called only after load_image has read the image into the virtual array. 193 ((j_common_ptr) cinfo, source->image, source->row, (JDIMENSION) 1, FALSE) [all...] |
/external/skia/gm/ |
image.cpp | 35 SkImage* image = SkImage::NewEncodedData(data); local 36 if (image) { 38 canvas->scale(size.width() * 1.0f / image->width(), 39 size.height() * 1.0f / image->height()); 40 image->draw(canvas,0, 0, NULL); 41 image->unref(); 118 return SkString("image-surface");
|
/external/chromium/chrome/browser/chromeos/login/ |
camera.cc | 77 // best one to set for the desired image resolution. 468 // image to get the same aspect ratio and scale the result. 482 SkBitmap image; local 486 image.setConfig(SkBitmap::kARGB_8888_Config, desired_width, desired_height); 487 image.allocPixels(); 489 SkAutoLockPixels lock_image(image); 490 // We should reflect the image from the Y axis depending on the value of 496 dst_x_origin = image.width() - 1; 498 dst_y_increment = 2 * image.width(); 500 uint32_t* dst = image.getAddr32(dst_x_origin, 0) [all...] |
user_controller.cc | 43 // Gap between the border around the image/buttons and user name. 54 // Vertical interval between the image and the textfield. 245 user_.set_image(user->image()); 249 user_view_->SetImage(user_.image(), user_.image()); 431 SkBitmap* image = rb.GetBitmapNamed(IDR_LOGIN_GUEST); local 432 user_view_->SetImage(*image, *image); 434 SkBitmap* image = rb.GetBitmapNamed(IDR_LOGIN_ADD_USER); local 436 user_view_->SetImage(*image, *image_hover) [all...] |
user_manager.cc | 55 // Stores path to the image in local state. Runs on UI thread. 62 DVLOG(1) << "Saving path to user image in Local State."; 66 // Saves image to file with specified path. Runs on FILE thread. 67 // Posts task for saving image path to local state on UI thread. 68 void SaveImageToFile(const SkBitmap& image, 73 if (!gfx::PNGCodec::EncodeBGRASkBitmap(image, true, &encoded_image)) { 74 LOG(ERROR) << "Failed to PNG encode the image."; 81 LOG(ERROR) << "Failed to save image to file."; 92 // Deletes user's image file. Runs on FILE thread. 96 LOG(ERROR) << "Failed to remove user image." [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
RemoteViewsTest.java | 150 ImageView image = (ImageView) mResult.findViewById(R.id.remoteView_image); local 151 assertNull(image.getDrawable()); 155 assertNotNull(image.getDrawable()); 159 ((BitmapDrawable) image.getDrawable()).getBitmap()); 178 ImageView image = (ImageView) mResult.findViewById(R.id.remoteView_image); local 179 assertNull(image.getDrawable()); 184 Bitmap imageViewBitmap = ((BitmapDrawable) image.getDrawable()).getBitmap(); 194 * Returns absolute file path of location where test image should be stored 276 ImageView image = (ImageView) mResult.findViewById(R.id.remoteView_image); local 277 assertNull(image.getDrawable()) 353 ImageView image = (ImageView) mResult.findViewById(R.id.remoteView_image); local 373 ImageView image = (ImageView) mResult.findViewById(R.id.remoteView_image); local 475 ImageView image = (ImageView) mResult.findViewById(R.id.remoteView_image); local [all...] |
/external/skia/src/pdf/ |
SkPDFShader.cpp | 677 const SkBitmap* image = &fState.get()->fImage; local 678 SkScalar width = SkIntToScalar(image->width()); 679 SkScalar height = SkIntToScalar(image->height()); 684 canvas.drawBitmap(*image, 0, 0); 693 canvas.drawBitmapMatrix(*image, xMirror); 700 canvas.drawBitmapMatrix(*image, yMirror); 708 canvas.drawBitmapMatrix(*image, mirror); 722 paint.setColor(image->getColor(0, 0)); 728 paint.setColor(image->getColor(image->width() - 1, 0)) [all...] |
/external/chromium/chrome/browser/resources/ntp/ |
apps.css | 78 background-image: url(chrome://theme/IDR_BALLOON_WRENCH); 84 background-image: url(chrome://theme/IDR_BALLOON_WRENCH_H); 94 background-image: none; 133 background-image: url("chrome://theme/IDR_WEBSTORE_ICON"); 194 -webkit-border-image: url('g-button-chocobo.png') 6 10 12 6;
|
/external/oprofile/libpp/ |
arrange_profiles.cpp | 247 // could be only one main app, with no samples for the main image 559 psample_filename.image == parsed.image && 570 pcg_filename.image == parsed.image && 584 * a dependent image, it gets added to the dep list, or just placed 591 if (parsed.image == parsed.lib_image && !merge_by_lib) { 633 if (it->image == parsed.image) { 640 set.image = parsed.image [all...] |
/frameworks/base/libs/hwui/ |
FontRenderer.cpp | 232 // Copy the glyph image, taking the mask format into account 509 DropShadow image; local 510 image.width = 0; 511 image.height = 0; 512 image.image = NULL; 513 image.penX = 0; 514 image.penY = 0; 517 return image; 532 return image; [all...] |
/external/webkit/Source/WebKit/mac/Misc/ |
WebNSPasteboardExtras.mm | 40 #import <WebCore/Image.h> 201 // This image data is either the only subresource of an archive (HTML image case) 202 // or the main resource (standalone image case). 229 - (void)_web_writeImage:(NSImage *)image 237 ASSERT(image || element); 243 if (image) 244 [self setData:[image TIFFRepresentation] forType:NSTIFFPboardType]; 272 if (CachedImage* image = toRenderImage(renderer)->cachedImage()) { 273 extension = image->image()->filenameExtension() [all...] |
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/ |
JPEGTest.c | 141 /* Set grayscale flag, namely if image is gray then set it to 1, */ 292 PRINT("No image in jpeg!\n"); 312 PRINT("nProgressive IMAGE!\n"); 333 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV420PackedPlanar\n"); 336 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV411Planar\n"); 339 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV422Interleaved\n"); 342 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV444Interleaved\n"); 345 printf("APP:: Image chroma format is OMX_COLOR_FormatL8 \n"); 348 printf("APP:: Cannot find Image chroma format \n"); 352 printf("APP:: Image Width x Height = %u * %u\n", Get16m(Data+5), Get16m(Data+3) ) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
RenderPreview.java | 78 import org.eclipse.swt.graphics.Image; 89 import java.awt.image.BufferedImage; 123 private static final Image EDIT_ICON; 124 private static final Image ZOOM_IN_ICON; 125 private static final Image ZOOM_OUT_ICON; 126 private static final Image CLOSE_ICON; 157 private @Nullable Image mThumbnail; 421 * of image resources etc 590 BufferedImage image = session.getImage(); local 591 if (image != null) 708 BufferedImage image = new BufferedImage(width + shadowSize, height + shadowSize, local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
SDL_gsvideo.c | 181 static inline int loadimage_nonblock(int fd, struct ps2_image *image, int size, 192 data = (char *)image->ptr; 200 hm[2] = ((unsigned long long)image->fbp << 32) | 201 ((unsigned long long)image->fbw << 48) | 202 ((unsigned long long)image->psm << 56); 203 hm[4] = ((unsigned long long)image->x << 32) | 204 ((unsigned long long)image->y << 48); 205 hm[6] = (unsigned long long)image->w | 206 ((unsigned long long)image->h << 32); 208 /* make image mode tags * [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SwtUtilsTest.java | 22 import org.eclipse.swt.graphics.Image; 32 import java.awt.image.BufferedImage; 42 // Note: We need an TYPE_INT_ARGB SWT image here (instead of TYPE_INT_ARGB_PRE) to 43 // prevent the alpha from being pre-multiplied into the RGB when drawing the image. 53 // Convert the RGB image, effectively discarding the alpha channel entirely. 54 Image outImage = SwtUtils.convertToSwt(display, inImage, false, -1); 77 // Convert back to AWT and compare with original AWT image 81 // Both image have the same RGBA ordering 90 // asserted both images have the same color image type except 109 Image outImage = SwtUtils.convertToSwt(display, inImage, false, 128) 224 Image image = createSampleImage(256, 256); local 231 Image image = createSampleImage(256, 256); local 269 Image image = createSampleImage(256, 256); local 340 Image image = new Image(display, data); local [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
edit_search_engine_dialog.cc | 243 void EditSearchEngineDialog::UpdateImage(GtkWidget* image, 247 gtk_widget_set_has_tooltip(image, FALSE); 248 gtk_image_set_from_pixbuf(GTK_IMAGE(image), 253 image, l10n_util::GetStringUTF8(invalid_message_id).c_str()); 254 gtk_image_set_from_pixbuf(GTK_IMAGE(image),
|
/external/chromium/chrome/browser/ui/web_applications/ |
web_app_ui.cc | 53 void OnIconDownloaded(int download_id, bool errored, const SkBitmap& image); 147 const SkBitmap& image) { 153 if (!errored && !image.isNull()) { 154 // Update icon with download image and update shortcut. 155 shortcut_info_.favicon = image; 156 tab_contents_->extension_tab_helper()->SetAppIcon(image);
|
/external/chromium/webkit/glue/ |
webclipboard_impl.cc | 169 const WebImage& image, const WebURL& url, const WebString& title) { 172 if (!image.isNull()) { 174 const SkBitmap& bitmap = image.getSkBitmap(); 176 const SkBitmap& bitmap = gfx::CGImageToSkBitmap(image.getCGImageRef()); 179 scw.WriteBitmapFromPixels(bitmap.getPixels(), image.size()); 182 // When writing the image, we also write the image markup so that pasting 183 // into rich text editors, such as Gmail, reveals the image. We also don't 185 // image if there is also a text format on the clipboard.
|
webcursor.cc | 170 void WebCursor::SetCustomData(const WebImage& image) { 171 if (image.isNull()) 175 const SkBitmap& bitmap = image.getSkBitmap(); 184 void WebCursor::ImageFromCustomData(WebImage* image) const { 196 image->assign(bitmap); 204 // Clamp the hotspot to the custom image's dimensions.
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/ |
VideoRecorderAppState.java | 14 import java.awt.image.BufferedImage; 97 BufferedImage image; field in class:VideoRecorderAppState.WorkItem 101 image = new BufferedImage(width, height, 130 Screenshots.convertScreenShot(item.buffer, item.image); 131 item.data = writer.writeImageToBytes(item.image);
|