/external/chromium_org/third_party/skia/include/core/ |
SkSize.h | 14 T fWidth; 19 s.fWidth = w; 25 fWidth = w; 29 /** Returns true iff fWidth == 0 && fHeight == 0 32 return 0 == fWidth && 0 == fHeight; 37 return fWidth <= 0 || fHeight <= 0; 42 fWidth = fHeight = 0; 45 T width() const { return fWidth; } 50 if (fWidth < 0) { 51 fWidth = 0 [all...] |
SkImageInfo.h | 156 : fWidth(0) 199 int width() const { return fWidth; } 204 bool isEmpty() const { return fWidth <= 0 || fHeight <= 0; } 210 SkISize dimensions() const { return SkISize::Make(fWidth, fHeight); } 221 return SkImageInfo::Make(fWidth, fHeight, fColorType, newAlphaType); 225 return SkImageInfo::Make(fWidth, fHeight, newColorType, fAlphaType); 233 return sk_64_mul(fWidth, this->bytesPerPixel()); 254 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * this->bytesPerPixel(); 262 uint64_t rb = sk_64_mul(fWidth, this->bytesPerPixel()); 273 int fWidth; [all...] |
SkStrokeRec.h | 38 SkScalar getWidth() const { return fWidth; } 89 return fWidth == other.fWidth && 100 SkScalar fWidth;
|
SkImage.h | 59 int width() const { return fWidth; } 108 fWidth(width), 117 const int fWidth;
|
/external/chromium_org/third_party/skia/src/core/ |
SkStrokeRec.cpp | 15 fWidth = (kFill_InitStyle == s) ? kStrokeRec_FillStyleWidth : 0; 37 fWidth = kStrokeRec_FillStyleWidth; 41 fWidth = paint.getStrokeWidth(); 47 fWidth = kStrokeRec_FillStyleWidth; 50 fWidth = paint.getStrokeWidth(); 57 fWidth = kStrokeRec_FillStyleWidth; 69 if (fWidth < 0) { 71 } else if (0 == fWidth) { 79 fWidth = kStrokeRec_FillStyleWidth; 84 fWidth = 0 [all...] |
SkBitmapFilter.h | 24 : fWidth(width), fInvWidth(1.f/width) { 47 float width() const { return fWidth; } 54 float fWidth; 119 return SkTMax(0.f, fWidth - fabsf(x)); 131 return (x >= -fWidth && x < fWidth) ? 1.0f : 0.0f; 142 if (x <= -fWidth || x >= fWidth) { 151 (0.54f + 0.46f * sk_float_cos(xpi / fWidth))); // hamming(x) 162 if (x <= -fWidth || x >= fWidth) [all...] |
SkAlphaRuns.cpp | 23 SkDEBUGCODE(fWidth = width;) 60 SkASSERT(fWidth > 0); 68 SkASSERT(count <= fWidth); 71 SkASSERT(count == fWidth);
|
SkImageGenerator.cpp | 82 ((sizes[0].fWidth >= 0) && 84 (sizes[1].fWidth >= 0) && 86 (sizes[2].fWidth >= 0) && 88 (rowBytes[0] >= (size_t)sizes[0].fWidth) && 89 (rowBytes[1] >= (size_t)sizes[1].fWidth) && 90 (rowBytes[2] >= (size_t)sizes[2].fWidth)));
|
SkMipMap.h | 23 uint32_t fWidth, fHeight;
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrRectanizer.h | 17 GrRectanizer(int width, int height) : fWidth(width), fHeight(height) { 26 int width() const { return fWidth; } 40 int fWidth;
|
GrRectanizer_skyline.cpp | 27 if (y < bestY || (y == bestY && fSkyline[i].fWidth < bestWidth)) { 29 bestWidth = fSkyline[i].fWidth; 65 widthLeft -= fSkyline[i].fWidth; 78 newSegment.fWidth = width; 81 SkASSERT(newSegment.fX + newSegment.fWidth <= this->width()); 89 if (fSkyline[i].fX < fSkyline[i-1].fX + fSkyline[i-1].fWidth) { 90 int shrink = fSkyline[i-1].fX + fSkyline[i-1].fWidth - fSkyline[i].fX; 93 fSkyline[i].fWidth -= shrink; 95 if (fSkyline[i].fWidth <= 0) { 111 fSkyline[i].fWidth += fSkyline[i+1].fWidth [all...] |
GrRectanizer_skyline.h | 30 seg->fWidth = this->width(); 43 int fWidth;
|
GrStencilBuffer.h | 27 int width() const { return fWidth; } 58 , fWidth(width) 68 int fWidth;
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGLIRect.h | 23 GrGLsizei fWidth; 27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); 31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); 49 fWidth = width; 58 SkASSERT(fWidth >= 0); 66 fLeft + fWidth >= glRect.fLeft + glRect.fWidth && 70 void invalidate() {fLeft = fWidth = fBottom = fHeight = -1;}
|
/external/chromium_org/third_party/skia/src/images/ |
SkPageFlipper.cpp | 13 fWidth = 0; 23 fWidth = width; 33 fWidth = width; 42 fDirty1->setRect(0, 0, fWidth, fHeight); 47 r.set(0, 0, fWidth, fHeight); 55 r.setRect(0, 0, fWidth, fHeight);
|
/external/chromium_org/third_party/skia/include/images/ |
SkPageFlipper.h | 29 int width() const { return fWidth; } 58 int fWidth;
|
SkMovie.h | 57 int fWidth;
|
/external/chromium_org/third_party/skia/tests/ |
MipMapTest.cpp | 43 REPORTER_ASSERT(reporter, level.fWidth > 0); 45 REPORTER_ASSERT(reporter, level.fRowBytes >= level.fWidth * 4); 48 REPORTER_ASSERT(reporter, level.fWidth <= prevLevel.fWidth);
|
SizeTest.cpp | 31 a.fWidth == b.fWidth && a.fHeight == b.fHeight); 57 a.fWidth == b.fWidth && a.fHeight == b.fHeight);
|
/external/chromium_org/third_party/skia/platform_tools/nacl/src/ |
nacl_hello.cpp | 87 if (position.size().width() == fWidth && 91 fWidth = position.size().width(); 93 fDeviceContext = pp::Graphics2D(this, pp::Size(fWidth, fHeight), false); 100 pp::Size(fWidth, fHeight), false); 101 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, fWidth, fHeight); 122 int fWidth;
|
nacl_debugger.cpp | 155 if (position.size().width() == fWidth && 159 fWidth = position.size().width(); 162 fDeviceContext = pp::Graphics2D(this, pp::Size(fWidth, fHeight), false); 169 pp::Size(fWidth, fHeight), false); 170 const SkImageInfo info = SkImageInfo::MakeN32Premul(fWidth, fHeight); 191 int fWidth;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
GaneshUtils.cpp | 49 desc.fWidth = size.width(); 55 SkImageInfo info = SkImageInfo::MakeN32Premul(desc.fWidth, desc.fHeight);
|
/external/chromium_org/third_party/skia/include/ports/ |
SkFontStyle.h | 52 int width() const { return fUnion.fR.fWidth; } 63 uint8_t fWidth; // 1 .. 9
|
/external/chromium_org/third_party/icu/source/io/ |
uscanf_p.c | 82 int32_t fWidth; /* Width */ 123 info->fWidth = -1; 190 info->fWidth = (int) (*s++ - DIGIT_ZERO); 193 info->fWidth *= 10; 194 info->fWidth += (int) (*s++ - DIGIT_ZERO); 401 *(int16_t*)(args[0].ptrValue) = (int16_t)(UINT16_MAX & info->fWidth); 403 *(int64_t*)(args[0].ptrValue) = info->fWidth; 405 *(int32_t*)(args[0].ptrValue) = (int32_t)(UINT32_MAX & info->fWidth); 439 if(info->fWidth != -1) 440 len = ufmt_min(len, info->fWidth); [all...] |
/external/icu/icu4c/source/io/ |
uscanf_p.c | 82 int32_t fWidth; /* Width */ 123 info->fWidth = -1; 190 info->fWidth = (int) (*s++ - DIGIT_ZERO); 193 info->fWidth *= 10; 194 info->fWidth += (int) (*s++ - DIGIT_ZERO); 401 *(int16_t*)(args[0].ptrValue) = (int16_t)(UINT16_MAX & info->fWidth); 403 *(int64_t*)(args[0].ptrValue) = info->fWidth; 405 *(int32_t*)(args[0].ptrValue) = (int32_t)(UINT32_MAX & info->fWidth); 439 if(info->fWidth != -1) 440 len = ufmt_min(len, info->fWidth); [all...] |