/external/webrtc/webrtc/test/ |
video_renderer.h | 23 static VideoRenderer* Create(const char* window_title, size_t width, 31 size_t width, size_t 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/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...] |
/hardware/libhardware/modules/camera/3_4/metadata/ |
types.h | 33 int32_t width; member in struct:default_camera_hal::StreamSpec 37 : format(f), width(w), height(h) {} 39 : format(stream->format), width(stream->width), height(stream->height) {} 43 // Base equality/comparison first on format, then on width, then height. 46 (left.width < right.width || 47 (left.width == right.width && left.height < right.height)));
|
/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/Dialer/java/com/android/dialer/callcomposer/util/ |
BitmapResizer.java | 40 int width = image.getWidth(); local 47 "BitmapResizer.resizeForEnrichedCalling", "starting height: %d, width: %d", height, width); 49 if (width <= MAX_OUTPUT_RESOLUTION && height <= MAX_OUTPUT_RESOLUTION) { 51 return Bitmap.createBitmap(image, 0, 0, width, height, matrix, true); 55 if (width > height) { 57 ratio = MAX_OUTPUT_RESOLUTION / (float) width; 65 "ending height: %f, width: %f", 67 width * ratio); 70 return Bitmap.createBitmap(image, 0, 0, width, height, matrix, true) [all...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
Bitmaps.java | 25 public static Bitmap createTestBitmap(int width, int height) { 26 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
|
/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);
|
/packages/services/Car/evs/app/ |
TexWrapper.h | 24 TexWrapper(GLuint textureId, unsigned width, unsigned height); 28 unsigned width() { return w; }; function in class:TexWrapper
|
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/ |
AutoFitTextureView.java | 48 * @param width Relative horizontal size 51 public void setAspectRatio(int width, int height) { 52 if (width < 0 || height < 0) { 55 mRatioWidth = width; 63 int width = MeasureSpec.getSize(widthMeasureSpec); local 66 setMeasuredDimension(width, height); 68 if (width < height * mRatioWidth / mRatioHeight) { 69 setMeasuredDimension(width, width * mRatioHeight / mRatioWidth);
|
/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, int rate_numerator, 35 SetSize(width, height, format); 77 virtual void SetSize(unsigned int width, unsigned int height, 79 if (width != width_ || height != height_ || format != format_) { 81 img_ = vpx_img_alloc(NULL, format, width, height, 1); 83 width_ = width; 87 case VPX_IMG_FMT_I420: raw_size_ = width * height * 3 / 2; break; 88 case VPX_IMG_FMT_I422: raw_size_ = width * height * 2; break; 89 case VPX_IMG_FMT_I440: raw_size_ = width * height * 2; break; 90 case VPX_IMG_FMT_I444: raw_size_ = width * height * 3; break [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 | 18 void blitH(int x, int y, int width) override { 37 int width = 200; local 39 clip.set(0, height - expected_lines, width, height); 41 path.quadTo(SkIntToScalar(width/2), SkIntToScalar(height), 42 SkIntToScalar(width), 0.0f);
|
/external/skqp/tests/ |
FillPathTest.cpp | 18 void blitH(int x, int y, int width) override { 37 int width = 200; local 39 clip.set(0, height - expected_lines, width, height); 41 path.quadTo(SkIntToScalar(width/2), SkIntToScalar(height), 42 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 | 38 for (int width = 0; width < 10; width++) { 39 PackedIntVector p = new PackedIntVector(width); 40 int[] ins = new int[width]; 42 for (int height = width * 2; height < width * 4; height++) { 43 assertEquals(p.width(), width); local 56 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/Launcher3/src/com/android/launcher3/graphics/ |
BitmapRenderer.java | 30 public static Bitmap createSoftwareBitmap(int width, int height, Renderer renderer) { 31 Bitmap result = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 37 public static Bitmap createHardwareBitmap(int width, int height, Renderer renderer) { 39 return createSoftwareBitmap(width, height, renderer); 43 renderer.draw(picture.beginRecording(width, height));
|
/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);
|