/frameworks/base/graphics/java/android/graphics/ |
Bitmap.java | 200 * Common code for checking that width and height are > 0 202 * @param width width to ensure is > 0 205 private static void checkWidthHeight(int width, int height) { 206 if (width <= 0) { 207 throw new IllegalArgumentException("width must be > 0"); 335 final int width = src.getWidth(); local 337 final float sx = dstWidth / (float)width; 340 Bitmap b = Bitmap.createBitmap(src, 0, 0, width, height, m, filter); 370 * @param width The number of pixels in each ro [all...] |
/build/tools/rgb2565/ |
to565.c | 41 void to_565_raw_dither(int width) 48 int* error = malloc((width+2) * 3 * sizeof(int)); 49 int* next_error = malloc((width+2) * 3 * sizeof(int)); 50 memset(error, 0, (width+2) * 3 * sizeof(int)); 51 memset(next_error, 0, (width+2) * 3 * sizeof(int)); 52 error += 3; // array goes from [-3..((width+1)*3+2)] 87 if (i == width) { 90 memset(next_error, 0, (width+1) * 3 * sizeof(int));
|
/cts/tools/signature-tools/templates/ |
Styles.st | 25 width: 100%; 39 width: 100%;
|
/development/tools/yuv420sp2rgb/ |
cmdline.c | 15 {"width", required_argument, 0, 'w'}, 28 "image width in pixels", 40 "\t%s infile --height <height> --width <width> --output <outfile> -t <ppm|grb|argb> [ --gray ] [ --rotate <degrees> ] [ --verbose ]\n" 60 int *width, 69 ASSERT(width); *width = -1; 127 SET_INT_OPTION(width);
|
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/ |
xme.h | 26 unsigned short width; member in struct:__anon4451 38 int width, int height, int refresh);
|
/external/skia/include/core/ |
SkPathEffect.h | 37 /** Given a src path and a width value, return true if the patheffect 38 has produced a new path (dst) and a new width value. If false is returned, 39 ignore dst and width. 40 On input, width >= 0 means the src should be stroked 41 On output, width >= 0 means the dst should be stroked 43 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width) = 0; 90 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width); 125 virtual bool filterPath(SkPath* dst, const SkPath& src, SkScalar* width);
|
/external/webkit/SunSpider/tests/sunspider-0.9/ |
access-nsieve.js | 6 function pad(number,width){ 8 var prefixWidth = width - s.length;
|
bitops-nsieve-bits.js | 6 function pad(n,width) { 8 while (s.length < width) s = ' ' + s;
|
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
access-nsieve.js | 6 function pad(number,width){ 8 var prefixWidth = width - s.length;
|
bitops-nsieve-bits.js | 6 function pad(n,width) { 8 while (s.length < width) s = ' ' + s;
|
/external/webkit/WebCore/manual-tests/ |
input-type-file-drag-drop.html | 2 <div style="background-color: black;" width="300"> 5 <div style="background-color: blue;" width="300">
|
open-after-close.html | 6 var w = window.open(url, 'popup', "height=200, width=200, top=100, left=100"); 8 window.open(url, 'popup', "height=200, width=200, top=100, left=100");
|
scrollIntoView-vertical.html | 19 <div id="purplebox" style="background-color:purple; width: 300px; height: 100px;"> 24 <div style="height: 500px; width: 500px; border: 1px solid;">here is a big empty div</div> 26 <div id="greenbox" style="background-color:green; width: 300px; height: 100px;"> 30 <div style="height: 500px; width: 500px; border: 1px solid;">here is a big empty div</div> 32 <div id="yellowbox" style="background-color:yellow; width: 300px; height: 100px;"> 36 <div style="height: 500px; width: 500px; border: 1px solid;">here is a big empty div</div> 38 <div id="orangebox" style="background-color:orange; width: 300px; height: 100px;"> 42 <div style="height: 500px; width: 500px; border: 1px solid;">here is a big empty div</div>
|
/external/webkit/WebCore/rendering/style/ |
BorderData.h | 56 if (topLeft.width() > 0) 58 if (topRight.width() > 0) 60 if (bottomLeft.width() > 0) 62 if (bottomRight.width() > 0) 71 return left.width; 78 return right.width; 85 return top.width; 92 return bottom.width;
|
/external/webkit/WebKit/android/ |
RenderSkinCombo.cpp | 60 int width = s_bitmap[kNormal].width(); local 62 s_subset.set(width - RenderSkinCombo::extraWidth() + s_margin, 0, width, height); 66 bool RenderSkinCombo::Draw(SkCanvas* canvas, Node* element, int x, int y, int width, int height) 77 bounds.set(SkIntToScalar(x+1), SkIntToScalar(y+1), SkIntToScalar(x + width-1), SkIntToScalar(y + height-1)); 83 bounds.set(SkIntToScalar(x), SkIntToScalar(y), SkIntToScalar(x + width), SkIntToScalar(y + height)); 89 bounds.fLeft += SkIntToScalar(width - RenderSkinCombo::extraWidth());
|
/external/webkit/WebKit/gtk/resources/ |
error.html | 13 min-width: 35em; 14 max-width: 35em;
|
/external/webkit/WebKitExamplePlugins/NetscapeCoreAnimationMoviePlugin/ |
test.html | 9 <embed width="848" height="480" movieurl="http://movies.apple.com/movies/disney/up/up-tlr2_480p.mov" 12 <embed width="1280" height="720" movieurl="http://movies.apple.com/movies/disney/up/up-tlr2_720p.mov"
|
/frameworks/base/awt/java/awt/image/ |
ImageObserver.java | 35 * The Constant WIDTH indicates that the width of the image is available. 37 public static final int WIDTH = 1; 40 * The Constant HEIGHT indicates that the width of the image is available. 88 * WIDTH. 93 * @param width 94 * the width. 99 public boolean imageUpdate(Image img, int infoflags, int x, int y, int width, int height);
|
/frameworks/base/core/res/res/raw/ |
loaderror.html | 3 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
|
nodomain.html | 3 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
|
/frameworks/base/docs/html/sdk/api_diff/4/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...] |
/frameworks/base/opengl/java/android/opengl/ |
Texture.java | 33 private int width, height, bpp; field in class:Texture 41 // width 46 // pixel (width - 1, height - 1) 53 this.width = readInt16(is); 57 int npixels = width*height; 90 int width, int height, 114 width, height, 128 width, height,
|
/frameworks/base/opengl/libagl/ |
dxt.h | 27 bool DXT1HasAlpha(const GLvoid *data, int width, int height); 28 void decodeDXT(const GLvoid *data, int width, int height,
|
/packages/apps/Camera/src/com/android/camera/ui/ |
FrameTexture.java | 33 public void setSize(int width, int height) { 34 super.setSize(width, height);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/ |
FallWallpaper.java | 23 protected RenderScriptScene createScene(int width, int height) { 24 return new FallRS(width, height);
|