HomeSort by relevance Sort by last modified time
    Searched refs:fWidth (Results 1 - 25 of 428) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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;
  /external/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...]
SkStrokeRec.h 35 SkScalar getWidth() const { return fWidth; }
86 return fWidth == other.fWidth &&
97 SkScalar 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);
  /external/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);
  /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...]
  /external/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...]
  /external/pdfium/fpdfsdk/src/pdfwindow/
PWL_Utils.cpp 143 FX_FLOAT fWidth = crBBox.right - crBBox.left;
193 pts[j].x *= fWidth;
226 FX_FLOAT fWidth = crBBox.right - crBBox.left;
230 CPDF_Point pt2(crBBox.left + fWidth / 2,crBBox.top);
232 CPDF_Point pt4(crBBox.left + fWidth / 2,crBBox.bottom);
283 FX_FLOAT fWidth = crBBox.right - crBBox.left;
287 CPDF_Point pt2(crBBox.left + fWidth / 2,crBBox.top);
289 CPDF_Point pt4(crBBox.left + fWidth / 2,crBBox.bottom);
349 FX_FLOAT fWidth = crBBox.right - crBBox.left;
352 CPDF_Point pt1(-fWidth/2,0);
    [all...]
  /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/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/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;
  /external/skia/include/images/
SkPageFlipper.h 29 int width() const { return fWidth; }
58 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);
  /external/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);
  /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;

Completed in 398 milliseconds

1 2 3 4 5 6 7 8 91011>>