/external/skia/tests/ |
FillPathTest.cpp | 20 virtual void blitH(int x, int y, int width) { 35 int width = 200; local 37 clip.set(0, height - expected_lines, width, height); 39 path.quadTo(SkIntToScalar(width/2), SkIntToScalar(height), 40 SkIntToScalar(width), 0.0f);
|
/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,
|
/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...] |
/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/chromium/chrome/browser/resources/sync_internals/ |
sync_node_browser.css | 12 width: 200px; 13 /* min-width and max-width are used by the split pane. */ 14 min-width: 50px; 15 max-width: 50%; 23 min-width: 100%; 34 width: 5px;
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
browser_window_controller_private.h | 55 // width, possibly for fullscreen mode; returns the new maximum y (below the 58 width:(CGFloat)width 62 // y-coordinate, with the given width; returns the new maximum y (below the 66 width:(CGFloat)width; 73 // width; returns the new maximum y (below the bookmark bar). Note that one must 79 width:(CGFloat)width; 87 // Lays out the infobar at the given maximum y-coordinate, with the given width; [all...] |
/external/chromium_org/third_party/libwebp/dec/ |
alpha.c | 28 // dimension 'height'x'width', as that of the image. 36 int width, int height, uint8_t* output) { 45 assert(width > 0 && height > 0); 65 const size_t alpha_decoded_size = height * width; 69 ok = VP8LDecodeAlphaImageStream(width, height, alpha_data, alpha_data_size, 78 unfilter_func(width, height, width, output); 81 ok = DequantizeLevels(output, width, height); 92 const int width = dec->pic_hdr_.width_; local 103 width, height, dec->alpha_plane_)) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_framebuffer.c | 54 if (dst->width != src->width || 85 dst->width = src->width; 111 fb->width = fb->height = 0; 117 * minimum width and height of all bound surfaces. 121 unsigned *width, 129 w = MIN2(w, fb->cbufs[i]->width); 134 w = MIN2(w, fb->zsbuf->width); 139 *width = 0 [all...] |
/external/dexmaker/src/dx/java/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/mesa3d/src/gallium/auxiliary/util/ |
u_framebuffer.c | 54 if (dst->width != src->width || 85 dst->width = src->width; 111 fb->width = fb->height = 0; 117 * minimum width and height of all bound surfaces. 121 unsigned *width, 129 w = MIN2(w, fb->cbufs[i]->width); 134 w = MIN2(w, fb->zsbuf->width); 139 *width = 0 [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
IndentingWriter.java | 32 * Writer that wraps another writer and passes width-limited and 41 /** > 0; the maximum output width */ 42 private final int width; field in class:IndentingWriter 60 * @param width >= 0; the maximum output width (not including 64 public IndentingWriter(Writer out, int width, String prefix) { 71 if (width < 0) { 72 throw new IllegalArgumentException("width < 0"); 79 this.width = (width != 0) ? width : Integer.MAX_VALUE [all...] |
/external/webp/src/dec/ |
alpha.c | 28 // dimension 'height'x'width', as that of the image. 36 int width, int height, uint8_t* output) { 45 assert(width > 0 && height > 0); 65 const size_t alpha_decoded_size = height * width; 69 ok = VP8LDecodeAlphaImageStream(width, height, alpha_data, alpha_data_size, 78 unfilter_func(width, height, width, output); 81 ok = DequantizeLevels(output, width, height); 92 const int width = dec->pic_hdr_.width_; local 103 width, height, dec->alpha_plane_)) [all...] |
/external/pixman/pixman/ |
pixman-filter.c | 40 double width; member in struct:__anon24422 150 * and integrates the product of the kernels across @width. 159 double width) 166 if (x1 < 0 && x1 + width > 0) 170 integral (kernel1, 0, kernel2, scale, x2 - x1, width + x1); 172 else if (x2 < 0 && x2 + width > 0) 176 integral (kernel1, x1 - x2, kernel2, scale, 0, width + x2); 180 assert (width == 0.0); 185 assert (width == 0.0); 196 double h = width / (double)N_SEGMENTS 316 int width, height; local [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBitmapFilter.h | 23 SkBitmapFilter(float width) 24 : fWidth(width), fInvWidth(1.f/width) { 47 float width() const { return fWidth; } 68 float fx = ((float)x + .5f) * this->width() / SKBITMAP_FILTER_TABLE_SIZE; 78 SkMitchellFilter(float b, float c, float width=2.0f) 79 : SkBitmapFilter(width), B(b), C(c) { 101 SkGaussianFilter(float a, float width=2.0f) 102 : SkBitmapFilter(width), alpha(a), expWidth(expf(-alpha * width * width)) [all...] |
/external/skia/src/core/ |
SkBitmapFilter.h | 23 SkBitmapFilter(float width) 24 : fWidth(width), fInvWidth(1.f/width) { 47 float width() const { return fWidth; } 68 float fx = ((float)x + .5f) * this->width() / SKBITMAP_FILTER_TABLE_SIZE; 78 SkMitchellFilter(float b, float c, float width=2.0f) 79 : SkBitmapFilter(width), B(b), C(c) { 101 SkGaussianFilter(float a, float width=2.0f) 102 : SkBitmapFilter(width), alpha(a), expWidth(expf(-alpha * width * 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...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PorterDuffColorFilterTest.java | 32 int width = 100; local 34 Bitmap b1 = Bitmap.createBitmap(width / 2, height, Config.ARGB_8888); 36 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888); 39 Bitmap target = Bitmap.createBitmap(width, height, Config.ARGB_8888); 49 assertEquals(Color.RED, target.getPixel(width / 4, height / 4)); 50 int lowerLeft = target.getPixel(width / 4, height * 3 / 4); 53 int lowerRight = target.getPixel(width * 3 / 4, height * 3 / 4); 62 assertEquals(Color.RED, target.getPixel(width / 4, height / 4)); 63 assertEquals(Color.BLUE, target.getPixel(width / 4, height * 3 / 4)); 64 assertEquals(Color.BLUE, target.getPixel(width * 3 / 4, height * 3 / 4)) [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
videocommon.h | 109 VideoFormat() : width(0), height(0), interval(0), fourcc(0) {} 112 : width(w), 119 : width(format.width), 136 return width == format.width && height == format.height && 146 (fourcc == format.fourcc && width < format.width) || 147 (fourcc == format.fourcc && width == format.width & 155 int width; \/\/ in number of pixels member in struct:cricket::VideoFormat [all...] |
/external/chromium_org/skia/ext/ |
platform_canvas.h | 41 SK_API SkCanvas* CreatePlatformCanvas(int width, 48 int width, 53 SK_API SkCanvas* CreatePlatformCanvas(int width, 63 // first. @data must be, at least, @height * StrideForWidth(@width) bytes. 64 SK_API SkCanvas* CreatePlatformCanvas(int width, 71 static inline SkCanvas* CreatePlatformCanvas(int width, 74 return CreatePlatformCanvas(width, height, is_opaque, 0, CRASH_ON_FAILURE); 80 static inline SkCanvas* CreateBitmapCanvas(int width, 83 return CreatePlatformCanvas(width, height, is_opaque, 0, CRASH_ON_FAILURE); 86 static inline SkCanvas* TryCreateBitmapCanvas(int width, [all...] |
/external/chromium_org/third_party/skia/src/opts/ |
SkBlitRect_opts_SSE2.cpp | 18 int width, int height, 21 SkASSERT(width > 0); 22 SkASSERT(width < 31); 26 int count = width; 52 int width, int height, 55 SkASSERT(width >= 31); 63 int count = width; 115 int width, int height, 117 if (0 == height || 0 == width || 0 == color) { 123 if (width < 31) [all...] |
/external/chromium_org/ui/message_center/views/ |
bounded_label_unittest.cc | 46 // Converts the specified elision width to pixels. To make tests somewhat 48 // widths are specified as XYZ integers, with the corresponding width in 49 // pixels being X times the width of digit characters plus Y times the width 50 // of spaces plus Z times the width of ellipses in the default font of the 51 // test plaform. It is assumed that all digits have the same width in that 52 // font, that this width is greater than the width of spaces, and that the 53 // width of 3 digits is greater than the width of ellipses [all...] |
/external/skia/src/opts/ |
SkBlitRect_opts_SSE2.cpp | 18 int width, int height, 21 SkASSERT(width > 0); 22 SkASSERT(width < 31); 26 int count = width; 52 int width, int height, 55 SkASSERT(width >= 31); 63 int count = width; 115 int width, int height, 117 if (0 == height || 0 == width || 0 == color) { 123 if (width < 31) [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...] |