Searched refs:Image (Results 1 - 25 of 50) sorted by relevance

12

/frameworks/native/services/surfaceflinger/tests/unittests/mock/RenderEngine/
H A DMockRenderEngine.cpp30 Image::Image() = default;
31 Image::~Image() = default;
H A DMockRenderEngine.h21 #include "RenderEngine/Image.h"
37 MOCK_METHOD0(createImage, std::unique_ptr<RE::Image>());
54 MOCK_METHOD2(bindExternalTextureImage, void(uint32_t, const RE::Image&));
96 class Image : public RE::Image { class in namespace:android::RE::mock
98 Image();
99 ~Image() override;
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DImage.h29 class Image { class in namespace:android::RE
31 virtual ~Image() = 0;
40 class Image : public RE::Image { class in namespace:android::RE::impl
42 explicit Image(const RenderEngine& engine);
43 ~Image() override;
45 Image(const Image&) = delete;
46 Image& operator=(const Image
[all...]
H A DImage.cpp17 #include "Image.h"
29 Image::~Image() = default;
33 Image::Image(const RenderEngine& engine) : mEGLDisplay(engine.getEGLDisplay()) {} function in class:android::RE::impl::Image
35 Image::~Image() {
68 bool Image::setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected, int32_t cropWidth,
H A DRenderEngine.h48 class Image;
65 virtual std::unique_ptr<RE::Image> createImage() = 0;
99 virtual void bindExternalTextureImage(uint32_t texName, const RE::Image& image) = 0;
155 class Image;
189 std::unique_ptr<RE::Image> createImage() override;
225 void bindExternalTextureImage(uint32_t texName, const RE::Image& image) override;
239 void bindExternalTextureImage(uint32_t texName, const RE::impl::Image& image);
/frameworks/base/libs/hwui/
H A DImage.h34 class Image { class in namespace:android::uirenderer
41 explicit Image(sp<GraphicBuffer> buffer);
42 ~Image();
58 }; // class Image
H A DImage.cpp20 #include "Image.h"
25 Image::Image(sp<GraphicBuffer> buffer) { function in class:android::uirenderer::Image
50 Image::~Image() {
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/db/
H A DImageDao.java26 * The Data Access Object for {@link Image}.
32 * Inserts a {@link Image} into the database.
34 * @param image The {@link Image} to insert
37 void insert(Image image);
40 * Gets all {@link Image}s in the database.
42 * @return A list of all {@link Image}s in the database
45 List<Image> getImages();
48 * Marks an {@link Image} as processed and adds the processed image file path
57 * Gets all {@link Image}s in the database as a {@link LiveData}.
59 * @return A {@link LiveData} list of all {@link Image}
[all...]
H A DImage.java28 public class Image { class
H A DTestDatabase.java26 @Database(entities = {WordCount.class, Image.class}, version = 1, exportSchema = false)
/frameworks/native/services/surfaceflinger/
H A DBufferLayerConsumer.h42 class Image;
219 // Image is a utility class for tracking and creating RE::Images. There
224 class Image : public LightRefBase<Image> { class in class:android::BufferLayerConsumer
226 Image(sp<GraphicBuffer> graphicBuffer, RE::RenderEngine& engine);
228 Image(const Image& rhs) = delete;
229 Image& operator=(const Image& rhs) = delete;
231 // createIfNeeded creates an RE::Image i
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A 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);
60 mImage2 = mock(Image.class);
61 mImage3 = mock(Image.class);
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/imageprocessing/
H A DImageRecyclerViewAdapter.java33 import androidx.work.integration.testapp.db.Image;
39 * Manages a gallery of {@link Image} entities
44 private List<Image> mImages = new ArrayList<>();
47 void updateList(List<Image> images) {
59 private AsyncTask<Image, Void, Bitmap> mBitmapLoadTask;
69 public void load(final Image image) {
75 mBitmapLoadTask = new AsyncTask<Image, Void, Bitmap>() {
90 protected Bitmap doInBackground(Image... images) {
91 Image image = images[0];
H A DImageCleanupWorker.java24 import androidx.work.integration.testapp.db.Image;
31 * Removes all existing {@link Image} entities and deletes associated compressed files
39 List<Image> images = TestDatabase.getInstance(getApplicationContext())
41 for (Image image : images) {
H A DImageSetupWorker.java26 import androidx.work.integration.testapp.db.Image;
30 * Creates initial {@link Image} entity in db
46 Image image = new Image();
H A DImageProcessingActivity.java33 import androidx.work.integration.testapp.db.Image;
39 * Image Processing Activity
60 .observe(this, new Observer<List<Image>>() {
62 public void onChanged(List<Image> images) {
93 Log.d(TAG, "Image Selection Complete");
108 Log.d(TAG, "Image Selection Complete");
117 Log.d(TAG, "Image Selection Cancelled");
/frameworks/base/media/java/android/media/
H A DImageWriter.java41 * The ImageWriter class allows an application to produce Image data into a
53 * The input Image data is encapsulated in {@link Image} objects. To produce
54 * Image data into a destination {@link android.view.Surface Surface}, the
55 * application can get an input Image via {@link #dequeueInputImage} then write
56 * Image data into it. Multiple such {@link Image} objects can be dequeued at
61 * If the application already has an Image from {@link ImageReader}, the
62 * application can directly queue this Image into the ImageWriter (via
68 * (when available) through the {@link Image#getHardwareBuffe
[all...]
H A DImageReader.java49 * <p>The image data is encapsulated in {@link Image} objects, and multiple such
88 * {@link Image} objects that can be be acquired from the
102 * {@link ImageWriter} interface. However, the {@link Image#getPlanes()
118 * @param format The format of the Image that this reader will produce. This
125 * user, one of them has to be released before a new Image will
129 * @see Image
140 * The {@code maxImages} parameter determines the maximum number of {@link Image} objects that
155 * combination, the application can send the {@link Image images} to an {@link ImageWriter} that
165 * encoding via {@link ImageWriter} interface. However, the {@link Image#getPlanes()
202 * @param format The format of the Image tha
[all...]
H A DImage.java32 * data of the Image through one or more
43 * from various media sources, not closing old Image objects will prevent the
51 public abstract class Image implements AutoCloseable { class in inherits:AutoCloseable
60 protected Image() { method in class:Image
70 throw new IllegalStateException("Image is already closed");
207 * after {@link Image#close Image.close()} has been called.
209 * @return the HardwareBuffer associated with this Image or null if this Image doesn't support
210 * this feature. (Unsupported use cases include Image instance
[all...]
H A DImageUtils.java21 import android.media.Image.Plane;
29 * Package private utility class for hosting commonly used Image related methods.
77 * Copy source image data to destination Image.
82 * source image will be copied to the byteBuffers from the destination Image
92 public static void imageCopy(Image src, Image dst) {
235 private static Size getEffectivePlaneSizeForImage(Image image, int planeIdx) {
/frameworks/layoutlib/bridge/src/android/view/
H A DShadowPainter.java22 import java.awt.Image;
369 private static Image loadIcon(String name) {
408 private static final Image ShadowBottom = loadIcon("/icons/shadow-b.png");
409 private static final Image ShadowBottomLeft = loadIcon("/icons/shadow-bl.png");
410 private static final Image ShadowBottomRight = loadIcon("/icons/shadow-br.png");
411 private static final Image ShadowRight = loadIcon("/icons/shadow-r.png");
412 private static final Image ShadowTopRight = loadIcon("/icons/shadow-tr.png");
413 private static final Image ShadowTopLeft = loadIcon("/icons/shadow-tl.png");
414 private static final Image ShadowLeft = loadIcon("/icons/shadow-l.png");
417 private static final Image Shadow2Botto
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPng.h27 #include "compile/Image.h"
91 * Reads a PNG from the InputStream into memory as an RGBA Image.
93 std::unique_ptr<Image> ReadPng(IAaptContext* context, const Source& source, io::InputStream* in);
96 * Writes the RGBA Image, with optional 9-patch meta-data, into the OutputStream
99 bool WritePng(IAaptContext* context, const Image* image,
H A DImage.h32 class Image { class in namespace:aapt
34 explicit Image() = default;
63 DISALLOW_COPY_AND_ASSIGN(Image);
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
H A DCameraTooTest.java24 import android.media.Image;
154 Image.Plane plane = mock(Image.Plane.class);
159 Image.Plane[] onlyPlaneThatMatters = { plane };
160 Image image = mock(Image.class);
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java27 import android.media.Image;
216 * @param pixels an {@link android.media.Image} object with the format
223 public DngCreator setThumbnail(@NonNull Image pixels) {
230 throw new IllegalArgumentException("Unsupported Image format " + format);
413 * For this method to succeed, the {@link android.media.Image} input must contain
419 * @param pixels an {@link android.media.Image} to write.
426 public void writeImage(@NonNull OutputStream dngOutput, @NonNull Image pixels)
439 Image.Plane[] planes = pixels.getPlanes();
441 throw new IllegalArgumentException("Image with no planes passed to writeImage");
496 throw new IllegalArgumentException("Image wit
[all...]

Completed in 427 milliseconds

12