Home
last modified time | relevance | path

Searched refs:Image (Results 1 – 25 of 83) sorted by relevance

1234

/frameworks/base/media/java/android/media/
DImageReader.java282 public Image acquireLatestImage() { in acquireLatestImage()
283 Image image = acquireNextImage(); in acquireLatestImage()
289 Image next = acquireNextImageNoThrowISE(); in acquireLatestImage()
291 Image result = image; in acquireLatestImage()
312 public Image acquireNextImageNoThrowISE() { in acquireNextImageNoThrowISE()
386 public Image acquireNextImage() { in acquireNextImage()
410 private void releaseImage(Image i) { in releaseImage()
509 for (Image image : mAcquiredImages) { in close()
563 void detachImage(Image image) { in detachImage()
583 private boolean isImageOwnedbyMe(Image image) { in isImageOwnedbyMe()
[all …]
DImageWriter.java92 private List<Image> mDequeuedImages = new CopyOnWriteArrayList<Image>();
223 public Image dequeueInputImage() { in dequeueInputImage()
292 public void queueInputImage(Image image) { in queueInputImage()
323 Image inputImage = dequeueInputImage(); in queueInputImage()
448 for (Image image : mDequeuedImages) { in close()
497 private void attachAndQueueInputImage(Image image) { in attachAndQueueInputImage()
585 private void abortImage(Image image) { in abortImage()
612 private boolean isImageOwnedByMe(Image image) { in isImageOwnedByMe()
624 private static class WriterSurfaceImage extends android.media.Image {
749 private class SurfacePlane extends android.media.Image.Plane {
[all …]
DImage.java49 public abstract class Image implements AutoCloseable { class
58 protected Image() { in Image() method in Image
DImageUtils.java21 import android.media.Image.Plane;
91 public static void imageCopy(Image src, Image dst) { in imageCopy()
229 private static Size getEffectivePlaneSizeForImage(Image image, int planeIdx) { in getEffectivePlaneSizeForImage()
DMediaCodec.java2746 private Image mImage;
2761 public void setImage(@Nullable Image image) { in setImage()
2792 public void put(int index, @Nullable Image newImage) { in put()
3018 public Image getInputImage(int index) { in getInputImage()
3019 Image newImage = getImage(true /* input */, index); in getInputImage()
3075 public Image getOutputImage(int index) { in getOutputImage()
3076 Image newImage = getImage(false /* input */, index); in getOutputImage()
3401 private native final Image getImage(boolean input, int index); in getImage()
3418 public static class MediaImage extends Image {
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DShadowPainter.java22 import java.awt.Image;
367 private static Image loadIcon(String name) { in loadIcon()
406 private static final Image ShadowBottom = loadIcon("/icons/shadow-b.png");
407 private static final Image ShadowBottomLeft = loadIcon("/icons/shadow-bl.png");
408 private static final Image ShadowBottomRight = loadIcon("/icons/shadow-br.png");
409 private static final Image ShadowRight = loadIcon("/icons/shadow-r.png");
410 private static final Image ShadowTopRight = loadIcon("/icons/shadow-tr.png");
411 private static final Image ShadowTopLeft = loadIcon("/icons/shadow-tl.png");
412 private static final Image ShadowLeft = loadIcon("/icons/shadow-l.png");
415 private static final Image Shadow2Bottom = loadIcon("/icons/shadow2-b.png");
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DImageReaderTest.java22 import android.media.Image;
23 import android.media.Image.Plane;
39 private Image mImage1;
40 private Image mImage2;
41 private Image mImage3;
59 mImage1 = mock(Image.class); in setUp()
60 mImage2 = mock(Image.class); in setUp()
61 mImage3 = mock(Image.class); in setUp()
/frameworks/base/libs/hwui/
DImage.cpp25 Image::Image(sp<GraphicBuffer> buffer) { in Image() function in android::uirenderer::Image
50 Image::~Image() { in ~Image()
DImage.h34 class Image {
41 Image(sp<GraphicBuffer> buffer);
42 ~Image();
DAssetAtlas.h35 class Image; variable
163 Image* mImage;
DAssetAtlas.cpp37 mImage = new Image(buffer); in init()
DAndroid.mk67 Image.cpp \
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
DCameraTooTest.java24 import android.media.Image;
154 Image.Plane plane = mock(Image.Plane.class); in capturedImageSaver()
159 Image.Plane[] onlyPlaneThatMatters = { plane }; in capturedImageSaver()
160 Image image = mock(Image.class); in capturedImageSaver()
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java28 import android.media.Image;
200 public DngCreator setThumbnail(@NonNull Image pixels) { in setThumbnail()
403 public void writeImage(@NonNull OutputStream dngOutput, @NonNull Image pixels) in writeImage()
416 Image.Plane[] planes = pixels.getPlanes(); in writeImage()
529 private static ByteBuffer convertToRGB(Image yuvImage) { in convertToRGB()
535 Image.Plane yPlane = yuvImage.getPlanes()[0]; in convertToRGB()
536 Image.Plane uPlane = yuvImage.getPlanes()[1]; in convertToRGB()
537 Image.Plane vPlane = yuvImage.getPlanes()[2]; in convertToRGB()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java50 import android.media.Image;
51 import android.media.Image.Plane;
232 Image image = null; in onImageAvailable()
257 Image image = null; in onImageAvailable()
271 private final LinkedBlockingQueue<Image> mQueue =
272 new LinkedBlockingQueue<Image>();
316 Image img = mQueue.poll(); in onImageAvailable()
331 public Image getImage(long timeout) throws InterruptedException { in getImage()
332 Image image = mQueue.poll(timeout, TimeUnit.MILLISECONDS); in getImage()
343 Image image = mQueue.poll(); in drain()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2ReprocessCaptureTest.java31 import android.media.Image;
351 Image reprocessedImage = holder.getImage(); in testReprocessMixedBurst()
410 Image reprocessedImage = holder.getImage(); in testReprocessBurst()
471 Image reprocessedImage = imageResultHolder.getImage(); in testReprocess()
645 Image image = getReprocessOutputImageReaderListener().getImage(CAPTURE_TIMEOUT_MS); in testReprocessTimestamps()
713 Image image = getReprocessOutputImageReaderListener().getImage(CAPTURE_TIMEOUT_MS); in testReprocessJpegExif()
991 Image image = getReprocessOutputImageReaderListener().getImage(CAPTURE_TIMEOUT_MS); in doMixedReprocessBurstCapture()
1122 private void dumpImage(Image image, String name) { in dumpImage()
1146 private final Image mImage;
1149 public ImageResultHolder(Image image, TotalCaptureResult result) { in ImageResultHolder()
[all …]
DCamera2StillCaptureTest.java34 import android.media.Image;
367 Image image = imageListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS); in takePictureTestByCamera()
438 Image jpegImage = jpegListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS); in fullRawCaptureTestByCamera()
440 Image rawImage = rawListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS); in fullRawCaptureTestByCamera()
567 private static void validateRaw16Image(Image image, Size rawSize) { in validateRaw16Image()
582 private static void validateJpegCapture(Image image, Size jpegSize) { in validateJpegCapture()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java27 import android.media.Image;
414 Image image = reader.acquireLatestImage(); in onImageAvailable()
434 private int scanImage(Image image) { in scanImage()
435 final Image.Plane plane = image.getPlanes()[0]; in scanImage()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp130 struct Image { struct
131 Image() : image(VK_NULL_HANDLE), dequeue_fence(-1), dequeued(false) {} in Image() function
154 Swapchain::Image& image) { in ReleaseSwapchainImage()
653 Swapchain::Image& img = swapchain->images[i]; in CreateSwapchainKHR()
692 Swapchain::Image& img = swapchain->images[i]; in CreateSwapchainKHR()
867 Swapchain::Image& img = swapchain.images[image_idx]; in QueuePresentKHR()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java30 import android.media.Image;
401 private Image mCapture;
403 public CapturedImageSaver(Image capture) { in CapturedImageSaver()
/frameworks/base/docs/html/training/material/
Ddrawables.jd10 <li><a href="#ColorExtract">Extract Prominent Colors from an Image</a></li>
18 <li><a href="{@docRoot}tools/help/image-asset-studio.html">Image Asset Studio</a></li>
48 <h2 id="ColorExtract">Extract Prominent Colors from an Image</h2>
/frameworks/native/vulkan/nulldrv/
Dnull_driver.cpp823 struct Image { struct
827 DEFINE_OBJECT_HANDLE_CONVERSION(Image) in DEFINE_OBJECT_HANDLE_CONVERSION() argument
852 Image* image = static_cast<Image*>(allocator->pfnAllocation( in DEFINE_OBJECT_HANDLE_CONVERSION()
853 allocator->pUserData, sizeof(Image), alignof(Image), in DEFINE_OBJECT_HANDLE_CONVERSION()
865 Image* image = GetImageFromHandle(image_handle); in GetImageMemoryRequirements()
876 Image* image = GetImageFromHandle(image_handle); in DestroyImage()
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
Dimage_and_kernel.rsh4 // Image size
/frameworks/base/docs/html/training/printing/
Dphotos.jd16 <li><a href="#image">Print an Image</a></li>
34 <h2 id="image">Print an Image</h2>
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java29 import android.media.Image;
196 private final Image mImage;
200 public ImageSaver(Image image, String fileName, ContentResolver contentResolver) { in ImageSaver()

1234