Searched refs:image (Results 26 - 50 of 121) sorted by relevance

12345

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRadialGradient_Delegate.java109 java.awt.image.ColorModel colorModel,
141 private final java.awt.image.ColorModel mColorModel;
146 java.awt.image.ColorModel colorModel) {
157 public java.awt.image.ColorModel getColorModel() {
162 public java.awt.image.Raster getRaster(int x, int y, int w, int h) {
163 java.awt.image.BufferedImage image = new java.awt.image.BufferedImage(w, h,
164 java.awt.image.BufferedImage.TYPE_INT_ARGB);
193 image
[all...]
H A DSweepGradient_Delegate.java101 java.awt.image.ColorModel colorModel,
133 private final java.awt.image.ColorModel mColorModel;
138 java.awt.image.ColorModel colorModel) {
149 public java.awt.image.ColorModel getColorModel() {
154 public java.awt.image.Raster getRaster(int x, int y, int w, int h) {
155 java.awt.image.BufferedImage image = new java.awt.image.BufferedImage(w, h,
156 java.awt.image.BufferedImage.TYPE_INT_ARGB);
201 image
[all...]
H A DBitmap_Delegate.java29 import java.awt.image.BufferedImage;
162 * @param image the bitmap content
169 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, argument
171 return createBitmap(image, getPremultipliedBitmapCreateFlags(isMutable), density);
177 * @param image the bitmap content
185 public static Bitmap createBitmap(BufferedImage image, Set<BitmapCreateFlags> createFlags, argument
187 // create a delegate with the given image.
188 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.ARGB_8888);
264 // create the image
265 BufferedImage image
607 Bitmap_Delegate(BufferedImage image, Config config) argument
645 createCopy(BufferedImage image, int imageType, int alpha) argument
[all...]
H A DCanvas_Delegate.java37 import java.awt.image.BufferedImage;
732 BufferedImage image = bitmapDelegate.getImage();
733 float right = left + image.getWidth();
734 float bottom = top + image.getHeight();
737 0, 0, image.getWidth(), image.getHeight(),
764 final BufferedImage image = new BufferedImage(width, height,
766 image.setRGB(0, 0, width, height, colors, offset, stride);
777 graphics.drawImage(image, (int) x, (int) y, null);
800 final BufferedImage image
1133 fixAlpha8Bitmap(final BufferedImage image) argument
[all...]
H A DNinePatch_Delegate.java29 import java.awt.image.BufferedImage;
217 BufferedImage image = bitmap_delegate.getImage();
219 0f, 0f, (float)image.getWidth(), (float)image.getHeight(),
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderDrawable.java40 import java.awt.image.BufferedImage;
99 // draw into a new image
100 BufferedImage image = getImage(w, h);
103 Bitmap bitmap = Bitmap_Delegate.createBitmap(image,
113 return Status.SUCCESS.createResult(image);
120 BufferedImage image = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB);
121 Graphics2D gc = image.createGraphics();
130 return image;
H A DGcSnapshot.java43 import java.awt.image.BufferedImage;
119 * Creates a layer with a graphics and an image. If the image belongs to a
124 * @param image the image the image from which the graphics came
127 Layer(Graphics2D graphics, BufferedImage image, int flags) { argument
130 mImage = image;
162 void setOriginalCopy(BufferedImage image) { argument
163 mOriginalCopy = image;
[all...]
/frameworks/rs/cpu_ref/linkloader/android/
H A Dtest-librsloader.c87 unsigned char const *image = (unsigned char const *) local
90 if (image == MAP_FAILED) {
96 RSExecRef object = rsloaderCreateExec(image, sb.st_size, find_sym, 0);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DCopy.java17 package com.android.rs.image;
H A DGreyscale.java17 package com.android.rs.image;
H A DArtistic1.java17 package com.android.rs.image;
H A DWhiteBalance.java17 package com.android.rs.image;
/frameworks/base/media/java/android/media/
H A DImageReader.java31 * <p>The ImageReader class allows direct application access to image data
37 * {@link android.renderscript.Allocation RenderScript Allocations}. The image
41 * <p>The image data is encapsulated in {@link Image} objects, and multiple such
45 * or {@link #acquireNextImage} call. Due to memory limits, an image source will
53 * Returned by nativeImageSetup when acquiring the image was successful.
76 * <p>The valid sizes and formats depend on the source of the image
113 "The image dimensions must be positive");
117 "Maximum outstanding image count must be at least 1");
159 * The default {@link ImageFormat image format} of {@link Image Images}.
181 * <p>An image i
[all...]
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/
H A DMusicTrack.java44 * @param image
50 String image, int trackNumber, int totalTrackCount, int duration) {
56 this.mImage = image;
49 MusicTrack(String title, String album, String artist, String genre, String source, String image, int trackNumber, int totalTrackCount, int duration) argument
H A DMusicProvider.java55 private static String IMAGE = "image";
106 String image = music.getString(IMAGE);
107 if (!image.startsWith("http")) {
108 image = path + image;
115 image, trackNumber, totalTrackCount, duration));
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTextGammaActivity.java55 ImageView image = new ImageView(TextGammaActivity.this);
56 image.setImageBitmap(b);
58 layout.addView(image, new LinearLayout.LayoutParams(
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java46 * Shows an image using {@link TiledImageRenderer} using either {@link GLSurfaceView}
71 TiledImageRenderer image; field in class:TiledImageView.ImageRendererWrapper
97 mRenderer.image = new TiledImageRenderer(this);
130 mRenderer.image.freeTextures();
289 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation);
295 mRenderer.image.setViewSize(width, height);
304 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation);
305 mRenderer.image.setPosition(mRenderer.centerX, mRenderer.centerY,
308 boolean complete = mRenderer.image.draw(mCanvas);
/frameworks/base/services/core/jni/
H A Dcom_android_server_AssetAtlasService.cpp82 if (image) eglDestroyImageKHR(display, image); \
141 EGLImageKHR image = EGL_NO_IMAGE_KHR; local
166 // The EGL image is later bound to a 2D texture
169 image = eglCreateImageKHR(display, EGL_NO_CONTEXT,
171 if (image == EGL_NO_IMAGE_KHR) {
172 ALOGW("Could not create EGL image");
178 glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, image);
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp302 // Copy the glyph image, taking the mask format into account
598 DropShadow image; local
599 image.width = 0;
600 image.height = 0;
601 image.image = NULL;
602 image.penX = 0;
603 image.penY = 0;
606 return image;
622 return image;
731 blurImage(uint8_t** image, int32_t width, int32_t height, float radius) argument
[all...]
H A DFontRenderer.h118 image(dropShadow.image), penX(dropShadow.penX),
124 uint8_t* image; member in struct:android::uirenderer::FontRenderer::DropShadow
129 // After renderDropShadow returns, the called owns the memory in DropShadow.image
220 // the input image handle may have its pointer replaced (to avoid copies)
221 void blurImage(uint8_t** image, int32_t width, int32_t height, float radius);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
H A Dh264bsdWriteMacroblock.s25 image RN 0 label
74 ; Write one macroblock into the image. Both luma and chroma
82 ; image pointer to the image where the macroblock will be written
93 LDR width, [image, #4]
94 LDR luma, [image, #0xC]
95 LDR cb, [image, #0x10]
96 LDR cr, [image, #0x14]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
H A Dh264bsdWriteMacroblock.S27 #define image r0 define
76 Write one macroblock into the image. Both luma and chroma
84 image pointer to the image where the macroblock will be written
95 LDR width, [image, #4]
96 LDR luma, [image, #0xC]
97 LDR cb, [image, #0x10]
98 LDR cr, [image, #0x14]
/frameworks/base/core/tests/coretests/src/android/hardware/display/
H A DVirtualDisplayTest.java364 // Create a solid color image to use as the content of the presentation.
374 * Watches for an image with a large amount of some particular solid color to be shown.
411 Log.d(TAG, "New image available from virtual display.");
414 Image image = reader.acquireLatestImage();
415 if (image != null) {
418 int color = scanImage(image);
426 image.close();
434 private int scanImage(Image image) { argument
435 final Image.Plane plane = image.getPlanes()[0];
437 final int width = image
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.h54 virtual void bindImageAsFramebuffer(EGLImageKHR image, uint32_t* texName, uint32_t* fbName, uint32_t* status) = 0;
86 BindImageAsFramebuffer(RenderEngine& engine, EGLImageKHR image);
H A DGLES11RenderEngine.h42 virtual void bindImageAsFramebuffer(EGLImageKHR image,

Completed in 964 milliseconds

12345