/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | bugdroid.rs | 29 static float pillDistance(float3 p1, float3 p2, float3 img) {
31 if (dot(p2 - p1, img - p1) > 0 && dot(p1 - p2, img - p2) > 0) {
32 return length(cross(img - p1, img - p2)) / length(p2 - p1);
34 return min(distance(p1, img), distance(p2, img));
37 static short pill(float3 p1, float3 p2, float rad, short max, float3 img) {
38 return (short) (max * sigmoid(pillDistance(p1, p2, img) - rad));
41 static short cogPill(float3 p1, float3 p2, float rad, short max, float3 img) {
[all...] |
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureFBO_test.cpp | 47 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 D | SurfaceTextureGL_test.cpp | 48 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 D | FillBuffer.cpp | 100 uint8_t* img = NULL; 102 (void**)(&img))); 103 fillRGBA8Buffer(img, buf->getWidth(), buf->getHeight(), buf->getStride());
|
H A D | CpuConsumer_test.cpp | 496 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/native/vulkan/libvulkan/ |
H A D | swapchain.cpp | 653 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 869 Swapchain::Image& img = swapchain.images[image_idx]; local [all...] |
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | DrawView.java | 98 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 D | FindRegion.java | 47 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 D | Region.java | 56 * @param img The original polygon
58 public Region(float[] xy, Bitmap img) {
argument 60 mFindRegion = new FindRegion(mPointsXY, img);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SearchOrbView.java | 187 Drawable img = a.getDrawable(R.styleable.lbSearchOrbView_searchOrbIcon); 188 if (img == null) { 189 img = res.getDrawable(R.drawable.lb_ic_in_app_search); 191 setOrbIcon(img);
|
/frameworks/av/media/libstagefright/ |
H A D | SurfaceUtils.cpp | 182 uint32_t *img = NULL; local 183 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 189 *img = 0;
|
H A D | ACodec.cpp | 4907 const MediaImage2 &img = describeParams.sMediaImage; local 4908 if (img.mType == MediaImage2::MEDIA_IMAGE_TYPE_YUV) { 4909 if (img.mNumPlanes != 3 4910 || img.mPlane[img.Y].mHorizSubsampling != 1 4911 || img.mPlane[img.Y].mVertSubsampling != 1) { 4916 if (img.mPlane[img.U].mHorizSubsampling == 2 4917 && img 4977 MediaImage2 &img = describeParams.sMediaImage; local [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 232 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/base/graphics/tests/graphicstests/src/android/graphics/drawable/ |
H A D | IconTest.java | 232 for (Icon img : imgs) { 233 img.writeToParcel(parcel, 0); 234 L("used %d bytes parceling: %s", parcel.dataPosition() - pos, img); 241 Icon img = Icon.CREATOR.createFromParcel(parcel); 242 L("test %d: read from parcel: %s", i, img); 246 final Drawable draw1 = img.loadDrawable(mContext); 248 fail("null drawable from img: " + img);
|
/frameworks/native/opengl/tests/gl_yuvtex/ |
H A D | gl_yuvtex.cpp | 131 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/services/surfaceflinger/tests/ |
H A D | Transaction_test.cpp | 43 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/native/opengl/tests/gl2_yuvtex/ |
H A D | gl2_yuvtex.cpp | 236 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/base/data/fonts/ |
H A D | Android.mk | 111 fontchain_lint: $(FONTCHAIN_LINTER) $(TARGET_OUT)/etc/fonts.xml $(PRODUCT_OUT)/system.img
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | mp4dec_lib.h | 288 void DeringAdaptiveSmoothMMX(uint8 *img, int incr, int thres, int mxdf);
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 512 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/java/android/text/ |
H A D | Html.java | 69 * Retrieves images for HTML <img> tags. 74 * <img> tag. The <code>source</code> argument is the 192 * Returns displayable styled text from the provided HTML string. Any <img> tags in the 223 * Returns displayable styled text from the provided HTML string. Any <img> 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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraTestUtils.java | 316 Image img = mQueue.poll(); 317 img.close();
|
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 1447 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) argument 1457 result = cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 2081 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) argument 2087 ANativeWindowBuffer* native_buffer = (ANativeWindowBuffer*)img;
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |