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

123456

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
H A DExposureFilterTest.java48 FrameImage2D image =
53 image.setBitmap(bitmap);
55 injectInputFrame("image", image);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DLinearGradient_Delegate.java121 java.awt.image.ColorModel colorModel,
153 private final java.awt.image.ColorModel mColorModel;
158 java.awt.image.ColorModel colorModel) {
169 public java.awt.image.ColorModel getColorModel() {
174 public java.awt.image.Raster getRaster(int x, int y, int w, int h) {
175 java.awt.image.BufferedImage image = new java.awt.image.BufferedImage(w, h,
176 java.awt.image.BufferedImage.TYPE_INT_ARGB);
199 image
[all...]
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;
161 * @param image the bitmap content
168 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { argument
169 return createBitmap(image, getPremultipliedBitmapCreateFlags(isMutable), density);
175 * @param image the bitmap content
182 public static Bitmap createBitmap(BufferedImage image, Set<BitmapCreateFlags> createFlags, argument
184 // create a delegate with the given image.
185 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.ARGB_8888);
261 // create the image
262 BufferedImage image
604 Bitmap_Delegate(BufferedImage image, Config config) argument
642 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...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderDrawable.java40 import java.awt.image.BufferedImage;
98 // draw into a new image
99 BufferedImage image = getImage(w, h);
102 Bitmap bitmap = Bitmap_Delegate.createBitmap(image,
112 return Status.SUCCESS.createResult(image);
116 BufferedImage image = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB);
117 Graphics2D gc = image.createGraphics();
126 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 DMirror.java17 package com.android.rs.image;
H A DWhiteBalance.java17 package com.android.rs.image;
/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/media/java/android/media/
H A DImageReader.java32 * <p>The ImageReader class allows direct application access to image data
38 * {@link android.renderscript.Allocation RenderScript Allocations}. The image
42 * <p>The image data is encapsulated in {@link Image} objects, and multiple such
46 * or {@link #acquireNextImage} call. Due to memory limits, an image source will
54 * Returned by nativeImageSetup when acquiring the image was successful.
77 * <p>The valid sizes and formats depend on the source of the image
114 "The image dimensions must be positive");
118 "Maximum outstanding image count must be at least 1");
160 * The default {@link ImageFormat image format} of {@link Image Images}.
182 * <p>An image i
[all...]
/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...]
/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;
87 BindImageAsFramebuffer(RenderEngine& engine, EGLImageKHR image);

Completed in 2916 milliseconds

123456