/external/junit/src/junit/awtui/ |
ProgressBar.java | 34 g.fillRect(0, 0, r.width, r.height); 36 g.drawLine(0, 0, r.width-1, 0); 39 g.drawLine(r.width-1, 0, r.width-1, r.height-1); 40 g.drawLine(0, r.height-1, r.width-1, r.height-1); 46 g.fillRect(1, 1, r.width-1, r.height-2); 62 return Math.max(1, value*(getBounds().width-1)/fTotal);
|
/external/quake/quake/src/WinQuake/ |
vid_dos.h | 26 unsigned width;
member in struct:vmode_s 39 int x, int y, byte *pbitmap, int width,
42 int x, int y, int width, int height);
75 qboolean VGA_CheckAdequateMem (int width, int height, int rowbytes,
78 int y, byte *pbitmap, int width, int height);
80 int y, int width, int height);
81 void VGA_UpdateLinearScreen (void *srcptr, void *destptr, int width,
|
/external/skia/src/svg/ |
SkSVGSVG.cpp | 27 SVG_ATTRIBUTE(width), 43 SkScalar height, width; local 48 const char* wSuffix = SkParse::FindScalar(f_width.c_str(), &width); 50 width = SkScalarMulDiv(width, SK_Scalar1 * 72, SK_Scalar1 * 96); 53 box.fLeft = SkScalarDiv(viewBox[0], width); 55 box.fRight = SkScalarDiv(viewBox[2], width);
|
/external/webkit/WebCore/css/ |
MediaFeatureNames.h | 33 macro(width, "width") \ 39 macro(device_width, "device-width") \ 45 macro(max_device_width, "max-device-width") \ 48 macro(max_width, "max-width") \ 54 macro(min_device_width, "min-device-width") \ 57 macro(min_width, "min-width") \
|
/external/webkit/WebCore/rendering/style/ |
StyleGeneratedImage.cpp | 44 int width = fixedSize.width() * multiplier; local 47 // Don't let images that have a width/height >= 1 shrink below 1 when zoomed. 48 if (fixedSize.width() > 0) 49 width = max(1, width); 54 return IntSize(width, height);
|
BorderValue.h | 36 : width(3) 42 unsigned width : 12; 49 return width != 0 && (!checkStyle || m_style != BNONE); 64 return width == o.width && m_style == o.m_style && color == o.color;
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
PathShape.java | 41 * @param stdWidth the standard width for the shape. Any changes to the 42 * width with resize() will result in a width scaled based 43 * on the new width divided by this width. 63 protected void onResize(float width, float height) { 64 mScaleX = width / mStdWidth;
|
/external/skia/src/core/ |
SkBlitter_ARGB32.cpp | 69 void SkARGB32_Blitter::blitH(int x, int y, int width) { 70 SkASSERT(x >= 0 && y >= 0 && x + width <= fDevice.width()); 72 SkBlitRow::Color32(fDevice.getAddr32(x, y), width, fPMColor); 161 int width = clip.width(); local 167 unsigned devRB = fDevice.rowBytes() - (width << 2); 168 unsigned maskRB = mask.fRowBytes - width; 171 int w = width; 193 int width = clip.width() local 314 unsigned width = clip.width(); local [all...] |
SkPathEffect.cpp | 56 bool SkComposePathEffect::filterPath(SkPath* dst, const SkPath& src, SkScalar* width) 61 if (fPE1->filterPath(&tmp, src, width)) 63 return fPE0->filterPath(dst, *ptr, width); 68 bool SkSumPathEffect::filterPath(SkPath* dst, const SkPath& src, SkScalar* width) 71 return fPE0->filterPath(dst, src, width) | fPE1->filterPath(dst, src, width); 84 SkStrokePathEffect::SkStrokePathEffect(SkScalar width, SkPaint::Style style, SkPaint::Join join, SkPaint::Cap cap, SkScalar miter) 85 : fWidth(width), fMiter(miter), fStyle(SkToU8(style)), fJoin(SkToU8(join)), fCap(SkToU8(cap)) 91 bool SkStrokePathEffect::filterPath(SkPath* dst, const SkPath& src, SkScalar* width) 98 *width = 0 [all...] |
/frameworks/base/opengl/libs/GLES2/ |
gl2ext_api.in | 22 void API_ENTRY(glTexImage3DOES)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels) { 23 CALL_GL_API(glTexImage3DOES, target, level, internalformat, width, height, depth, border, format, type, pixels); 25 void API_ENTRY(glTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels) { 26 CALL_GL_API(glTexSubImage3DOES, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); 28 void API_ENTRY(glCopyTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { 29 CALL_GL_API(glCopyTexSubImage3DOES, target, level, xoffset, yoffset, zoffset, x, y, width, height); 31 void API_ENTRY(glCompressedTexImage3DOES)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data) { 32 CALL_GL_API(glCompressedTexImage3DOES, target, level, internalformat, width, height, depth, border, imageSize, data); 34 void API_ENTRY(glCompressedTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data) { 35 CALL_GL_API(glCompressedTexSubImage3DOES, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data) [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
RotatePane.java | 39 int width = right - left; local 44 mChild.layout(0, 0, width, height); 48 mChild.layout(0, 0, height, width); 79 float width = getWidth(); local 83 matrix.preRotate(180, width / 2, height / 2); 89 matrix.preRotate(90, width / 2, width / 2); 100 float width = getWidth(); local 103 case DOWN: event.setLocation(width - x, height - y); break; 105 case RIGHT: event.setLocation(y, width - x); break [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
Formatter.java | 59 * argument index, optional flags, an optional width, an optional precision, and a mandatory 61 * In the example, {@code "%s"} has no flags, no width, and no precision, while 62 * {@code "%03d"} has the flag {@code 0}, the width 3, and no precision. 64 * Not all combinations of argument index, flags, width, precision, and conversion type 77 * <table BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 80 * <td width="5%">{@code ,}</td> 81 * <td width="25%">Use grouping separators for large numbers. (Decimal only.)</td> 82 * <td width="30%">{@code format("%,d", 1024);}</td> 83 * <td width="30%">{@code 1,234}</td> 86 * <td width="5%">{@code +}</td 1168 private int width = UNSET; field in class:Formatter.FormatToken 1595 int width = formatToken.getWidth(); local [all...] |
/development/simulator/app/ |
DeviceWindow.cpp | 120 int width, height; local 122 pEventWindow->GetSize(&width, &height); 125 else if (pEvent->m_x >= width) 126 pEvent->m_x = width-1; 176 int width = onionSkinImage.GetWidth(); local 182 for (int i = (width * height) - 1; i >= 0; i--) { 205 int width, height; local 207 GetClientSize(&width, &height); 208 printf("Sim: device window resize: %dx%d\n", width, height); 210 mBitmap.Create(width, height) [all...] |
/external/webkit/WebCore/html/ |
ImageData.cpp | 34 PassRefPtr<ImageData> ImageData::create(unsigned width, unsigned height) 36 return adoptRef(new ImageData(width, height)); 39 ImageData::ImageData(unsigned width, unsigned height) 40 : m_width(width) 42 , m_data(CanvasPixelArray::create(width * height * 4))
|
/external/webkit/WebCore/manual-tests/ |
transitions2.html | 3 width: 50px; 9 width: 100px; 16 width: 100px; 18 -webkit-transition-property: width, height; 32 {className:"square", description:"animate to a square over 2 seconds. Try clicking before the first animation finishes and make sure the width doesn't do an ugly jump."},
|
/external/opencore/codecs_v2/video/m4v_h263/dec/src/ |
post_filter.cpp | 43 int width, height; local 50 width = video->width; 52 size = (int32)width * height; 75 CombinedHorzVertRingFilter(output, width, height, QP_store, 0, pp_mod); 83 CombinedHorzVertFilter(output, width, height, 88 CombinedHorzVertFilter_NoSoftDeblocking(output, width, height, 94 Deringing_Luma(output, width, height, QP_store, 107 CombinedHorzVertRingFilter(output, (int)(width >> 1), (int)(height >> 1), QP_store, (int) 1, pp_mod); 115 CombinedHorzVertFilter(output, (int)(width >> 1) [all...] |
deringing_chroma.cpp | 25 int width, 48 incr = width - BLKSIZE; 55 for (h_blk = 0; h_blk < width; h_blk += BLKSIZE) 60 FindMaxMin(ptr, &min_blk, &max_blk, width); 70 addr_v = (int32)v_pel * width; 75 pelu = *(ptr - width); 77 pell = *(ptr + width); 82 pelu = *(ptr - width); 84 pell = *(ptr + width); 91 pelu = *(ptr - width); [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
post_filter.cpp | 43 int width, height; local 50 width = video->width; 52 size = (int32)width * height; 75 CombinedHorzVertRingFilter(output, width, height, QP_store, 0, pp_mod); 83 CombinedHorzVertFilter(output, width, height, 88 CombinedHorzVertFilter_NoSoftDeblocking(output, width, height, 94 Deringing_Luma(output, width, height, QP_store, 107 CombinedHorzVertRingFilter(output, (int)(width >> 1), (int)(height >> 1), QP_store, (int) 1, pp_mod); 115 CombinedHorzVertFilter(output, (int)(width >> 1) [all...] |
deringing_chroma.cpp | 25 int width, 47 incr = width - BLKSIZE; 54 for (h_blk = 0; h_blk < width; h_blk += BLKSIZE) 59 FindMaxMin(ptr, &min_blk, &max_blk, width); 69 addr_v = (int32)v_pel * width; 74 pelu = *(ptr - width); 76 pell = *(ptr + width); 81 pelu = *(ptr - width); 83 pell = *(ptr + width); 90 pelu = *(ptr - width); [all...] |
/frameworks/base/awt/java/awt/ |
Graphics.java | 59 * origin point with coordinates X,Y and the given width and height. The 68 * @param width 69 * the width of clipping area. 74 public Graphics create(int x, int y, int width, int height) { 77 res.clipRect(0, 0, width, height); 88 * @param width 89 * the width of rectangle. 96 public void draw3DRect(int x, int y, int width, int height, boolean raised) { 98 // The resulting rect is (width+1)x(height+1). Stroke and paint 115 fillRect(x, y, width, 1) [all...] |
/frameworks/base/docs/html/sdk/api_diff/4/changes/ |
android.telephony.gsm.SmsMessage.html | 80 <TABLE summary="Changed Constructors" WIDTH="100%"> 85 <TD VALIGN="TOP" WIDTH="25%"> 89 <TD VALIGN="TOP" WIDTH="30%"> 99 <TABLE summary="Changed Methods" WIDTH="100%"> 104 <TD VALIGN="TOP" WIDTH="25%"> 108 <TD VALIGN="TOP" WIDTH="30%"> 114 <TD VALIGN="TOP" WIDTH="25%"> 118 <TD VALIGN="TOP" WIDTH="30%"> 124 <TD VALIGN="TOP" WIDTH="25%"> 128 <TD VALIGN="TOP" WIDTH="30%" [all...] |
/external/webkit/WebCore/platform/graphics/ |
SimpleFontData.cpp | 114 // Treat the width of a '0' as the avgCharWidth. 122 // If we can't retrieve the width of a '0', fall back to the x height. 146 // every character and the space are the same width. Otherwise we round. 148 float width = widthForGlyph(m_spaceGlyph); local 149 m_spaceWidth = width; 151 m_adjustedSpaceWidth = m_treatAsFixedPitch ? ceilf(width) : roundf(width); 153 // Force the glyph for ZERO WIDTH SPACE to have zero width, unless it is shared with SPACE. 154 // Helvetica is an example of a non-zero width ZERO WIDTH SPACE glyph [all...] |
/frameworks/base/awt/java/awt/geom/ |
Rectangle2D.java | 81 * The width of the rectangle. 83 public float width; field in class:Rectangle2D.Float 103 * @param width 104 * the width of the rectangle. 108 public Float(float x, float y, float width, float height) { 109 setRect(x, y, width, height); 124 return width; 134 return width <= 0.0f || height <= 0.0f; 144 * @param width 145 * the width of the rectangle 256 public double width; field in class:Rectangle2D.Double 397 double width; field in class:Rectangle2D.Iterator [all...] |
/frameworks/base/docs/html/sdk/api_diff/3/changes/ |
android.provider.Settings.System.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%"> 110 <TABLE summary="Added Fields" WIDTH="100%"> 115 <TD VALIGN="TOP" WIDTH="25%"> 122 <TD VALIGN="TOP" WIDTH="25%"> 129 <TD VALIGN="TOP" WIDTH="25%"> 136 <TD VALIGN="TOP" WIDTH="25%"> 143 <TD VALIGN="TOP" WIDTH="25%" [all...] |
/packages/wallpapers/Basic/res/raw/ |
distort.rs | 58 int offset(int x, int y, int width) { 59 return x + 1 + (y + 1) * (width + 2); 72 float width = State->glWidth; 78 leaf->x = randf2(-width * 0.5f, width * 0.5f); 94 int width = State->meshWidth; 99 if (x >= width - r) x = width - r - 1; 102 x = width - x; 106 int origin = offset(0, 0, width); [all...] |