/external/chromium/base/gfx/ |
rect.h | 7 // contained by the rectangle, but the coordinate (x + width, y) is not. 9 // rectangles with negative width and/or height), but there will be assertions 31 Rect(int width, int height); 32 Rect(int x, int y, int width, int height); 58 int width() const { return size_.width(); } function in class:gfx::Rect 59 void set_width(int width); 70 int right() const { return x() + width(); } 73 void SetRect(int x, int y, int width, int height); 110 // point (x + width, y + height) is not [all...] |
/external/libvpx/vpx_scale/leapster/ |
yv12extend.c | 181 int width; local 184 width = src_ybc->y_width + (src_ybc->border * 2); 185 width /= 4; 191 for (i = 0; i < width; i++) 196 source += width; 197 dest += width; 201 width = src_ybc->uv_width + (src_ybc->border); 202 width /= 4; 209 for (i = 0; i < width; i++) 214 source += width; [all...] |
/frameworks/base/docs/html/resources/tutorials/views/ |
index.jd | 34 <a href="hello-linearlayout.html"><img src="images/hello-linearlayout.png" height="285" width="200" 41 width="200" /></a> 46 <a href="hello-tablelayout.html"><img src="images/hello-tablelayout.png" height="285" width="200" 52 <a href="hello-gridview.html"><img src="images/hello-gridview.png" height="285" width="200" /></a> 57 <a href="hello-tabwidget.html"><img src="images/hello-tabwidget.png" height="285" width="200" /></a> 62 <a href="hello-listview.html"><img src="images/hello-listview.png" height="285" width="200" /></a> 71 <a href="hello-datepicker.html"><img src="images/hello-datepicker.png" height="285" width="200" 77 <a href="hello-timepicker.html"><img src="images/hello-timepicker.png" height="285" width="200" 83 <a href="hello-formstuff.html"><img src="images/hello-formstuff.png" height="285" width="200" /></a> 88 <a href="hello-spinner.html"><img src="images/hello-spinner.png" height="285" width="200" /></a [all...] |
/frameworks/base/docs/html/sdk/api_diff/9/changes/ |
changes-summary.html | 92 <TABLE summary="Added Packages" WIDTH="100%"> 97 <TD VALIGN="TOP" WIDTH="25%"> 104 <TD VALIGN="TOP" WIDTH="25%"> 111 <TD VALIGN="TOP" WIDTH="25%"> 118 <TD VALIGN="TOP" WIDTH="25%"> 128 <TABLE summary="Changed Packages" WIDTH="100%"> 133 <TD VALIGN="TOP" WIDTH="25%"> 140 <TD VALIGN="TOP" WIDTH="25%"> 147 <TD VALIGN="TOP" WIDTH="25%"> 154 <TD VALIGN="TOP" WIDTH="25%" [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
CanvasTexture.java | 66 public final void setSize(int width, int height) { 67 mWidth = width; 88 int width = (int) mWidth; local 101 int newTextureWidth = Shared.nextPowerOf2(width); 124 // Set the new texture width and height. 129 mNormalizedWidth = (float) width / textureWidth; 152 renderCanvas(canvas, bitmap, width, height); 153 int[] cropRect = { 0, height, width, -height }; 170 float width = mWidth; local 175 float originX = x + anchorX * width; [all...] |
/external/qemu/ |
curses.c | 45 static int width, height, gwidth, gheight, invalidate; variable 52 line = ((chtype *) screen) + y * width; 53 for (h += y; y < h; y ++, line += width) 54 mvwaddchnstr(screenpad, y, 0, line, width); 63 width = gwidth; 66 width = COLS; 76 screenpad = newpad(height, width); 78 if (width > COLS) { 79 px = (width - COLS) / 2; 84 sminx = (COLS - width) / 2 [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/ |
SDL_QWin.cc | 62 SDL_PrivateResize(e->size().width(), e->size().height()); 83 if(my_image->width() == height()) { 87 my_mouse_pos = QPoint(pos.y(), width()-pos.x()); 135 int width, height; local 139 width = ((rect.right() - rect.left()) >> 1) + 2; 142 if((startx+width) > 120) { 143 width = 120 - startx; // avoid horizontal overflow 156 int rowadd = (-320*width) - 1; 157 int rowadd2 = 240 - width; 160 for (int x=0; x<width; x++) 191 int width, height; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/wscons/ |
SDL_wsconsvideo.c | 55 static SDL_Surface *WSCONS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 155 int width, height; local 247 if (private->physlinebytes == private->info.width) { 248 len = private->info.width * private->info.height * sizeof(short); 260 if (private->physlinebytes == private->info.width) { 261 len = private->info.width * private->info.height * sizeof(int); 296 width = private->info.height; 297 height = private->info.width; 299 width = private->info.width; 462 int width = private->SDL_modelist[0]->w; local [all...] |
/frameworks/base/docs/html/sdk/api_diff/3/changes/ |
android.R.attr.html | 81 <TABLE summary="Added Fields" WIDTH="100%"> 86 <TD VALIGN="TOP" WIDTH="25%"> 93 <TD VALIGN="TOP" WIDTH="25%"> 100 <TD VALIGN="TOP" WIDTH="25%"> 107 <TD VALIGN="TOP" WIDTH="25%"> 114 <TD VALIGN="TOP" WIDTH="25%"> 121 <TD VALIGN="TOP" WIDTH="25%"> 128 <TD VALIGN="TOP" WIDTH="25%"> 135 <TD VALIGN="TOP" WIDTH="25%"> 142 <TD VALIGN="TOP" WIDTH="25%" [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
NumericSprite.java | 32 int width = roundUpPower2((int) (interDigitGaps + paint.measureText(sStrike))); local 33 mLabelMaker = new LabelMaker(true, width, height); 80 public float width() { method in class:NumericSprite 81 float width = 0.0f; local 85 width += mWidth[c - '0']; 87 return width;
|
/external/e2fsprogs/resize/ |
sim_progress.c | 30 int i, width; local 33 width = prog->labelwidth - strlen(prog->label); 34 while (width-- > 0) 38 for (width = prog->labelwidth; width > 0; width--)
|
/external/libvpx/vpx_scale/blackfin/ |
yv12config.c | 61 vp8_yv12_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, int height, int border) 65 int yplane_size = (height + 2 * border) * (width + 2 * border); 66 int uvplane_size = (height / 2 + border) * (width / 2 + border); 72 ybf->y_width = width; 74 ybf->y_stride = width + 2 * border; 76 ybf->uv_width = width / 2;
|
/external/libvpx/vpx_scale/generic/ |
yv12config.c | 46 vp8_yv12_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, int height, int border) 50 int yplane_size = (height + 2 * border) * (width + 2 * border); 51 int uvplane_size = ((1 + height) / 2 + border) * ((1 + width) / 2 + border); 57 ybf->y_width = width; 59 ybf->y_stride = width + 2 * border; 61 ybf->uv_width = (1 + width) / 2;
|
/external/skia/src/images/ |
SkPageFlipper.cpp | 29 SkPageFlipper::SkPageFlipper(int width, int height) { 30 fWidth = width; 35 fDirty0->setRect(0, 0, width, height); 39 void SkPageFlipper::resize(int width, int height) { 40 fWidth = width; 44 fDirty1->setRect(0, 0, width, height);
|
fpdfemb_ext.h | 24 /** Get info from the decoder, including image width, height and number of components */ 25 void (*GetInfo)(void* pContext, int* width, int* height, int* nComps); 46 /** Get image info from the context, including width, height, number of components 51 void (*GetInfo)(void* context, unsigned long* width, unsigned long* height, 68 /** Do the whole decoding process. Supplied parameters include width, height, source image 72 void (*Decode)(unsigned long width, unsigned long height, const unsigned char* src_buf,
|
/external/webkit/WebCore/css/ |
mediaControlsGtk.css | 25 width: 300px; 33 width: 20px; 38 width: 20px; 51 width: 20px; 56 width: 20px; 61 width: 20px;
|
/external/webkit/WebCore/html/ |
HTMLPreElement.cpp | 52 // FIXME: Implement this some day. Width on a <pre> is the # of characters that 53 // we should size the pre to. We basically need to take the width of a space, 54 // multiply by the value of the attribute and then set that as the width CSS 63 int HTMLPreElement::width() const function in class:WebCore::HTMLPreElement 68 void HTMLPreElement::setWidth(int width) 70 setAttribute(widthAttr, String::number(width));
|
/external/webkit/WebCore/platform/ |
DragImage.cpp | 43 if (srcSize.width() > size.width()) { 44 widthResizeRatio = size.width() / (float)srcSize.width(); 58 float scalex = srcSize.width() / (float)originalSize.width();
|
/external/webkit/WebCore/platform/graphics/ |
GlyphWidthMap.h | 52 void setWidthForGlyph(Glyph glyph, float width) 54 locatePage(glyph / GlyphWidthPage::size)->setWidthForGlyph(glyph, width); 63 void setWidthForGlyph(Glyph glyph, float width) 65 setWidthForIndex(glyph % size, width); 67 void setWidthForIndex(unsigned index, float width) 69 m_widths[index] = width;
|
/frameworks/base/media/libstagefright/codecs/avc/dec/src/ |
itrans.cpp | 89 void itrans(int16 *block, uint8 *pred, uint8 *cur, int width) 138 *(cur += width) = e1; 139 *(cur += width) = e2; 140 cur[width] = e3; 141 cur -= (width << 1); 150 e1 = *(cur += width) + (e1 >> 6); 153 e2 = *(cur += width) + (e2 >> 6); 156 e3 = cur[width] + (e3 >> 6); 158 cur[width] = e3; 159 cur -= (width << 1) [all...] |
/packages/inputmethods/PinyinIME/res/xml/ |
skb_sym2.xml | 19 width="10%p" 43 <row width="10.205%p"> 44 <key code="-5" width="14.286%p" key_type="3" label="ALT"/> 56 <row width="14.696%p" key_type="1"> 57 <key code="-2" label="? ?" width="20%p" repeat="true"> 61 <key code="62" key_type="5" width="30.608%p"/>
|
/packages/wallpapers/Basic/src/com/android/wallpaper/ |
RenderScriptWallpaper.java | 32 protected abstract T createScene(int width, int height); 79 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { 80 super.onSurfaceChanged(holder, format, width, height); 82 mRs.contextSetSurface(width, height, holder.getSurface()); 85 mRenderer = createScene(width, height); 89 mRenderer.resize(width, height);
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
RenderScriptWallpaper.java | 34 protected abstract T createScene(int width, int height); 78 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { 79 super.onSurfaceChanged(holder, format, width, height); 81 mRs.contextSetSurface(width, height, holder.getSurface()); 84 mRenderer = createScene(width, height); 88 mRenderer.resize(width, height);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
RenderScriptWallpaper.java | 32 protected abstract T createScene(int width, int height); 75 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { 76 super.onSurfaceChanged(holder, format, width, height); 78 mRs.contextSetSurface(width, height, holder.getSurface()); 81 mRenderer = createScene(width, height); 85 mRenderer.resize(width, height);
|
/sdk/draw9patch/src/com/android/draw9patch/graphics/ |
GraphicsUtilities.java | 35 public static BufferedImage createCompatibleImage(int width, int height) { 36 return getGraphicsConfiguration().createCompatibleImage(width, height); 57 public static BufferedImage createCompatibleImage(BufferedImage image, int width, int height) { 58 return getGraphicsConfiguration().createCompatibleImage(width, height, 71 public static BufferedImage createTranslucentCompatibleImage(int width, int height) { 72 return getGraphicsConfiguration().createCompatibleImage(width, height,
|