/external/webkit/WebCore/page/ |
Settings.cpp | 445 if (key == "width") { 446 if (value == "device-width") { 449 int width = value.toInt(); local 450 if (width <= 10000) { 451 if (width <= 320) { 454 // use device-width which works for both portrait and 458 m_viewport_width = width; 532 void Settings::setViewportWidth(int width) 534 if (width < 0 || width > 10000 [all...] |
/external/webkit/WebCore/platform/graphics/android/ |
LayerAndroid.cpp | 201 rect->fRight = rect->fLeft + size.width(); 261 layerRect.set(0, 0, layer->getSize().width(), layer->getSize().height()); 270 float w = viewport.width(); 282 x += w - m_fixedMarginRight.calcFloatValue(w) - m_fixedRight.calcFloatValue(w) - layerRect.width(); 324 r.set(0, 0, getSize().width(), getSize().height()); 343 float w = getSize().width(); 376 && ((m_recordingPicture->width() != (int) getSize().width()) 491 fprintf(file, "%s = { w = %.3f; h = %.3f; };\n", str, size.width(), size.height()); 536 writeIntVal(file, indentLevel + 1, "picture width", m_recordingPicture->width()) [all...] |
/external/webkit/WebCore/platform/image-decoders/ |
ImageDecoder.h | 96 ASSERT(startX < width()); 97 ASSERT(endX <= width()); 147 int width() const; 157 return m_bytes.data() + (y * width()) + x; 273 virtual bool setSize(unsigned width, unsigned height) 275 if (isOverSize(width, height)) { 279 m_size = IntSize(width, height); 331 // Some code paths compute the size of the image as "width * height * 4" 333 static bool isOverSize(unsigned width, unsigned height) 335 // width * height must not exceed (2 ^ 29) - 1, so that we don' [all...] |
/external/webkit/WebCore/platform/image-decoders/png/ |
PNGImageDecoder.cpp | 238 png_uint_32 width = png->width; local 242 if (png->width > cMaxPNGSize || png->height > cMaxPNGSize) { 250 if (!setSize(width, height)) { 259 png_get_IHDR(png, info, &width, &height, &bitDepth, &colorType, 327 if (!buffer.setSize(scaledSize().width(), scaledSize().height())) { 339 m_reader->createInterlaceBuffer((m_reader->hasAlpha() ? 4 : 3) * size().width() * size().height()); 379 row = interlaceBuffer + (rowIndex * colorChannels * size().width()); 386 int width = scaledSize().width(); local [all...] |
/external/webkit/WebCore/rendering/ |
SVGRenderTreeAsText.cpp | 116 return ts << "at (" << r.x() << "," << r.y() << ") size " << r.width() << "x" << r.height(); 140 if (hasFractions(r.width())) 141 ts << r.width(); 143 ts << int(r.width()); 169 ts << "width="; 170 if (hasFractions(s.width())) 171 ts << s.width(); 173 ts << int(s.width()); 280 writeIfNotDefault(ts, "stroke width", strokeWidth, 1.0); 338 ts << " at (" << text.x() << "," << text.y() << ") size " << box->width() << "x" << box->height() << " contains " << chunks.size() << " chunk(s)" [all...] |
RenderTextControlSingleLine.cpp | 203 int oldWidth = width(); 206 bool relayoutChildren = oldHeight != height() || oldWidth != width(); 230 // Set the text block width 232 if (desiredWidth != innerTextRenderer->width()) 237 int innerBlockWidth = width() - paddingLeft() - paddingRight() - borderLeft() - borderRight(); 238 if (innerBlockWidth != innerBlockRenderer->width()) 285 int textRight = textLeft + innerTextRenderer->width(); 332 // We may have set the width and the height in the old style in layout(). 374 int width = RenderTextControl::textBlockWidth(); local 378 width -= resultsRenderer->width() + resultsRenderer->marginLeft() + resultsRenderer->marginRight() [all...] |
RenderThemeWince.cpp | 212 // If the width and height are both specified, then we have nothing to do. 213 if (!style->width().isIntrinsicOrAuto() && !style->height().isAuto()) 220 if (style->width().isIntrinsicOrAuto()) 375 IntSize cancelRadius(cancelSize.width() / 2, cancelSize.height() / 2); 376 int x = r.x() + (r.width() - cancelSize.width()) / 2; 397 style->setWidth(Length(cancelSize.width(), Fixed)); 404 style->setWidth(Length(emptySize.width(), Fixed)); 411 style->setWidth(Length(magnifierSize.width(), Fixed)); 424 style->setWidth(Length(magnifierSize.width(), Fixed)) 611 float width = imRect.width(); local [all...] |
RenderView.cpp | 96 if (settings->useWideViewport() && settings->viewportWidth() == -1 && width() < minPrefWidth()) 115 m_minPrefWidth = m_maxPrefWidth = width(); 117 // Use calcWidth/Height to get the new width/height, since this will take the full page zoom factor into account. 118 bool relayoutChildren = !printing() && (!m_frameView || width() != viewWidth() || height() != viewHeight()); 240 if (printing() || r.width() == 0 || r.height() == 0) 320 rects.append(IntRect(tx, ty, m_layer->width(), m_layer->height())); 325 quads.append(FloatRect(0, 0, m_layer->width(), m_layer->height())); 598 return IntRect(0, 0, width(), height()); 626 int dw = c->width() + c->marginLeft() + c->marginRight(); 646 int width = 0 local [all...] |
/external/webkit/WebKit/gtk/WebCoreSupport/ |
ChromeClientGtk.cpp | 72 gint left, top, width, height; local 74 gtk_window_get_size(GTK_WINDOW(window), &width, &height); local 75 return IntRect(left, top, width, height); 88 "width", intrect.width(), 96 return IntRect(allocation.x, allocation.y, allocation.width, allocation.height); 354 sourceRect.x -= delta.width(); 361 gdk_window_move_region(window, moveRegion, delta.width(), delta.height()); 362 gdk_region_offset(moveRegion, delta.width(), delta.height()); 417 (widget->requisition.width != size.width()) [all...] |
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
GL10.java | 351 int width, 363 int width, 376 int width, 388 int width, 619 float width 623 int width 795 int width, 841 int width, 914 int width, 939 int width, [all...] |
/frameworks/base/opengl/tests/angeles/include/GLES/ |
gl.h | 489 GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); 490 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); 491 GLAPI void APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 492 GLAPI void APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 527 GLAPI void APIENTRY glLineWidth (GLfloat width); 528 GLAPI void APIENTRY glLineWidthx (GLfixed width); 554 GLAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); 561 GLAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); 571 GLAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 574 GLAPI void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
GrassRS.java | 123 GrassRS(Context context, int width, int height) { 124 super(width, height); 170 public void resize(int width, int height) { 171 super.resize(width, height); 173 mWorldState.width = width; 178 mPvOrthoAlloc.setupOrthoWindow(width, height); 221 public int width; field in class:GrassRS.WorldState 235 mWorldState.width = mWidth; 363 private Allocation generateTextureAlpha(int width, int height, int[] data, String name) [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngvcrd.c | 135 png_ptr->width)); 158 len = (png_ptr->width)&~7; 159 diff = (png_ptr->width)&7; 265 final_val = png_ptr->width*pixel_bytes; 294 len = (png_ptr->width)&~7; 295 diff = (png_ptr->width)&7; 409 final_val = png_ptr->width*pixel_bytes; 443 len = png_ptr->width &~7; //reduce to multiple of 8 444 diff = png_ptr->width & 7; //amount lost 515 final_val = png_ptr->width*pixel_bytes 1214 int width = row_info->width; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 262 //abnormal case: width and/or height less than 0 269 //abnormal case: (x + width) bigger than source bitmap's width 318 //abnormal case: width and/or height less than 0 325 //abnormal case: stride less than width and bigger than -width 339 //abnormal case: (offset + width) bigger than colors' length 346 //abnormal case: (lastScanline + width) bigger than colors' length 514 //abnormal case: x bigger than the source bitmap's width 629 //abnormal case: x bigger than the source bitmap's width [all...] |
/external/guava/javadoc/com/google/common/collect/class-use/ |
ImmutableCollection.html | 34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 87 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 101 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 110 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 115 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 123 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 131 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 140 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 151 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 156 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1" [all...] |
/external/opencore/doc/oscl_html/ |
classMediaData.html | 47 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 79 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 112 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 154 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 188 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 220 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 252 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 285 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 318 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 350 <table width="100%" cellpadding="2" cellspacing="0" border="0" [all...] |
classOscl__Queue__Base.html | 47 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 76 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 104 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 134 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 172 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 201 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 229 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 257 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 287 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 321 <table width="100%" cellpadding="2" cellspacing="0" border="0" [all...] |
structStrPtrLen.html | 52 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 81 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 119 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 147 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 177 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 205 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 234 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 263 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 292 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 320 <table width="100%" cellpadding="2" cellspacing="0" border="0" [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
SDL_sysvideo.cc | 48 static SDL_Surface *BE_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 60 static SDL_Overlay *BE_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface *display); 347 static bool BE_FindClosestFSMode(_THIS, int width, int height, int bpp, 361 for ( i=0; modes[i] && (modes[i]->w > width) && 365 if ( ! modes[i] || (modes[i]->w < width) || (modes[i]->h < width) ) { 369 width = modes[i]->w; 375 (width == dmodes[i].virtual_width) && 404 int width, height, bpp; local 411 width = screen->w [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ipod/ |
SDL_ipodvideo.c | 50 static SDL_Surface *iPod_SetVideoMode (_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 312 int width, height, fd; local 324 width = vinfo.xres; 328 r.w = width; 334 static SDL_Surface *iPod_SetVideoMode (_THIS, SDL_Surface *current, int width, int height, int bpp, 347 this->hidden->buffer = SDL_malloc (width * height * (bpp / 8)); 353 memset (this->hidden->buffer, 0, width * height * (bpp / 8)); 374 this->hidden->w = current->w = width; 650 int width = (mx - sx) + 1; local 654 if (width & 1) width++ [all...] |
/external/quake/quake/src/WinQuake/ |
vid_dos.cpp | 231 vid.width = pcurrentmode->width;
253 vid.width = pcurrentmode->width;
429 if (VGA_CheckAdequateMem (pv->width, pv->height, pv->rowbytes,
461 if (VGA_CheckAdequateMem (pv->width, pv->height, pv->rowbytes,
504 void D_BeginDirectRect (int x, int y, byte *pbitmap, int width, int height)
510 if ((width > 24) || (height > 24) || (width < 1) || (height < 1))
513 if (width & 0x03) [all...] |
/external/skia/src/images/ |
SkImageDecoder_libjpeg.cpp | 45 // disable for the moment, as we have some glitches when width != multiple of 4 151 bm.width(), bm.height()); 387 // SkDebugf("------------------- bm2 size %d [%d %d] %d\n", bm->getSize(), bm->width(), bm->height(), bm->config()); 471 const void* SK_RESTRICT src, int width, 475 const void* SK_RESTRICT srcRow, int width, 478 while (--width >= 0) { 492 const void* SK_RESTRICT srcRow, int width, 495 while (--width >= 0) { 509 const void* SK_RESTRICT srcRow, int width, 512 while (--width >= 0) 606 const int width = bm.width(); local [all...] |
/external/webkit/WebCore/platform/image-decoders/gif/ |
GIFImageReader.cpp | 1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 511 /* This is the height and width of the "screen" or 724 unsigned height, width, x_offset, y_offset; 730 /* Get image width and height. */ 731 width = GETINT16(q + 4); 735 * size has weird width or height. We assume that GIF87a 739 ((screen_height < height) || (screen_width < width) || 743 screen_width = width; 753 width or height */ 754 if (!height || !width) { [all...] |
/frameworks/base/awt/java/awt/image/ |
WritableRaster.java | 71 this(sampleModel, dataBuffer, new Rectangle(origin.x, origin.y, sampleModel.width, 85 sampleModel.width, sampleModel.height), origin, null); 118 * the width of the rectangle of pixels. 132 * rectangular area in this WritableRaster. The parentX, parentY, width and 142 * the width of the child area. 158 // awt.244=Width or Height of child Raster is less than or equal to 163 if (parentX < this.minX || parentX + w > this.minX + this.width) { 221 return createWritableChild(minX, minY, width, height, childMinX, childMinY, null); 284 if (dstX + w > this.minX + this.width) { 285 int maxOffX = (dstX + w) - (this.minX + this.width); [all...] |
/frameworks/base/core/java/android/app/ |
WallpaperManager.java | 232 int width = params.getInt("width", 0); local 235 if (width <= 0 || height <= 0) { 262 return generateBitmap(context, bm, width, height); 274 int width = mService.getWidthHint(); local 277 if (width <= 0 || height <= 0) { 303 return generateBitmap(context, bm, width, height); 535 * Returns the desired minimum width for the wallpaper. Callers of 539 * minimum width. 541 * If the returned value is <= 0, the caller should use the width o [all...] |