/external/skia/tests/ |
H A D | BitmapTest.cpp | 37 for (int height = 0; height < 2; ++height) { 39 bool setConf = bm.setInfo(SkImageInfo::MakeN32Premul(width, height)); 44 REPORTER_ASSERT(reporter, SkToBool(width & height) != bm.empty());
|
/external/chromium_org/third_party/angle/samples/angle/sample_util/ |
H A D | texture_utils.cpp | 24 const size_t height = 2; local 25 GLubyte pixels[width * height * 3] = 32 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, pixels); 83 const size_t height = 256; local 84 std::array<GLubyte, width * height * 3> pixels; 87 for (GLsizei y = 0; y < height; y++) 105 pixels[(y * height + x) * 3] = rColor; 106 pixels[(y * height + x) * 3 + 1] = 0; 107 pixels[(y * height + x) * 3 + 2] = bColor; 119 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_framebuffer.c | 55 dst->height != src->height) 86 dst->height = src->height; 111 fb->width = fb->height = 0; 117 * minimum width and height of all bound surfaces. 122 unsigned *height) 130 h = MIN2(h, fb->cbufs[i]->height); 135 h = MIN2(h, fb->zsbuf->height); 140 *height 120 util_framebuffer_min_size(const struct pipe_framebuffer_state *fb, unsigned *width, unsigned *height) argument [all...] |
/external/chromium_org/ui/file_manager/file_manager/audio_player/elements/ |
H A D | volume_controller.js | 15 this.style.height = this.height + 'px'; 17 this.$.rawValueInput.style.width = this.height + 'px'; 18 this.$.rawValueInput.style.height = this.width + 'px'; 69 height: 100,
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_framebuffer.c | 55 dst->height != src->height) 86 dst->height = src->height; 111 fb->width = fb->height = 0; 117 * minimum width and height of all bound surfaces. 122 unsigned *height) 130 h = MIN2(h, fb->cbufs[i]->height); 135 h = MIN2(h, fb->zsbuf->height); 140 *height 120 util_framebuffer_min_size(const struct pipe_framebuffer_state *fb, unsigned *width, unsigned *height) argument [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
H A D | picture_rescale.c | 23 // Grab the 'specs' (writer, *opaque, width, height...) from 'src' and copy them 36 uint8_t* dst, int dst_stride, int width, int height) { 37 while (height-- > 0) { 56 int width, int height) { 59 if (width <= 0 || height <= 0) return 0; 61 if ((*top) + height > pic->height) return 0; 74 dst->y, dst->y_stride, dst->width, dst->height); 76 dst->u, dst->uv_stride, HALVE(dst->width), HALVE(dst->height)); 78 dst->v, dst->uv_stride, HALVE(dst->width), HALVE(dst->height)); 35 CopyPlane(const uint8_t* src, int src_stride, uint8_t* dst, int dst_stride, int width, int height) argument 54 AdjustAndCheckRectangle(const WebPPicture* const pic, int* const left, int* const top, int width, int height) argument 99 WebPPictureView(const WebPPicture* src, int left, int top, int width, int height, WebPPicture* dst) argument 132 WebPPictureCrop(WebPPicture* pic, int left, int top, int width, int height) argument 209 WebPPictureRescale(WebPPicture* pic, int width, int height) argument [all...] |
/external/webp/src/enc/ |
H A D | picture_rescale.c | 23 // Grab the 'specs' (writer, *opaque, width, height...) from 'src' and copy them 36 uint8_t* dst, int dst_stride, int width, int height) { 37 while (height-- > 0) { 56 int width, int height) { 59 if (width <= 0 || height <= 0) return 0; 61 if ((*top) + height > pic->height) return 0; 74 dst->y, dst->y_stride, dst->width, dst->height); 76 dst->u, dst->uv_stride, HALVE(dst->width), HALVE(dst->height)); 78 dst->v, dst->uv_stride, HALVE(dst->width), HALVE(dst->height)); 35 CopyPlane(const uint8_t* src, int src_stride, uint8_t* dst, int dst_stride, int width, int height) argument 54 AdjustAndCheckRectangle(const WebPPicture* const pic, int* const left, int* const top, int width, int height) argument 99 WebPPictureView(const WebPPicture* src, int left, int top, int width, int height, WebPPicture* dst) argument 132 WebPPictureCrop(WebPPicture* pic, int left, int top, int width, int height) argument 209 WebPPictureRescale(WebPPicture* pic, int width, int height) argument [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) { 110 height > vegaGeti(VG_MAX_IMAGE_HEIGHT)) { 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, VGint height) 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/deqp/framework/platform/raspi/ |
H A D | tcuRaspiPlatform.cpp | 70 Window (int width, int height); 110 const int height = params.height != eglu::WindowParams::SIZE_DONT_CARE ? params.height : DEFAULT_WINDOW_HEIGHT; local 112 return new Window(width, height); 117 Window::Window (int width, int height) argument 132 dstRect.height = height; 137 srcRect.height = height << 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); 34 private int height; field in class:ModelCache.ModelKey 40 private void init(A model, int width, int height) { argument 43 this.height = height; 57 if (height != modelKey.height) retur 97 get(A model, int width, int height) argument 112 put(A model, int width, int height, B value) 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) { 110 height > vegaGeti(VG_MAX_IMAGE_HEIGHT)) { 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, VGint height) 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/libyuv/files/include/libyuv/ |
H A D | planar_functions.h | 27 int width, int height, 37 int width, int height); 45 int width, int height); 52 int width, int height); 60 int width, int height); 70 int width, int height); 76 int width, int height); 83 int width, int height); 90 int width, int height); 100 int width, int height); [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
H A D | videoadapter_unittest.cc | 103 captured_frame->width, abs(captured_frame->height))); 168 int height) { 170 EXPECT_EQ(height, stats.adapted_height); 201 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); 216 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); 233 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); 250 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); 268 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); 300 request_format.height /= 2; 309 VerifyAdaptedResolution(stats, request_format.width, request_format.height); 166 VerifyAdaptedResolution(const VideoCapturerListener::Stats& stats, int width, int height) argument [all...] |
/external/chromium_org/media/cast/test/utility/ |
H A D | video_utility.cc | 20 frame1->coded_size().height() != frame2->coded_size().height()) 36 frame1->coded_size().height()); 40 int height = frame->coded_size().height(); local 44 int half_height = (height + 1) / 2; 50 for (int j = 0; j < height; ++j) { 75 int height = frame->coded_size().height(); local 79 int half_height = (height 91 int height = frame->coded_size().height(); local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/include/libyuv/ |
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, int height); [all...] |
/external/chromium_org/third_party/libyuv/include/libyuv/ |
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, int height); [all...] |
/external/chromium_org/third_party/polymer/components/core-toolbar/ |
H A D | core-toolbar.css | 17 height: 64px; 26 transition: height 0.18s ease-in; 30 height: 128px; 34 height: 192px; 39 height: 64px; 46 height: 56px; 50 height: 112px; 54 height: 168px; 58 height: 56px;
|
/external/chromium_org/third_party/polymer/components-chromium/core-toolbar/ |
H A D | core-toolbar.css | 17 height: 64px; 26 transition: height 0.18s ease-in; 30 height: 128px; 34 height: 192px; 39 height: 64px; 46 height: 56px; 50 height: 112px; 54 height: 168px; 58 height: 56px;
|
/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/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()); 49 int top = std::min(bounds.y(), container_size.height()); 51 int height = std::min(bounds.height(), container_size.height() - top); 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 | 24 EXPECT_LE(0, short_main_empty_sub_size.height()); 31 EXPECT_GT(long_main_empty_sub_size.height(), 32 short_main_empty_sub_size.height()); 38 EXPECT_GT(short_main_medium_sub_size.height(), 39 short_main_empty_sub_size.height()); 48 EXPECT_GT(short_main_long_sub_size.height(), 49 short_main_medium_sub_size.height());
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | mediaControlsAndroid.css | 30 height: 35px; 34 height: 35px; 38 height: 40px; 42 height: 35px; 51 height: 35px; 52 line-height: 35px; 57 height: 35px; 58 line-height: 35px; 68 height: 35px; 69 line-height [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | StyleGeneratedImage.cpp | 53 LayoutUnit height = fixedSize.height() * multiplier; local 55 // Don't let images that have a width/height >= 1 shrink below 1 when zoomed. 59 if (fixedSize.height() > 0) 60 height = max<LayoutUnit>(1, height); 62 return LayoutSize(width, height); 73 intrinsicHeight = Length(size.height(), 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); 57 float height() const { return m_height; } function in class:blink::FloatSize 60 void setHeight(float height) { m_height = height; } argument 68 void expand(float width, float height) argument 71 m_height += height; 131 a.setHeight(a.height() [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrRectanizer_pow2.h | 36 return fAreaSoFar / ((float)this->width() * this->height()); 46 // but it is used to signal if there exists an open row of this height 59 static int HeightToRowIndex(int height) { argument 60 SkASSERT(height >= kMIN_HEIGHT_POW2); 61 int index = 32 - SkCLZ(height - 1); 66 bool canAddStrip(int height) const { 67 return fNextStripY + height <= this->height();
|