/external/toybox/toys/pending/ |
watch.c | 31 unsigned width = 80, len = sizeof("Www Mmm dd hh:mm:ss yyyy") - 1 ; local 47 terminal_size(&width, NULL); 48 if (!width) width = 80; //on serial it may return 0. 50 if (width > (hlen + len)) xprintf("%s", header); 51 if(width >= len) 52 xprintf("%*s\n",width + ((width > (hlen + len))?-hlen:0) + 1, ctime(&t));
|
/external/webrtc/talk/media/webrtc/ |
webrtcvideoframefactory.cc | 35 const CapturedFrame* aliased_frame, int width, int height) const { 37 if (!frame->Init(aliased_frame, width, height, apply_rotation_)) {
|
/external/webrtc/webrtc/test/ |
fake_texture_frame.cc | 17 int width, 23 native_handle, width, height),
|
video_renderer.cc | 26 size_t width, 28 VideoRenderer* renderer = CreatePlatformRenderer(window_title, width, height);
|
video_renderer.h | 23 static VideoRenderer* Create(const char* window_title, size_t width, 31 size_t width, size_t height);
|
/external/webrtc/webrtc/test/linux/ |
video_renderer_linux.cc | 18 size_t width, 20 GlxRenderer* glx_renderer = GlxRenderer::Create(window_title, width, height);
|
/frameworks/native/opengl/libagl/ |
dxt.h | 27 bool DXT1HasAlpha(const GLvoid *data, int width, int height); 28 void decodeDXT(const GLvoid *data, int width, int height,
|
/hardware/intel/common/libva/va/ |
va_compat.c | 33 int width, 40 return vaCreateSurfaces(dpy, format, width, height, surfaces, num_surfaces,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libyuv/source/ |
row.h | 29 int width); 35 int width); 41 int width); 85 uint8* dst_u, uint8* dst_v, int width); 87 uint8* dst_u, uint8* dst_v, int width); 89 uint8* dst_u, uint8* dst_v, int width); 98 uint8* dst_u, uint8* dst_v, int width); 100 uint8* dst_u, uint8* dst_v, int width); 103 void ReverseRow_SSSE3(const uint8* src, uint8* dst, int width); 106 void ReverseRow_NEON(const uint8* src, uint8* dst, int width); [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_alloccommon.h | 23 int vp9_resize_frame_buffers(struct VP9Common *cm, int width, int height); 25 int vp9_alloc_frame_buffers(struct VP9Common *cm, int width, int height);
|
/hardware/intel/img/psb_video/src/ |
psb_surface_attrib.h | 39 int width, int height, int fourcc, VASurfaceAttributeTPI *graphic_buffers, 48 int width, int height, 51 unsigned int luma_stride, /* luma stride, could be width aligned with a special value */ 62 int width, int height, 66 unsigned int luma_stride, /* luma stride, could be width aligned with a special value */ 78 int width, int height, int stride, int size, 91 int width, int height, int stride, int size, 105 int width, 122 int width, 138 int width, [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
IllegalFormatWidthExceptionTest.java | 32 int width = Integer.MAX_VALUE; local 34 width); 35 assertEquals(width, illegalFormatWidthException.getWidth()); 43 int width = 12345; local 45 width); 46 assertEquals(width, illegalFormatWidthException.getWidth()); 54 int width = 12345; local 56 width); 72 assertEquals("Width", initEx.getWidth(), desrEx.getWidth());
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
MediaPickerMessagePartData.java | 26 final Uri contentUri, final int width, final int height) { 27 this(startRect, null /* messageText */, contentType, contentUri, width, height); 31 final String contentType, final Uri contentUri, final int width, final int height) { 32 this(startRect, messageText, contentType, contentUri, width, height, 37 final Uri contentUri, final int width, final int height, 39 this(startRect, null /* messageText */, contentType, contentUri, width, height, 44 final String contentType, final Uri contentUri, final int width, final int height, 46 super(messageText, contentType, contentUri, width, height, onlySingleAttachment);
|
/external/libdrm/tests/util/ |
pattern.c | 78 unsigned char *v_mem, unsigned int width, 117 for (x = 0; x < width; ++x) 118 y_mem[x] = colors_top[x * 7 / width].y; 123 for (x = 0; x < width; ++x) 124 y_mem[x] = colors_middle[x * 7 / width].y; 129 for (x = 0; x < width * 5 / 7; ++x) 130 y_mem[x] = colors_bottom[x * 4 / (width * 5 / 7)].y; 131 for (; x < width * 6 / 7; ++x) 132 y_mem[x] = colors_bottom[(x - width * 5 / 7) * 3 133 / (width / 7) + 4].y [all...] |
/external/libvpx/libvpx/test/ |
yuv_video_source.h | 28 unsigned int width, unsigned int height, 43 SetSize(width, height, format); 86 virtual void SetSize(unsigned int width, unsigned int height, 88 if (width != width_ || height != height_ || format != format_) { 90 img_ = vpx_img_alloc(NULL, format, width, height, 1); 92 width_ = width; 97 raw_size_ = width * height * 3 / 2; 100 raw_size_ = width * height * 2; 103 raw_size_ = width * height * 2; 106 raw_size_ = width * height * 3 [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
geometry.cpp | 73 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) { 77 const float current_ratio = width / height; 79 const float dx = width * (ratio / current_ratio - 1.0f); 81 width += dx; 91 if (width <= 0.0f || height <= 0.0f || length <= 0.0f) { 95 const float current_length = width > height ? width : height; 97 const float dx = width * (length / current_length - 1.0f); 99 width += dx; 108 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) [all...] |
/external/deqp/modules/egl/ |
teglGLES2RenderUtil.cpp | 35 void clear (const glw::Functions& gl, int x, int y, int width, int height, const tcu::Vec4& color) 38 gl.scissor(x, y, width, height); 44 void readPixels (const glw::Functions& gl, tcu::Surface& dst, int x, int y, int width, int height) 46 dst.setSize(width, height); 47 gl.readPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr());
|
/external/skia/tests/ |
FillPathTest.cpp | 19 virtual void blitH(int x, int y, int width) { 34 int width = 200; local 36 clip.set(0, height - expected_lines, width, height); 38 path.quadTo(SkIntToScalar(width/2), SkIntToScalar(height), 39 SkIntToScalar(width), 0.0f);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
SizeAreaComparator.java | 30 * <p>This comparator totally orders by rectangle area. Tie-breaks on width.</p> 46 long width = size.width; local 47 long width2 = size2.width; 48 long area = width * size.height; 52 return (width > width2) ? 1 : -1;
|
/frameworks/base/core/tests/coretests/src/android/text/ |
PackedIntVectorTest.java | 27 for (int width = 0; width < 10; width++) { 28 PackedIntVector p = new PackedIntVector(width); 29 int[] ins = new int[width]; 31 for (int height = width * 2; height < width * 4; height++) { 32 assertEquals(p.width(), width); local 45 for (int j = 0; j < width; j++) [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
PixelUtils.java | 38 * @param width The width of the input image. 46 int width, 57 } else if ((width * height * 4) != input.remaining()) { 60 } else if ((width * height * 4) != output.remaining()) { 64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride); 69 int width,
|
/hardware/intel/common/libva/test/putsurface/ |
putsurface_x11.c | 35 static int create_window(void *win_display, int x, int y, int width, int height); 36 static int check_window_event(void *x11_display, void *drawable, int *width, int *height, int *quit); 52 static Pixmap create_pixmap(void *win_display, int width, int height) 64 printf("Create a pixmap from ROOT window %dx%d, pixmap size %dx%d\n\n", attr.width, attr.height, width, height); 65 pixmap = XCreatePixmap(x11_display, root, width, height, 71 static int create_window(void *win_display, int x, int y, int width, int height) 80 drawable_thread0 = (void *)XCreateSimpleWindow(x11_display, root, x, y, width, height, 86 sizehints.width = width; [all...] |
/packages/apps/Camera2/src/com/android/camera/burst/ |
BurstController.java | 55 private final int width; field in class:BurstController.ImageStreamProperties 60 public ImageStreamProperties(int width, int height, 63 this.width = width; 70 return width;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AbstractSlotRenderer.java | 47 Texture content, int width, int height, int rotation) { 52 width = height = Math.min(width, height); 54 canvas.translate(width / 2, height / 2); 56 canvas.translate(-width / 2, -height / 2); 61 (float) width / content.getWidth(), 69 protected void drawVideoOverlay(GLCanvas canvas, int width, int height) { 78 int s = Math.min(width, height) / 6; 79 mVideoPlayIcon.draw(canvas, (width - s) / 2, (height - s) / 2, s, s); 82 protected void drawPanoramaIcon(GLCanvas canvas, int width, int height) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ImageCanvas.java | 27 * Dimensions holds the desired width, height, and scale for a bitmap being 31 public int width; field in class:ImageCanvas.Dimensions 47 public Dimensions(int width, int height, float scale, float fontSize) { 48 this.width = width; 56 return String.format("Dimens [%d x %d]", width, height);
|