/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | GlobalScreenshot.java | 73 * POD used in the AsyncTask which saves an image in the background. 77 Bitmap image; field in class:SaveImageInBackgroundData 86 image = null; 96 * An AsyncTask that saves an image to the media store in the background. 137 mImageWidth = data.image.getWidth(); 138 mImageHeight = data.image.getHeight(); 151 Bitmap picture = Bitmap.createBitmap(previewWidth, previewHeight, data.image.getConfig()); 154 c.drawBitmap(data.image, matrix, paint); 160 Bitmap icon = Bitmap.createBitmap(iconSize, iconSize, data.image.getConfig()); 165 c.drawBitmap(data.image, matri [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 35 import java.awt.image.BufferedImage; 127 BufferedImage image = ImageIO.read(input); 128 if (image == null && input.exists()) { 129 // There was a problem decoding the image, or the decoder isn't registered. Webp maybe. 130 // Replace with a broken image icon. 138 image = ImageIO.read(brokenFile); 142 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.ARGB_8888); 183 * @param image the bitmap content 190 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { argument 191 return createBitmap(image, getPremultipliedBitmapCreateFlag 204 createBitmap(BufferedImage image, Set<BitmapCreateFlags> createFlags, Density density) argument 614 Bitmap_Delegate(BufferedImage image, Config config) argument 652 createCopy(BufferedImage image, int imageType, int alpha) argument [all...] |
H A D | Canvas_Delegate.java | 40 import java.awt.image.BufferedImage; 781 BufferedImage image = bitmapDelegate.getImage(); 782 drawBitmap(nativeCanvas, bitmapDelegate, nativePaintOrZero, 0, 0, image.getWidth(), 783 image.getHeight(), (int) dstLeft, (int) dstTop, (int) dstRight, 826 BufferedImage image = bitmapDelegate.getImage(); 827 float right = left + image.getWidth(); 828 float bottom = top + image.getHeight(); 831 0, 0, image.getWidth(), image.getHeight(), 858 final BufferedImage image 1227 fixAlpha8Bitmap(final BufferedImage image) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 44 import java.awt.image.BufferedImage; 120 * Creates a layer with a graphics and an image. If the image belongs to a 125 * @param image the image the image from which the graphics came 128 Layer(Graphics2D graphics, BufferedImage image, int flags) { argument 131 mImage = image; 163 void setOriginalCopy(BufferedImage image) { argument 164 mOriginalCopy = image; [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 265 RenderEngine& engine, EGLImageKHR image) : mEngine(engine) 267 mEngine.bindImageAsFramebuffer(image, &mTexName, &mFbName, &mStatus); 264 BindImageAsFramebuffer( RenderEngine& engine, EGLImageKHR image) argument
|
/frameworks/native/vulkan/libvulkan/ |
H A D | swapchain.cpp | 131 Image() : image(VK_NULL_HANDLE), dequeue_fence(-1), dequeued(false) {} 132 VkImage image; member in struct:vulkan::driver::__anon1604::Swapchain::Image 154 Swapchain::Image& image) { 155 ALOG_ASSERT(release_fence == -1 || image.dequeued, 159 if (image.dequeued) { 165 if (image.dequeue_fence >= 0) 166 close(image.dequeue_fence); 173 // there may be rendering in flight to the image, but since we 176 release_fence = image.dequeue_fence; 178 image 151 ReleaseSwapchainImage(VkDevice device, ANativeWindow* window, int release_fence, Swapchain::Image& image) argument [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | ImageProcessingActivity.java | 17 package com.android.rs.image;
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | CameraOps.java | 200 public ImageSaver(Image image, String fileName, ContentResolver contentResolver) { argument 201 mImage = image;
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 294 // 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; 689 blurImage(uint8_t** image, int32_t width, int32_t height, float radius) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 275 static BufferItem* Image_getBufferItem(JNIEnv* env, jobject image) argument 278 env->GetLongField(image, gSurfaceImageClassInfo.mNativeBuffer)); 424 static sp<Fence> Image_unlockIfLocked(JNIEnv* env, jobject image) { argument 426 BufferItem* buffer = Image_getBufferItem(env, image); 437 planes = env->GetObjectField(image, gSurfaceImageClassInfo.mPlanes); 452 ALOGV("Successfully unlocked the image"); 457 static void ImageReader_imageRelease(JNIEnv* env, jobject thiz, jobject image) argument 467 BufferItem* buffer = Image_getBufferItem(env, image); 469 // Release an already closed image is harmless. 473 sp<Fence> releaseFence = Image_unlockIfLocked(env, image); 480 ImageReader_imageSetup(JNIEnv* env, jobject thiz, jobject image) argument 584 ImageReader_detachImage(JNIEnv* env, jobject thiz, jobject image) argument 628 Image_getLockedImage(JNIEnv* env, jobject thiz, LockedImage *image) argument [all...] |
H A D | android_media_MediaCodec.cpp | 530 // check if buffer is an image 532 if (!buffer->meta()->findBuffer("image-data", &imageData)) { 1609 jobject image; local 1610 status_t err = codec->getImage(env, input, index, &image); 1613 return image;
|
/frameworks/native/include/media/openmax/ |
H A D | OMX_Component.h | 98 OMX_IMAGE_PORTDEFINITIONTYPE image; member in union:OMX_PARAM_PORTDEFINITIONTYPE::__anon1395
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 518 GLC_LOGW("bindTextureImage: can't create image on display=%p slot=%d", 526 // image is invalid. In this case, repeat the exact same steps while 527 // forcing the creation of a new image. 534 GLC_LOGW("bindTextureImage: can't create image on display=%p slot=%d", 540 GLC_LOGE("bindTextureImage: error binding external image: %#04x", error); 1173 // If there's an image and it's no longer valid, destroy it. 1186 // If there's no image, create one. 1193 // Fail if we can't create a valid image. 1198 ALOGE("Failed to create image. size=%ux%u st=%u usage=0x%x fmt=%d", 1240 EGLImageKHR image local [all...] |
/frameworks/base/libs/hwui/debug/ |
H A D | nullgles.cpp | 275 void glEGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image) {} argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraTestUtils.java | 223 * Dummy listener that release the image immediately once it is available. 226 * It can be used for the case where we don't care the image data at all. 232 Image image = null; 234 image = reader.acquireNextImage(); 236 if (image != null) { 237 image.close(); 244 * Image listener that release the image immediately after validating the image 257 Image image = null; 259 image 783 checkImage(Image image, int width, int height, int format) argument 806 getDataFromImage(Image image) argument 894 checkAndroidImageFormat(Image image) argument 1297 validateImage(Image image, int width, int height, int format, String filePath) argument 1749 basicValidateJpegImage(Image image, Size expectedSize) argument 1778 verifyJpegKeys(Image image, CaptureResult captureResult, Size expectedSize, Size expectedThumbnailSize, ExifTestData expectedExifData, StaticMetadata staticInfo, CameraErrorCollector collector) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 36 // This holds an image as 8bpp RGBA. 449 static void get_outline(image_info* image) argument 451 int midX = image->width / 2; 452 int midY = image->height / 2; 453 int endX = image->width - 2; 454 int endY = image->height - 2; 457 if (image->width > 4) { 458 find_max_opacity(image->rows, 1, midY, midX, -1, 1, 0, &image->outlineInsetsLeft); 459 find_max_opacity(image 541 do_9patch(const char* imageName, image_info* image) argument [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | Png.cpp | 245 // Scan the entire image and determine if: 251 printf("Initial image data:\n"); 275 // Check if image is really grayscale 286 // Check if image is really opaque 297 // Check if image is really <= 256 colors 340 // Choose the best color type for the image. 365 << "forcing image to gray (max deviation = " 373 // Perform postprocessing of the image or palette data based on the final 389 // If the image is gray or gray + alpha, compact the pixels into outRows 444 << "writing image 850 getOutline(PngInfo* image) argument 940 do9Patch(PngInfo* image, std::string* outError) argument [all...] |
/frameworks/support/recommendation/src/android/support/app/recommendation/ |
H A D | ContentRecommendation.java | 393 * Returns the Bitmap containing the recommendation image. 395 * @return A Bitmap containing the recommendation image. 413 * Returns a Content URI that can be used to retrieve the background image for this 416 * @return A Content URI pointing to the recommendation background image. 784 * Sets the recommendation image. 786 * @param image A Bitmap containing the recommendation image. 789 public Builder setContentImage(Bitmap image) { argument 790 mBuilderContentImage = checkNotNull(image); 810 * Sets the Content URI that will be used to retrieve the background image fo [all...] |
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES11Ext.cpp | 864 /* void glEGLImageTargetTexture2DOES ( GLenum target, GLeglImageOES image ) */ 871 GLeglImageOES image = (GLeglImageOES) 0; local 873 image = (GLeglImageOES)getPointer(_env, image_buf, (jarray*)&_array, &_remaining, &_bufferOffset); 874 if (image == NULL) { 876 image = (GLeglImageOES) (_imageBase + _bufferOffset); 880 (GLeglImageOES)image 883 releasePointer(_env, _array, image, JNI_TRUE); 887 /* void glEGLImageTargetRenderbufferStorageOES ( GLenum target, GLeglImageOES image ) */ 894 GLeglImageOES image = (GLeglImageOES) 0; local 896 image [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaCodec.java | 48 <center><object style="width: 540px; height: 205px;" type="image/svg+xml" 176 valid column/bottom-most valid row of the cropped output image. 206 <center><object style="width: 516px; height: 353px;" type="image/svg+xml" 443 <center><object style="width: 516px; height: 353px;" type="image/svg+xml" 2542 * get-image methods each time one has been dequeued. 2761 public void setImage(@Nullable Image image) { argument 2763 mImage = image; 3010 * @return the input image, or null if the index is not a 3012 * raw image. 3067 * @return the output image, o [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 102 // image is displayed. This value may be either positive (after the HW vsync) 111 // to not have their window content image ready in time. When this happens 3450 EGLImageKHR image = eglCreateImageKHR(mEGLDisplay, EGL_NO_CONTEXT, local 3452 if (image != EGL_NO_IMAGE_KHR) { 3455 RenderEngine::BindImageAsFramebuffer imageBond(getRenderEngine(), image); local 3516 // destroy our image 3517 eglDestroyImageKHR(mEGLDisplay, image);
|
H A D | SurfaceFlinger_hwc1.cpp | 102 // image is displayed. This value may be either positive (after the HW vsync) 111 // to not have their window content image ready in time. When this happens 3466 EGLImageKHR image = eglCreateImageKHR(mEGLDisplay, EGL_NO_CONTEXT, local 3468 if (image != EGL_NO_IMAGE_KHR) { 3471 RenderEngine::BindImageAsFramebuffer imageBond(getRenderEngine(), image); local 3532 // destroy our image 3533 eglDestroyImageKHR(mEGLDisplay, image);
|
/frameworks/native/vulkan/nulldrv/ |
H A D | null_driver.cpp | 846 "CreateImage: image size 0x%" PRIx64 852 Image* image = static_cast<Image*>(allocator->pfnAllocation( local 855 if (!image) 857 image->size = size; 858 *image_handle = GetHandleToImage(image); 865 Image* image = GetImageFromHandle(image_handle); local 866 requirements->size = image->size; 876 Image* image = GetImageFromHandle(image_handle); local 877 allocator->pfnFree(allocator->pUserData, image); 1120 VkResult BindImageMemory(VkDevice device, VkImage image, VkDeviceMemor argument 1124 GetImageSparseMemoryRequirements(VkDevice device, VkImage image, uint32_t* pNumRequirements, VkSparseImageMemoryRequirements* pSparseMemoryRequirements) argument 1185 GetImageSubresourceLayout(VkDevice device, VkImage image, const VkImageSubresource* pSubresource, VkSubresourceLayout* pLayout) argument 1343 CmdClearColorImage(VkCommandBuffer cmdBuffer, VkImage image, VkImageLayout imageLayout, const VkClearColorValue* pColor, uint32_t rangeCount, const VkImageSubresourceRange* pRanges) argument 1346 CmdClearDepthStencilImage(VkCommandBuffer cmdBuffer, VkImage image, VkImageLayout imageLayout, const VkClearDepthStencilValue* pDepthStencil, uint32_t rangeCount, const VkImageSubresourceRange* pRanges) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 4503 MediaImage2 &image = params.sMediaImage; local 4504 memset(&image, 0, sizeof(image)); 4506 image.mType = MediaImage2::MEDIA_IMAGE_TYPE_UNKNOWN; 4507 image.mNumPlanes = 0; 4510 image.mWidth = params.nFrameWidth; 4511 image.mHeight = params.nFrameHeight; 4541 image.mType = MediaImage2::MEDIA_IMAGE_TYPE_YUV; 4542 image.mNumPlanes = 3; 4543 image [all...] |
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 91 * manages the states and flows of editing, supports inserting image, import/export HTML. 2677 private void rescaleBigImage(Drawable image) { argument 2684 int image_width = image.getIntrinsicWidth(); 2685 int image_height = image.getIntrinsicHeight(); 2694 image.setBounds(0, 0, image_width, image_height); 2758 for (HorizontalLineSpan image : images) { 2759 if (image.getDrawable() == this) { 2760 return image;
|