| /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/ |
| BitmapHelper.java | 64 public static Bitmap fetchAndRescaleBitmap(String uri, int width, int height) 72 int scaleFactor = findScaleFactor(width, height, is); 74 width, "x", height, "requested dimension");
|
| /development/perftests/panorama/feature_mos/src/mosaic/ |
| Blend.h | 94 // Height and width of individual frames 95 int width, height; member in class:Blend 97 // Height and width of mosaic 103 void FrameToMosaicRect(int width, int height, double trs[3][3], BlendRect &brect); 107 int DoMergeAndBlend(MosaicFrame **frames, int nsite, int width, int height, YUVinfo &imgMos, MosaicRect &rect, MosaicRect &cropping_rect, float &progress, bool &cancelComputation);
|
| /development/samples/ApiDemos/src/com/example/android/apis/animation/ |
| Transitions.java | 84 private void setNewSize(int id, int width, int height) { 88 params.height = height;
|
| /development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
| CubeRenderer.java | 66 public void onSurfaceChanged(GL10 gl, int width, int height) { 67 gl.glViewport(0, 0, width, height); 75 float ratio = (float) width / height;
|
| /development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
| KubeRenderer.java | 76 public void onSurfaceChanged(GL10 gl, int width, int height) { 77 gl.glViewport(0, 0, width, height); 85 float ratio = (float)width / height;
|
| /development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
| MyGLRenderer.java | 94 public void onSurfaceChanged(GL10 unused, int width, int height) { 97 GLES20.glViewport(0, 0, width, height); 99 float ratio = (float) width / height;
|
| /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
| BitmapHelper.java | 64 public static Bitmap fetchAndRescaleBitmap(String uri, int width, int height) 72 int scaleFactor = findScaleFactor(width, height, is); 74 width, "x", height, "requested dimension");
|
| /device/generic/goldfish/opengl/system/renderControl_enc/ |
| renderControl_entry.cpp | 19 uint32_t rcCreateWindowSurface(uint32_t config, uint32_t width, uint32_t height); 21 uint32_t rcCreateColorBuffer(uint32_t width, uint32_t height, GLenum internalFormat); 32 void rcReadColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels); 33 int rcUpdateColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels); 107 uint32_t rcCreateWindowSurface(uint32_t config, uint32_t width, uint32_t height) 110 return ctx->rcCreateWindowSurface(ctx, config, width, height); 119 uint32_t rcCreateColorBuffer(uint32_t width, uint32_t height, GLenum internalFormat) 122 return ctx->rcCreateColorBuffer(ctx, width, height, internalFormat); 185 void rcReadColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels) 188 ctx->rcReadColorBuffer(ctx, colorbuffer, x, y, width, height, format, type, pixels) [all...] |
| /external/ImageMagick/coders/ |
| xps.c | 148 height, 254 height=(size_t) (floor(bounds.y2+0.5)-ceil(bounds.y1-0.5)); 257 if (height > page.height) 258 page.height=height; 264 if ((page.width == 0) || (page.height == 0)) 269 page.width,(double) page.height); 283 if ((page.width == 0) || (page.height == 0)) 288 page.height=(size_t) floor(page.height*image->resolution.y/delta.y+0.5) 146 height, local [all...] |
| /external/autotest/client/deps/glbench/src/ |
| attributefetchtest.cc | 93 GLint height = 64; local 100 width, height); 109 count_ = CreateMesh(&indices, &index_buffer_size, width, height, 0);
|
| /external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
| vktQueryPoolImageObjectUtil.hpp | 44 int height, 53 int height, 86 int height, 94 int height, 105 int height, 118 int height, 127 int height, 164 int height, 175 int height, 188 int height, [all...] |
| /external/deqp/framework/egl/ |
| egluNativeWindow.hpp | 60 int height; //!< Positive size, or SIZE_DONT_CARE member in struct:eglu::WindowParams 63 WindowParams (void) : width(SIZE_DONT_CARE), height(SIZE_DONT_CARE), visibility(VISIBILITY_DONT_CARE) {} 64 WindowParams (int width_, int height_, Visibility visibility_) : width(width_), height(height_), visibility(visibility_) {}
|
| /external/fonttools/Lib/fontTools/ttLib/tables/ |
| _v_h_e_a.py | 51 height, tsb = vtmxTable[name] 55 advanceHeightMax = max(advanceHeightMax, height) 57 rsb = height - tsb - (g.yMax - g.yMin)
|
| /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
| HolidayBorderPanel.java | 177 int height = getGraphics().getFontMetrics(font).getHeight(); local 178 if (height > thickness) 179 adjustment = height - thickness; 372 int height = size.height; local 399 g.drawLine(i, i + 1, i, height - i - 1); 403 g.drawLine(i + 1, height - i - 1, width - i - 1, height - i - 1); 404 g.drawLine(width - i - 1, i, width - i - 1, height - i - 2); 439 int h = height - thickness - 1 - adjustment [all...] |
| /external/libdrm/tests/kms/ |
| libkms-test.h | 65 unsigned int height; member in struct:kms_framebuffer 78 unsigned int height, 91 unsigned int height; member in struct:kms_screen
|
| /external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosmoe/ |
| IOSUIViewController.java | 98 graphics.height = (int)bounds.size().height();
101 app.listener.resize(graphics.width, graphics.height);
|
| /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
| ImageTest.java | 50 root.add(image).width(image2.getRegionWidth()).height(image2.getRegionHeight());
69 public void resize (int width, int height) {
70 ui.getViewport().update(width, height, true);
|
| /external/mesa3d/include/GL/ |
| osmesa.h | 44 * The limits on the width and height of an image buffer are MAX_WIDTH and 150 * as large as width*height*sizeof(type). Its address should be a multiple 163 * initialized to (0,0,width,height). 169 * width, height - size of image buffer in pixels, at least 1 171 * invalid buffer address, type!=GL_UNSIGNED_BYTE, width<1, height<1, 172 * width>internal limit or height>internal limit. 176 GLsizei width, GLsizei height ); 211 * OSMESA_HEIGHT return current image height 226 * Output: width, height - size of buffer in pixels 234 OSMesaGetDepthBuffer( OSMesaContext c, GLint *width, GLint *height, [all...] |
| /external/mesa3d/src/gallium/drivers/llvmpipe/ |
| lp_tile_image.c | 131 unsigned width, unsigned height, 139 assert(height % TILE_SIZE == 0);*/ 157 for (j = 0; j < height; j += tile_h) { 177 for (j = 0; j < height; j += tile_h) { 198 for (j = 0; j < height; j += tile_h) { 222 unsigned width, unsigned height, 231 assert(height % TILE_SIZE == 0); 247 for (j = 0; j < height; j += tile_h) { 267 for (j = 0; j < height; j += tile_h) { 287 for (j = 0; j < height; j += TILE_SIZE) [all...] |
| /external/mesa3d/src/gallium/state_trackers/egl/x11/ |
| x11_screen.h | 120 int x, int y, int width, int height, 123 int rect[4] = { x, y, width, height }; 129 int *width, int *height, unsigned int *attachments,
|
| /external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
| test_blocks.c | 34 const unsigned int width = 16, height = 16; local 54 height, 74 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success);
|
| /external/mesa3d/src/gallium/tests/graw/ |
| graw_util.h | 31 int width, int height, 53 info->screen = graw_create_window_and_screen(0, 0, width, height, 74 resource_temp.height0 = height; 107 resource_temp.height0 = height; 138 fb.height = height; 188 float width, float height, 193 float half_height = height / 2.0f; 221 int width, int height, enum pipe_format format, 225 const int image_bytes = row_stride * height; [all...] |
| /external/opencv/cvaux/src/ |
| cvcreatehandmask.cpp | 69 i_min = size.height; 79 memset( image_mask, 0, step * size.height ); 96 roi->height = i_max - i_min + 1;
|
| /external/opencv3/3rdparty/libwebp/dec/ |
| decode_vp8.h | 49 int width, height; // picture dimensions, in pixels (invariable). member in struct:VP8Io 162 // width and height. Returns 0 in case of formatting error. *width/*height 168 int* const width, int* const height); 174 // width, height and alpha. Returns 0 in case of formatting error. 175 // width/height/has_alpha can be passed NULL. 178 int* const width, int* const height, int* const has_alpha);
|
| /external/opencv3/modules/imgproc/test/ocl/ |
| test_match_template.cpp | 80 Size templ_roiSize = Size(randomInt(1, image_roiSize.width), randomInt(1, image_roiSize.height)); 82 image_roiSize.height - templ_roiSize.height + 1);
|