HomeSort by relevance Sort by last modified time
    Searched refs:width (Results 226 - 250 of 12025) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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);
  /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 36 for (int width = 0; width < 10; width++) {
37 PackedIntVector p = new PackedIntVector(width);
38 int[] ins = new int[width];
40 for (int height = width * 2; height < width * 4; height++) {
41 assertEquals(p.width(), width); local
54 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);
  /external/webrtc/talk/media/base/
videoadapter_unittest.cc 97 const int in_width = captured_frame->width;
103 last_adapt_was_no_op_ = (in_width == adapted_format.width &&
118 stats.adapted_width = adapted_format_.width;
146 int width,
148 EXPECT_EQ(width, stats.adapted_width);
180 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height);
195 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height);
212 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height);
229 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height);
247 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height)
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/util/
IndentingWriter.java 24 * Writer that wraps another writer and passes width-limited and
33 /** {@code > 0;} the maximum output width */
34 private final int width; field in class:IndentingWriter
52 * @param width {@code >= 0;} the maximum output width (not including
56 public IndentingWriter(Writer out, int width, String prefix) {
63 if (width < 0) {
64 throw new IllegalArgumentException("width < 0");
71 this.width = (width != 0) ? width : Integer.MAX_VALUE
    [all...]
  /dalvik/dx/src/com/android/dx/util/
IndentingWriter.java 24 * Writer that wraps another writer and passes width-limited and
33 /** {@code > 0;} the maximum output width */
34 private final int width; field in class:IndentingWriter
52 * @param width {@code >= 0;} the maximum output width (not including
56 public IndentingWriter(Writer out, int width, String prefix) {
63 if (width < 0) {
64 throw new IllegalArgumentException("width < 0");
71 this.width = (width != 0) ? width : Integer.MAX_VALUE
    [all...]
  /external/ImageMagick/PerlMagick/t/
ping.t 27 my (@blob, $filename, $format, $height, $image, $size, $status, $width);
32 ($width, $height, $size, $format)=$image->Ping("$filename");
33 if (($width == 70) && ($height == 46) && ($size == 9673) && ($format eq "PPM"))
51 ($width, $height, $size, $format)=$image->Ping(blob=>@blob);
54 if (($width == 70) && ($height == 46) && ($size == 9673) && ($format eq "PPM"))
  /external/smali/util/src/main/java/org/jf/util/
OldWrappedIndentingWriter.java 39 * Writer that wraps another writer and passes width-limited and
48 /** &gt; 0; the maximum output width */
49 private final int width; field in class:OldWrappedIndentingWriter
67 * @param width &gt;= 0; the maximum output width (not including
71 public OldWrappedIndentingWriter(Writer out, int width, String prefix) {
78 if (width < 0) {
79 throw new IllegalArgumentException("width < 0");
86 this.width = (width != 0) ? width : Integer.MAX_VALUE
    [all...]
  /frameworks/base/core/java/com/android/internal/view/
ActionBarPolicy.java 49 final int width = config.screenWidthDp; local
52 if (smallest > 600 || (width > 960 && height > 720) || (width > 720 && height > 960)) {
55 } else if (width >= 500 || (width > 640 && height > 480) || (width > 480 && height > 640)) {
58 } else if (width >= 360) {
82 final int width = configuration.screenWidthDp; local
85 width >= 480 || (width >= 640 && height >= 480)
    [all...]
  /hardware/qcom/msm8998/kernel-headers/media/
msm_media_info.h 25 * <------- Width ------->
46 * Y_Stride : Width aligned to 128
47 * UV_Stride : Width aligned to 128
63 * <------- Width ------->
84 * Y_Stride : Width aligned to 128
85 * UV_Stride : Width aligned to 128
103 * <------- Width ------->
142 * Y_Stride : Width aligned to 128
143 * UV_Stride : Width aligned to 128
178 * <-------- Width ------
    [all...]
  /hardware/qcom/msm8998/original-kernel-headers/media/
msm_media_info.h 25 * <------- Width ------->
46 * Y_Stride : Width aligned to 128
47 * UV_Stride : Width aligned to 128
63 * <------- Width ------->
84 * Y_Stride : Width aligned to 128
85 * UV_Stride : Width aligned to 128
103 * <------- Width ------->
142 * Y_Stride : Width aligned to 128
143 * UV_Stride : Width aligned to 128
178 * <-------- Width ------
    [all...]
  /external/libyuv/files/include/libyuv/
convert_from.h 39 int width,
55 int width,
64 int width,
78 int width,
92 int width,
104 int width,
116 int width,
128 int width,
140 int width,
152 int width,
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
h264bsd_conceal.c 130 u32 width, height; local
142 width = currImage->width;
164 if (col == width)
176 H264SwDecMemset(currImage->data, 128, width*height*384);
178 H264SwDecMemcpy(currImage->data, refData, width*height*384);
191 mb = pStorage->mb + row * width;
198 for (j = col + 1; j < width; j++)
210 for (j = 0; j < width; j++)
213 mb = pStorage->mb + i*width + j
262 u32 width, height; local
    [all...]
  /external/deqp/framework/platform/raspi/
tcuRaspiPlatform.cpp 70 Window (int width, int height);
109 const int width = params.width != eglu::WindowParams::SIZE_DONT_CARE ? params.width : DEFAULT_WINDOW_WIDTH; local
112 return new Window(width, height);
117 Window::Window (int width, int height)
131 dstRect.width = width;
136 srcRect.width = width << 16
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/model/
ModelCache.java 10 * model, width and height. For a loader that takes a model and returns a url, the cache could be used to safely memoize
11 * url creation based on the width and height of the view.
38 * @param width The width in pixels of the view the image is being loaded into.
43 public B get(A model, int width, int height) {
44 ModelKey<A> key = ModelKey.get(model, width, height);
54 * @param width The width in pixels of the view the image is being loaded into.
58 public void put(A model, int width, int height, B value) {
59 ModelKey<A> key = ModelKey.get(model, width, height)
68 private int width; field in class:ModelCache.ModelKey
    [all...]
  /external/libvpx/libvpx/examples/
resize_util.c 25 printf("%s <input_yuv> <width>x<height> <target_width>x<target_height> ",
35 static int parse_dim(char *v, int *width, int *height) {
39 *width = atoi(v);
41 if (*width <= 0 || *height <= 0)
54 int width, height, target_width, target_height; local
66 if (!parse_dim(argv[2], &width, &height)) {
94 printf("Input size: %dx%d\n", width, height);
101 inbuf = (uint8_t *)malloc(width * height * 3 / 2);
103 inbuf_u = inbuf + width * height;
104 inbuf_v = inbuf_u + width * height / 4
    [all...]
  /external/skia/gm/
bitmapcopy.cpp 30 static void draw_checks(SkCanvas* canvas, int width, int height) {
33 canvas->drawRect(SkRect::MakeIWH(width/2, height/2), paint);
35 canvas->drawRect({ SkIntToScalar(width/2), 0, SkIntToScalar(width), SkIntToScalar(height/2) },
38 canvas->drawRect({ 0, SkIntToScalar(height/2), SkIntToScalar(width/2), SkIntToScalar(height) },
41 canvas->drawRect({ SkIntToScalar(width/2), SkIntToScalar(height/2), SkIntToScalar(width),
81 SkScalar width = SkIntToScalar(40); local
89 if (textWidth > width) {
90 width = textWidth
    [all...]
  /frameworks/av/media/libstagefright/filters/
ColorConvert.cpp 49 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height,
54 for (int32_t j = 0; j < width; j++) {
55 int32_t y = *(pY + i * width + j);
56 int32_t u = *(pUV + (i/2) * width + bytes_per_pixel * (j/2));
57 int32_t v = *(pUV + (i/2) * width + bytes_per_pixel * (j/2) + 1);
71 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height,
76 for (int32_t j = 0; j < width; j++) {
77 int32_t y = *(pY + i * width + j);
78 int32_t u = *(pUV + (i/2) * width + bytes_per_pixel * (j/2));
79 int32_t v = *(pUV + (i/2) * width + bytes_per_pixel * (j/2) + 1)
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
Alpha8BitmapActivity.java 59 final float width = texture.getWidth() / 3.0f; local
63 0.0f, 0.0f, width, 0.0f, width * 2, 0.0f, width * 3, 0.0f,
64 0.0f, height, width, height, width * 2, height, width * 4, height,
65 0.0f, height * 2, width, height * 2, width * 2, height * 2, width * 3, height * 2
    [all...]

Completed in 3995 milliseconds

1 2 3 4 5 6 7 8 91011>>