Searched refs:fCount (Results 151 - 175 of 219) sorted by path

123456789

/external/skia/samplecode/
H A DSampleApp.cpp2363 int fCount; member in struct:__anon30542
2371 test_rects(gRecs[i].fRects, gRecs[i].fCount);
H A DSampleGradients.cpp44 int fCount; member in struct:GradData
67 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm);
75 data.fPos, data.fCount, tm);
82 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount);
94 data.fColors, data.fPos, data.fCount, tm);
105 data.fColors, data.fPos, data.fCount, tm);
H A DSampleShaderText.cpp42 int fCount; member in struct:GradData
57 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm);
65 data.fPos, data.fCount, tm);
72 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount);
84 data.fColors, data.fPos, data.fCount, tm);
H A DSampleSlides.cpp159 int fCount; member in struct:GradData
182 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm);
190 data.fPos, data.fCount, tm);
197 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount);
209 data.fColors, data.fPos, data.fCount, tm);
337 int fCount; member in class:Rec
341 Rec() : fCount(0), fVerts(NULL), fTexs(NULL) {}
350 rec->fCount = n * 3;
351 rec->fVerts = new SkPoint[rec->fCount];
367 rec->fCount
[all...]
H A DSampleVertices.cpp99 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount,
106 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount,
113 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount,
136 int fCount; member in struct:VerticesView::Rec
140 Rec() : fCount(0), fVerts(NULL), fTexs(NULL) {}
149 rec->fCount = n * 3;
150 rec->fVerts = new SkPoint[rec->fCount];
166 rec->fCount = n + 2;
167 rec->fVerts = new SkPoint[rec->fCount];
168 rec->fTexs = new SkPoint[rec->fCount];
[all...]
H A DSampleWarp.cpp235 int fCount; member in class:Mesh
240 Mesh::Mesh() : fPts(NULL), fCount(0), fIndices(NULL), fIndexCount(0) {}
255 fCount = src.fCount;
256 fPts = new SkPoint[fCount * 2];
257 fTex = fPts + fCount;
258 memcpy(fPts, src.fPts, fCount * 2 * sizeof(SkPoint));
277 fCount = (rows + 1) * (cols + 1);
278 fPts = new SkPoint[fCount * 2];
279 fTex = fPts + fCount;
[all...]
/external/skia/src/animator/
H A DSkAnimateSet.cpp51 fFieldInfo->setValue(maker, &fValues, 0, fFieldInfo->fCount, NULL,
H A DSkAnimator.cpp622 info->setValue(*fMaker, NULL, 0, info->fCount, element, info->getType(), str, strlen(str));
H A DSkBuildCondensedInfo.cpp36 SkASSERT(info[inner].fCount < 256);
44 *gUnknownsCounts.append() = info[inner].fCount;
78 info[inner].fType, info[inner].fCount);
H A DSkDisplayXMLParser.cpp277 const SkMemberInfo* result = searchContainer(inherited, info->fCount);
H A DSkDisplayable.cpp233 int i = info->fCount;
H A DSkMemberInfo.cpp132 SkASSERT(fCount == sizeof(SkString) / sizeof(SkScalar));
140 SkASSERT(count == fCount);
451 SkASSERT(fCount == count);
488 const SkMemberInfo* result = SkMemberInfo::Find(inherited, info->fCount, index);
509 const SkMemberInfo* result = SkMemberInfo::Find(inherited, info->fCount, matchPtr);
H A DSkMemberInfo.h32 // if fCount == 0, record is member property
38 int fCount; // for properties, actual type (count is always assumed to be 1) member in struct:SkMemberInfo
43 signed char fCount;
47 return (SkDisplayTypes) fCount; // hack, but worth it?
56 fType == SkType_MemberFunction ? 1 : fCount;
63 fType == SkType_MemberFunction ? (SkDisplayTypes) fCount : (SkDisplayTypes) fType;
78 return (SkDisplayTypes) fCount; // hack, but worth it?
H A DSkTDArray_Experimental.h53 bool isEmpty() const { return fCount == 0; }
54 int count() const { return fCount; }
58 SkASSERT(index + count <= fCount);
59 fCount = SkToU16(fCount - count);
60 memmove(fArray + index, fArray + index + count, sizeof(int32_t) * (fCount - index));
72 fReserve = fCount = 0;
76 SkASSERT(fReserve == 0 && fCount == 0);
83 this->growBy(count - fCount);
85 fCount
95 uint16_t fReserve, fCount; member in class:SkDS32Array
[all...]
H A DSkTypedArray.cpp31 fReserve = fCount = 0;
40 fReserve = fCount = 0;
45 SkDS32Array tmp(src.fArray, src.fCount);
53 fReserve = fCount = 0;
65 fReserve = fCount = SkToU16(count);
73 if (src.fCount > fReserve)
75 SkDS32Array tmp(src.fArray, src.fCount);
80 memcpy(fArray, src.fArray, sizeof(int32_t) * src.fCount);
81 fCount = src.fCount;
[all...]
/external/skia/src/core/
H A DSkColorTable.cpp22 fCount = SkToU16(count);
42 fCount = SkToU16(count);
80 f16BitCache = (uint16_t*)sk_malloc_throw(fCount * sizeof(uint16_t));
81 build_16bitcache(f16BitCache, fColors, fCount);
96 fCount = buffer.getArrayCount();
97 size_t allocSize = fCount * sizeof(SkPMColor);
101 SkDEBUGCODE(success =) buffer.readColorArray(fColors, fCount);
103 fCount = 0;
107 SkASSERT((unsigned)fCount <= 256);
114 buffer.writeColorArray(fColors, fCount);
[all...]
H A DSkDataTable.cpp17 fCount = 0;
28 fCount = count;
38 fCount = count;
52 SkASSERT((unsigned)index < (unsigned)fCount);
62 SkASSERT((unsigned)index < (unsigned)fCount);
H A DSkDeque.cpp32 , fCount(0)
42 , fCount(0)
71 fCount += 1;
111 fCount += 1;
152 SkASSERT(fCount > 0);
153 fCount -= 1;
186 SkASSERT(fCount > 0);
187 fCount -= 1;
H A DSkDescriptor.h35 fCount = 0;
52 fCount += 1;
69 int count = fCount;
115 uint32_t getCount() const { return fCount; }
121 uint32_t fCount; member in class:SkDescriptor
H A DSkFontStream.cpp104 SfntHeader() : fCount(0), fDir(NULL) {}
107 /** If it returns true, then fCount and fDir are properly initialized.
117 fCount = count_tables(stream, ttcIndex, &offsetToDir);
118 if (0 == fCount) {
127 size_t size = fCount * sizeof(SkSFNTDirEntry);
132 int fCount; member in struct:SfntHeader
163 for (int i = 0; i < header.fCount; i++) {
167 return header.fCount;
178 for (int i = 0; i < header.fCount; i++) {
H A DSkGeometry.cpp703 int fCount; member in struct:__anon30580
716 memcpy(dst, data[i].fData, data[i].fCount * sizeof(dst[0]));
717 int count = collaps_duplicates(dst, data[i].fCount);
H A DSkMatrix.cpp1228 : fMatrix(m), fSX(x0), fSY(y0), fCount(count) {
1237 int n = fCount;
1270 fCount -= n;
H A DSkMipMap.cpp215 : fSize(size), fLevels(levels), fCount(count) {
248 if (level > fCount) {
249 level = fCount;
H A DSkMipMap.h34 int fCount; member in class:SkMipMap
H A DSkPerspIter.h45 int fCount; member in class:SkPerspIter

Completed in 284 milliseconds

123456789