/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | 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 120 util_framebuffer_min_size(const struct pipe_framebuffer_state *fb, unsigned *width, unsigned *height) argument [all...] |
/external/smali/util/src/main/java/org/jf/util/ |
H A D | WrappedIndentingWriter.java | 39 * Writer that wraps another writer and passes width-limited and 48 /** > 0; the maximum output width */ 49 private final int width; field in class:WrappedIndentingWriter 67 * @param width >= 0; the maximum output width (not including 71 public WrappedIndentingWriter(Writer out, int width, String prefix) { argument 78 if (width < 0) { 79 throw new IllegalArgumentException("width < 0"); 86 this.width = (width ! 100 WrappedIndentingWriter(Writer out, int width) argument [all...] |
/external/pixman/pixman/ |
H A D | pixman-filter.c | 40 double width; member in struct:__anon28836 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 / (doubl 157 integral(pixman_kernel_t kernel1, double x1, pixman_kernel_t kernel2, double scale, double x2, double width) argument 219 create_1d_filter(int *width, pixman_kernel_t reconstruct, pixman_kernel_t sample, double scale, int n_phases) argument 316 int width, height; local [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBitmapFilter.h | 23 SkBitmapFilter(float width) argument 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) argument 102 : SkBitmapFilter(width), alpha(a), expWidth(expf(-alpha * width * widt 114 SkTriangleFilter(float width=1) argument 126 SkBoxFilter(float width=0.5f) argument 138 SkHammingFilter(float width=1.f) argument 157 SkLanczosFilter(float width=3.f) argument [all...] |
/external/skia/src/core/ |
H A D | SkBitmapFilter.h | 23 SkBitmapFilter(float width) argument 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) argument 102 : SkBitmapFilter(width), alpha(a), expWidth(expf(-alpha * width * widt 114 SkTriangleFilter(float width=1) argument 126 SkBoxFilter(float width=0.5f) argument 138 SkHammingFilter(float width=1.f) argument 157 SkLanczosFilter(float width=3.f) argument [all...] |
/external/chromium_org/skia/ext/ |
H A D | 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, argument 74 return CreatePlatformCanvas(width, height, is_opaque, 0, CRASH_ON_FAILURE); 80 static inline SkCanvas* CreateBitmapCanvas(int width, argument 83 return CreatePlatformCanvas(width, height, is_opaque, 0, CRASH_ON_FAILURE); 86 static inline SkCanvas* TryCreateBitmapCanvas(int width, argument [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
H A D | resize_util.c | 22 printf("%s <input_yuv> <width>x<height> <target_width>x<target_height> ", 27 static int parse_dim(char *v, int *width, int *height) { argument 33 *width = atoi(v); 35 if (*width <= 0 || *height <= 0) 48 int width, height, target_width, target_height; local 58 if (!parse_dim(argv[2], &width, &height)) { 87 width, height); 95 inbuf = (uint8_t*)malloc(width * height * 3 / 2); 97 inbuf_u = inbuf + width * height; 98 inbuf_v = inbuf_u + width * heigh [all...] |
/external/chromium_org/ui/message_center/views/ |
H A D | 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 o 54 ToPixels(int width) argument 61 GetWrappedText(int width) argument 66 GetLinesForWidth(int width) argument [all...] |
/external/deqp/framework/platform/raspi/ |
H A D | 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) argument 131 dstRect.width = width; 136 srcRect.width = width << 1 [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
H A D | 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. 24 public static <A> ModelKey<A> get(A model, int width, int height) { argument 30 modelKey.init(model, width, height); 35 private int width; field in class:ModelCache.ModelKey 40 private void init(A model, int width, int height) { argument 42 this.width = width; 58 if (width != modelKey.width) retur 97 get(A model, int width, int height) argument 112 put(A model, int width, int height, B value) argument [all...] |
/external/libvpx/libvpx/examples/ |
H A D | resize_util.c | 22 printf("%s <input_yuv> <width>x<height> <target_width>x<target_height> ", 27 static int parse_dim(char *v, int *width, int *height) { argument 33 *width = atoi(v); 35 if (*width <= 0 || *height <= 0) 48 int width, height, target_width, target_height; local 58 if (!parse_dim(argv[2], &width, &height)) { 87 width, height); 95 inbuf = (uint8_t*)malloc(width * height * 3 / 2); 97 inbuf_u = inbuf + width * height; 98 inbuf_v = inbuf_u + width * heigh [all...] |
/external/skia/gm/ |
H A D | bitmapcopy.cpp | 30 static void draw_checks(SkCanvas* canvas, int width, int height) { argument 34 SkIntToScalar(width / 2), SkIntToScalar(height / 2), paint); 36 canvas->drawRectCoords(SkIntToScalar(width / 2), SkIntToScalar(0), 37 SkIntToScalar(width), SkIntToScalar(height / 2), paint); 40 SkIntToScalar(width / 2), SkIntToScalar(height), paint); 42 canvas->drawRectCoords(SkIntToScalar(width / 2), SkIntToScalar(height / 2), 43 SkIntToScalar(width), SkIntToScalar(height), paint); 80 SkScalar width = SkIntToScalar(40); local 88 if (textWidth > width) { 89 width [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/include/libyuv/ |
H A D | planar_functions.h | 29 int width, int height); 34 int width, int height); 39 int width, int height, 46 int width, int height); 58 int width, int height); 69 int width, int height); 77 int width, int height); 85 int width, int height); 93 int width, int height); 106 int width, in [all...] |
H A D | convert_from.h | 33 int width, int height); 42 int width, int height); 51 int width, int height); 57 int width, int height); 68 int width, int height); 76 int width, int height); 83 int width, int height); 90 int width, int height); 97 int width, int height); 104 int width, in [all...] |
/external/chromium_org/third_party/libyuv/include/libyuv/ |
H A D | planar_functions.h | 29 int width, int height); 34 int width, int height); 39 int width, int height, 46 int width, int height); 58 int width, int height); 69 int width, int height); 77 int width, int height); 85 int width, int height); 93 int width, int height); 106 int width, in [all...] |
H A D | convert_from.h | 33 int width, int height); 42 int width, int height); 51 int width, int height); 57 int width, int height); 68 int width, int height); 76 int width, int height); 83 int width, int height); 90 int width, int height); 97 int width, int height); 104 int width, in [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | api_images.c | 96 VGint width, VGint height, 105 if (width <= 0 || height <= 0) { 109 if (width > vegaGeti(VG_MAX_IMAGE_WIDTH) || 114 if (width * height > vegaGeti(VG_MAX_IMAGE_PIXELS)) { 126 return image_to_handle(image_create(format, width, height)); 147 VGint width, VGint height) 156 if (width <= 0 || height <= 0) { 163 if (x + width < 0 || y + height < 0) 166 image_clear(img, x, y, width, height); 175 VGint width, VGin 95 vegaCreateImage(VGImageFormat format, VGint width, VGint height, VGbitfield allowedQuality) argument 145 vegaClearImage(VGImage image, VGint x, VGint y, VGint width, VGint height) argument 170 vegaImageSubData(VGImage image, const void * data, VGint dataStride, VGImageFormat dataFormat, VGint x, VGint y, VGint width, VGint height) argument 198 vegaGetImageSubData(VGImage image, void * data, VGint dataStride, VGImageFormat dataFormat, VGint x, VGint y, VGint width, VGint height) argument 225 vegaChildImage(VGImage parent, VGint x, VGint y, VGint width, VGint height) argument 272 vegaCopyImage(VGImage dst, VGint dx, VGint dy, VGImage src, VGint sx, VGint sy, VGint width, VGint height, VGboolean dither) argument 291 width, height, dither); local 311 vegaSetPixels(VGint dx, VGint dy, VGImage src, VGint sx, VGint sy, VGint width, VGint height) argument 331 vegaGetPixels(VGImage dst, VGint dx, VGint dy, VGint sx, VGint sy, VGint width, VGint height) argument 353 vegaWritePixels(const void * data, VGint dataStride, VGImageFormat dataFormat, VGint dx, VGint dy, VGint width, VGint height) argument 391 vegaReadPixels(void * data, VGint dataStride, VGImageFormat dataFormat, VGint sx, VGint sy, VGint width, VGint height) argument 466 vegaCopyPixels(VGint dx, VGint dy, VGint sx, VGint sy, VGint width, VGint height) argument [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | api_images.c | 96 VGint width, VGint height, 105 if (width <= 0 || height <= 0) { 109 if (width > vegaGeti(VG_MAX_IMAGE_WIDTH) || 114 if (width * height > vegaGeti(VG_MAX_IMAGE_PIXELS)) { 126 return image_to_handle(image_create(format, width, height)); 147 VGint width, VGint height) 156 if (width <= 0 || height <= 0) { 163 if (x + width < 0 || y + height < 0) 166 image_clear(img, x, y, width, height); 175 VGint width, VGin 95 vegaCreateImage(VGImageFormat format, VGint width, VGint height, VGbitfield allowedQuality) argument 145 vegaClearImage(VGImage image, VGint x, VGint y, VGint width, VGint height) argument 170 vegaImageSubData(VGImage image, const void * data, VGint dataStride, VGImageFormat dataFormat, VGint x, VGint y, VGint width, VGint height) argument 198 vegaGetImageSubData(VGImage image, void * data, VGint dataStride, VGImageFormat dataFormat, VGint x, VGint y, VGint width, VGint height) argument 225 vegaChildImage(VGImage parent, VGint x, VGint y, VGint width, VGint height) argument 272 vegaCopyImage(VGImage dst, VGint dx, VGint dy, VGImage src, VGint sx, VGint sy, VGint width, VGint height, VGboolean dither) argument 291 width, height, dither); local 311 vegaSetPixels(VGint dx, VGint dy, VGImage src, VGint sx, VGint sy, VGint width, VGint height) argument 331 vegaGetPixels(VGImage dst, VGint dx, VGint dy, VGint sx, VGint sy, VGint width, VGint height) argument 353 vegaWritePixels(const void * data, VGint dataStride, VGImageFormat dataFormat, VGint dx, VGint dy, VGint width, VGint height) argument 391 vegaReadPixels(void * data, VGint dataStride, VGImageFormat dataFormat, VGint sx, VGint sy, VGint width, VGint height) argument 466 vegaCopyPixels(VGint dx, VGint dy, VGint sx, VGint sy, VGint width, VGint height) argument [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
H A D | oobe_screen_eula.css | 25 width: 620px; 39 width: 630px; 48 width: 314px; 52 width: 309px; 57 width: 313px; 61 width: 308px; 65 width: 628px; 69 width: 623px; 96 width: 100%;
|
/external/chromium_org/third_party/webrtc/modules/video_processing/main/test/unit_test/ |
H A D | readYUV420file.m | 1 function [Y,U,V] = readYUV420file(filename, width, height) 2 % [Y,U,V] = readYUVfile(filename, width, height) 10 nPx=width*height; 23 Y=uint8(zeros(height,width,numFrames)); 24 U=uint8(zeros(height/2,width/2,numFrames)); 25 V=uint8(zeros(height/2,width/2,numFrames)); 32 Y(:,:,k)=uint8(reshape(X(1:nPx), width, height).'); 35 U(:,:,k)=uint8(reshape(X(nPx + (1:nPx/4)), width/2, height/2).'); 38 V(:,:,k)=uint8(reshape(X(nPx + nPx/4 + (1:nPx/4)), width/2, height/2).');
|
/external/vixl/src/a64/ |
H A D | instructions-a64.cc | 35 unsigned int width) { 36 VIXL_ASSERT(width <= 64); 39 (width - rotate)) | (value >> rotate); 45 unsigned width) { 46 VIXL_ASSERT((width == 2) || (width == 4) || (width == 8) || (width == 16) || 47 (width == 32)); 49 uint64_t result = value & ((UINT64_C(1) << width) 33 RotateRight(uint64_t value, unsigned int rotate, unsigned int width) argument 43 RepeatBitsAcrossReg(unsigned reg_size, uint64_t value, unsigned width) argument [all...] |
/external/chromium_org/chrome/browser/devtools/ |
H A D | devtools_contents_resizing_strategy.cc | 39 0, 0, container_size.width(), container_size.height()); 44 0, 0, container_size.width(), container_size.height()); 48 int left = std::min(bounds.x(), container_size.width()); 50 int width = std::min(bounds.width(), container_size.width() - left); local 52 new_contents_bounds->SetRect(left, top, width, height);
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | validation_message_bubble_delegate_unittest.cc | 23 short_main_empty_sub_size.width()); 30 long_main_empty_sub_size.width()); 36 EXPECT_GT(short_main_medium_sub_size.width(), 37 short_main_empty_sub_size.width()); 44 EXPECT_GT(short_main_long_sub_size.width(), 45 short_main_medium_sub_size.width()); 47 short_main_long_sub_size.width());
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | StyleGeneratedImage.cpp | 52 LayoutUnit width = fixedSize.width() * multiplier; 55 // Don't let images that have a width/height >= 1 shrink below 1 when zoomed. 56 if (fixedSize.width() > 0) 57 width = max<LayoutUnit>(1, width); 62 return LayoutSize(width, height); 72 intrinsicWidth = Length(size.width(), Fixed);
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | FloatSize.h | 50 FloatSize(float width, float height) : m_width(width), m_height(height) { } argument 51 FloatSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) { } 54 static FloatSize narrowPrecision(double width, double height); 56 float width() const { return m_width; } function in class:blink::FloatSize 59 void setWidth(float width) { m_width = width; } argument 68 void expand(float width, float height) argument 70 m_width += width; 130 a.setWidth(a.width() [all...] |