/external/qemu/ |
framebuffer.c | 33 _get_pitch( int width, QFrameBufferFormat format ) 38 return width*2; 47 int width, 56 if (!qfbuff || width < 0 || height < 0) 59 pitch = _get_pitch( width, format ); 75 qfbuff->width = width; 95 qfbuff->phys_width_mm = (int)(0.5 + 25.4 * qfbuff->width / x_dpi); 157 /* swap width and height if new rotation requires it */ 158 int temp = qfbuff->width; [all...] |
loadpng.c | 21 png_uint_32 width, height; local 67 png_get_IHDR(p, pi, &width, &height, &bitdepth, &colortype, 70 // width, height, bitdepth, colortype); 102 data = (unsigned char*) malloc((width * 4) * height); 111 rowptrs[i] = data + ((width * 4) * i); 120 *_width = width; 159 png_uint_32 width, height; local 199 png_get_IHDR(p, pi, &width, &height, &bitdepth, &colortype, 202 // width, height, bitdepth, colortype); 234 data = (unsigned char*) malloc((width * 4) * height) [all...] |
/external/quake/quake/src/QW/client/ |
vid_null.c | 28 vid.maxwarpwidth = vid.width = vid.conwidth = BASEWIDTH; 54 void D_BeginDirectRect (int x, int y, byte *pbitmap, int width, int height) 64 void D_EndDirectRect (int x, int y, int width, int height)
|
/external/skia/include/core/ |
SkPicture.h | 36 @param width the width of the virtual device the picture records. 65 @param width the base width for the picture, as if the recording 66 canvas' bitmap had this width. 67 @param height the base width for the picture, as if the recording 72 SkCanvas* beginRecording(int width, int height, uint32_t recordFlags = 0); 91 /** Return the width of the picture's recording canvas. This 94 @return the width of the picture's recording canvas 96 int width() const { return fWidth; function in class:SkPicture [all...] |
/external/webkit/WebCore/manual-tests/ |
custom-cursors.html | 4 <div style="width:100px;height:50px;background-color:lightblue; cursor:url(nonexistent.png), auto;"><span style="cursor:url(nonexistent.png), auto;">some text</span></div> 5 <div style="width:100px;height:50px;background-color:lightblue; cursor:url(nonexistent.png);"></div> 10 <div style="width:100px;height:100px;background-color:lightblue; cursor:url(resources/helpCursor.tiff), help;"></div>
|
svg-animation-parseValues.svg | 4 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360"> 9 <rect fill="red" x="-19" y="-19" width="38" height="38"/> 12 <rect x="-20" y="-20" width="40" height="40"/>
|
/external/webkit/WebCore/platform/wx/wxcode/win/ |
fontprops.cpp | 109 void GetTextExtent( const wxFont& font, const wxString& str, wxCoord *width, wxCoord *height, 138 // just the bounding rect for this string so adjust the width as needed 142 ABC width; local 144 if ( ::GetCharABCWidths(dc, chFirst, chFirst, &width) ) 146 if ( width.abcA < 0 ) 147 sizeRect.cx -= width.abcA; 152 ::GetCharABCWidths(dc, chLast, chLast, &width); 154 //else: we already have the width of the last character 156 if ( width.abcC < 0 ) 157 sizeRect.cx -= width.abcC [all...] |
/frameworks/base/core/java/android/app/ |
IWallpaperManager.aidl | 56 * minimum width and height for the wallpaper. 58 void setDimensionHints(in int width, in int height); 61 * Returns the desired minimum width for the wallpaper.
|
/frameworks/base/core/java/android/inputmethodservice/ |
SoftInputWindow.java | 71 * return value is the height of the DockWindow, and its width is 72 * equal to the width of the screen; If the DockWindow sticks to the 73 * left or right of the screen, the return value is the width of the 82 return lp.width; 90 * <var>size</var> is the height of the DockWindow, and its width is 91 * equal to the width of the screen; If the DockWindow sticks to the 92 * left or right of the screen, <var>size</var> is the width of the 99 lp.width = -1; 102 lp.width = size; 126 int tmp = lp.width; [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PercentageBar.java | 58 int width = (int) ((this.getBounds().width() * percent) / 100); local 60 return Math.max(width, intrinsicWidth);
|
/packages/wallpapers/Basic/res/raw/ |
galaxy.rs | 105 float scale = State->galaxyRadius / (State->width * 0.5f); 114 void drawSpace(float xOffset, int width, int height) { 118 width, 0.0f, 0.0f, 2.0f, 1.0f, 119 width, height, 0.0f, 2.0f, 0.0f, 123 void drawLights(float xOffset, int width, int height) { 128 float scale = 512.0f / width; 140 void drawParticles(float xOffset, float offset, int width, int height) { 179 int width = State->width; 185 drawSpace(x, width, height) [all...] |
/external/webkit/WebCore/rendering/ |
RenderSVGRoot.cpp | 66 int width = calcReplacedWidth(false) + paddingAndBorders; local 69 width = min(width, style()->maxWidth().value() + (style()->boxSizing() == CONTENT_BOX ? paddingAndBorders : 0)); 71 if (style()->width().isPercent() || (style()->width().isAuto() && style()->height().isPercent())) { 73 m_maxPrefWidth = width; 75 m_minPrefWidth = m_maxPrefWidth = width; 89 int oldWidth = width(); 96 setWidth(static_cast<int>(width() * svg->currentScale())); 101 // if the outermost <svg> is using relative x/y/width/height values. Hence the additonal parameters 183 SVGLength width = svg->width(); local [all...] |
RenderImage.cpp | 132 IntSize imageSize(image->image()->width(), image->image()->height()); 150 double totalPixels = static_cast<double>(image->image()->width()) * static_cast<double>(image->image()->height()); 226 // Sets the image height and width to fit the alt text. Returns true if the 242 imageWidth += newImage->image()->width() * style()->effectiveZoom(); 249 imageWidth = max(imageWidth, min(font.width(TextRun(m_altText.characters(), m_altText.length())), maxAltTextWidth)); 290 int oldwidth = width(); 297 if (imageSizeChanged || width() != oldwidth || height() != oldheight) { 394 if (errorOccurred() && !image()->isNull() && (usableWidth >= image()->width()) && (usableHeight >= image()->height())) { 396 int centerX = (usableWidth - image()->width()) / 2; 419 int textWidth = font.width(textRun) 592 int width; local 638 int width; local [all...] |
/frameworks/base/docs/html/sdk/api_diff/5/changes/ |
android.provider.Contacts.ContactMethodsColumns.html | 82 <TABLE summary="Changed Fields" WIDTH="100%"> 87 <TD VALIGN="TOP" WIDTH="25%"> 90 <TD VALIGN="TOP" WIDTH="30%"> 96 <TD VALIGN="TOP" WIDTH="25%"> 99 <TD VALIGN="TOP" WIDTH="30%"> 105 <TD VALIGN="TOP" WIDTH="25%"> 108 <TD VALIGN="TOP" WIDTH="30%"> 114 <TD VALIGN="TOP" WIDTH="25%"> 117 <TD VALIGN="TOP" WIDTH="30%"> 123 <TD VALIGN="TOP" WIDTH="25%" [all...] |
android.provider.Contacts.PeopleColumns.html | 82 <TABLE summary="Changed Fields" WIDTH="100%"> 87 <TD VALIGN="TOP" WIDTH="25%"> 90 <TD VALIGN="TOP" WIDTH="30%"> 96 <TD VALIGN="TOP" WIDTH="25%"> 99 <TD VALIGN="TOP" WIDTH="30%"> 105 <TD VALIGN="TOP" WIDTH="25%"> 108 <TD VALIGN="TOP" WIDTH="30%"> 114 <TD VALIGN="TOP" WIDTH="25%"> 117 <TD VALIGN="TOP" WIDTH="30%"> 123 <TD VALIGN="TOP" WIDTH="25%" [all...] |
pkg_android.provider.html | 78 <TABLE summary="Added Classes and Interfaces" WIDTH="100%"> 83 <TD VALIGN="TOP" WIDTH="25%"> 90 <TD VALIGN="TOP" WIDTH="25%"> 97 <TD VALIGN="TOP" WIDTH="25%"> 104 <TD VALIGN="TOP" WIDTH="25%"> 111 <TD VALIGN="TOP" WIDTH="25%"> 118 <TD VALIGN="TOP" WIDTH="25%"> 125 <TD VALIGN="TOP" WIDTH="25%"> 132 <TD VALIGN="TOP" WIDTH="25%"> 139 <TD VALIGN="TOP" WIDTH="25%" [all...] |
android.hardware.Camera.Parameters.html | 80 <TABLE summary="Added Methods" WIDTH="100%"> 85 <TD VALIGN="TOP" WIDTH="25%"> 92 <TD VALIGN="TOP" WIDTH="25%"> 99 <TD VALIGN="TOP" WIDTH="25%"> 106 <TD VALIGN="TOP" WIDTH="25%"> 113 <TD VALIGN="TOP" WIDTH="25%"> 120 <TD VALIGN="TOP" WIDTH="25%"> 127 <TD VALIGN="TOP" WIDTH="25%"> 134 <TD VALIGN="TOP" WIDTH="25%"> 141 <TD VALIGN="TOP" WIDTH="25%" [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
Utilities.java | 72 static Bitmap centerToFit(Bitmap bitmap, int width, int height, Context context) { 76 if (bitmapWidth < width || bitmapHeight < height) { 79 Bitmap centered = Bitmap.createBitmap(bitmapWidth < width ? width : bitmapWidth, 84 canvas.drawBitmap(bitmap, (width - bitmapWidth) / 2.0f, (height - bitmapHeight) / 2.0f, 106 int width = sIconWidth; local 111 painter.setIntrinsicWidth(width); 126 if (width < sourceWidth || height < sourceHeight) { 130 height = (int) (width / ratio); 132 width = (int) (height * ratio) [all...] |
/frameworks/base/docs/html/sdk/api_diff/4/changes/ |
android.telephony.gsm.SmsManager.html | 81 <TABLE summary="Changed Methods" WIDTH="100%"> 86 <TD VALIGN="TOP" WIDTH="25%"> 90 <TD VALIGN="TOP" WIDTH="30%"> 96 <TD VALIGN="TOP" WIDTH="25%"> 100 <TD VALIGN="TOP" WIDTH="30%"> 106 <TD VALIGN="TOP" WIDTH="25%"> 110 <TD VALIGN="TOP" WIDTH="30%"> 116 <TD VALIGN="TOP" WIDTH="25%"> 120 <TD VALIGN="TOP" WIDTH="30%"> 126 <TD VALIGN="TOP" WIDTH="25%" [all...] |
/external/freetype/src/smooth/ |
ftsmooth.c | 108 FT_UInt width, height, height_org, width_org, pitch; local 143 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); 148 width_org = width; 159 pitch = width; 162 width = width * 3; 163 pitch = FT_PAD_CEIL( width, 4 ); 184 width += 3 * extra; 185 pitch = FT_PAD_CEIL( width, 4 ); 202 /* but we care realistic cases only. Always pitch <= width. * [all...] |
/external/webkit/WebCore/css/ |
CSSPropertyNames.in | 30 border-bottom-width 36 border-left-width 41 border-right-width 49 border-top-width 50 border-width 85 max-width 87 min-width 94 outline-width 122 text-line-through-width 128 text-overline-width [all...] |
/frameworks/base/docs/html/sdk/api_diff/3/changes/ |
android.view.ViewConfiguration.html | 79 <TABLE summary="Changed Constructors" WIDTH="100%"> 84 <TD VALIGN="TOP" WIDTH="25%"> 88 <TD VALIGN="TOP" WIDTH="30%"> 98 <TABLE summary="Added Methods" WIDTH="100%"> 103 <TD VALIGN="TOP" WIDTH="25%"> 110 <TD VALIGN="TOP" WIDTH="25%"> 117 <TD VALIGN="TOP" WIDTH="25%"> 124 <TD VALIGN="TOP" WIDTH="25%"> 131 <TD VALIGN="TOP" WIDTH="25%"> 138 <TD VALIGN="TOP" WIDTH="25%" [all...] |
pkg_android.widget.html | 78 <TABLE summary="Added Classes and Interfaces" WIDTH="100%"> 83 <TD VALIGN="TOP" WIDTH="25%"> 90 <TD VALIGN="TOP" WIDTH="25%"> 97 <TD VALIGN="TOP" WIDTH="25%"> 104 <TD VALIGN="TOP" WIDTH="25%"> 111 <TD VALIGN="TOP" WIDTH="25%"> 118 <TD VALIGN="TOP" WIDTH="25%"> 125 <TD VALIGN="TOP" WIDTH="25%"> 132 <TD VALIGN="TOP" WIDTH="25%"> 139 <TD VALIGN="TOP" WIDTH="25%" [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SumPathEffectTest.java | 40 private static final int WIDTH = 100; 49 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); 51 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); 55 path.addRect(10, 10, WIDTH - 10, HEIGHT - 10, Direction.CW); 75 for (int i = 0; i < WIDTH; i++) {
|
/development/ndk/platforms/android-9/include/android/ |
native_window.h | 40 int32_t width; member in struct:ANativeWindow_Buffer 46 // memory. This may be >= width. 71 * Return the current width in pixels of the window surface. Returns a 91 * The width and height control the number of pixels in the buffers, not the 99 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);
|