Searched refs:fSize (Results 1 - 25 of 87) sorted by relevance

1234

/external/skia/bench/
H A DPerlinNoiseBench.cpp12 SkISize fSize; member in class:PerlinNoiseBench
16 fSize = SkISize::Make(80, 80);
33 SkIntToScalar(fSize.width()), SkIntToScalar(fSize.height())));
35 SkIntToScalar(fSize.width()),
36 SkIntToScalar(fSize.height()));
46 seed, stitchTiles ? &fSize : nullptr) :
48 seed, stitchTiles ? &fSize : nullptr);
H A DColorCubeBench.cpp14 SkISize fSize; member in class:ColorCubeBench
23 fSize = SkISize::Make(2880, 1800); // 2014 Macbook Pro resolution
47 return SkIPoint::Make(fSize.width(), fSize.height());
62 fBitmap.allocN32Pixels(fSize.width(), fSize.height());
67 SkShader* shader = MakeLinear(fSize);
69 SkRect r = { 0, 0, SkIntToScalar(fSize.width()), SkIntToScalar(fSize.height()) };
H A DChartBench.cpp94 fSize.fWidth = -1;
95 fSize.fHeight = -1;
109 if (canvas->getDeviceSize() != fSize) {
110 fSize = canvas->getDeviceSize();
114 SkScalar ySpread = SkIntToScalar(fSize.fHeight / 20);
116 SkScalar height = SkIntToScalar(fSize.fHeight);
118 int dataPointCount = SkMax32(fSize.fWidth / kPixelsPerTick + 1, 2);
184 SkISize fSize; member in class:ChartBench
/external/skia/src/gpu/gl/debug/
H A DGrBufferObj.cpp17 fSize = size;
20 memcpy(fDataPtr, dataPtr, fSize);
H A DGrBufferObj.h25 , fSize(0)
52 GrGLsizeiptr getSize() const { return fSize; }
68 GrGLsizeiptr fSize; // size in bytes member in class:GrBufferObj
/external/skia/samplecode/
H A DSampleSubpixelTranslate.cpp44 fSize = 200;
49 SkScalar fSize; member in class:SubpixelTranslateView
79 SkRect r = SkRect::MakeXYWH( fCurPos.fX + i * (fSize + 10), fCurPos.fY, fSize, fSize );
83 canvas->drawText( "AA Scaled", strlen("AA Scaled"), fCurPos.fX + SK_ARRAY_COUNT(gQualitys) * (fSize + 10), fCurPos.fY + fSize/2, paint );
88 SkRect r = SkRect::MakeXYWH( fCurPos.fX + i * (fSize + 10), fCurPos.fY + fSize + 10, fSize, fSiz
[all...]
H A DSampleChart.cpp88 fSize.set(-1, -1);
102 if (canvas->getDeviceSize() != fSize) {
103 fSize = canvas->getDeviceSize();
107 SkScalar ySpread = SkIntToScalar(fSize.fHeight / 20);
109 SkScalar height = SkIntToScalar(fSize.fHeight);
112 int dataPointCount = SkMax32(fSize.fWidth / kPixelsPerTick + 1, 2);
177 SkISize fSize; member in class:ChartView
/external/skia/src/pdf/
H A DSkJpegInfo.h15 SkISize fSize; member in struct:SkJFIFInfo
H A DSkJpegInfo.cpp16 , fSize(skdata->size())
32 if (fOffset + fLength > fSize) {
56 const size_t fSize; member in class:__anon16203::JpegSegment
63 if (fOffset + 2 > fSize) {
110 info->fSize.set(JpegSegment::GetBigendianUint16(&segment.data()[3]),
/external/skia/src/gpu/
H A DGrYUVProvider.cpp48 if (!provider->onGetYUVSizes(yuvInfo->fSize)) {
55 yuvInfo->fRowBytes[i] = yuvInfo->fSize[i].fWidth; // we assume snug fit: rb == width
56 yuvInfo->fSizeInMemory[i] = yuvInfo->fRowBytes[i] * yuvInfo->fSize[i].fHeight;
70 if (!provider->onGetYUVPlanes(yuvInfo->fSize, planes, yuvInfo->fRowBytes,
95 yuvDesc.fWidth = yuvInfo.fSize[i].fWidth;
96 yuvDesc.fHeight = yuvInfo.fSize[i].fHeight;
98 bool needsExactTexture = (yuvDesc.fWidth != yuvInfo.fSize[0].fWidth) ||
99 (yuvDesc.fHeight != yuvInfo.fSize[0].fHeight);
129 yuvInfo.fSize,
133 const SkRect r = SkRect::MakeIWH(yuvInfo.fSize[
[all...]
H A DGrMemoryPool.h49 size_t size() const { return fSize; }
71 size_t fSize; ///< total allocated size of the block member in struct:GrMemoryPool::BlockHeader
90 size_t fSize; member in class:GrMemoryPool
H A DGrMemoryPool.cpp24 fSize = 0;
55 fSize += block->fSize;
102 fSize -= block->fSize;
129 block->fSize = paddedSize;
183 SkASSERT(fAllocBlockCnt != 0 || fSize == 0);
/external/skia/tests/
H A DYUVCacheTest.cpp36 yuvInfo.fSize[i].fWidth = 20 * i;
37 yuvInfo.fSize[i].fHeight = 10 * i;
64 REPORTER_ASSERT(reporter, yuvInfo.fSize[i].fWidth == yuvInfoRead.fSize[i].fWidth);
65 REPORTER_ASSERT(reporter, yuvInfo.fSize[i].fHeight == yuvInfoRead.fSize[i].fHeight);
/external/skia/gm/
H A Dfilterbitmap.cpp143 : fSize(size), fNumChecks(num_checks), fConvertToG8(convertToG8)
146 fSize, fNumChecks, convertToG8 ? "_g8" : "");
150 int fSize; member in class:FilterBitmapCheckerboardGM
154 return 192.f/fSize;
158 fBM.allocN32Pixels(fSize, fSize);
159 for (int y = 0; y < fSize; y ++) {
160 for (int x = 0; x < fSize; x ++) {
162 int cx = (x * fNumChecks) / fSize;
163 int cy = (y * fNumChecks) / fSize;
192 int fSize; member in class:FilterBitmapImageGM
[all...]
H A Dperlinnoise.cpp15 fSize = SkISize::Make(80, 80);
39 SkISize tileSize = SkISize::Make(fSize.width() / 2, fSize.height() / 2);
56 drawRect(canvas, x, y, paint, fSize);
92 SkISize fSize; member in class:PerlinNoiseGM
98 fSize = SkISize::Make(80, 80);
115 seed, stitchTiles ? &fSize : nullptr) :
117 seed, stitchTiles ? &fSize : nullptr);
127 const SkScalar w = SkIntToScalar(fSize.width());
128 const SkScalar h = SkIntToScalar(fSize
174 SkISize fSize; member in class:PerlinNoiseGM2
[all...]
/external/skia/include/core/
H A DSkData.h27 size_t size() const { return fSize; }
29 bool isEmpty() const { return 0 == fSize; }
50 if (fSize) {
163 size_t fSize; member in class:SkData
H A DSkTypes.h541 fSize = size;
572 if (size == fSize || (kReuse_OnShrink == shrink && size < fSize)) {
581 fSize = size;
609 fSize = 0;
615 size_t fSize; // can be larger than the requested size (see kReuse) member in class:SkBudgeted::SkAutoMalloc
633 fSize = kSize;
642 fSize = kSize;
672 bool alloc = size != fSize && (SkAutoMalloc::kAlloc_OnShrink == shrink || size > fSize);
708 size_t fSize; // can be larger than the requested size (see kReuse) member in class:SkBudgeted::SkAutoSMalloc
[all...]
H A DSkFont.h131 SkScalar getSize() const { return fSize; }
159 SkScalar fSize; member in class:SkFont
/external/skia/src/core/
H A DSkYUVPlanesCache.h22 * fSize: Width and height of each of the 3 planes (in pixels).
30 SkISize fSize[3]; member in struct:SkYUVPlanesCache::Info
H A DSkData.cpp17 fSize = size;
28 fSize = size;
44 return fSize == other->fSize && !memcmp(fPtr, other->fPtr, fSize);
48 size_t available = fSize;
H A DSkCachedData.h22 size_t size() const { return fSize; }
55 size_t fSize; member in class:SkCachedData
H A DSkDataTable.cpp57 return fU.fDir[index].fSize;
71 *size = fU.fDir[index].fSize;
106 dir[i].fSize = sizes[i];
164 dir->fSize = size;
/external/dng_sdk/source/
H A Ddng_ref_counted_block.h46 uint32 fSize; member in struct:dng_ref_counted_block::header
51 , fSize (size)
109 return ((header *)fBuffer)->fSize;
H A Ddng_ref_counted_block.cpp172 Allocate ((uint32)possiblySharedHeader->fSize);
176 possiblySharedHeader->fSize);
/external/pdfium/xfa/include/fwl/core/
H A Dfwl_grid.h48 FWL_ERR SetSize(FWL_HGRIDCOLROW hColRow, FX_FLOAT fSize, FWL_GRIDUNIT eUnit);
51 FX_FLOAT fSize,
55 FX_FLOAT fSize,
68 FX_FLOAT fSize,
78 FWL_ERR SetGridSize(FWL_GRIDSIZE eSize, FX_FLOAT fSize, FWL_GRIDUNIT eUit);

Completed in 279 milliseconds

1234