/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 | 45 uint8_t* img = NULL; local 46 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 47 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 0, 255, 70 (void**)(&img))); 71 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 255, 0,
|
H A D | SurfaceTextureGL_test.cpp | 46 uint8_t* img = NULL; local 47 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 48 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); 94 uint8_t* img = NULL; local 95 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 96 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); 156 uint8_t* img = NULL; local 157 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 158 fillYV12BufferRect(img, texWidth, texHeight, buf->getStride(), crop); 244 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 | 501 uint8_t* img = NULL; local 504 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 509 fillYV12Buffer(img, params.width, params.height, *stride); 512 fillBayerRawBuffer(img, params.width, params.height, buf->getStride()); 515 fillGreyscaleBuffer<uint8_t>(img, params.width, params.height, 519 fillGreyscaleBuffer<uint16_t>((uint16_t*)img, params.width, 524 fillRgba8888Buffer(img, params.width, params.height, buf->getStride());
|
/frameworks/base/docs/html/ndk/reference/ |
H A D | dynsections.js | 31 var i = $('#img'+this.id.substring(3)); 52 var currentRowImages = currentRow.find("img"); 66 currentRowImages.filter("[id^=img]").attr('src', 'ftv2folderclosed.png'); 70 var childImages = childRows.find("img"); 71 var childImg = childImages.filter("[id^=img]"); 75 currentRow.find("[id^=img]").attr('src', 'ftv2folderopen.png'); //open row 87 var img = $('tr.inherit_header.'+id+' img'); 88 var src = $(img).attr('src'); 91 $(img) [all...] |
H A D | doxygen.css | 296 img.formulaDsp { 300 img.formulaInl { 311 div.center img { 320 img.footer { 702 .directory td.entry a img { 719 .directory img { 1023 #projectlogo img
|
/frameworks/av/media/libstagefright/ |
H A D | SurfaceUtils.cpp | 163 uint32_t *img = NULL; local 164 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 170 *img = 0;
|
H A D | ACodec.cpp | 3971 const MediaImage &img = describeParams.sMediaImage; local 3972 if (img.mType == MediaImage::MEDIA_IMAGE_TYPE_YUV) { 3973 if (img.mNumPlanes != 3 || 3974 img.mPlane[img.Y].mHorizSubsampling != 1 || 3975 img.mPlane[img.Y].mVertSubsampling != 1) { 3980 if (img.mPlane[img.U].mHorizSubsampling == 2 3981 && img 4041 MediaImage *img = &describeParams.sMediaImage; local [all...] |
/frameworks/native/services/surfaceflinger/tests/ |
H A D | Transaction_test.cpp | 40 uint8_t* img = reinterpret_cast<uint8_t*>(outBuffer.bits); local 43 uint8_t* pixel = img + (4 * (y*outBuffer.stride + x)); 73 const uint8_t* img = static_cast<const uint8_t*>(mBuf.data); local 74 const uint8_t* pixel = img + (4 * (y * mBuf.stride + x));
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SearchOrbView.java | 185 Drawable img = a.getDrawable(R.styleable.lbSearchOrbView_searchOrbIcon); 186 if (img == null) { 187 img = res.getDrawable(R.drawable.lb_ic_in_app_search); 189 setOrbIcon(img);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 243 uint8_t* img = NULL; local 245 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 248 uint8_t* yPlane = img; 249 uint8_t* uPlane = img + height * width; 271 uint8_t* img = NULL; local 273 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 287 uint8_t* yPlane = img; 288 uint8_t* crPlane = img + static_cast<uint32_t>(height) * stride; 316 int8_t* img = NULL; local 331 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/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | ColladaParser.java | 125 Element img = (Element)nl.item(i);
126 convertImage(img);
474 private void convertImage(Element img) {
argument 475 String name = img.getAttribute("name");
476 String id = img.getAttribute("id");
477 String file = getString(img, "init_from");
|
/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/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/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 | 517 uint8_t* img = NULL; local 519 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 520 SurfaceMediaSourceTest::fillYV12Buffer(img, width, height, buf->getStride());
|
/frameworks/base/core/java/android/text/ |
H A D | Html.java | 60 * Retrieves images for HTML <img> tags. 65 * <img> tag. The <code>source</code> argument is the 92 * Any <img> tags in the HTML will display as a generic 113 * Any <img> tags in the HTML will use the specified ImageGetter 308 out.append("<img src=\""); 526 } else if (tag.equalsIgnoreCase("img")) { 636 Attributes attributes, Html.ImageGetter img) { 640 if (img != null) { 641 d = img.getDrawable(src); 635 startImg(SpannableStringBuilder text, Attributes attributes, Html.ImageGetter img) argument
|
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 1464 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) argument 1474 result = cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img);
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 2090 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) argument 2096 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. ... |