Searched defs:img (Results 1 - 18 of 18) sorted by relevance

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureFBO_test.cpp47 uint8_t* img = NULL; local
48 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
49 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 0, 255,
72 (void**)(&img)));
73 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 255, 0,
H A DSurfaceTextureGL_test.cpp48 uint8_t* img = NULL; local
49 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
50 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
98 uint8_t* img = NULL; local
99 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
100 fillYV12Buffer(img, texWidth, texHeight, buf->getStride());
162 uint8_t* img = NULL; local
163 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
164 fillYV12BufferRect(img, texWidth, texHeight, buf->getStride(), crop);
251 uint8_t* img local
[all...]
H A DCpuConsumer_test.cpp496 uint8_t* img = NULL; local
499 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
504 fillYV12Buffer(img, params.width, params.height, *stride);
507 fillBayerRawBuffer(img, params.width, params.height, buf->getStride());
510 fillGreyscaleBuffer<uint8_t>(img, params.width, params.height,
514 fillGreyscaleBuffer<uint16_t>((uint16_t*)img, params.width,
519 fillRgba8888Buffer(img, params.width, params.height, buf->getStride());
/frameworks/av/media/libstagefright/
H A DSurfaceUtils.cpp182 uint32_t *img = NULL; local
183 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
189 *img = 0;
H A DACodec.cpp4660 const MediaImage2 &img = describeParams.sMediaImage; local
4661 if (img.mType == MediaImage2::MEDIA_IMAGE_TYPE_YUV) {
4662 if (img.mNumPlanes != 3
4663 || img.mPlane[img.Y].mHorizSubsampling != 1
4664 || img.mPlane[img.Y].mVertSubsampling != 1) {
4669 if (img.mPlane[img.U].mHorizSubsampling == 2
4670 && img
4730 MediaImage2 &img = describeParams.sMediaImage; local
[all...]
/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp43 uint8_t* img = reinterpret_cast<uint8_t*>(outBuffer.bits); local
46 uint8_t* pixel = img + (4 * (y*outBuffer.stride + x));
78 const uint8_t* img = static_cast<const uint8_t*>(mBuf.data); local
79 const uint8_t* pixel = img + (4 * (y * mBuf.stride + x));
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A DDrawView.java98 public Region getRegion(Bitmap img) { argument
105 ret = new Region(Arrays.copyOf(defaultPath, defaultPath.length), img);
107 ret = new Region(Arrays.copyOf(path, len), img);
H A DFindRegion.java47 public FindRegion(float[] xy, Bitmap img) { argument
50 int imgWidth = img.getWidth();
51 int imgHeight = img.getHeight();
65 img.getPixels(mPaste, 0, mRoiBounds.width(),
H A DRegion.java56 * @param img The original polygon
58 public Region(float[] xy, Bitmap img) { argument
60 mFindRegion = new FindRegion(mPointsXY, img);
/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp131 EGLImageKHR img = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, local
134 if (img == EGL_NO_IMAGE_KHR) {
142 glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, (GLeglImageOES)img);
/frameworks/native/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp236 EGLImageKHR img = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, local
239 if (img == EGL_NO_IMAGE_KHR) {
247 glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, (GLeglImageOES)img);
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp512 uint8_t* img = NULL; local
514 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
515 SurfaceMediaSourceTest::fillYV12Buffer(img, width, height, buf->getStride());
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp232 uint8_t* img = NULL; local
234 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
237 uint8_t* yPlane = img;
238 uint8_t* uPlane = img + height * width;
260 uint8_t* img = NULL; local
262 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
276 uint8_t* yPlane = img;
277 uint8_t* crPlane = img + static_cast<uint32_t>(height) * stride;
305 int8_t* img = NULL; local
320 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
[all...]
/frameworks/native/vulkan/libvulkan/
H A Dswapchain.cpp653 Swapchain::Image& img = swapchain->images[i]; local
657 &img.dequeue_fence);
665 img.buffer = buffer;
666 img.dequeued = true;
669 VkExtent3D{static_cast<uint32_t>(img.buffer->width),
670 static_cast<uint32_t>(img.buffer->height),
672 image_native_buffer.handle = img.buffer->handle;
673 image_native_buffer.stride = img.buffer->stride;
674 image_native_buffer.format = img.buffer->format;
675 image_native_buffer.usage = img
692 Swapchain::Image& img = swapchain->images[i]; local
867 Swapchain::Image& img = swapchain.images[image_idx]; local
[all...]
/frameworks/base/core/java/android/text/
H A DHtml.java69 * Retrieves images for HTML &lt;img&gt; tags.
74 * &lt;img&gt; tag. The <code>source</code> argument is the
192 * Returns displayable styled text from the provided HTML string. Any &lt;img&gt; tags in the
223 * Returns displayable styled text from the provided HTML string. Any &lt;img&gt; tags in the
559 out.append("<img src=\"");
846 } else if (tag.equalsIgnoreCase("img")) {
1129 private static void startImg(Editable text, Attributes attributes, Html.ImageGetter img) { argument
1133 if (img != null) {
1134 d = img.getDrawable(src);
/frameworks/native/opengl/libagl/
H A Degl.cpp2091 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) argument
2097 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)img;
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp1422 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) argument
1432 result = cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 364 milliseconds