/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...] |
/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...] |
/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/chromium/base/gfx/ |
rect.cc | 38 Rect::Rect(int width, int height) { 39 set_width(width); 43 Rect::Rect(int x, int y, int width, int height) 45 set_width(width); 69 set_width(r.size.width); 75 set_width(r.size.width); 82 set_width(r.width); 88 set_width(r.width); 94 void Rect::set_width(int width) { 95 size_.set_width(width); [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/webkit/WebCore/rendering/style/ |
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/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/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/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...] |
/external/webkit/WebCore/rendering/ |
FixedTableLayout.cpp | 37 table's width, the width of the columns, and borders or cell 40 The table's width may be specified explicitly with the 'width' 44 In the fixed table layout algorithm, the width of each column is 47 1. A column element with a value other than 'auto' for the 'width' 48 property sets the width for that column. 51 'auto' for the 'width' property sets the width for that column. If 52 the cell spans more than one column, the width is divided over th [all...] |
RenderVideo.cpp | 60 // width and height attributes of the video element as the intrinsic size until 64 setIntrinsicSize(IntSize(video->width(), video->height())); 132 int ratio = renderBox.width() * elementSize.height() - renderBox.height() * elementSize.width(); 134 int newWidth = renderBox.height() * elementSize.width() / elementSize.height(); 136 if (renderBox.width() - newWidth > 2) 138 renderBox.move((contentRect.width() - renderBox.width()) / 2, 0); 140 int newHeight = renderBox.width() * elementSize.height() / elementSize.width(); 213 int width; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
SDL_ph_modes.c | 48 if (mode1_info.width == mode2_info.width) 54 return mode2_info.width - mode1_info.width; 86 Amodelist[j].w = mode_info.width; 94 /* reorder biggest for smallest, assume width dominates */ 113 /* return the mode associated with width, height and bpp */ 115 int ph_GetVideoMode(int width, int height, int bpp) 127 if ((width==640) && (height==400)) 140 if ((mode_info.width == width) && (mode_info.height == height) && [all...] |
/frameworks/base/docs/html/sdk/api_diff/5/changes/ |
android.provider.Contacts.Intents.Insert.html | 80 <TABLE summary="Changed Constructors" WIDTH="100%"> 85 <TD VALIGN="TOP" WIDTH="25%"> 89 <TD VALIGN="TOP" WIDTH="30%"> 100 <TABLE summary="Changed Fields" WIDTH="100%"> 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%"> 126 <TD VALIGN="TOP" WIDTH="30%" [all...] |
/external/quake/quake/src/WinQuake/ |
draw.cpp | 28 int width; member in struct:__anon6833 118 r_rectdesc.width = draw_backtile->width; 121 r_rectdesc.rowbytes = draw_backtile->width; 149 if (y > vid.height - 8 || x < 0 || x > vid.width - 8) 296 (x + pic->width > vid.width) || 311 Q_memcpy (dest, source, pic->width); 313 source += pic->width; 323 for (u=0 ; u<pic->width ; u++ 742 int width, height, tileoffsetx, tileoffsety; local [all...] |
/external/proguard/docs/ |
alternatives.html | 39 <td align="center"><img src="checkmark.gif" width="11" height="11" alt="x"></td> 40 <td align="center"><img src="checkmark.gif" width="11" height="11" alt="x"></td> 41 <td align="center"><img src="checkmark.gif" width="11" height="11" alt="x"></td> 42 <td align="center"><img src="checkmark.gif" width="11" height="11" alt="x"></td> 49 <td align="center"><img src="checkmark.gif" width="11" height="11" alt="x"></td> 50 <td align="center"><img src="checkmark.gif" width="11" height="11" alt="x"></td> 51 <td align="center"><img src="checkmark.gif" width="11" height="11" alt="x"></td> 59 <td align="center"><img src="checkmark.gif" width="11" height="11" alt="x"></td> 60 <td align="center"><img src="checkmark.gif" width="11" height="11" alt="x"></td> 61 <td align="center"><img src="checkmark.gif" width="11" height="11" alt="x"></td [all...] |
/external/libvpx/vp8/common/ |
extend.c | 21 int w, /* width */ 75 void vp8_extend_to_multiple_of16(YV12_BUFFER_CONFIG *ybf, int width, int height) 77 int er = 0xf & (16 - (width & 0xf)); 83 extend_plane_borders(ybf->y_buffer, ybf->y_stride, height, width, 0, 0, eb, er); 87 width = (width + 1) >> 1; 88 er = 0x7 & (8 - (width & 0x7)); 93 extend_plane_borders(ybf->u_buffer, ybf->uv_stride, height, width, 0, 0, eb, er); 94 extend_plane_borders(ybf->v_buffer, ybf->uv_stride, height, width, 0, 0, eb, er);
|
/external/proguard/src/proguard/gui/splash/ |
OverrideGraphics2D.java | 220 public Graphics create(int x, int y, int width, int height) 222 OverrideGraphics2D g = new OverrideGraphics2D((Graphics2D)graphics.create(x, y, width, height)); 239 public void clearRect(int x, int y, int width, int height) 241 graphics.clearRect(x, y, width, height); 249 public void clipRect(int x, int y, int width, int height) 251 graphics.clipRect(x, y, width, height); 254 public void copyArea(int x, int y, int width, int height, int dx, int dy) 256 graphics.copyArea(x, y, width, height, dx, dy); 269 public void draw3DRect(int x, int y, int width, int height, boolean raised) 271 graphics.draw3DRect(x, y, width, height, raised) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_blit_1.c | 36 int width, height; local 41 width = info->d_width; 57 , width); 59 for ( c=width; c; --c ) { 82 int width, height; local 88 width = info->d_width; 103 width); 110 /* Don't do anything if width is 0 */ 111 if ( width == 0 ) { 114 --width; 192 int width, height; local 236 int width, height; local 278 int width = info->d_width; local 320 int width = info->d_width; local 349 int width = info->d_width; local 379 int width = info->d_width; local 408 int width = info->d_width; local 446 int width = info->d_width; local [all...] |
/external/skia/src/images/ |
SkImageDecoder_libbmp.cpp | 61 virtual uint8* SetSize(int width, int height) { 62 fWidth = width; 68 fRGB.setCount(width * height * 3); // 3 == r, g, b 72 int width() const { return fWidth; } function in class:SkBmpDecoderCallback 98 const int max_pixels = 16383*16383; // max width*height 109 int width = callback.width(); local 119 SkScaledBitmapSampler sampler(width, height, getSampleSize()); 137 const int srcRowBytes = width * 3;
|