Searched refs:fWidth (Results 1 - 25 of 416) sorted by last modified time

1234567891011>>

/external/skia/platform_tools/nacl/src/
H A Dnacl_debugger.cpp155 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; member in class:SkiaInstance
H A Dnacl_hello.cpp87 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; member in class:SkiaInstance
/external/skia/samplecode/
H A DSampleAARects.cpp46 fWidth = N;
188 int fWidth; member in class:AARectView
H A DSampleApp.cpp317 desc.fWidth = SkScalarRoundToInt(win->width());
H A DSampleChart.cpp111 int dataPointCount = SkMax32(fSize.fWidth / kPixelsPerTick + 1, 2);
H A DSampleFatBits.cpp105 info.fWidth *= zoom;
H A DSampleManyRects.cpp44 int x = fRandom.nextRangeU(0, dsize.fWidth);
H A DSampleMipMap.cpp56 fWidth = N;
93 int fWidth; member in class:MipMapView
H A DSampleOvalTest.cpp93 if (fSize.fWidth < kLimit) {
94 SkDebugf("--- width=%g, flat=%d buldge=%d total: flat=%d buldge=%d\n", fSize.fWidth,
96 fSize.fWidth += SK_Scalar1;
H A DSampleRectanizer.cpp82 if (fCurRectanizer->addRect((*fCurRects)[fCurRandRect].fWidth,
105 SkIntToScalar((*fCurRects)[i].fWidth),
109 totArea += (*fCurRects)[i].fWidth * (*fCurRects)[i].fHeight;
H A DSampleRotateCircles.cpp190 SkScalar fWidth, fDWidth; member in class:TestStrokeView
207 fWidth = 50;
285 SkScalar width = fWidth;
316 fWidth += fDWidth;
317 if (fDWidth > 0 && fWidth > 100) {
319 } else if (fDWidth < 0 && fWidth < 10) {
H A DSampleSkLayer.cpp162 int fWidth; member in struct:SkLayerView::__anon30559
178 child->setSize(gData[i].fWidth, gData[i].fHeight);
H A DSampleStrokePath.cpp99 SkScalar fWidth; member in class:StrokePathView
104 fWidth = SkIntToScalar(120);
118 scale_to_width(&fPath, fWidth);
145 canvas->translate(fWidth * 5 / 4, 0);
H A DSampleStrokeRect.cpp57 SkRect r = SkRect::MakeWH(SkIntToScalar(gSize[j].fWidth),
/external/skia/src/core/
H A DSkAAClip.cpp882 int fWidth; member in struct:SkAAClip::Builder::Row
888 int fWidth; member in class:SkAAClip::Builder
894 fWidth = bounds.width();
924 row->fWidth = 0;
930 SkASSERT(row->fWidth <= x);
931 SkASSERT(row->fWidth < fBounds.width());
935 int gap = x - row->fWidth;
938 row->fWidth += gap;
939 SkASSERT(row->fWidth < fBounds.width());
943 row->fWidth
[all...]
H A DSkAlphaRuns.cpp23 SkDEBUGCODE(fWidth = width;)
60 SkASSERT(fWidth > 0);
68 SkASSERT(count <= fWidth);
71 SkASSERT(count == fWidth);
H A DSkAntiRun.h51 SkASSERT(x >= 0 && x + (startAlpha != 0) + middleCount + (stopAlpha != 0) <= fWidth);
188 SkDEBUGCODE(int fWidth;)
H A DSkBitmap.cpp145 SkIntToScalar(fInfo.fWidth), SkIntToScalar(fInfo.fHeight));
150 bounds->set(0, 0, fInfo.fWidth, fInfo.fHeight);
269 SkASSERT(fInfo.fWidth <= prInfo.fWidth);
292 fPixelRefOrigin.set(SkPin32(dx, 0, info.fWidth),
1430 SkASSERT(fWidth >= 0);
H A DSkBitmapDevice.cpp219 dstInfo.fWidth = srcInfo.width();
249 srcInfo.fWidth = dstInfo.width();
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 DSkBitmapHeap.cpp57 } else if (a.fWidth < b.fWidth) {
59 } else if (a.fWidth > b.fWidth) {
H A DSkBitmapHeap.h224 , fWidth(bm.width())
231 const uint32_t fWidth; member in struct:SkBitmapHeap::LookupEntry
H A DSkBitmapProcState.cpp299 info.fWidth = level.fWidth;
H A DSkCanvas.cpp688 info.fWidth = srcR.width();
743 info.fWidth = target.width();
H A DSkDraw.cpp1417 SkASSERT(glyph.fWidth > 0 && glyph.fHeight > 0);
1424 int right = left + glyph.fWidth;
1458 SkASSERT(glyph.fWidth > 0 && glyph.fHeight > 0);
1466 mask.fBounds.set(left, top, left + glyph.fWidth, top + glyph.fHeight);
1633 if (glyph.fWidth) {
1673 if (glyph.fWidth) {
1763 if (glyph.fWidth) {
1773 if (metricGlyph.fWidth) {
1790 SkASSERT(glyph.fWidth);
1803 if (glyph.fWidth) {
[all...]

Completed in 126 milliseconds

1234567891011>>