Searched refs:image (Results 76 - 100 of 201) sorted by relevance

123456789

/frameworks/base/libs/hwui/
H A DFontRenderer.cpp291 // Copy the glyph image, taking the mask format into account
564 DropShadow image; local
565 image.width = 0;
566 image.height = 0;
567 image.image = nullptr;
568 image.penX = 0;
569 image.penY = 0;
572 return image;
588 return image;
684 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/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/
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/native/vulkan/libvulkan/
H A Dswapchain.cpp224 Image() : image(VK_NULL_HANDLE), dequeue_fence(-1), dequeued(false) {}
225 VkImage image; member in struct:vulkan::driver::__anon1940::Swapchain::Image
249 Swapchain::Image& image) {
250 ALOG_ASSERT(release_fence == -1 || image.dequeued,
254 if (image.dequeued) {
260 if (image.dequeue_fence >= 0)
261 close(image.dequeue_fence);
268 // there may be rendering in flight to the image, but since we
271 release_fence = image.dequeue_fence;
273 image
246 ReleaseSwapchainImage(VkDevice device, ANativeWindow* window, int release_fence, Swapchain::Image& image) argument
[all...]
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A Dhealing.rs23 This takes polygon and image to copy from(src_image) and and image to paste to(dest_image)
135 rs_allocation image;
141 return convert_float3(rsGetElementAt_uchar4(image, in.x, in.y).xyz);
148 float3 orig = convert_float3(rsGetElementAt_uchar4(image, coord.x + x, coord.y + y).xyz);
/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/base/libs/hwui/pipeline/skia/
H A DSkiaPipeline.cpp55 for (SkImage* image : mutableImages) {
56 if (SkImage_pinAsTexture(image, mRenderThread.getGrContext())) {
57 mPinnedImages.emplace_back(sk_ref_sp(image));
66 for (auto& image : mPinnedImages) {
67 SkImage_unpinAsTexture(image.get(), mRenderThread.getGrContext());
160 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(skiaBitmap, kNever_SkCopyPixelsMode); local
161 SkImage_pinAsTexture(image.get(), context);
162 SkImage_unpinAsTexture(image.get(), context);
/frameworks/base/libs/hwui/tests/unit/
H A DSkiaBehaviorTests.cpp43 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(origBitmap, kNever_SkCopyPixelsMode); local
44 sk_sp<SkShader> s = image->makeShader(
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
H A DImageBuffersForRenderScriptd1new.java15 * A class that manages the image buffers that interface between Java and Render
42 * @param image an input (padded) RGBD image
48 public ImageBuffersForRenderScriptd1new(Bitmap image, int margin, argument
50 super(image, margin, renderScript);
86 * sets up the input image.
101 // At this point, {@code inAllocation} contains input RGBD image in Java.
102 // {@code g_sharp_image} is a global pointer that points the focus image in
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java46 import java.awt.image.BufferedImage;
122 * Creates a layer with a graphics and an image. If the image belongs to a
127 * @param image the image the image from which the graphics came
130 Layer(Graphics2D graphics, BufferedImage image, int flags) { argument
133 mImage = image;
165 void setOriginalCopy(BufferedImage image) { argument
166 mOriginalCopy = image;
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2ReprocessCaptureTest.java80 // The image reader for the first regular capture
82 // The image reader for the reprocess capture
84 // A flag indicating whether the regular capture and the reprocess capture share the same image
572 // Drain the image reader listeners.
591 * sensor timestamp, and output image's timestamp should match the reprocess input's timestamp.
619 // Reprocess result's timestamp should match input image's timestamp.
638 // Verify the result timestamps match the input image's timestamps.
642 "image's timestamp (" + expected + ")", expected, timestamp);
644 // Verify the reprocess output image timestamps match the input image'
1122 dumpImage(Image image, String name) argument
1149 ImageResultHolder(Image image, TotalCaptureResult result) argument
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPng.h99 bool WritePng(IAaptContext* context, const Image* image,
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBlendComposite.java22 import java.awt.image.ColorModel;
23 import java.awt.image.DataBuffer;
24 import java.awt.image.Raster;
25 import java.awt.image.WritableRaster;
34 * image should not extend beyond the dest image, but in our implementation of the filters, it does.
35 * To compensate for the effect, we recompute the alpha value of the src image before applying
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DViewGroup_Delegate.java32 import java.awt.image.BufferedImage;
97 BufferedImage image = new BufferedImage(clipBounds.width(), clipBounds.height(),
99 Graphics2D graphics = image.createGraphics();
102 return ShadowPainter.createDropShadow(image, (int) elevation);
/frameworks/base/tools/layoutlib/legacy/src/com/android/layoutlib/bridge/
H A DBridge.java23 import java.awt.image.BufferedImage;
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DColorMatrix.java17 package com.android.rs.image;
H A DConvolve3x3.java17 package com.android.rs.image;
H A DCrossProcess.java17 package com.android.rs.image;
H A DUsageIO.java17 package com.android.rs.image;
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/graphics/
H A DDrawableCompatActivity.java45 mImageView = findViewById(R.id.image);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/graphics/
H A DDrawableCompatActivity.java45 mImageView = findViewById(R.id.image);
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
H A DCameraTooTest.java160 Image image = mock(Image.class);
161 when(image.getPlanes()).thenReturn(onlyPlaneThatMatters);
162 when(image.getWidth()).thenReturn(5);
163 when(image.getHeight()).thenReturn(5);
171 new CameraTooActivity.CapturedImageSaver(image);
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DGlobalScreenshot.java77 * POD used in the AsyncTask which saves an image in the background.
81 Bitmap image; field in class:SaveImageInBackgroundData
90 image = null;
100 * An AsyncTask that saves an image to the media store in the background.
141 mImageWidth = data.image.getWidth();
142 mImageHeight = data.image.getHeight();
155 Bitmap picture = Bitmap.createBitmap(previewWidth, previewHeight, data.image.getConfig());
158 c.drawBitmap(data.image, matrix, paint);
164 Bitmap icon = Bitmap.createBitmap(iconSize, iconSize, data.image.getConfig());
169 c.drawBitmap(data.image, matri
[all...]
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A Dhealing.rs87 rs_allocation image;
93 return convert_float3(rsGetElementAt_uchar4(image, in.x, in.y).xyz);
101 rsGetElementAt_uchar4(image, coord.x + x, coord.y + y).xyz);

Completed in 897 milliseconds

123456789