/external/pdfium/fpdfsdk/src/pdfwindow/ |
D | PWL_Utils.cpp | 143 FX_FLOAT fWidth = crBBox.right - crBBox.left; in GetAP_Check() local 193 pts[j].x *= fWidth; in GetAP_Check() 226 FX_FLOAT fWidth = crBBox.right - crBBox.left; in GetAP_Circle() local 230 CPDF_Point pt2(crBBox.left + fWidth / 2,crBBox.top); in GetAP_Circle() 232 CPDF_Point pt4(crBBox.left + fWidth / 2,crBBox.bottom); in GetAP_Circle() 283 FX_FLOAT fWidth = crBBox.right - crBBox.left; in GetAP_Diamond() local 287 CPDF_Point pt2(crBBox.left + fWidth / 2,crBBox.top); in GetAP_Diamond() 289 CPDF_Point pt4(crBBox.left + fWidth / 2,crBBox.bottom); in GetAP_Diamond() 349 FX_FLOAT fWidth = crBBox.right - crBBox.left; in GetAP_HalfCircle() local 352 CPDF_Point pt1(-fWidth/2,0); in GetAP_HalfCircle() [all …]
|
/external/skia/include/core/ |
D | SkSize.h | 14 T fWidth; member 19 s.fWidth = w; in Make() 25 fWidth = w; in set() 32 return 0 == fWidth && 0 == fHeight; in isZero() 37 return fWidth <= 0 || fHeight <= 0; in isEmpty() 42 fWidth = fHeight = 0; in setEmpty() 45 T width() const { return fWidth; } in width() 50 if (fWidth < 0) { in clampNegToZero() 51 fWidth = 0; in clampNegToZero() 59 return fWidth == w && fHeight == h; in equals() [all …]
|
D | SkImageInfo.h | 126 int fWidth; member 186 int width() const { return fWidth; } in width() 191 bool isEmpty() const { return fWidth <= 0 || fHeight <= 0; } in isEmpty() 197 SkISize dimensions() const { return SkISize::Make(fWidth, fHeight); } in dimensions() 212 return sk_64_mul(fWidth, this->bytesPerPixel()); in minRowBytes64() 233 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * this->bytesPerPixel(); in getSafeSize64() 241 uint64_t rb = sk_64_mul(fWidth, this->bytesPerPixel()); in validRowBytes()
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkSize.h | 14 T fWidth; member 19 s.fWidth = w; in Make() 25 fWidth = w; in set() 32 return 0 == fWidth && 0 == fHeight; in isZero() 37 return fWidth <= 0 || fHeight <= 0; in isEmpty() 42 fWidth = fHeight = 0; in setEmpty() 45 T width() const { return fWidth; } in width() 50 if (fWidth < 0) { in clampNegToZero() 51 fWidth = 0; in clampNegToZero() 59 return fWidth == w && fHeight == h; in equals() [all …]
|
D | SkImageInfo.h | 156 : fWidth(0) in SkImageInfo() 199 int width() const { return fWidth; } in width() 204 bool isEmpty() const { return fWidth <= 0 || fHeight <= 0; } in isEmpty() 210 SkISize dimensions() const { return SkISize::Make(fWidth, fHeight); } in dimensions() 221 return SkImageInfo::Make(fWidth, fHeight, fColorType, newAlphaType); in makeAlphaType() 225 return SkImageInfo::Make(fWidth, fHeight, newColorType, fAlphaType); in makeColorType() 233 return sk_64_mul(fWidth, this->bytesPerPixel()); in minRowBytes64() 254 return sk_64_mul(fHeight - 1, rowBytes) + fWidth * this->bytesPerPixel(); in getSafeSize64() 262 uint64_t rb = sk_64_mul(fWidth, this->bytesPerPixel()); in validRowBytes() 273 int fWidth; [all …]
|
/external/skia/src/core/ |
D | SkStrokeRec.cpp | 15 fWidth = (kFill_InitStyle == s) ? kStrokeRec_FillStyleWidth : 0; in SkStrokeRec() 37 fWidth = kStrokeRec_FillStyleWidth; in init() 41 fWidth = paint.getStrokeWidth(); in init() 47 fWidth = kStrokeRec_FillStyleWidth; in init() 50 fWidth = paint.getStrokeWidth(); in init() 57 fWidth = kStrokeRec_FillStyleWidth; in init() 69 if (fWidth < 0) { in getStyle() 71 } else if (0 == fWidth) { in getStyle() 79 fWidth = kStrokeRec_FillStyleWidth; in setFillStyle() 84 fWidth = 0; in setHairlineStyle() [all …]
|
D | SkBitmapFilter.h | 24 : fWidth(width), fInvWidth(1.f/width) { in SkBitmapFilter() 47 float width() const { return fWidth; } in width() 54 float fWidth; 119 return SkTMax(0.f, fWidth - fabsf(x)); in evaluate() 131 return (x >= -fWidth && x < fWidth) ? 1.0f : 0.0f; in evaluate() 142 if (x <= -fWidth || x >= fWidth) { in evaluate() 151 (0.54f + 0.46f * sk_float_cos(xpi / fWidth))); // hamming(x) in evaluate() 162 if (x <= -fWidth || x >= fWidth) { in evaluate() 170 sk_float_sin(xpi / fWidth) / (xpi / fWidth); // sinc(x/fWidth) in evaluate()
|
D | SkPicture.cpp | 130 fWidth = fHeight = 0; in SkPicture() 136 : fWidth(width) in SkPicture() 150 fWidth = src.fWidth; in SkPicture() 170 SkTSwap(fWidth, other.fWidth); in swap() 187 clone->fWidth = fWidth; in clone() 339 , fWidth(width) in SkPicture() 359 return SkNEW_ARGS(SkPicture, (playback, info.fWidth, info.fHeight)); in CreateFromStream() 379 return SkNEW_ARGS(SkPicture, (playback, info.fWidth, info.fHeight)); in CreateFromBuffer() 393 info->fWidth = fWidth; in createHeader()
|
D | SkAlphaRuns.cpp | 23 SkDEBUGCODE(fWidth = width;) in reset() 60 SkASSERT(fWidth > 0); in validate() 68 SkASSERT(count <= fWidth); in validate() 71 SkASSERT(count == fWidth); in validate()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkStrokeRec.cpp | 15 fWidth = (kFill_InitStyle == s) ? kStrokeRec_FillStyleWidth : 0; in SkStrokeRec() 37 fWidth = kStrokeRec_FillStyleWidth; in init() 41 fWidth = paint.getStrokeWidth(); in init() 47 fWidth = kStrokeRec_FillStyleWidth; in init() 50 fWidth = paint.getStrokeWidth(); in init() 57 fWidth = kStrokeRec_FillStyleWidth; in init() 69 if (fWidth < 0) { in getStyle() 71 } else if (0 == fWidth) { in getStyle() 79 fWidth = kStrokeRec_FillStyleWidth; in setFillStyle() 84 fWidth = 0; in setHairlineStyle() [all …]
|
D | SkBitmapFilter.h | 24 : fWidth(width), fInvWidth(1.f/width) { in SkBitmapFilter() 47 float width() const { return fWidth; } in width() 54 float fWidth; 119 return SkTMax(0.f, fWidth - fabsf(x)); in evaluate() 131 return (x >= -fWidth && x < fWidth) ? 1.0f : 0.0f; in evaluate() 142 if (x <= -fWidth || x >= fWidth) { in evaluate() 151 (0.54f + 0.46f * sk_float_cos(xpi / fWidth))); // hamming(x) in evaluate() 162 if (x <= -fWidth || x >= fWidth) { in evaluate() 170 sk_float_sin(xpi / fWidth) / (xpi / fWidth); // sinc(x/fWidth) in evaluate()
|
D | SkImageGenerator.cpp | 82 ((sizes[0].fWidth >= 0) && in getYUV8Planes() 84 (sizes[1].fWidth >= 0) && in getYUV8Planes() 86 (sizes[2].fWidth >= 0) && in getYUV8Planes() 88 (rowBytes[0] >= (size_t)sizes[0].fWidth) && in getYUV8Planes() 89 (rowBytes[1] >= (size_t)sizes[1].fWidth) && in getYUV8Planes() 90 (rowBytes[2] >= (size_t)sizes[2].fWidth))); in getYUV8Planes()
|
D | SkAlphaRuns.cpp | 23 SkDEBUGCODE(fWidth = width;) in reset() 60 SkASSERT(fWidth > 0); in validate() 68 SkASSERT(count <= fWidth); in validate() 71 SkASSERT(count == fWidth); in validate()
|
/external/skia/src/gpu/ |
D | GrRectanizer_skyline.cpp | 27 if (y < bestY || (y == bestY && fSkyline[i].fWidth < bestWidth)) { in addRect() 29 bestWidth = fSkyline[i].fWidth; in addRect() 65 widthLeft -= fSkyline[i].fWidth; in rectangleFits() 78 newSegment.fWidth = width; in addSkylineLevel() 81 SkASSERT(newSegment.fX + newSegment.fWidth <= this->width()); in addSkylineLevel() 89 if (fSkyline[i].fX < fSkyline[i-1].fX + fSkyline[i-1].fWidth) { in addSkylineLevel() 90 int shrink = fSkyline[i-1].fX + fSkyline[i-1].fWidth - fSkyline[i].fX; in addSkylineLevel() 93 fSkyline[i].fWidth -= shrink; in addSkylineLevel() 95 if (fSkyline[i].fWidth <= 0) { in addSkylineLevel() 111 fSkyline[i].fWidth += fSkyline[i+1].fWidth; in addSkylineLevel()
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | GrRectanizer_skyline.cpp | 27 if (y < bestY || (y == bestY && fSkyline[i].fWidth < bestWidth)) { in addRect() 29 bestWidth = fSkyline[i].fWidth; in addRect() 65 widthLeft -= fSkyline[i].fWidth; in rectangleFits() 78 newSegment.fWidth = width; in addSkylineLevel() 81 SkASSERT(newSegment.fX + newSegment.fWidth <= this->width()); in addSkylineLevel() 89 if (fSkyline[i].fX < fSkyline[i-1].fX + fSkyline[i-1].fWidth) { in addSkylineLevel() 90 int shrink = fSkyline[i-1].fX + fSkyline[i-1].fWidth - fSkyline[i].fX; in addSkylineLevel() 93 fSkyline[i].fWidth -= shrink; in addSkylineLevel() 95 if (fSkyline[i].fWidth <= 0) { in addSkylineLevel() 111 fSkyline[i].fWidth += fSkyline[i+1].fWidth; in addSkylineLevel()
|
/external/skia/src/gpu/gl/ |
D | GrGLIRect.h | 23 GrGLsizei fWidth; member 27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); in pushToGLViewport() 31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); in pushToGLScissor() 49 fWidth = width; in setRelativeTo() 58 SkASSERT(fWidth >= 0); in setRelativeTo() 66 fLeft + fWidth >= glRect.fLeft + glRect.fWidth && in contains() 70 void invalidate() {fLeft = fWidth = fBottom = fHeight = -1;} in invalidate()
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
D | GrGLIRect.h | 23 GrGLsizei fWidth; member 27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); in pushToGLViewport() 31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); in pushToGLScissor() 49 fWidth = width; in setRelativeTo() 58 SkASSERT(fWidth >= 0); in setRelativeTo() 66 fLeft + fWidth >= glRect.fLeft + glRect.fWidth && in contains() 70 void invalidate() {fLeft = fWidth = fBottom = fHeight = -1;} in invalidate()
|
/external/chromium_org/third_party/icu/source/io/ |
D | uscanf_p.c | 82 int32_t fWidth; /* Width */ member 123 info->fWidth = -1; in u_scanf_parse_spec() 190 info->fWidth = (int) (*s++ - DIGIT_ZERO); in u_scanf_parse_spec() 193 info->fWidth *= 10; in u_scanf_parse_spec() 194 info->fWidth += (int) (*s++ - DIGIT_ZERO); in u_scanf_parse_spec() 401 *(int16_t*)(args[0].ptrValue) = (int16_t)(UINT16_MAX & info->fWidth); in u_scanf_count_handler() 403 *(int64_t*)(args[0].ptrValue) = info->fWidth; in u_scanf_count_handler() 405 *(int32_t*)(args[0].ptrValue) = (int32_t)(UINT32_MAX & info->fWidth); in u_scanf_count_handler() 439 if(info->fWidth != -1) in u_scanf_double_handler() 440 len = ufmt_min(len, info->fWidth); in u_scanf_double_handler() [all …]
|
/external/icu/icu4c/source/io/ |
D | uscanf_p.c | 82 int32_t fWidth; /* Width */ member 123 info->fWidth = -1; in u_scanf_parse_spec() 190 info->fWidth = (int) (*s++ - DIGIT_ZERO); in u_scanf_parse_spec() 193 info->fWidth *= 10; in u_scanf_parse_spec() 194 info->fWidth += (int) (*s++ - DIGIT_ZERO); in u_scanf_parse_spec() 401 *(int16_t*)(args[0].ptrValue) = (int16_t)(UINT16_MAX & info->fWidth); in u_scanf_count_handler() 403 *(int64_t*)(args[0].ptrValue) = info->fWidth; in u_scanf_count_handler() 405 *(int32_t*)(args[0].ptrValue) = (int32_t)(UINT32_MAX & info->fWidth); in u_scanf_count_handler() 439 if(info->fWidth != -1) in u_scanf_double_handler() 440 len = ufmt_min(len, info->fWidth); in u_scanf_double_handler() [all …]
|
/external/skia/src/images/ |
D | SkPageFlipper.cpp | 13 fWidth = 0; in SkPageFlipper() 23 fWidth = width; in SkPageFlipper() 33 fWidth = width; in resize() 42 fDirty1->setRect(0, 0, fWidth, fHeight); in inval() 47 r.set(0, 0, fWidth, fHeight); in inval() 55 r.setRect(0, 0, fWidth, fHeight); in inval()
|
/external/chromium_org/third_party/skia/src/images/ |
D | SkPageFlipper.cpp | 13 fWidth = 0; in SkPageFlipper() 23 fWidth = width; in SkPageFlipper() 33 fWidth = width; in resize() 42 fDirty1->setRect(0, 0, fWidth, fHeight); in inval() 47 r.set(0, 0, fWidth, fHeight); in inval() 55 r.setRect(0, 0, fWidth, fHeight); in inval()
|
/external/skia/platform_tools/nacl/src/ |
D | nacl_hello.cpp | 87 if (position.size().width() == fWidth && in DidChangeView() 91 fWidth = position.size().width(); in DidChangeView() 93 fDeviceContext = pp::Graphics2D(this, pp::Size(fWidth, fHeight), false); in DidChangeView() 100 pp::Size(fWidth, fHeight), false); in DidChangeView() 101 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, fWidth, fHeight); in DidChangeView() 122 int fWidth; member in SkiaInstance
|
/external/chromium_org/third_party/skia/platform_tools/nacl/src/ |
D | nacl_hello.cpp | 87 if (position.size().width() == fWidth && in DidChangeView() 91 fWidth = position.size().width(); in DidChangeView() 93 fDeviceContext = pp::Graphics2D(this, pp::Size(fWidth, fHeight), false); in DidChangeView() 100 pp::Size(fWidth, fHeight), false); in DidChangeView() 101 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, fWidth, fHeight); in DidChangeView() 122 int fWidth; member in SkiaInstance
|
/external/chromium_org/third_party/skia/tests/ |
D | RecordingXfermodeTest.cpp | 112 fWidth = imageInfo.width(); in init() 122 SkRect canvasRect(SkRect::MakeWH(SkIntToScalar(fWidth),SkIntToScalar(fHeight))); in recordAndReplay() 123 …SkCanvas* canvas = recorder.DEPRECATED_beginRecording( SkIntToScalar(fWidth), SkIntToScalar(fHeigh… in recordAndReplay() 137 int fWidth; member in __anond6f7bf5c0111::DeprecatedRecorderStrategy 151 fWidth = imageInfo.width(); in init() 161 SkRect canvasRect(SkRect::MakeWH(SkIntToScalar(fWidth),SkIntToScalar(fHeight))); in recordAndReplay() 162 …SkCanvas* canvas = recorder.EXPERIMENTAL_beginRecording( SkIntToScalar(fWidth), SkIntToScalar(fHei… in recordAndReplay() 176 int fWidth; member in __anond6f7bf5c0111::NewRecordingStrategy
|
D | MipMapTest.cpp | 43 REPORTER_ASSERT(reporter, level.fWidth > 0); in DEF_TEST() 45 REPORTER_ASSERT(reporter, level.fRowBytes >= level.fWidth * 4); in DEF_TEST() 48 REPORTER_ASSERT(reporter, level.fWidth <= prevLevel.fWidth); in DEF_TEST()
|