/frameworks/native/opengl/tests/angeles/ |
app.h | 43 extern void appRender(long tick, int width, int height);
|
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/ |
GLJNILib.java | 28 * @param width the current view width 31 public static native void init(int width, int height);
|
/libcore/ojluni/src/main/java/java/util/ |
Formattable.java | 57 * public void formatTo(Formatter fmt, int f, int width, int precision) { 76 * // apply width and justification 78 * if (len < width) 79 * for (int i = 0; i < width - len; i++) 139 * @param width 142 * <tt>width</tt> then the output will be padded by 144 * equals width. The padding is at the beginning by default. If 146 * padding will be at the end. If <tt>width</tt> is <tt>-1</tt> 151 * The precision is applied before the width, thus the output will 153 * <tt>width</tt> is greater than the <tt>precision</tt>. I [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios.base/fmtflags.state/ |
width.pass.cpp | 14 // streamsize width() const; 32 assert(t.width() == 0);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/iostreams.base/ios.base/fmtflags.state/ |
width.pass.cpp | 14 // streamsize width() const; 32 assert(t.width() == 0);
|
/developers/build/prebuilts/gradle/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/ |
AutoFitTextureView.java | 48 * @param width Relative horizontal size 51 public void setAspectRatio(int width, int height) { 52 if (width < 0 || height < 0) { 55 if (mRatioWidth == width && mRatioHeight == height) { 58 mRatioWidth = width; 66 int width = MeasureSpec.getSize(widthMeasureSpec); local 69 setMeasuredDimension(width, height); 71 if (width < height * mRatioWidth / mRatioHeight) { 72 setMeasuredDimension(width, width * mRatioHeight / mRatioWidth) [all...] |
/developers/samples/android/media/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/ |
AutoFitTextureView.java | 48 * @param width Relative horizontal size 51 public void setAspectRatio(int width, int height) { 52 if (width < 0 || height < 0) { 55 if (mRatioWidth == width && mRatioHeight == height) { 58 mRatioWidth = width; 66 int width = MeasureSpec.getSize(widthMeasureSpec); local 69 setMeasuredDimension(width, height); 71 if (width < height * mRatioWidth / mRatioHeight) { 72 setMeasuredDimension(width, width * mRatioHeight / mRatioWidth) [all...] |
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/ |
AutoFitTextureView.java | 48 * @param width Relative horizontal size 51 public void setAspectRatio(int width, int height) { 52 if (width < 0 || height < 0) { 55 if (mRatioWidth == width && mRatioHeight == height) { 58 mRatioWidth = width; 66 int width = MeasureSpec.getSize(widthMeasureSpec); local 69 setMeasuredDimension(width, height); 71 if (width < height * mRatioWidth / mRatioHeight) { 72 setMeasuredDimension(width, width * mRatioHeight / mRatioWidth) [all...] |
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
FormatConversions.h | 21 void get_yv12_offsets(int width, int height, 25 void get_yuv420p_offsets(int width, int height, 30 void rgb565_to_yv12(char* dest, char* src, int width, int height, 32 void rgb888_to_yv12(char* dest, char* src, int width, int height, 34 void rgb888_to_yuv420p(char* dest, char* src, int width, int height, 36 void yv12_to_rgb565(char* dest, char* src, int width, int height, 38 void yv12_to_rgb888(char* dest, char* src, int width, int height, 40 void yuv420p_to_rgb888(char* dest, char* src, int width, int height, 44 int width, int height, int top, int left,
|
/external/deqp/modules/egl/ |
teglGLES1RenderUtil.cpp | 41 void clear (int x, int y, int width, int height, const tcu::Vec4& color) 44 glScissor(x, y, width, height); 50 void readPixels (tcu::Surface& dst, int x, int y, int width, int height) 52 dst.setSize(width, height); 53 glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr()); 63 void clear (int x, int y, int width, int height, const tcu::Vec4& color) 65 DE_UNREF(x && y && width && height); 70 void readPixels (tcu::Surface& dst, int x, int y, int width, int height) 72 DE_UNREF(x && y && width && height);
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
avg_pred_sse2.c | 17 void vpx_comp_avg_pred_sse2(uint8_t *comp, const uint8_t *pred, int width, 22 if (width > 8) { 25 for (x = 0; x < width; x += 16) { 31 comp += width; 32 pred += width; 35 } else { // width must be 4 or 8. 37 // Process 16 elements at a time. comp and pred have width == stride and 40 for (i = 0; i < width * height; i += 16) { 44 if (width == ref_stride) { 47 } else if (width == 4) [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
omxVCM4P10_InterpolateLuma.c | 48 * srcStep -reference frame step, in bytes; must be a multiple of roi.width 50 * roi.width 55 * roi -Dimension of the interpolation region; the parameters roi.width and 60 * pDst -Pointer to the destination frame buffer if roi.width==4, 4-byte 61 * alignment required if roi.width==8, 8-byte alignment required 62 * if roi.width==16, 16-byte alignment required 69 * srcStep or dstStep < roi.width. 71 * roi.width or roi.height is out of range {4, 8, 16}. 72 * roi.width is equal to 4, but pDst is not 4 byte aligned. 73 * roi.width is equal to 8 or 16, but pDst is not 8 byte aligned. [all...] |
/external/libyuv/files/include/libyuv/ |
convert_from_argb.h | 28 int width, 37 int width, 46 int width, 55 int width, 64 int width, 73 int width, 82 int width, 96 int width, 105 int width, 114 int width, [all...] |
planar_functions.h | 31 int width, 39 int width, 46 int width, 58 int width, 69 int width, 78 int width, 98 int width, 116 int width, 129 int width, 142 int width, [all...] |
/external/libvpx/libvpx/third_party/libyuv/source/ |
rotate.cc | 27 int width, int height) { 30 uint8* dst, int dst_stride, int width) = TransposeWx8_C; 39 if (IS_ALIGNED(width, 8)) { 47 if (IS_ALIGNED(width, 16)) { 54 if (IS_ALIGNED(width, 4) && 65 TransposeWx8(src, src_stride, dst, dst_stride, width); 72 TransposeWxH_C(src, src_stride, dst, dst_stride, width, i); 79 int width, int height) { 85 TransposePlane(src, src_stride, dst, dst_stride, width, height); 91 int width, int height) [all...] |
/external/skia/src/images/ |
SkImageEncoderFns.h | 28 * Transform 'width' pixels from 'src' buffer into 'dst' buffer, 33 int width, int bpp, const SkPMColor* colors); 39 int width, int bpp, const SkPMColor*) { 40 memcpy(dst, src, width * bpp); 44 const char* SK_RESTRICT src, int width, int, 46 for (int i = 0; i < width; i++) { 56 const char* SK_RESTRICT src, int width, int, 59 for (int i = 0; i < width; i++) { 67 int width, int, const SkPMColor* colors) { 68 for (int i = 0; i < width; i++) [all...] |
/external/libdrm/tests/etnaviv/ |
write_bmp.c | 48 unsigned int width; member in struct:dib_header 67 bmp_header_write(int fd, int width, int height, int bgra, int noflip, int alpha) 71 .size = (width * height * 4) + 77 .width = width, 82 .data_size = 4 * width * height, 106 bmp_dump32(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename) 116 bmp_header_write(fd, width, height, bgra, false, true); 118 write(fd, buffer, width * height * 4); 122 bmp_dump32_noflip(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename [all...] |
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
planar_functions.h | 29 int width, int height); 34 int width, int height); 39 int width, int height, 47 int width, int height); 54 int width, int height); 60 int width, int height); 73 int width, int height); 84 int width, int height); 92 int width, int height); 100 int width, int height) [all...] |
/external/libvncserver/examples/ |
pnmshow24.c | 25 int j,width,height,paddedWidth; local 48 /* get width & height */ 49 sscanf(buffer,"%d %d",&width,&height); 50 rfbLog("Got width %d and height %d.\n",width,height); 54 paddedWidth = width; 56 /* if your vncviewer doesn't have problems with a width 58 if(width&3) 59 paddedWidth+=4-(width&3); 77 fread(rfbScreen->frameBuffer,width*3,height,in) [all...] |
/external/libvncserver/test/ |
copyrecttest.c | 11 for(i=0;i<server->width;i++) 13 server->frameBuffer[(j*server->width+i)*4+0]=i&0xff; 14 server->frameBuffer[(j*server->width+i)*4+1]=j&0xff; 15 server->frameBuffer[(j*server->width+i)*4+2]=(i*j)&0xff; 21 int width=400,height=300,w=20,x,y; local 24 rfbScreenInfoPtr server=rfbGetScreen(&argc,argv,width,height,8,3,4); 27 server->frameBuffer=(char*)malloc(width*height*4); 36 rfbMarkRectAsModified(server,0,0,width,height); 45 x=width*(0.5+cos(phi)*r); 47 if(x>=0 && y>=0 && x+w<=width && y+w<=height) [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_yuv.h | 127 unsigned width, unsigned height); 132 unsigned width, unsigned height); 137 unsigned width, unsigned height); 142 unsigned width, unsigned height); 151 unsigned width, unsigned height); 156 unsigned width, unsigned height); 161 unsigned width, unsigned height); 166 unsigned width, unsigned height); 176 unsigned width, unsigned height); 180 unsigned width, unsigned height) [all...] |
/external/syslinux/gpxe/src/hci/mucurses/widgets/ |
editbox.c | 42 * @v width Width 47 unsigned int width, unsigned int flags ) { 55 box->width = width; 66 size_t width = box->width; local 67 char buf[ width + 1 ]; 74 overflow = ( cursor_offset - ( width - 1 ) ); 87 memset ( buf, '_', width ); [all...] |
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/ |
VideoRenderer.java | 44 public final int width; field in class:VideoRenderer.I420Frame 65 I420Frame(int width, int height, int rotationDegree, int[] yuvStrides, ByteBuffer[] yuvPlanes, 67 this.width = width; 91 I420Frame(int width, int height, int rotationDegree, int textureId, float[] samplingMatrix, 93 this.width = width; 108 return (rotationDegree % 180 == 0) ? width : height; 112 return (rotationDegree % 180 == 0) ? height : width; 117 return width + "x" + height + ":" + yuvStrides[0] + ":" + yuvStrides[1] [all...] |
/frameworks/base/libs/hwui/renderstate/ |
Scissor.cpp | 46 bool Scissor::set(GLint x, GLint y, GLint width, GLint height) { 48 || width != mScissorWidth || height != mScissorHeight)) { 51 width += x; 58 if (width < 0) { 59 width = 0; 64 glScissor(x, y, width, height); 68 mScissorWidth = width; 80 GLint width = std::max(0, ((int)clip.right) - x); local 85 || width != mScissorWidth 87 glScissor(x, y, width, height) [all...] |
/device/generic/goldfish/camera/ |
Converters.cpp | 35 int width, 48 for (int x = 0; x < width; x += 2, U += dUV, V += dUV) { 64 int width, 77 for (int x = 0; x < width; x += 2, U += dUV, V += dUV) { 92 * This means that we can't just use the width or assume that pixels are 96 void YV12ToRGB565(const void* yv12, void* rgb, int width, int height) 99 const int y_stride = align(width, 16); 105 width, height, y_stride, uv_stride); 108 void YV12ToRGB32(const void* yv12, void* rgb, int width, int height) 111 const int y_stride = align(width, 16) [all...] |