Searched refs:fWidth (Results 1 - 25 of 278) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/include/core/
H A DSkSize.h14 T fWidth; member in struct:SkTSize
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
[all...]
H A DSkStrokeRec.h34 SkScalar getWidth() const { return fWidth; }
85 return fWidth == other.fWidth &&
93 SkScalar fWidth; member in class:SkStrokeRec
/external/skia/include/core/
H A DSkSize.h14 T fWidth; member in struct:SkTSize
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
[all...]
H A DSkStrokeRec.h34 SkScalar getWidth() const { return fWidth; }
85 return fWidth == other.fWidth &&
93 SkScalar fWidth; member in class:SkStrokeRec
/external/chromium_org/third_party/skia/src/core/
H A DSkStrokeRec.cpp15 fWidth = (kFill_InitStyle == s) ? kStrokeRec_FillStyleWidth : 0;
29 fWidth = kStrokeRec_FillStyleWidth;
33 fWidth = paint.getStrokeWidth();
39 fWidth = kStrokeRec_FillStyleWidth;
42 fWidth = paint.getStrokeWidth();
49 fWidth = kStrokeRec_FillStyleWidth;
61 if (fWidth < 0) {
63 } else if (0 == fWidth) {
71 fWidth = kStrokeRec_FillStyleWidth;
76 fWidth
[all...]
H A DSkBitmapFilter.h24 : 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 ||
[all...]
H A DSkAlphaRuns.cpp23 SkDEBUGCODE(fWidth = width;)
60 SkASSERT(fWidth > 0);
68 SkASSERT(count <= fWidth);
71 SkASSERT(count == fWidth);
H A DSkPicture.cpp119 fWidth = fHeight = 0;
123 fWidth = src.fWidth;
149 SkTSwap(fWidth, other.fWidth);
165 clone->fWidth = fWidth;
209 fWidth = width;
231 SkScalar aspectRatio = SkScalarDiv(SkIntToScalar(fWidth),
304 , fWidth(widt
[all...]
H A DSkImageInfo.cpp20 fWidth = buffer.read32();
32 buffer.write32(fWidth);
/external/skia/src/core/
H A DSkStrokeRec.cpp15 fWidth = (kFill_InitStyle == s) ? kStrokeRec_FillStyleWidth : 0;
29 fWidth = kStrokeRec_FillStyleWidth;
33 fWidth = paint.getStrokeWidth();
39 fWidth = kStrokeRec_FillStyleWidth;
42 fWidth = paint.getStrokeWidth();
49 fWidth = kStrokeRec_FillStyleWidth;
61 if (fWidth < 0) {
63 } else if (0 == fWidth) {
71 fWidth = kStrokeRec_FillStyleWidth;
76 fWidth
[all...]
H A DSkBitmapFilter.h24 : 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 ||
[all...]
H A DSkAlphaRuns.cpp23 SkDEBUGCODE(fWidth = width;)
60 SkASSERT(fWidth > 0);
68 SkASSERT(count <= fWidth);
71 SkASSERT(count == fWidth);
H A DSkPicture.cpp119 fWidth = fHeight = 0;
123 fWidth = src.fWidth;
149 SkTSwap(fWidth, other.fWidth);
165 clone->fWidth = fWidth;
209 fWidth = width;
231 SkScalar aspectRatio = SkScalarDiv(SkIntToScalar(fWidth),
304 , fWidth(widt
[all...]
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLIRect.h23 GrGLsizei fWidth; member in struct:GrGLIRect
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/
H A DGrGLIRect.h23 GrGLsizei fWidth; member in struct:GrGLIRect
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/gpu/
H A DGrRectanizer.h22 GrRectanizer(int width, int height) : fWidth(width), fHeight(height) {
31 int width() const { return fWidth; }
49 int fWidth; member in class:GrRectanizer
H A DGrRectanizer_skyline.cpp30 seg->fWidth = width();
47 int fWidth; member in struct:GrRectanizerSkyline::SkylineSegment
73 if (y < bestY || (y == bestY && fSkyline[i].fWidth < bestWidth)) {
75 bestWidth = fSkyline[i].fWidth;
111 widthLeft -= fSkyline[i].fWidth;
124 newSegment.fWidth = width;
127 SkASSERT(newSegment.fX + newSegment.fWidth <= this->width());
134 if (fSkyline[i].fX < fSkyline[i-1].fX + fSkyline[i-1].fWidth) {
135 int shrink = fSkyline[i-1].fX + fSkyline[i-1].fWidth - fSkyline[i].fX;
138 fSkyline[i].fWidth
[all...]
/external/skia/src/gpu/
H A DGrRectanizer.h22 GrRectanizer(int width, int height) : fWidth(width), fHeight(height) {
31 int width() const { return fWidth; }
49 int fWidth; member in class:GrRectanizer
H A DGrRectanizer_skyline.cpp30 seg->fWidth = width();
47 int fWidth; member in struct:GrRectanizerSkyline::SkylineSegment
73 if (y < bestY || (y == bestY && fSkyline[i].fWidth < bestWidth)) {
75 bestWidth = fSkyline[i].fWidth;
111 widthLeft -= fSkyline[i].fWidth;
124 newSegment.fWidth = width;
127 SkASSERT(newSegment.fX + newSegment.fWidth <= this->width());
134 if (fSkyline[i].fX < fSkyline[i-1].fX + fSkyline[i-1].fWidth) {
135 int shrink = fSkyline[i-1].fX + fSkyline[i-1].fWidth - fSkyline[i].fX;
138 fSkyline[i].fWidth
[all...]
/external/chromium_org/third_party/skia/src/images/
H A DSkPageFlipper.cpp13 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/
H A DSkPageFlipper.cpp13 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/
H A DSkPageFlipper.h29 int width() const { return fWidth; }
58 int fWidth; member in class:SkPageFlipper
/external/skia/include/images/
H A DSkPageFlipper.h29 int width() const { return fWidth; }
58 int fWidth; member in class:SkPageFlipper
/external/skia/tests/
H A DMipMapTest.cpp45 REPORTER_ASSERT(reporter, level.fWidth > 0);
47 REPORTER_ASSERT(reporter, level.fRowBytes >= level.fWidth * 4);
50 REPORTER_ASSERT(reporter, level.fWidth <= prevLevel.fWidth);
/external/chromium_org/third_party/skia/include/ports/
H A DSkFontStyle.h52 int width() const { return fUnion.fR.fWidth; }
63 uint8_t fWidth; // 1 .. 9 member in struct:SkFontStyle::__anon14402::__anon14403

Completed in 3511 milliseconds

1234567891011>>