/frameworks/native/services/surfaceflinger/tests/unittests/mock/RenderEngine/ |
H A D | MockRenderEngine.cpp | 30 Image::Image() = default; 31 Image::~Image() = default;
|
H A D | MockRenderEngine.h | 21 #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 D | Image.h | 29 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 D | Image.cpp | 17 #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 D | RenderEngine.h | 48 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 D | Image.h | 34 class Image { class in namespace:android::uirenderer 41 explicit Image(sp<GraphicBuffer> buffer); 42 ~Image(); 58 }; // class Image
|
H A D | Image.cpp | 20 #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 D | ImageDao.java | 26 * 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 D | Image.java | 28 public class Image { class
|
H A D | TestDatabase.java | 26 @Database(entities = {WordCount.class, Image.class}, version = 1, exportSchema = false)
|
/frameworks/native/services/surfaceflinger/ |
H A D | BufferLayerConsumer.h | 42 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 D | ImageReaderTest.java | 22 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 D | ImageRecyclerViewAdapter.java | 33 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 D | ImageCleanupWorker.java | 24 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 D | ImageSetupWorker.java | 26 import androidx.work.integration.testapp.db.Image; 30 * Creates initial {@link Image} entity in db 46 Image image = new Image();
|
H A D | ImageProcessingActivity.java | 33 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 D | ImageWriter.java | 41 * 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 D | ImageReader.java | 49 * <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 D | Image.java | 32 * 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 D | ImageUtils.java | 21 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 D | ShadowPainter.java | 22 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 D | Png.h | 27 #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 D | Image.h | 32 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 D | CameraTooTest.java | 24 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 D | DngCreator.java | 27 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...] |