/external/skia/tests/ |
BitmapCopyTest.cpp | 134 REPORTER_ASSERT(reporter, src.width() == dst.width()); 155 REPORTER_ASSERT(reporter, subset.width() == 1); 161 REPORTER_ASSERT(reporter, copy.width() == 1); 176 REPORTER_ASSERT(reporter, dst.width() == 0);
|
/external/webkit/WebCore/page/wince/ |
FrameWince.cpp | 86 float ratio = (float)printRect.height() / (float)printRect.width(); 100 float docWidth = root->layer()->width(); 123 IntRect ir((int)fr.x(), (int)fr.y(), (int)fr.width(), (int)fr.height()); 132 w = ir.width() * view->scale() + 0.5; 136 w = ir.width();
|
/external/webkit/WebCore/platform/chromium/ |
ScrollbarThemeChromium.cpp | 57 return IntRect(scrollbar->x(), scrollbar->y(), size.width(), size.height()); 69 x = scrollbar->x() + scrollbar->width() - size.width(); 75 return IntRect(x, y, size.width(), size.height()); 90 if (rect.height() <= 0 || rect.width() <= 0)
|
/external/webkit/WebCore/platform/graphics/chromium/ |
SimpleFontDataChromiumWin.cpp | 159 int width = 0; local 160 if (!GetCharWidthI(dc, glyph, 1, 0, &width)) { 165 if (!GetCharWidthI(dc, glyph, 1, 0, &width)) 166 LOG_ERROR("Unable to get the char width after second attempt"); 173 return static_cast<float>(width);
|
/external/webkit/WebCore/platform/graphics/filters/ |
FEGaussianBlur.cpp | 116 unsigned sdx = static_cast<unsigned>(floor(m_x * filter->filterResolution().width() * 3 * sqrt(2 * piDouble) / 4.f + 0.5f)); 126 RefPtr<ImageData> tmpImageData = ImageData::create(imageRect.width(), imageRect.height()); 129 int stride = 4 * imageRect.width(); 131 boxBlur(srcPixelArray, tmpPixelArray, sdx, 4, stride, imageRect.width(), imageRect.height(), isAlphaImage()); 132 boxBlur(tmpPixelArray, srcPixelArray, sdy, stride, 4, imageRect.height(), imageRect.width(), isAlphaImage());
|
/external/webkit/WebCore/platform/graphics/haiku/ |
ImageHaiku.cpp | 133 uint32 width = image->Bounds().IntegerWidth() + 1; local 139 for (uint32 x = 0; x < width && !hasAlpha; x++) { 154 while (currentW < dstRect.x() + dstRect.width()) { 157 BRect bDstRect(currentW, currentH, currentW + width - 1, currentH + height - 1); 161 currentW += width;
|
/external/webkit/WebCore/platform/graphics/wx/ |
PathWx.cpp | 193 m_path->AddRectangle(rect.x(), rect.y(), rect.width(), rect.height()); 201 m_path->AddEllipse(rect.x(), rect.y(), rect.width(), rect.height()); 222 wxDouble width, height; local 223 m_path->GetBox(NULL, NULL, &width, &height); 224 return (width == 0 && height == 0);
|
/external/webkit/WebCore/platform/image-encoders/skia/ |
PNGImageEncoder.cpp | 109 image.getPixels()), IntSize(image.width(), image.height()), 127 if (inputColorComponents * imageSize.width() > bytesPerRow) { 157 png_set_IHDR(pngPtr, infoPtr, imageSize.width(), imageSize.height(), 8, pngOutputColorType, 162 OwnArrayPtr<unsigned char> rowPixels(new unsigned char[imageSize.width() * outputColorComponents]); 164 convertBetweenBGRAandRGBA(&input[y * bytesPerRow], imageSize.width(), rowPixels.get());
|
/external/webkit/WebCore/platform/wx/wxcode/gtk/ |
fontprops.cpp | 102 void GetTextExtent( const wxFont& font, const wxString& str, wxCoord *width, wxCoord *height, 105 if ( width ) 106 *width = 0; 129 *width = (wxCoord)extents.x_advance; 158 pango_layout_get_pixel_size( m_layout, width, &h );
|
/external/webkit/WebCore/plugins/gtk/ |
gtk2xtbin.h | 1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 94 gint width, height; member in struct:_GtkXtBin 109 gint width, 128 Dimension width, height; /* window dimensions */ member in struct:_CorePart 129 Dimension border_width; /* window border width */
|
/external/webkit/WebCore/rendering/style/ |
SVGRenderStyleDefs.cpp | 71 width = SVGRenderStyle::initialStrokeWidth(); 82 width = other.width; 93 (width == other.width) &&
|
/frameworks/base/awt/java/awt/ |
Shape.java | 55 * Checks whether or not the rectangle with specified [x, y, width, height] 63 * the width of rectangle. 137 * width, height] parameters intersects the interior of the Shape. 144 * the width of rectangle. 147 * @return true, if the rectangle specified by [x, y, width, height]
|
/frameworks/base/awt/java/awt/font/ |
TextMeasurer.java | 143 * Returns the graphical width of a line beginning at "start" parameter and 151 * @return the graphical width of a line beginning at "start" and including 167 * width. 172 * the graphical width in which the line must fit. 175 * graphical width.
|
/frameworks/base/awt/java/awt/image/ |
ComponentSampleModel.java | 82 * the width of the image data. 140 * the width of the image data. 178 if (x < 0 || y < 0 || x >= this.width || y >= this.height) { 265 if (x < 0 || y < 0 || x >= this.width || y >= this.height) { 322 return this.width == model.width && this.height == model.height 350 return new ComponentSampleModel(dataType, width, height, pixelStride, scanlineStride, 387 if (x < 0 || y < 0 || x >= this.width || y >= this.height) { 397 if (x < 0 || y < 0 || x >= this.width || y >= this.height) { 408 if (x < 0 || y < 0 || x >= this.width || y >= this.height) [all...] |
ImageConsumer.java | 111 * the width of rectangular area. 135 * the width of rectangular area. 154 * @param width 155 * the width of the image. 159 public void setDimensions(int width, int height);
|
/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
Glyph.java | 76 // width of the row 94 * Retruns precise width of this glyph object 146 * the width of the character: 148 * 2nd element = width of the glyph 201 * Returns width of the glyph in points.
|
/frameworks/base/core/java/android/gesture/ |
GestureStroke.java | 155 * @param width the width of the bounding box of the target path 161 public Path toPath(float width, float height, int numSample) { 167 float sx = width / rect.width();
|
/frameworks/base/media/libmediaplayerservice/ |
StagefrightRecorder.cpp | 85 status_t StagefrightRecorder::setVideoSize(int width, int height) { 86 mVideoWidth = width; 270 int32_t width, height; local 271 CHECK(meta->findInt32(kKeyWidth, &width)); 274 enc_meta->setInt32(kKeyWidth, width);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/include/ |
mp4dec_api.h | 130 int16 width; /* Width */ member in struct:tagVideoRefCopyInfoData 132 int16 realWidth; /* Non-padded width, not a multiple of 16. */ 150 OSCL_IMPORT_REF Bool PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode); 151 Bool PVAllocVideoData(VideoDecControls *decCtrl, int width, int height, int nLayers);
|
/frameworks/base/media/tests/omxjpegdecoder/ |
omx_jpeg_decoder.cpp | 103 int width; local 105 meta->findInt32(kKeyWidth, &width); 107 configBitmapSize(bm, getPrefConfig(k32Bit_SrcDepth, false), width, height); 186 int width, int height) { 187 bm->setConfig(getColorSpaceConfig(pref), width, height); local
|
/ndk/build/platforms/android-3/arch-arm/usr/include/linux/ |
videodev.h | 119 __s32 width, height; member in struct:video_clip 126 __u32 width,height; member in struct:video_window 141 __u32 width, height; member in struct:video_capture 151 int height,width; member in struct:video_buffer 159 int height,width; member in struct:video_mmap
|
/ndk/build/platforms/android-4/arch-arm/usr/include/linux/ |
videodev.h | 119 __s32 width, height; member in struct:video_clip 126 __u32 width,height; member in struct:video_window 141 __u32 width, height; member in struct:video_capture 151 int height,width; member in struct:video_buffer 159 int height,width; member in struct:video_mmap
|
/ndk/build/platforms/android-5/arch-arm/usr/include/linux/ |
videodev.h | 119 __s32 width, height; member in struct:video_clip 126 __u32 width,height; member in struct:video_window 141 __u32 width, height; member in struct:video_capture 151 int height,width; member in struct:video_buffer 159 int height,width; member in struct:video_mmap
|
/ndk/build/platforms/android-5/arch-x86/usr/include/linux/ |
videodev.h | 136 __s32 width, height; member in struct:video_clip 143 __u32 width,height; member in struct:video_window 158 __u32 width, height; member in struct:video_capture 168 int height,width; member in struct:video_buffer 176 int height,width; member in struct:video_mmap
|
/ndk/build/platforms/android-8/arch-arm/usr/include/linux/ |
videodev.h | 119 __s32 width, height; member in struct:video_clip 126 __u32 width,height; member in struct:video_window 141 __u32 width, height; member in struct:video_capture 151 int height,width; member in struct:video_buffer 159 int height,width; member in struct:video_mmap
|