/packages/apps/Camera/src/com/android/camera/ui/ |
CanvasTexture.java | 27 public CanvasTexture(int width, int height) { 28 setSize(width, height);
|
/external/clearsilver/imd/ |
imd.cs | 4 <TD><IMG name="frame0" border=0 height=8 width=8 src="0.gif"></TD> 5 <TD><IMG name="frame1" border=0 height=8 width=<?cs var:image.width ?> src="1.gif"></TD> 6 <TD><IMG name="frame2" border=0 height=8 width=8 src="2.gif"></TD> 9 <TD><IMG name="frame3" border=0 height=<?cs var:image.height ?> width=8 src="3.gif"></TD> 10 <TD><a href="<?cs var:link ?>"><img border=0 width=<?cs var:image.width ?> height=<?cs var:image.height ?> src="<?cs var:CGI.PathInfo?>?image=<?cs var:url_escape(Album) ?>/<?cs var:url_escape(image) ?>&width=<?cs var:image.width ?>&height=<?cs var:image.height ?>"></a></TD> 11 <TD><IMG name="frame4" border=0 height=<?cs var:image.height ?> width=8 src="4.gif"></TD [all...] |
/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationTest.java | 69 private final int height; field in class:ConfigurationTest.ActiveScreenConfiguration 76 * @param height the height of the screen 81 int height, 84 this(width, height, Density.findDensity((int) (160.0f * density))); 88 int height, 91 this.height = height; 104 return height; 113 int height, [all...] |
/external/webkit/WebCore/platform/graphics/cg/ |
PDFDocumentImage.cpp | 62 const float height = m_mediaBox.size().height(); local 63 const float rotWidth = width * cosa - height * sina; 64 const float rotHeight = width * sina + height * cosa; 97 float height = m_cropBox.height(); local 102 CGPoint ry = CGPointMake(-height * sina, height * cosa); 159 float vScale = dstRect.height() / srcRect.height(); [all...] |
ImageCG.cpp | 89 CGFloat height = CGImageGetHeight(cgImage); local 90 m_decodedSize = width * height * 4; 91 m_size = IntSize(width, height); 191 float yScale = srcRect.height() / destRect.height(); 203 subimageRect.setHeight(ceilf(subimageRect.height() + topPadding)); 204 adjustedDestRect.setHeight(subimageRect.height() / yScale); 213 adjustedDestRect.setSize(FloatSize(selfSize.width() / xScale, selfSize.height() / yScale)); 220 if (!shouldUseSubimage && currHeight < selfSize.height()) 221 adjustedDestRect.setHeight(adjustedDestRect.height() * currHeight / selfSize.height()) [all...] |
FloatRectCG.cpp | 42 return CGRectMake(x(), y(), width(), height());
|
/frameworks/base/core/tests/coretests/src/android/text/ |
PackedIntVectorTest.java | 31 for (int height = width * 2; height < width * 4; height++) { 36 for (int i = 0; i < height; i++) { 49 if (i == height / 2) { 58 if (i == height / 2) { 68 for (int i = 0; i < height; i++) { 82 for (int i = 0; i < height; i++) { 98 for (int i = 0; i < height; i++) { 120 for (int i = 0; i < height; i++) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CameraPreview.java | 120 final int height = resolveSize(getSuggestedMinimumHeight(), heightMeasureSpec); local 121 setMeasuredDimension(width, height); 124 mPreviewSize = getOptimalPreviewSize(mSupportedPreviewSizes, width, height); 134 final int height = b - t; local 137 int previewHeight = height; 140 previewHeight = mPreviewSize.height; 144 if (width * previewHeight > height * previewWidth) { 145 final int scaledChildWidth = previewWidth * height / previewHeight; 147 (width + scaledChildWidth) / 2, height); 150 child.layout(0, (height - scaledChildHeight) / 2 [all...] |
/external/webkit/WebCore/platform/graphics/ |
Image.cpp | 96 scaleY = dstRect.height() / srcRect.height(); 118 intrinsicTileSize.setHeight(scaledTileSize.height()); 121 scaledTileSize.height() / intrinsicTileSize.height()); 125 oneTileRect.setY(destRect.y() + fmodf(fmodf(-srcPoint.y(), scaledTileSize.height()) - scaledTileSize.height(), scaledTileSize.height())); 132 visibleSrcRect.setY((destRect.y() - oneTileRect.y()) / scale.height()); 134 visibleSrcRect.setHeight(destRect.height() / scale.height()) [all...] |
/external/quake/quake/src/WinQuake/ |
gl_screen.cpp | 178 y = (int)(vid.height*0.35); 230 float CalcFov (float fov_x, float width, float height) 240 a = atan (height/x); 309 h = vid.height - sb_lines; 318 r_refdef.vrect.height = (int)(vid.height * size); 319 if ((int)(r_refdef.vrect.height) > (int)(vid.height - sb_lines)) 320 r_refdef.vrect.height = vid.height - sb_lines 582 unsigned short x_origin, y_origin, width, height; member in struct:_TargaHeader [all...] |
screen.cpp | 117 y = vid.height*0.35; 143 y = vid.height*0.35; 195 float CalcFov (float fov_x, float width, float height) 205 a = atan (height/x); 246 r_refdef.fov_y = CalcFov (r_refdef.fov_x, r_refdef.vrect.width, r_refdef.vrect.height); 266 vrect.height = vid.height; 272 if (scr_con_current > vid.height) 273 scr_con_current = vid.height; 414 (vid.height - 48 - pic->height)/2, pic) [all...] |
/development/tools/yuv420sp2rgb/ |
yuv420sp2rgb.c | 35 int height; member in struct:rgb_context 52 int width, int height, 67 ctx.height = height; 71 for (i = 0; i < height; i++) { 81 for (i = 0; i < height; i++) { 145 offset = ctx->height * (ctx->j + 1) - ctx->i; 148 offset = (ctx->height - 1 - ctx->i) * ctx->width + ctx->j; 151 offset = (ctx->width - 1 - ctx->j) * ctx->height + ctx->i; 193 int height, 273 int height, width, gray, rotate; local [all...] |
/external/webkit/WebCore/rendering/ |
RenderScrollbar.cpp | 52 setFrameRect(IntRect(0, 0, part->width(), part->height())); 158 int oldThickness = isHorizontal ? height() : width(); 163 newThickness = isHorizontal ? part->height() : part->width(); 167 setFrameRect(IntRect(x(), y(), isHorizontal ? width() : newThickness, isHorizontal ? newThickness : height())); 261 return IntRect(x(), y(), isHorizontal ? partRenderer->width() : width(), isHorizontal ? height() : partRenderer->height()); 265 isHorizontal ? y() : y() + height() - partRenderer->height(), 267 isHorizontal ? height() : partRenderer->height()); [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
Camera_SizeTest.java | 54 private void checkSize(Parameters parameters, int width, int height) { 55 parameters.setPictureSize(width, height); 57 assertEquals(height, parameters.getPictureSize().height);
|
/external/icu4c/samples/layout/ |
RenderingSurface.h | 27 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) = 0;
|
Surface.h | 13 le_int32 x, le_int32 y, le_int32 width, le_int32 height);
|
rsurface.h | 17 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height);
|
/external/libvpx/vp8/common/ |
preproc.h | 43 extern void spatial_filter_c(pre_proc_instance *ppi, unsigned char *s, unsigned char *d, int width, int height, int pitch, int strength);
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
SDL_ph_gl.h | 38 int ph_SetupOpenGLContext(_THIS, int width, int height, int bpp, Uint32 flags);
|
SDL_ph_modes.c | 50 return mode2_info.height - mode1_info.height; 87 Amodelist[j].h = mode_info.height; 113 /* return the mode associated with width, height and bpp */ 115 int ph_GetVideoMode(int width, int height, int bpp) 127 if ((width==640) && (height==400)) 140 if ((mode_info.width == width) && (mode_info.height == height) && 147 if ((modestage) && (mode_info.width == width) && (mode_info.height == height+80) && [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/ |
SDL_riscosvideo.h | 41 int height; member in struct:SDL_PrivateVideoData
|
/external/skia/include/views/ |
SkOSWindow_wxwidgets.h | 35 SkOSWindow(const wxString& title, int x, int y, int width, int height);
|
/external/skia/src/svg/ |
SkSVGMask.cpp | 22 SVG_ATTRIBUTE(height),
|
/external/webkit/WebCore/html/canvas/ |
CanvasRenderingContext2D.h | 134 void rect(float x, float y, float width, float height); 142 void clearRect(float x, float y, float width, float height); 143 void fillRect(float x, float y, float width, float height); 144 void strokeRect(float x, float y, float width, float height); 145 void strokeRect(float x, float y, float width, float height, float lineWidth); 147 void setShadow(float width, float height, float blur); 148 void setShadow(float width, float height, float blur, const String& color); 149 void setShadow(float width, float height, float blur, float grayLevel); 150 void setShadow(float width, float height, float blur, const String& color, float alpha); 151 void setShadow(float width, float height, float blur, float grayLevel, float alpha) [all...] |
/external/webkit/WebCore/platform/graphics/brew/ |
IntSizeBrew.cpp | 43 size.cy = height();
|